@hiver/connector-admin 4.12.3-slack2-beta.3 → 4.12.3-slack3-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.es.js
CHANGED
|
@@ -37519,9 +37519,10 @@ const hX = ({
|
|
|
37519
37519
|
] });
|
|
37520
37520
|
}, EC = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.86421%2015.9708C9.20287%2016.3941%209.13423%2017.0118%208.71091%2017.3505C8.28758%2017.6891%207.66987%2017.6205%207.33121%2017.1972L8.09771%2016.584L8.86421%2015.9708ZM2.94434%2010.1423L2.17784%2010.7555C1.89104%2010.397%201.89104%209.88757%202.17784%209.52907L2.94434%2010.1423ZM7.33121%203.08735C7.66987%202.66403%208.28758%202.59539%208.71091%202.93405C9.13423%203.27271%209.20287%203.89042%208.86421%204.31375L8.09771%203.70055L7.33121%203.08735ZM3.31243%2011.1852C2.77031%2011.1852%202.33084%2010.7457%202.33084%2010.2036C2.33084%209.66149%202.77031%209.22201%203.31243%209.22201V10.2036L3.31243%2011.1852ZM17.0548%209.22201C17.5969%209.22201%2018.0364%209.66149%2018.0364%2010.2036C18.0364%2010.7457%2017.5969%2011.1852%2017.0548%2011.1852V10.2036V9.22201ZM8.09771%2016.584L7.33121%2017.1972L2.17784%2010.7555L2.94434%2010.1423L3.71083%209.52907L8.86421%2015.9708L8.09771%2016.584ZM2.94434%2010.1423L2.17784%209.52907L7.33121%203.08735L8.09771%203.70055L8.86421%204.31375L3.71083%2010.7555L2.94434%2010.1423ZM3.31243%2010.2036V9.22201L17.0548%209.22201V10.2036V11.1852L3.31243%2011.1852L3.31243%2010.2036Z'%20fill='%236F7C90'/%3e%3c/svg%3e", mi = w(ae)`
|
|
37521
37521
|
width: 100%;
|
|
37522
|
-
/* This screen is
|
|
37523
|
-
from the nested
|
|
37524
|
-
|
|
37522
|
+
/* This screen is Hanken Grotesk (matching the agent UI + host app). MUI
|
|
37523
|
+
components get it from the nested font theme; plain elements inherit it
|
|
37524
|
+
from here. */
|
|
37525
|
+
font-family: 'Hanken Grotesk', system-ui, sans-serif;
|
|
37525
37526
|
`;
|
|
37526
37527
|
var gB, dB;
|
|
37527
37528
|
const fC = w(ae)`
|
|
@@ -37529,7 +37530,7 @@ const fC = w(ae)`
|
|
|
37529
37530
|
align-items: center;
|
|
37530
37531
|
gap: 16px;
|
|
37531
37532
|
color: ${((gB = X.palette.gray) == null ? void 0 : gB.gray3) ?? "#6F7C90"};
|
|
37532
|
-
font-family: '
|
|
37533
|
+
font-family: 'Hanken Grotesk', system-ui, sans-serif;
|
|
37533
37534
|
font-size: 16px;
|
|
37534
37535
|
line-height: 28px;
|
|
37535
37536
|
font-weight: 500;
|
|
@@ -37964,7 +37965,7 @@ const GX = w(ae)`
|
|
|
37964
37965
|
/* @__PURE__ */ l.jsx(Nb, { connectorName: o, supportLinks: r })
|
|
37965
37966
|
] })
|
|
37966
37967
|
] });
|
|
37967
|
-
}, Jp = ["Overview", "Configuration"], ZX = WE("
|
|
37968
|
+
}, Jp = ["Overview", "Configuration"], ZX = WE("'Hanken Grotesk', system-ui, sans-serif");
|
|
37968
37969
|
var BB;
|
|
37969
37970
|
const Xp = {
|
|
37970
37971
|
textTransform: "none",
|
package/index.umd.js
CHANGED
|
@@ -3474,15 +3474,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3474
3474
|
padding: 20px;
|
|
3475
3475
|
`,SX=()=>{const e=Nn(),t=we(vX),n=we(xX);return m.useEffect(()=>{const r=new URLSearchParams(window.location.search),o=r.get(jY),A=r.get(VY);window.opener&&A&&o&&e(Zc({data:{token:o},connectorId:A}))},[e]),m.useEffect(()=>{window.opener&&t&&window.opener.postMessage(n===Ie.FAILED?$1:iE,window.location.origin)},[t,n]),l.jsxs(wX,{children:[l.jsx("h1",{children:"Authentication Complete"}),l.jsx("p",{children:"Redirecting..."})]})},TX=()=>{const{nativeIntegrations:e}=m.useContext(it),{id:t=""}=Io(),n=zt(),r=we(kr),o=we(Ls),A=e.filter(d=>d.id===t)[0],s=A.id,a=m.useMemo(()=>Object.values(r||{}).find(d=>d.type===s),[r,s]),i=m.useMemo(()=>a?null:Object.values(o||{}).find(d=>d.type===s),[o,s,a]);let c="";a?c=`/app/custom-connectors/connector/settings/${a.id}?isEdit=true&tabIndex=0`:i&&(c=`/app/custom-connectors/connector/settings/${i.id}`);const g=()=>{n(_e.BASEPATH)};return l.jsxs("div",{className:"**:[.h-zapierConnectorContainer]:pt-0! **:[.h-app-titlebar]:hidden! **:[.h-native-connector-body]:ml-0!",children:[l.jsx("div",{className:"flex justify-between shadow-[0_1px_1px_rgba(0,0,0,0.08)] pb-5 mb-7.5",children:l.jsxs("div",{className:"inline-flex items-center -ml-[10px]",children:[l.jsx(u.IconButton,{onClick:g,children:l.jsx("img",{src:q1})}),l.jsx("span",{className:"text-h2",children:"Back"})]})}),A?l.jsx(A.Component,{depricateBannerRedirectUrl:c||null}):l.jsx("div",{children:"No App"})]})},B2="Select inbox(es)",_X="Select Shared Mailbox(es)",DX="Select the roles",h2="Select role",dE="inbox",Q2="roles",m2=e=>{const{selectedEmailInboxes:t,setSelectedEmailInboxes:n,selectedRoles:r,setSelectedRoles:o,roles:A,inboxes:s}=e;return[{type:dE,options:s,label:_X,isSingleSelect:!1},{type:Q2,options:A,label:DX,isSingleSelect:!0}].map(({type:i,options:c,label:g,isSingleSelect:d})=>{const I=i===dE,B=I?t:r;return l.jsxs("div",{className:"mb-5",children:[l.jsx(u.Typography,{className:"pb-2",variant:"h4",children:g}),l.jsx(Au,{isSingleSelect:d,currentSelectedOptions:d?[B]:B,options:c,type:i,placeholder:I?B2:h2,onChangeFunc:(f,C)=>I?n(C):o(C??{}),valueKey:"id",labelKey:I?"name":"displayName",inputVariant:"outlined"})]},i)})},OX=()=>{const{sendTrackingEvent:e}=m.useContext(it),t=zt(),n=Nn(),r=we(FA)??[],o=we(Yo)??[],A=r.find(v=>v.name===OA.MEMBER),s=we(Ls),a=we(_H)===Ie.LOADING,[i,c]=m.useState([]),[g,d]=m.useState(A),[I,B]=m.useState(!1),{id:f=""}=Io(),[C]=jo(),E=C.get("connectorId"),h=(s==null?void 0:s[f])||null,p=a||!i.length||!g.name,Q=[{name:Rc,route:`${_e.BASEPATH}${_e.DASHBOARD}`},{name:(h==null?void 0:h.name)||"",route:`${_e.BASEPATH}${_e.API_VIEW}/${f}`},{name:NY}],y=()=>{if(a)return;const v=g!=null&&g.name?[g.name]:[],w=i.map(V=>V.id),x=i.map(V=>V.name);E&&n(qc({connectorId:E,data:{roles:v,inboxes:{email:w,chat:[]}}})).unwrap().finally(()=>{e(Je.APP_ACTIVATION_VISIBILITY_SAVED,{sm_names:x,roles:v}),B(!0)})},b=()=>{t(_e.BASEPATH)};return l.jsxs("div",{className:"w-135 h-full flex flex-col",children:[h!=null&&h.name?l.jsx(rE,{shown:I,setShown:B,connectorName:h==null?void 0:h.name,onClose:b}):null,l.jsx("div",{className:"mb-9",children:l.jsx(Z1,{options:Q})}),l.jsxs(u.Typography,{className:"!mb-6",variant:"h2",children:["Configure ",h==null?void 0:h.name," across Shared Mailboxes and roles"]}),l.jsxs("div",{className:"grow overflow-auto",children:[l.jsx(m2,{selectedEmailInboxes:i,setSelectedEmailInboxes:c,selectedRoles:g,setSelectedRoles:d,roles:r,inboxes:o}),l.jsx(u.Button,{className:"!mt-4",onClick:y,disabled:p,children:"Save and enable"})]})]})},CE="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.86421%2015.9708C9.20287%2016.3941%209.13423%2017.0118%208.71091%2017.3505C8.28758%2017.6891%207.66987%2017.6205%207.33121%2017.1972L8.09771%2016.584L8.86421%2015.9708ZM2.94434%2010.1423L2.17784%2010.7555C1.89104%2010.397%201.89104%209.88757%202.17784%209.52907L2.94434%2010.1423ZM7.33121%203.08735C7.66987%202.66403%208.28758%202.59539%208.71091%202.93405C9.13423%203.27271%209.20287%203.89042%208.86421%204.31375L8.09771%203.70055L7.33121%203.08735ZM3.31243%2011.1852C2.77031%2011.1852%202.33084%2010.7457%202.33084%2010.2036C2.33084%209.66149%202.77031%209.22201%203.31243%209.22201V10.2036L3.31243%2011.1852ZM17.0548%209.22201C17.5969%209.22201%2018.0364%209.66149%2018.0364%2010.2036C18.0364%2010.7457%2017.5969%2011.1852%2017.0548%2011.1852V10.2036V9.22201ZM8.09771%2016.584L7.33121%2017.1972L2.17784%2010.7555L2.94434%2010.1423L3.71083%209.52907L8.86421%2015.9708L8.09771%2016.584ZM2.94434%2010.1423L2.17784%209.52907L7.33121%203.08735L8.09771%203.70055L8.86421%204.31375L3.71083%2010.7555L2.94434%2010.1423ZM3.31243%2010.2036V9.22201L17.0548%209.22201V10.2036V11.1852L3.31243%2011.1852L3.31243%2010.2036Z'%20fill='%236F7C90'/%3e%3c/svg%3e",Xs=u.styled(u.Box)`
|
|
3476
3476
|
width: 100%;
|
|
3477
|
-
/* This screen is
|
|
3478
|
-
from the nested
|
|
3479
|
-
|
|
3477
|
+
/* This screen is Hanken Grotesk (matching the agent UI + host app). MUI
|
|
3478
|
+
components get it from the nested font theme; plain elements inherit it
|
|
3479
|
+
from here. */
|
|
3480
|
+
font-family: 'Hanken Grotesk', system-ui, sans-serif;
|
|
3480
3481
|
`,EE=u.styled(u.Box)`
|
|
3481
3482
|
display: inline-flex;
|
|
3482
3483
|
align-items: center;
|
|
3483
3484
|
gap: 16px;
|
|
3484
3485
|
color: ${((Y2=u.theme.palette.gray)==null?void 0:Y2.gray3)??"#6F7C90"};
|
|
3485
|
-
font-family: '
|
|
3486
|
+
font-family: 'Hanken Grotesk', system-ui, sans-serif;
|
|
3486
3487
|
font-size: 16px;
|
|
3487
3488
|
line-height: 28px;
|
|
3488
3489
|
font-weight: 500;
|
|
@@ -3609,7 +3610,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3609
3610
|
align-items: center;
|
|
3610
3611
|
gap: 16px;
|
|
3611
3612
|
margin-top: 24px;
|
|
3612
|
-
`,fE=()=>l.jsxs(l.Fragment,{children:[l.jsx(u.Skeleton,{variant:"text",width:150,height:24}),l.jsxs(y2,{children:[l.jsxs(b2,{children:[l.jsx(u.Skeleton,{variant:"rounded",width:64,height:64,sx:{borderRadius:"6px",flexShrink:0}}),l.jsxs(u.Box,{sx:{display:"flex",flexDirection:"column",gap:"8px",paddingTop:"4px",flex:1,minWidth:0},children:[l.jsx(u.Skeleton,{variant:"text",width:120,height:32}),l.jsx(u.Skeleton,{variant:"text",width:"60%",height:18}),l.jsx(u.Skeleton,{variant:"text",width:"42%",height:18})]})]}),l.jsx(u.Skeleton,{variant:"rounded",width:132,height:32,sx:{borderRadius:"20px",flexShrink:0}})]}),l.jsxs(u.Box,{sx:{display:"flex",gap:"24px",marginTop:"32px",paddingBottom:"12px",borderBottom:"1px solid #D6DDE8"},children:[l.jsx(u.Skeleton,{variant:"text",width:68,height:20}),l.jsx(u.Skeleton,{variant:"text",width:92,height:20})]}),l.jsxs(x2,{children:[l.jsxs(u.Box,{sx:{display:"flex",flexDirection:"column",gap:"12px"},children:[l.jsx(u.Skeleton,{variant:"text",width:96,height:24}),l.jsx(u.Skeleton,{variant:"text",width:"78%",height:18}),l.jsx(u.Skeleton,{variant:"text",width:"64%",height:18})]}),l.jsxs(u.Box,{sx:{display:"flex",flexDirection:"column",gap:"16px"},children:[l.jsx(u.Skeleton,{variant:"rounded",height:90,sx:{borderRadius:"8px"}}),l.jsx(u.Skeleton,{variant:"rounded",height:54,sx:{borderRadius:"8px"}}),l.jsx(u.Skeleton,{variant:"rounded",height:54,sx:{borderRadius:"8px"}})]})]})]}),WX={mail:({size:e=18})=>l.jsx("svg",{width:e,height:e,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:l.jsx("path",{d:"M1.49979 5.25021L7.62347 9.53676C8.11937 9.88393 8.36732 10.0575 8.63702 10.1247C8.87522 10.1841 9.12437 10.1841 9.36257 10.1247C9.63227 10.0575 9.88022 9.88393 10.3761 9.53676L16.4998 5.25021M5.09979 15.0002H12.8998C14.1599 15.0002 14.7899 15.0002 15.2713 14.755C15.6947 14.5393 16.0388 14.1951 16.2545 13.7717C16.4998 13.2904 16.4998 12.6604 16.4998 11.4002V6.60021C16.4998 5.34009 16.4998 4.71003 16.2545 4.22873C16.0388 3.80536 15.6947 3.46116 15.2713 3.24544C14.7899 3.00021 14.1599 3.00021 12.8998 3.00021H5.09979C3.83967 3.00021 3.20961 3.00021 2.72831 3.24544C2.30495 3.46116 1.96074 3.80536 1.74503 4.22873C1.49979 4.71003 1.49979 5.34009 1.49979 6.60021V11.4002C1.49979 12.6604 1.49979 13.2904 1.74503 13.7717C1.96074 14.1951 2.30495 14.5393 2.72831 14.755C3.20961 15.0002 3.83967 15.0002 5.09979 15.0002Z",stroke:"#4D596C",strokeWidth:"1.41429",strokeLinecap:"round",strokeLinejoin:"round"})}),message:({size:e=18})=>l.jsx("svg",{width:e,height:e,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:l.jsx("path",{d:"M14.6 2H3.4C2.63 2 2 2.63 2 3.4V16L4.8 13.2H14.6C15.37 13.2 16 12.57 16 11.8V3.4C16 2.63 15.37 2 14.6 2ZM14.6 11.8H4.24L3.4 12.64V3.4H14.6V11.8Z",fill:"#4D596C"})})},zX=({schema:e,controller:t})=>{var A,s,a;const n=we(Yo)??[],r=we(FA)??[],o=i=>i==="inboxes"?l.jsx(Au,{type:dE,options:n,currentSelectedOptions:t.selectedEmailInboxes,isSingleSelect:!1,labelKey:"name",valueKey:"id",placeholder:B2,inputVariant:"outlined",onChangeFunc:(c,g)=>t.setSelectedEmailInboxes(g??[])}):l.jsx(Au,{type:Q2,options:r,currentSelectedOptions:[t.selectedRole],isSingleSelect:!0,labelKey:"displayName",valueKey:"id",placeholder:h2,inputVariant:"outlined",onChangeFunc:(c,g)=>t.setSelectedRole(g??{})});return l.jsxs("div",{children:[l.jsx(u.Typography,{sx:{fontWeight:600,fontSize:"16px",lineHeight:"21px",letterSpacing:"-0.16px",color:((A=u.theme.palette.gray)==null?void 0:A.gray2)??"#4D596C",marginBottom:"8px"},children:e.title}),e.subtitle&&l.jsx(u.Typography,{sx:{fontSize:"13px",lineHeight:"20px",color:((s=u.theme.palette.gray)==null?void 0:s.gray3)??"#6F7C90",marginBottom:"24px"},children:e.subtitle}),e.blocks&&e.blocks.length>0?l.jsx(RX,{children:e.blocks.map(i=>{var g,d;const c=WX[i.icon];return l.jsxs(MX,{children:[l.jsxs(jX,{children:[l.jsx(VX,{children:l.jsx(c,{})}),l.jsxs(GX,{children:[l.jsx(u.Typography,{sx:{fontWeight:500,fontSize:"14px",lineHeight:"18px",color:((g=u.theme.palette.gray)==null?void 0:g.gray2)??"#4D596C"},children:i.title}),i.subtitle&&l.jsx(u.Typography,{sx:{fontWeight:400,fontSize:"13px",lineHeight:"20px",color:((d=u.theme.palette.gray)==null?void 0:d.gray3)??"#6F7C90"},children:i.subtitle})]})]}),o(i.field)]},i.field)})}):e.visibility!==!1&&l.jsx(m2,{selectedEmailInboxes:t.selectedEmailInboxes,setSelectedEmailInboxes:t.setSelectedEmailInboxes,selectedRoles:t.selectedRole,setSelectedRoles:t.setSelectedRole,roles:r,inboxes:n}),l.jsxs(HX,{children:[l.jsx(u.Button,{variant:"contained",disableElevation:!0,onClick:()=>void t.onSave(),disabled:!t.canSave,sx:{textTransform:"none",fontWeight:500,fontSize:"14px",lineHeight:"18px",padding:"9px 12px",borderRadius:"6px",background:u.theme.palette.purple.primary,boxShadow:"none","&:hover":{background:u.theme.palette.purple.hover??u.theme.palette.purple.primary,boxShadow:"none"}},children:e.saveLabel??"Save"}),t.onCancel&&l.jsx(u.Button,{variant:"text",onClick:t.onCancel,disabled:t.isSaving,sx:{textTransform:"none",fontWeight:500,fontSize:"14px",lineHeight:"18px",padding:"9px 12px",color:((a=u.theme.palette.gray)==null?void 0:a.gray2)??"#4D596C"},children:e.cancelLabel??"Cancel"})]})]})},YX=({connectorId:e,isEnabled:t,isAuthenticated:n,connectorType:r,connectorName:o})=>{const A=Nn(),{sendTrackingEvent:s}=m.useContext(it),a=we(eu),i=we(LA),c=we(MC),g=(c==null?void 0:c[e])===Ie.LOADING,I=[a,i].includes(Ie.LOADING)||!n,B=f=>{f==null||f.stopPropagation();const C=f.target.checked;A(Fs({id:e,enabled:C})).unwrap().then(()=>{r==="slack"&&s(C?tt.SLACK_INTEGRATION_ENABLED:tt.SLACK_INTEGRATION_DISABLED,{connector_name:o}),C||bt({message:kC,type:Wc})}).catch(()=>{bt({message:FC,type:hn})})};return l.jsxs("div",{className:"flex flex-row gap-2 items-center",children:[l.jsx(U1,{active:t,label:l.jsx(u.Typography,{variant:"body2",children:t?"Active":"Inactive"})}),l.jsx(aE,{isLoading:g,id:`switch_${e}`,checked:t,disabled:I,onClick:f=>f==null?void 0:f.stopPropagation(),onChange:B})]})},JX=({carouselImages:e,templateDescription:t,features:n,supportLinks:r,appName:o})=>{var s;const A=(e??[]).map(({url:a})=>({src:a}));return l.jsxs(x2,{children:[l.jsxs("div",{children:[A.length>0&&l.jsx(J1,{previewList:A}),t&&l.jsx(u.Typography,{variant:"body2",sx:{color:(s=u.theme.palette.gray)==null?void 0:s.gray1,marginTop:2},children:l.jsx("span",{dangerouslySetInnerHTML:{__html:t}})}),n&&n.length>0&&l.jsxs(PX,{children:[l.jsx(u.Typography,{sx:{fontWeight:500,fontSize:"14px",lineHeight:"24px",letterSpacing:"0.042px",color:"#343C45",marginBottom:"8px"},children:"Features"}),n.map((a,i)=>{var c;return l.jsxs(u.Typography,{sx:{fontSize:"13px",lineHeight:"20px",color:((c=u.theme.palette.gray)==null?void 0:c.gray2)??"#4D596C"},children:[i+1,". ",a]},i)})]})]}),l.jsxs(u.Stack,{gap:"12px",children:[l.jsx(u.Typography,{variant:"h2",marginBottom:"8px",children:L1}),l.jsx(ou,{isSettingsPage:!0}),l.jsx(g2,{connectorName:o,supportLinks:r})]})]})},v2=["Overview","Configuration"],XX=PC("Inter, system-ui, sans-serif"),w2={textTransform:"none",fontSize:"14px",fontWeight:500,letterSpacing:"0.25px",minHeight:"auto",padding:"0",color:((ey=u.theme.palette.gray)==null?void 0:ey.gray3)??"#6F7C90","&.Mui-selected":{color:u.theme.palette.purple.primary}},S2=({mode:e})=>{var d,I;const t=zt(),n=Nn(),{id:r=""}=Io(),o=we(Ls),A=we(kr),s=we(LC),a=we(LA),i=e==="connector"?(A==null?void 0:A[r])??null:null,c=e==="template"?r:(i==null?void 0:i.templateId)??"",g=c?(o==null?void 0:o[c])??null:null;if(m.useEffect(()=>{if(r){if(e==="template"){o!=null&&o[r]||n(DA(r));return}i?i.templateId&&!(o!=null&&o[i.templateId])&&n(DA(i.templateId)):n(Ns(r))}},[r,e,o,i,n]),e==="template"){const B=(o==null?void 0:o[r])??null;return B?Vs(B.type)?l.jsx(T2,{mode:"template",id:r,headerSource:B}):l.jsx(Dl,{to:`${_e.BASEPATH}${_e.API_VIEW}/${r}`,replace:!0}):s===Ie.FAILED?l.jsxs(Xs,{children:[l.jsxs(EE,{onClick:()=>t(`${_e.BASEPATH}${_e.DASHBOARD}`),children:[l.jsx("img",{src:CE,alt:"",width:20,height:20}),"Apps Marketplace"]}),l.jsx(u.Typography,{variant:"h6",sx:{marginTop:2,fontWeight:600},children:"Couldn’t load app"}),l.jsxs(u.Typography,{variant:"body2",sx:{color:(d=u.theme.palette.gray)==null?void 0:d.gray3},children:["Template ID “",r,"” couldn’t be fetched. Try refreshing."]})]}):l.jsx(Xs,{children:l.jsx(fE,{})})}return i?Vs(i.type)?g?l.jsx(T2,{mode:"connector",id:r,headerSource:{...g,...i}}):l.jsx(Xs,{children:l.jsx(fE,{})}):l.jsx(Dl,{to:`${_e.BASEPATH}${_e.API_VIEW}/${r}?isEdit=true`,replace:!0}):a===Ie.FAILED?l.jsxs(Xs,{children:[l.jsxs(EE,{onClick:()=>t(`${_e.BASEPATH}${_e.DASHBOARD}`),children:[l.jsx("img",{src:CE,alt:"",width:20,height:20}),"Apps Marketplace"]}),l.jsx(u.Typography,{variant:"h6",sx:{marginTop:2,fontWeight:600},children:"Couldn’t load app"}),l.jsxs(u.Typography,{variant:"body2",sx:{color:(I=u.theme.palette.gray)==null?void 0:I.gray3},children:["Connector ID “",r,"” couldn’t be fetched. Try refreshing."]})]}):l.jsx(Xs,{children:l.jsx(fE,{})})},T2=({mode:e,id:t,headerSource:n})=>{var C,E;const r=zt(),[o,A]=jo(),s=CW(n.type),a=s.useController({mode:e,id:t}),i=s.logoUrl??n.logo,g=o.get("tab")==="configuration"?1:0,[d,I]=m.useState(g),B=(h,p)=>{I(p);const Q=new URLSearchParams(o);Q.set("tab",p===1?"configuration":"overview"),A(Q,{replace:!0})},f=()=>B({},1);return l.jsx(u.HiverProvider,{theme:XX,children:l.jsxs(Xs,{children:[l.jsxs(EE,{onClick:()=>r(`${_e.BASEPATH}${_e.DASHBOARD}`),children:[l.jsx("img",{src:CE,alt:"",width:20,height:20}),"Apps Marketplace"]}),l.jsxs(y2,{children:[l.jsxs(b2,{children:[i&&l.jsx(LX,{children:l.jsx(FX,{children:l.jsx("img",{src:i,alt:n.name})})}),l.jsxs(kX,{children:[l.jsx(u.Typography,{sx:{fontWeight:500,fontSize:"20px",lineHeight:"32px",letterSpacing:"0.2px",color:"#111827"},children:n.name}),l.jsx(u.Typography,{sx:{fontWeight:400,fontSize:"14px",lineHeight:"20px",color:((C=u.theme.palette.gray)==null?void 0:C.gray2)??"#4D596C"},children:n.description})]})]}),e==="template"&&l.jsx(NX,{variant:"contained",disableElevation:!0,onClick:f,children:"Start Setup"}),e==="connector"&&l.jsx(YX,{connectorId:t,isEnabled:!!n.isEnabled,isAuthenticated:!!n.isAuthenticated,connectorType:n.type,connectorName:n.name})]}),l.jsxs(u.Tabs,{value:d,onChange:B,TabIndicatorProps:{sx:{backgroundColor:u.theme.palette.purple.primary,height:"2px"}},sx:{marginTop:4,minHeight:"auto",borderBottom:`1px solid ${((E=u.theme.palette.gray)==null?void 0:E.gray5)??"#D6DDE8"}`},children:[l.jsx(u.Tab,{label:v2[0],sx:w2}),l.jsx(u.Tab,{label:v2[1],sx:w2})]}),l.jsx("div",{hidden:d!==0,style:{paddingTop:24},children:l.jsx(JX,{carouselImages:n.carouselImages,templateDescription:n.templateDescription,features:s.features,supportLinks:n.supportLinks,appName:n.name})}),l.jsx("div",{hidden:d!==1,style:{paddingTop:24},children:l.jsx(zX,{schema:s.configuration,controller:a})})]})})},qX=e=>Hp([{path:_e.BASEPATH,element:l.jsx(F1,{})},{path:_e.DASHBOARD,element:l.jsx(F1,{})},{path:_e.AUTH_SUCCESS,element:l.jsx(SX,{})},{path:`${_e.API_VIEW}/:id`,element:l.jsx(DY,{})},{path:`${_e.CONNECTOR_SETTINGS}/:id`,element:l.jsx(bX,{})},{path:`${_e.NATIVE_INTEGRATION}/:id`,element:l.jsx(TX,{})},{path:`${_e.CONNECTOR_INITIAL_SETUP}/:id`,element:l.jsx(OX,{})},{path:`${_e.APP_DETAIL}/:id`,element:l.jsx(S2,{mode:"connector"})},{path:`${_e.TEMPLATE_APP}/:id`,element:l.jsx(S2,{mode:"template"})}],{basename:e}),ZX=({basename:e="/",metaData:t,userId:n})=>{var o;const r=m.useMemo(()=>qX(e),[e]);return(o=t==null?void 0:t.templateUpdates)!=null&&o.version&&n&&(qz(t.templateUpdates.version),Kz(n)),l.jsx(Jp,{router:r})},UX="internal-chat",$X=u.styled(u.Box)`
|
|
3613
|
+
`,fE=()=>l.jsxs(l.Fragment,{children:[l.jsx(u.Skeleton,{variant:"text",width:150,height:24}),l.jsxs(y2,{children:[l.jsxs(b2,{children:[l.jsx(u.Skeleton,{variant:"rounded",width:64,height:64,sx:{borderRadius:"6px",flexShrink:0}}),l.jsxs(u.Box,{sx:{display:"flex",flexDirection:"column",gap:"8px",paddingTop:"4px",flex:1,minWidth:0},children:[l.jsx(u.Skeleton,{variant:"text",width:120,height:32}),l.jsx(u.Skeleton,{variant:"text",width:"60%",height:18}),l.jsx(u.Skeleton,{variant:"text",width:"42%",height:18})]})]}),l.jsx(u.Skeleton,{variant:"rounded",width:132,height:32,sx:{borderRadius:"20px",flexShrink:0}})]}),l.jsxs(u.Box,{sx:{display:"flex",gap:"24px",marginTop:"32px",paddingBottom:"12px",borderBottom:"1px solid #D6DDE8"},children:[l.jsx(u.Skeleton,{variant:"text",width:68,height:20}),l.jsx(u.Skeleton,{variant:"text",width:92,height:20})]}),l.jsxs(x2,{children:[l.jsxs(u.Box,{sx:{display:"flex",flexDirection:"column",gap:"12px"},children:[l.jsx(u.Skeleton,{variant:"text",width:96,height:24}),l.jsx(u.Skeleton,{variant:"text",width:"78%",height:18}),l.jsx(u.Skeleton,{variant:"text",width:"64%",height:18})]}),l.jsxs(u.Box,{sx:{display:"flex",flexDirection:"column",gap:"16px"},children:[l.jsx(u.Skeleton,{variant:"rounded",height:90,sx:{borderRadius:"8px"}}),l.jsx(u.Skeleton,{variant:"rounded",height:54,sx:{borderRadius:"8px"}}),l.jsx(u.Skeleton,{variant:"rounded",height:54,sx:{borderRadius:"8px"}})]})]})]}),WX={mail:({size:e=18})=>l.jsx("svg",{width:e,height:e,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:l.jsx("path",{d:"M1.49979 5.25021L7.62347 9.53676C8.11937 9.88393 8.36732 10.0575 8.63702 10.1247C8.87522 10.1841 9.12437 10.1841 9.36257 10.1247C9.63227 10.0575 9.88022 9.88393 10.3761 9.53676L16.4998 5.25021M5.09979 15.0002H12.8998C14.1599 15.0002 14.7899 15.0002 15.2713 14.755C15.6947 14.5393 16.0388 14.1951 16.2545 13.7717C16.4998 13.2904 16.4998 12.6604 16.4998 11.4002V6.60021C16.4998 5.34009 16.4998 4.71003 16.2545 4.22873C16.0388 3.80536 15.6947 3.46116 15.2713 3.24544C14.7899 3.00021 14.1599 3.00021 12.8998 3.00021H5.09979C3.83967 3.00021 3.20961 3.00021 2.72831 3.24544C2.30495 3.46116 1.96074 3.80536 1.74503 4.22873C1.49979 4.71003 1.49979 5.34009 1.49979 6.60021V11.4002C1.49979 12.6604 1.49979 13.2904 1.74503 13.7717C1.96074 14.1951 2.30495 14.5393 2.72831 14.755C3.20961 15.0002 3.83967 15.0002 5.09979 15.0002Z",stroke:"#4D596C",strokeWidth:"1.41429",strokeLinecap:"round",strokeLinejoin:"round"})}),message:({size:e=18})=>l.jsx("svg",{width:e,height:e,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:l.jsx("path",{d:"M14.6 2H3.4C2.63 2 2 2.63 2 3.4V16L4.8 13.2H14.6C15.37 13.2 16 12.57 16 11.8V3.4C16 2.63 15.37 2 14.6 2ZM14.6 11.8H4.24L3.4 12.64V3.4H14.6V11.8Z",fill:"#4D596C"})})},zX=({schema:e,controller:t})=>{var A,s,a;const n=we(Yo)??[],r=we(FA)??[],o=i=>i==="inboxes"?l.jsx(Au,{type:dE,options:n,currentSelectedOptions:t.selectedEmailInboxes,isSingleSelect:!1,labelKey:"name",valueKey:"id",placeholder:B2,inputVariant:"outlined",onChangeFunc:(c,g)=>t.setSelectedEmailInboxes(g??[])}):l.jsx(Au,{type:Q2,options:r,currentSelectedOptions:[t.selectedRole],isSingleSelect:!0,labelKey:"displayName",valueKey:"id",placeholder:h2,inputVariant:"outlined",onChangeFunc:(c,g)=>t.setSelectedRole(g??{})});return l.jsxs("div",{children:[l.jsx(u.Typography,{sx:{fontWeight:600,fontSize:"16px",lineHeight:"21px",letterSpacing:"-0.16px",color:((A=u.theme.palette.gray)==null?void 0:A.gray2)??"#4D596C",marginBottom:"8px"},children:e.title}),e.subtitle&&l.jsx(u.Typography,{sx:{fontSize:"13px",lineHeight:"20px",color:((s=u.theme.palette.gray)==null?void 0:s.gray3)??"#6F7C90",marginBottom:"24px"},children:e.subtitle}),e.blocks&&e.blocks.length>0?l.jsx(RX,{children:e.blocks.map(i=>{var g,d;const c=WX[i.icon];return l.jsxs(MX,{children:[l.jsxs(jX,{children:[l.jsx(VX,{children:l.jsx(c,{})}),l.jsxs(GX,{children:[l.jsx(u.Typography,{sx:{fontWeight:500,fontSize:"14px",lineHeight:"18px",color:((g=u.theme.palette.gray)==null?void 0:g.gray2)??"#4D596C"},children:i.title}),i.subtitle&&l.jsx(u.Typography,{sx:{fontWeight:400,fontSize:"13px",lineHeight:"20px",color:((d=u.theme.palette.gray)==null?void 0:d.gray3)??"#6F7C90"},children:i.subtitle})]})]}),o(i.field)]},i.field)})}):e.visibility!==!1&&l.jsx(m2,{selectedEmailInboxes:t.selectedEmailInboxes,setSelectedEmailInboxes:t.setSelectedEmailInboxes,selectedRoles:t.selectedRole,setSelectedRoles:t.setSelectedRole,roles:r,inboxes:n}),l.jsxs(HX,{children:[l.jsx(u.Button,{variant:"contained",disableElevation:!0,onClick:()=>void t.onSave(),disabled:!t.canSave,sx:{textTransform:"none",fontWeight:500,fontSize:"14px",lineHeight:"18px",padding:"9px 12px",borderRadius:"6px",background:u.theme.palette.purple.primary,boxShadow:"none","&:hover":{background:u.theme.palette.purple.hover??u.theme.palette.purple.primary,boxShadow:"none"}},children:e.saveLabel??"Save"}),t.onCancel&&l.jsx(u.Button,{variant:"text",onClick:t.onCancel,disabled:t.isSaving,sx:{textTransform:"none",fontWeight:500,fontSize:"14px",lineHeight:"18px",padding:"9px 12px",color:((a=u.theme.palette.gray)==null?void 0:a.gray2)??"#4D596C"},children:e.cancelLabel??"Cancel"})]})]})},YX=({connectorId:e,isEnabled:t,isAuthenticated:n,connectorType:r,connectorName:o})=>{const A=Nn(),{sendTrackingEvent:s}=m.useContext(it),a=we(eu),i=we(LA),c=we(MC),g=(c==null?void 0:c[e])===Ie.LOADING,I=[a,i].includes(Ie.LOADING)||!n,B=f=>{f==null||f.stopPropagation();const C=f.target.checked;A(Fs({id:e,enabled:C})).unwrap().then(()=>{r==="slack"&&s(C?tt.SLACK_INTEGRATION_ENABLED:tt.SLACK_INTEGRATION_DISABLED,{connector_name:o}),C||bt({message:kC,type:Wc})}).catch(()=>{bt({message:FC,type:hn})})};return l.jsxs("div",{className:"flex flex-row gap-2 items-center",children:[l.jsx(U1,{active:t,label:l.jsx(u.Typography,{variant:"body2",children:t?"Active":"Inactive"})}),l.jsx(aE,{isLoading:g,id:`switch_${e}`,checked:t,disabled:I,onClick:f=>f==null?void 0:f.stopPropagation(),onChange:B})]})},JX=({carouselImages:e,templateDescription:t,features:n,supportLinks:r,appName:o})=>{var s;const A=(e??[]).map(({url:a})=>({src:a}));return l.jsxs(x2,{children:[l.jsxs("div",{children:[A.length>0&&l.jsx(J1,{previewList:A}),t&&l.jsx(u.Typography,{variant:"body2",sx:{color:(s=u.theme.palette.gray)==null?void 0:s.gray1,marginTop:2},children:l.jsx("span",{dangerouslySetInnerHTML:{__html:t}})}),n&&n.length>0&&l.jsxs(PX,{children:[l.jsx(u.Typography,{sx:{fontWeight:500,fontSize:"14px",lineHeight:"24px",letterSpacing:"0.042px",color:"#343C45",marginBottom:"8px"},children:"Features"}),n.map((a,i)=>{var c;return l.jsxs(u.Typography,{sx:{fontSize:"13px",lineHeight:"20px",color:((c=u.theme.palette.gray)==null?void 0:c.gray2)??"#4D596C"},children:[i+1,". ",a]},i)})]})]}),l.jsxs(u.Stack,{gap:"12px",children:[l.jsx(u.Typography,{variant:"h2",marginBottom:"8px",children:L1}),l.jsx(ou,{isSettingsPage:!0}),l.jsx(g2,{connectorName:o,supportLinks:r})]})]})},v2=["Overview","Configuration"],XX=PC("'Hanken Grotesk', system-ui, sans-serif"),w2={textTransform:"none",fontSize:"14px",fontWeight:500,letterSpacing:"0.25px",minHeight:"auto",padding:"0",color:((ey=u.theme.palette.gray)==null?void 0:ey.gray3)??"#6F7C90","&.Mui-selected":{color:u.theme.palette.purple.primary}},S2=({mode:e})=>{var d,I;const t=zt(),n=Nn(),{id:r=""}=Io(),o=we(Ls),A=we(kr),s=we(LC),a=we(LA),i=e==="connector"?(A==null?void 0:A[r])??null:null,c=e==="template"?r:(i==null?void 0:i.templateId)??"",g=c?(o==null?void 0:o[c])??null:null;if(m.useEffect(()=>{if(r){if(e==="template"){o!=null&&o[r]||n(DA(r));return}i?i.templateId&&!(o!=null&&o[i.templateId])&&n(DA(i.templateId)):n(Ns(r))}},[r,e,o,i,n]),e==="template"){const B=(o==null?void 0:o[r])??null;return B?Vs(B.type)?l.jsx(T2,{mode:"template",id:r,headerSource:B}):l.jsx(Dl,{to:`${_e.BASEPATH}${_e.API_VIEW}/${r}`,replace:!0}):s===Ie.FAILED?l.jsxs(Xs,{children:[l.jsxs(EE,{onClick:()=>t(`${_e.BASEPATH}${_e.DASHBOARD}`),children:[l.jsx("img",{src:CE,alt:"",width:20,height:20}),"Apps Marketplace"]}),l.jsx(u.Typography,{variant:"h6",sx:{marginTop:2,fontWeight:600},children:"Couldn’t load app"}),l.jsxs(u.Typography,{variant:"body2",sx:{color:(d=u.theme.palette.gray)==null?void 0:d.gray3},children:["Template ID “",r,"” couldn’t be fetched. Try refreshing."]})]}):l.jsx(Xs,{children:l.jsx(fE,{})})}return i?Vs(i.type)?g?l.jsx(T2,{mode:"connector",id:r,headerSource:{...g,...i}}):l.jsx(Xs,{children:l.jsx(fE,{})}):l.jsx(Dl,{to:`${_e.BASEPATH}${_e.API_VIEW}/${r}?isEdit=true`,replace:!0}):a===Ie.FAILED?l.jsxs(Xs,{children:[l.jsxs(EE,{onClick:()=>t(`${_e.BASEPATH}${_e.DASHBOARD}`),children:[l.jsx("img",{src:CE,alt:"",width:20,height:20}),"Apps Marketplace"]}),l.jsx(u.Typography,{variant:"h6",sx:{marginTop:2,fontWeight:600},children:"Couldn’t load app"}),l.jsxs(u.Typography,{variant:"body2",sx:{color:(I=u.theme.palette.gray)==null?void 0:I.gray3},children:["Connector ID “",r,"” couldn’t be fetched. Try refreshing."]})]}):l.jsx(Xs,{children:l.jsx(fE,{})})},T2=({mode:e,id:t,headerSource:n})=>{var C,E;const r=zt(),[o,A]=jo(),s=CW(n.type),a=s.useController({mode:e,id:t}),i=s.logoUrl??n.logo,g=o.get("tab")==="configuration"?1:0,[d,I]=m.useState(g),B=(h,p)=>{I(p);const Q=new URLSearchParams(o);Q.set("tab",p===1?"configuration":"overview"),A(Q,{replace:!0})},f=()=>B({},1);return l.jsx(u.HiverProvider,{theme:XX,children:l.jsxs(Xs,{children:[l.jsxs(EE,{onClick:()=>r(`${_e.BASEPATH}${_e.DASHBOARD}`),children:[l.jsx("img",{src:CE,alt:"",width:20,height:20}),"Apps Marketplace"]}),l.jsxs(y2,{children:[l.jsxs(b2,{children:[i&&l.jsx(LX,{children:l.jsx(FX,{children:l.jsx("img",{src:i,alt:n.name})})}),l.jsxs(kX,{children:[l.jsx(u.Typography,{sx:{fontWeight:500,fontSize:"20px",lineHeight:"32px",letterSpacing:"0.2px",color:"#111827"},children:n.name}),l.jsx(u.Typography,{sx:{fontWeight:400,fontSize:"14px",lineHeight:"20px",color:((C=u.theme.palette.gray)==null?void 0:C.gray2)??"#4D596C"},children:n.description})]})]}),e==="template"&&l.jsx(NX,{variant:"contained",disableElevation:!0,onClick:f,children:"Start Setup"}),e==="connector"&&l.jsx(YX,{connectorId:t,isEnabled:!!n.isEnabled,isAuthenticated:!!n.isAuthenticated,connectorType:n.type,connectorName:n.name})]}),l.jsxs(u.Tabs,{value:d,onChange:B,TabIndicatorProps:{sx:{backgroundColor:u.theme.palette.purple.primary,height:"2px"}},sx:{marginTop:4,minHeight:"auto",borderBottom:`1px solid ${((E=u.theme.palette.gray)==null?void 0:E.gray5)??"#D6DDE8"}`},children:[l.jsx(u.Tab,{label:v2[0],sx:w2}),l.jsx(u.Tab,{label:v2[1],sx:w2})]}),l.jsx("div",{hidden:d!==0,style:{paddingTop:24},children:l.jsx(JX,{carouselImages:n.carouselImages,templateDescription:n.templateDescription,features:s.features,supportLinks:n.supportLinks,appName:n.name})}),l.jsx("div",{hidden:d!==1,style:{paddingTop:24},children:l.jsx(zX,{schema:s.configuration,controller:a})})]})})},qX=e=>Hp([{path:_e.BASEPATH,element:l.jsx(F1,{})},{path:_e.DASHBOARD,element:l.jsx(F1,{})},{path:_e.AUTH_SUCCESS,element:l.jsx(SX,{})},{path:`${_e.API_VIEW}/:id`,element:l.jsx(DY,{})},{path:`${_e.CONNECTOR_SETTINGS}/:id`,element:l.jsx(bX,{})},{path:`${_e.NATIVE_INTEGRATION}/:id`,element:l.jsx(TX,{})},{path:`${_e.CONNECTOR_INITIAL_SETUP}/:id`,element:l.jsx(OX,{})},{path:`${_e.APP_DETAIL}/:id`,element:l.jsx(S2,{mode:"connector"})},{path:`${_e.TEMPLATE_APP}/:id`,element:l.jsx(S2,{mode:"template"})}],{basename:e}),ZX=({basename:e="/",metaData:t,userId:n})=>{var o;const r=m.useMemo(()=>qX(e),[e]);return(o=t==null?void 0:t.templateUpdates)!=null&&o.version&&n&&(qz(t.templateUpdates.version),Kz(n)),l.jsx(Jp,{router:r})},UX="internal-chat",$X=u.styled(u.Box)`
|
|
3613
3614
|
padding: 43px 0px 0 35px;
|
|
3614
3615
|
box-sizing: border-box;
|
|
3615
3616
|
width: 100%;
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/app/connectors/pages/app-detail/style.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/app/connectors/pages/app-detail/style.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CAMhD,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,eAAe,CAAC,QAAQ,CAc9C,CAAC;AAKF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,QAAQ,CAM/C,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CAMhD,CAAC;AAKF,eAAO,MAAM,QAAQ,EAAE,eAAe,CAAC,QAAQ,CAS9C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,QAAQ,CAW/C,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,QAAQ,CAMtD,CAAC;AAGF,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,WAAW,CAc5D,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,QAAQ,CAMlD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,QAAQ,CAIxD,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,QAAQ,CAezD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,QAAQ,CAKnD,CAAC;AAGF,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,QAAQ,CAIxD,CAAC;AAIF,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,QAAQ,CAQtD,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,QAAQ,CAIzD,CAAC;AAIF,eAAO,MAAM,oBAAoB,EAAE,eAAe,CAAC,QAAQ,CAS1D,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,eAAe,CAAC,QAAQ,CAM1D,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,QAAQ,CAKtD,CAAC"}
|