@abtnode/blocklet-services 1.16.21-beta-edf184e1 → 1.16.21-beta-e828f413
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/dist/assets/{Add-dbdcac96.js → Add-280b55d6.js} +1 -1
- package/dist/assets/{Alert-850c6ed5.js → Alert-18856afa.js} +1 -1
- package/dist/assets/{ArrowDropDown-b5cd6602.js → ArrowDropDown-0147576b.js} +1 -1
- package/dist/assets/{Autocomplete-0c305d3c.js → Autocomplete-033ea918.js} +1 -1
- package/dist/assets/{Avatar-a3ed8c85.js → Avatar-6a058f2c.js} +1 -1
- package/dist/assets/{ButtonGroup-8965d696.js → ButtonGroup-0a58968f.js} +1 -1
- package/dist/assets/{CardContent-07c410e6.js → CardContent-a3c41a0c.js} +1 -1
- package/dist/assets/{CheckCircle-1625a049.js → CheckCircle-420400e3.js} +1 -1
- package/dist/assets/{Checkbox-93b1ae12.js → Checkbox-92349aed.js} +1 -1
- package/dist/assets/{ChevronRight-4cba63fe.js → ChevronRight-9d781657.js} +1 -1
- package/dist/assets/{DeleteOutline-99b46f8b.js → DeleteOutline-9e947dc9.js} +1 -1
- package/dist/assets/{DialogContentText-413bb94f.js → DialogContentText-ef0138ce.js} +1 -1
- package/dist/assets/{Done-d9c0a45c.js → Done-70ebcf6d.js} +1 -1
- package/dist/assets/{Download-c45f9492.js → Download-ccbc24f3.js} +1 -1
- package/dist/assets/{Edit-88f5d9ce.js → Edit-863e159a.js} +1 -1
- package/dist/assets/{EditIcon-51f0c899.js → EditIcon-12f4ff59.js} +1 -1
- package/dist/assets/{ExpandMore-3020171f.js → ExpandMore-5e89e7bd.js} +1 -1
- package/dist/assets/FilterList-7817f456.js +25 -0
- package/dist/assets/{FormControl-77e38e88.js → FormControl-4556d3f8.js} +1 -1
- package/dist/assets/{FormControlLabel-6c1055c3.js → FormControlLabel-a7fff241.js} +1 -1
- package/dist/assets/{FormGroup-03a8abc6.js → FormGroup-d856dc86.js} +1 -1
- package/dist/assets/{Google-b1f76688.js → Google-d28b2347.js} +1 -1
- package/dist/assets/{Grid-5f9be0bf.js → Grid-dcf85761.js} +1 -1
- package/dist/assets/{Hidden-1d1d2e86.js → Hidden-4067f85a.js} +1 -1
- package/dist/assets/{Icon-2bb6c88f.js → Icon-ad9c5b26.js} +1 -1
- package/dist/assets/{InfoOutlined-544fc885.js → InfoOutlined-da2cfef7.js} +1 -1
- package/dist/assets/{InputAdornment-53f09810.js → InputAdornment-65e20722.js} +1 -1
- package/dist/assets/{InputLabel-710219b5.js → InputLabel-b97f286b.js} +1 -1
- package/dist/assets/LastPage-830dc7b7.js +1 -0
- package/dist/assets/{Launch-55624d0f.js → Launch-c5a2e753.js} +1 -1
- package/dist/assets/{LaunchOutlined-c4139939.js → LaunchOutlined-fbf3b2b2.js} +1 -1
- package/dist/assets/{ListItem-72014ca6.js → ListItem-1faf6af2.js} +1 -1
- package/dist/assets/{LockIcon-6c5a73df.js → LockIcon-5bf90304.js} +1 -1
- package/dist/assets/{Loop-533a11b4.js → Loop-4b03c2e0.js} +1 -1
- package/dist/assets/{MoreVert-7812832e.js → MoreVert-b4ec66e0.js} +1 -1
- package/dist/assets/{OpenInNew-2ec888fc.js → OpenInNew-e91f9d7e.js} +1 -1
- package/dist/assets/{Pagination-cf21f3a8.js → Pagination-babd41d1.js} +1 -1
- package/dist/assets/{PlayArrow-f029bdd7.js → PlayArrow-b569df74.js} +1 -1
- package/dist/assets/{RadioGroup-dc385527.js → RadioGroup-c422200c.js} +1 -1
- package/dist/assets/{Search-70432ee8.js → Search-29f3b44d.js} +1 -1
- package/dist/assets/Select-3544f27a.js +2 -0
- package/dist/assets/{ServerLogo-fabaf568.js → ServerLogo-cd4b028b.js} +1 -1
- package/dist/assets/{Slider-8cdedbce.js → Slider-fb0e6a6c.js} +1 -1
- package/dist/assets/{Stepper-3a597824.js → Stepper-e3579a23.js} +1 -1
- package/dist/assets/{Switch-daa0812f.js → Switch-3533da1c.js} +1 -1
- package/dist/assets/{TableRow-722353c4.js → TableRow-d12808ad.js} +1 -1
- package/dist/assets/{TextField-fe08d197.js → TextField-3d8b540c.js} +1 -1
- package/dist/assets/{Toolbar-f8956d67.js → Toolbar-63186941.js} +1 -1
- package/dist/assets/{access-control-638317e3.js → access-control-b2ba0303.js} +1 -1
- package/dist/assets/{actions-3a323c3a.js → actions-1c072ea2.js} +1 -1
- package/dist/assets/{add-component-core-f91defa4.js → add-component-core-2a808729.js} +27 -27
- package/dist/assets/add-resource-acb27726.js +1 -0
- package/dist/assets/{addon-5a52f3d8.js → addon-2882fd1c.js} +1 -1
- package/dist/assets/{analytics-3bddb510.js → analytics-f360a10e.js} +1 -1
- package/dist/assets/api-71b66169.js +1 -0
- package/dist/assets/{audit-logs-77897bc1.js → audit-logs-da4fd599.js} +1 -1
- package/dist/assets/{button-395bdffd.js → button-b114c402.js} +1 -1
- package/dist/assets/{click-to-copy-d3024fee.js → click-to-copy-d2e126fa.js} +1 -1
- package/dist/assets/{complete-deb1d2a3.js → complete-07d681f3.js} +1 -1
- package/dist/assets/{component-63f6bb0a.js → component-d565750a.js} +1 -1
- package/dist/assets/{config-0940c67a.js → config-70b23d9e.js} +1 -1
- package/dist/assets/{config-29b974d4.js → config-ce013610.js} +1 -1
- package/dist/assets/{config-navigation-c7ec2a55.js → config-navigation-90a993c6.js} +1 -1
- package/dist/assets/{confirm-2682d0fc.js → confirm-2f20e316.js} +1 -1
- package/dist/assets/{confirm-fef96ddf.js → confirm-59642196.js} +1 -1
- package/dist/assets/{connect-51e2dc72.js → connect-127e0b85.js} +1 -1
- package/dist/assets/{connect-a02af466.js → connect-1437aa9e.js} +1 -1
- package/dist/assets/{content-layout-9b8df0f2.js → content-layout-80ff1eb2.js} +1 -1
- package/dist/assets/dashboard-b2b1d1e1.js +146 -0
- package/dist/assets/{did-address-868daf20.js → did-address-deca4ec1.js} +1 -1
- package/dist/assets/{did-utils-8cc43e95.js → did-utils-163d9ee1.js} +1 -1
- package/dist/assets/{domain-9ea669cb.js → domain-70882483.js} +1 -1
- package/dist/assets/{domain-list-2ebc159e.js → domain-list-b5d9635e.js} +1 -1
- package/dist/assets/{exchange-passport-c76fd004.js → exchange-passport-266caf87.js} +1 -1
- package/dist/assets/{fallback-f2622fec.js → fallback-27e04c22.js} +1 -1
- package/dist/assets/{format-error-1642e1d0.js → format-error-86f361f1.js} +1 -1
- package/dist/assets/{fuel-4c6a2fbe.js → fuel-e62977ca.js} +1 -1
- package/dist/assets/{home-cd95e3af.js → home-8a5b734d.js} +1 -1
- package/dist/assets/{iframe-8ba3ad2d.js → iframe-6a308731.js} +1 -1
- package/dist/assets/{index-a5597e66.js → index-013c3cfd.js} +1 -1
- package/dist/assets/{index-d71a5fed.js → index-035e11b9.js} +1 -1
- package/dist/assets/{index-687f9742.js → index-0473b500.js} +1 -1
- package/dist/assets/{index-6366c361.js → index-0c77b65e.js} +1 -1
- package/dist/assets/{index-b0167500.js → index-10f7644c.js} +1 -1
- package/dist/assets/{index-6bd14f76.js → index-118e2531.js} +1 -1
- package/dist/assets/{index-d576ddff.js → index-1202a7b7.js} +1 -1
- package/dist/assets/{index-c969afd7.js → index-304ff849.js} +1 -1
- package/dist/assets/{index-1c8fb01b.js → index-3d5c8add.js} +1 -1
- package/dist/assets/{index-780c16c8.js → index-4010c313.js} +1 -1
- package/dist/assets/{index-3fb520ed.js → index-47788371.js} +1 -1
- package/dist/assets/{index-657787c9.js → index-51dd35dc.js} +1 -1
- package/dist/assets/{index-434f3a23.js → index-6c3c2979.js} +1 -1
- package/dist/assets/{index-0a9e8751.js → index-752c69a0.js} +2 -2
- package/dist/assets/{index-1b818f05.js → index-79a0407d.js} +1 -1
- package/dist/assets/{index-378aa16e.js → index-8641a8fb.js} +1 -1
- package/dist/assets/{index-a7294263.js → index-894d7b33.js} +1 -1
- package/dist/assets/{index-c7baa6f9.js → index-997aa7a6.js} +1 -1
- package/dist/assets/{index-1b28a8cb.js → index-9ca240c4.js} +2 -2
- package/dist/assets/{index-298c12a2.js → index-9f3316ac.js} +1 -1
- package/dist/assets/{index-9ad53f5f.js → index-a76e3a95.js} +1 -1
- package/dist/assets/{index-7dfff741.js → index-b4384904.js} +1 -1
- package/dist/assets/{index-f92a64b0.js → index-c78d61fc.js} +1 -1
- package/dist/assets/{index-48d4efa9.js → index-cdb9820e.js} +1 -1
- package/dist/assets/{index-92c6d1d4.js → index-cedf1548.js} +1 -1
- package/dist/assets/{index-53d55e82.js → index-cf61f7db.js} +9 -9
- package/dist/assets/{index-895140d4.js → index-ea69217a.js} +1 -1
- package/dist/assets/{index-e8fabd51.js → index-f602c035.js} +1 -1
- package/dist/assets/{index.es-dd58e566.js → index.es-b04262e4.js} +1 -1
- package/dist/assets/{index.esm-d1edc7ef.js → index.esm-670d1e23.js} +1 -1
- package/dist/assets/{invite-2dce9db0.js → invite-14ea792e.js} +1 -1
- package/dist/assets/{issue-passport-d292952e.js → issue-passport-27422a15.js} +1 -1
- package/dist/assets/{launch-result-message-99b95037.js → launch-result-message-5cb7523a.js} +1 -1
- package/dist/assets/{layout-6e6d83db.js → layout-fe001017.js} +1 -1
- package/dist/assets/{list-header-dbcc3aa5.js → list-header-456bfa74.js} +1 -1
- package/dist/assets/localization-fdf9467e.js +1 -0
- package/dist/assets/{log-5d897ee6.js → log-da7be89b.js} +1 -1
- package/dist/assets/{login-5918b188.js → login-f7c787e7.js} +1 -1
- package/dist/assets/{logo-uploader-2fc06d0d.js → logo-uploader-d3b0ef9a.js} +2 -2
- package/dist/assets/{lost-passport-cd33a794.js → lost-passport-d5fefbfb.js} +2 -2
- package/dist/assets/{lottie-3067a318.js → lottie-1efa41ad.js} +1 -1
- package/dist/assets/{makeStyles-58ab7ac6.js → makeStyles-49c189a4.js} +1 -1
- package/dist/assets/{memoize-one.esm-42dfe724.js → memoize-one.esm-c0ea98d3.js} +1 -1
- package/dist/assets/{nav-menu-2414a713.js → nav-menu-e5bda5b1.js} +1 -1
- package/dist/assets/{notifications-c23feea3.js → notifications-cfc0d657.js} +1 -1
- package/dist/assets/{overview-dcefb261.js → overview-cac9ec94.js} +1 -1
- package/dist/assets/{page-header-65d7734f.js → page-header-63e0831d.js} +1 -1
- package/dist/assets/{permission-956ee928.js → permission-d80dce81.js} +1 -1
- package/dist/assets/preact.module-783a6d9f.js +1 -0
- package/dist/assets/{preferences-9f1610b9.js → preferences-2e48e277.js} +1 -1
- package/dist/assets/publish-resource-0da6fec5.js +1 -0
- package/dist/assets/{react-fb9eff86.js → react-f9aac7a1.js} +26 -26
- package/dist/assets/{redux-ba45a372.js → redux-8efd18d4.js} +1 -1
- package/dist/assets/{selector-be6aba8d.js → selector-b882811a.js} +1 -1
- package/dist/assets/session-2a0eb2cb.js +1 -0
- package/dist/assets/{setup-c2ed2ae8.js → setup-017ccdf9.js} +2 -2
- package/dist/assets/{slicedToArray-f24592cf.js → slicedToArray-51036cb1.js} +2 -2
- package/dist/assets/{spaces-d6a3929c.js → spaces-30889313.js} +1 -1
- package/dist/assets/{start-df72b89b.js → start-6b901ad4.js} +1 -1
- package/dist/assets/{step-actions-739b43a4.js → step-actions-cc9fccda.js} +1 -1
- package/dist/assets/{studio-9d0ed995.js → studio-75f7cd30.js} +1 -1
- package/dist/assets/{switch-control-16f6e60a.js → switch-control-1a270bab.js} +1 -1
- package/dist/assets/toPropertyKey-d63e044c.js +1 -0
- package/dist/assets/{transfer-99249ba2.js → transfer-82dd6dbc.js} +1 -1
- package/dist/assets/{uniqBy-30d716d5.js → uniqBy-b149d2ef.js} +1 -1
- package/dist/assets/unsubscribe-2f8458c6.js +1 -0
- package/dist/assets/{use-blocklet-info-for-connect-did-spaces-b2cbc055.js → use-blocklet-info-for-connect-did-spaces-e4c92196.js} +1 -1
- package/dist/assets/{useAsync-80128455.js → useAsync-aeba6414.js} +1 -1
- package/dist/assets/{useFormControl-df015b19.js → useFormControl-b7cc7d69.js} +1 -1
- package/dist/assets/{useSetState-840de1df.js → useSetState-49e815fe.js} +1 -1
- package/dist/assets/{user-086a4174.js → user-55074d20.js} +1 -1
- package/dist/assets/{util-74fc13da.js → util-ab8d703d.js} +1 -1
- package/dist/assets/{wallet-hidden-topbar-1d0c7c1f.js → wallet-hidden-topbar-94881797.js} +2 -2
- package/dist/assets/wrap-locale-358982b3.js +1 -0
- package/dist/index.html +1 -1
- package/package.json +33 -33
- package/dist/assets/FilterList-dbb51894.js +0 -25
- package/dist/assets/LastPage-f494bc19.js +0 -1
- package/dist/assets/Select-a3cf4deb.js +0 -2
- package/dist/assets/add-resource-65208122.js +0 -1
- package/dist/assets/api-dcff568c.js +0 -1
- package/dist/assets/dashboard-4a3964de.js +0 -146
- package/dist/assets/localization-ed77805e.js +0 -1
- package/dist/assets/preact.module-c0a7ffab.js +0 -1
- package/dist/assets/publish-resource-38d5466f.js +0 -1
- package/dist/assets/session-8a8645ce.js +0 -1
- package/dist/assets/toPropertyKey-f41ee07b.js +0 -1
- package/dist/assets/unsubscribe-01a58d73.js +0 -1
- package/dist/assets/wrap-locale-525fe909.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{H as W,I as E,j as e,y as R,P as m,r as h,J as A,F as D,e as U,_ as V,x as L,B as c,G as k,T as X,L as F,K as B,M as O,w as $,z as q,E as G,N as K}from"./index-
|
|
1
|
+
import{H as W,I as E,j as e,y as R,P as m,r as h,J as A,F as D,e as U,_ as V,x as L,B as c,G as k,T as X,L as F,K as B,M as O,w as $,z as q,E as G,N as K}from"./index-cf61f7db.js";import{d as J}from"./CheckCircle-420400e3.js";import{d as Q}from"./Done-70ebcf6d.js";import{W as Y}from"./did-address-deca4ec1.js";import{w as Z}from"./wrap-locale-358982b3.js";import{u as ee}from"./use-passport-id-7bbe3403.js";import{A as te}from"./Avatar-6a058f2c.js";import{S as se,a as ae,b as oe}from"./Stepper-e3579a23.js";var _={},ne=E;Object.defineProperty(_,"__esModule",{value:!0});var T=_.default=void 0,re=ne(W()),ie=e,ce=(0,re.default)((0,ie.jsx)("path",{d:"M3 14h4v-4H3v4zm0 5h4v-4H3v4zM3 9h4V5H3v4zm5 5h13v-4H8v4zm0 5h13v-4H8v4zM8 5v4h13V5H8z"}),"ViewList");T=_.default=ce;var C={},le=E;Object.defineProperty(C,"__esModule",{value:!0});var z=C.default=void 0,pe=le(W()),de=e,ue=(0,pe.default)((0,de.jsx)("path",{d:"M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"}),"GetApp");z=C.default=ue;function N({list:t,width:r,height:x,cardSpace:p,onSelect:l,defaultIndex:j}){const[a,P]=h.useState(0),[S,o]=h.useState(0),d=h.useRef(null),u=n=>{if(n<0||n>t.length-1)return;P(n);const i=d.current.clientWidth;o(n*(r+p)-(i-r)/2+p*.5),l(n)};h.useEffect(()=>{u(j);const n=i=>i.preventDefault();d.current.addEventListener("touchmove",n,{passive:!1})},[]);let g;const y=n=>{g=n.touches[0].clientX},v=n=>{const i=n.changedTouches[0],w=g-i.clientX;Math.abs(w)>60&&(w>0?u(a+1):u(a-1))};return e.jsx(me,{ref:d,onTouchStart:y,onTouchEnd:v,children:e.jsx("div",{className:"card-container",style:{transform:`translate(${-S}px, 0)`},children:t.map((n,i)=>e.jsx("div",{className:`card-item ${i===a?"selected":""}`,style:{width:r,height:x,margin:p/2},onClick:()=>u(i),children:e.jsx("div",{className:"card-content",dangerouslySetInnerHTML:{__html:n.src}})},n.id))})})}const me=R.div`
|
|
2
2
|
overflow: hidden;
|
|
3
3
|
mask-image: linear-gradient(to left, transparent, black 3%, black 97%, transparent);
|
|
4
4
|
overflow: hidden;
|
|
@@ -32,7 +32,7 @@ import{H as W,I as E,j as e,y as R,P as m,r as h,J as A,F as D,e as U,_ as V,x a
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
`;N.propTypes={list:m.array,width:m.number,height:m.number,cardSpace:m.number,onSelect:m.func,defaultIndex:m.number};N.defaultProps={list:"",width:300,height:400,cardSpace:40,onSelect:()=>{},defaultIndex:0};const he=()=>{const{searchParams:t}=new URL(window.location.href);return t.get("fromWallet")==="1"};function xe({icon:t,active:r,completed:x}){const p={1:e.jsx(T,{className:"step-icon"}),2:e.jsx(z,{className:"step-icon"}),3:e.jsx(Q,{className:"step-icon"})},l=["step-icon-w"];return r&&l.push("step-icon-w--active"),x&&l.push("step-icon-w--completed"),e.jsx("div",{className:l.join(" "),children:p[String(t)]})}function fe({SessionContext:t,webWalletUrl:r,createPassportSvg:x,passportColor:p}){const{api:l,session:j}=h.useContext(t),a=A({user:null,passport:null,success:!1,activeStep:0}),{setPassportId:P,clearPassportId:S}=ee(),{t:o,locale:d}=h.useContext(D),u=U(),{wallet:g}=V(),{searchParams:y}=new URL(window.location.href),v=()=>{a.activeStep++},n=s=>{a.user=s.user},i=()=>{v()},w=s=>{s!=null&&s.passportId&&P(s.passportId),a.success=!0,v()},H=()=>{var f;if(g&&he()){O(()=>import("./index-
|
|
35
|
+
`;N.propTypes={list:m.array,width:m.number,height:m.number,cardSpace:m.number,onSelect:m.func,defaultIndex:m.number};N.defaultProps={list:"",width:300,height:400,cardSpace:40,onSelect:()=>{},defaultIndex:0};const he=()=>{const{searchParams:t}=new URL(window.location.href);return t.get("fromWallet")==="1"};function xe({icon:t,active:r,completed:x}){const p={1:e.jsx(T,{className:"step-icon"}),2:e.jsx(z,{className:"step-icon"}),3:e.jsx(Q,{className:"step-icon"})},l=["step-icon-w"];return r&&l.push("step-icon-w--active"),x&&l.push("step-icon-w--completed"),e.jsx("div",{className:l.join(" "),children:p[String(t)]})}function fe({SessionContext:t,webWalletUrl:r,createPassportSvg:x,passportColor:p}){const{api:l,session:j}=h.useContext(t),a=A({user:null,passport:null,success:!1,activeStep:0}),{setPassportId:P,clearPassportId:S}=ee(),{t:o,locale:d}=h.useContext(D),u=U(),{wallet:g}=V(),{searchParams:y}=new URL(window.location.href),v=()=>{a.activeStep++},n=s=>{a.user=s.user},i=()=>{v()},w=s=>{s!=null&&s.passportId&&P(s.passportId),a.success=!0,v()},H=()=>{var f;if(g&&he()){O(()=>import("./index-035e11b9.js").then(b=>b.i),["assets/index-035e11b9.js","assets/index-cf61f7db.js","assets/index-d8bbb108.css"]).then(b=>{b.call("arcClosePage")});return}try{j.logout()}catch{}const s=y.get("redirect");if(s){window.location.replace(s);return}if((((f=window.env)==null?void 0:f.apiPrefix)||"").startsWith($.WELLKNOWN_SERVICE_PATH_PREFIX)){u(`${$.WELLKNOWN_SERVICE_PATH_PREFIX}/connect`,{replace:!0});return}S(),window.location.replace("/")},M=s=>{a.passport=s.target.value},I=[{label:o("lostPassport.selectPassport"),content:()=>a.user?e.jsxs(c,{className:"select-passport",children:[e.jsxs(c,{my:1,display:"flex",alignItems:"center",className:"user-info",children:[e.jsx(te,{src:a.user.avatar,style:{width:48,height:48,backgroundColor:"transparent",marginRight:16}}),e.jsxs(c,{children:[e.jsx(c,{className:"name",children:a.user.fullName}),e.jsx(c,{className:"did",mt:1,children:e.jsx(Y,{did:a.user.did})})]})]}),e.jsx("div",{children:e.jsx(N,{width:230,height:306,cardSpace:24,list:a.user.passportTypes.map(s=>({src:x({title:s.title,issuer:s.issuer.name,issuerDid:s.issuer.id,ownerDid:a.user.did,ownerName:a.user.fullName,ownerAvatarUrl:a.user.avatar,preferredColor:p||"auto"}),name:s.title,id:s.id})),onSelect:s=>M({target:{value:a.user.passportTypes[s].name}}),defaultIndex:0})}),e.jsx(c,{textAlign:"center",children:e.jsx(k,{variant:"contained",color:"primary",onClick:()=>i(),disabled:!a.passport,children:o("common.next")})})]}):e.jsx(L,{popup:!0,open:!0,hideCloseButton:!0,className:"connect",action:"lost-passport-list",forceConnected:!1,autoConnect:!1,checkFn:l.get,checkTimeout:10*60*1e3,webWalletUrl:r,onSuccess:n,locale:d,messages:{title:o("lostPassport.dialog.title"),scan:o("lostPassport.dialog.scan"),confirm:o("lostPassport.dialog.confirm"),success:o("lostPassport.dialog.success")}})},{label:o("lostPassport.receivePassport"),content:()=>{var f;const s={receiverDid:a.user.did,passportName:a.passport,teamDid:((f=window==null?void 0:window.blocklet)==null?void 0:f.did)||""};return e.jsx(L,{popup:!0,open:!0,hideCloseButton:!0,className:"connect",action:"lost-passport-issue",checkFn:l.get,checkTimeout:10*60*1e3,webWalletUrl:r,onSuccess:w,locale:d,messages:{title:`${o("lostPassport.dialog.title")}`,scan:o("lostPassport.dialog.scan"),confirm:o("lostPassport.dialog.confirm"),success:o("lostPassport.dialog.success")},extraParams:s})}},{label:o("common.complete"),content:()=>e.jsxs(c,{textAlign:"center",children:[e.jsx(c,{mb:3,color:"success.main",children:e.jsx(J,{style:{fontSize:60}})}),e.jsx(X,{component:"p",variant:"body1",className:"subheader",children:o("issuePassport.dialog.success")}),e.jsx(k,{style:{marginTop:40},variant:"contained",color:"primary",onClick:H,children:o("issuePassport.dialog.loginWithPassport")})]})}];return e.jsx(ge,{children:e.jsxs("div",{className:"stepper",children:[e.jsx(se,{className:"stepper-progress",alternativeLabel:!0,activeStep:a.activeStep,children:I.map(({label:s})=>e.jsx(ae,{children:e.jsx(oe,{StepIconComponent:xe,children:s})},s))}),e.jsx("div",{className:"stepper-content",children:I[a.activeStep].content()}),!a.success&&e.jsx(c,{textAlign:"center",fontSize:12,children:e.jsx(F,{to:"/",style:{color:"#4598FA"},children:o("lostPassport.return")})})]})})}const ge=R(B)`
|
|
36
36
|
padding-top: 46px;
|
|
37
37
|
padding-bottom: 46px;
|
|
38
38
|
height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c9 as commonjsGlobal,aW as getDefaultExportFromCjs}from"./index-53d55e82.js";var lottie$1={exports:{}};(function(module,exports){typeof navigator<"u"&&function(t,e){module.exports=e()}(commonjsGlobal,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var r,i=t.length,s;for(r=0;r<i;r+=1){s=t[r].prototype;for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e.prototype[a]=s[a])}}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}var audioControllerFactory=function(){function t(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(r){this.audios.push(r)},pause:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].pause()},resume:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].resume()},setRate:function(r){var i,s=this.audios.length;for(i=0;i<s;i+=1)this.audios[i].setRate(r)},createAudio:function(r){return this.audioFactory?this.audioFactory(r):window.Howl?new window.Howl({src:[r]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(r){this.audioFactory=r},setVolume:function(r){this._volume=r,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function t(r,i){var s=0,a=[],n;switch(r){case"int16":case"uint8c":n=1;break;default:n=1.1;break}for(s=0;s<i;s+=1)a.push(n);return a}function e(r,i){return r==="float32"?new Float32Array(i):r==="int16"?new Int16Array(i):r==="uint8c"?new Uint8ClampedArray(i):t(r,i)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?e:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function _typeof$6(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(r){return typeof r}:_typeof$6=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$6(t)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],e,r=t.length;for(e=0;e<r;e+=1)BMMath[t[e]]=Math[t[e]]})(),BMMath.random=Math.random,BMMath.abs=function(t){var e=_typeof$6(t);if(e==="object"&&t.length){var r=createSizedArray(t.length),i,s=t.length;for(i=0;i<s;i+=1)r[i]=Math.abs(t[i]);return r}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,r,i){this.type=t,this.currentTime=e,this.totalTime=r,this.direction=i<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,r,i){this.type=t,this.currentLoop=r,this.totalLoops=e,this.direction=i<0?-1:1}function BMSegmentStartEvent(t,e,r){this.type=t,this.firstFrame=e,this.totalFrames=r}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}var createElementID=function(){var t=0;return function(){return t+=1,idPrefix$1+"__lottie_element_"+t}}();function HSVtoRGB(t,e,r){var i,s,a,n,h,o,f,v;switch(n=Math.floor(t*6),h=t*6-n,o=r*(1-e),f=r*(1-h*e),v=r*(1-(1-h)*e),n%6){case 0:i=r,s=v,a=o;break;case 1:i=f,s=r,a=o;break;case 2:i=o,s=r,a=v;break;case 3:i=o,s=f,a=r;break;case 4:i=v,s=o,a=r;break;case 5:i=r,s=o,a=f;break}return[i,s,a]}function RGBtoHSV(t,e,r){var i=Math.max(t,e,r),s=Math.min(t,e,r),a=i-s,n,h=i===0?0:a/i,o=i/255;switch(i){case s:n=0;break;case t:n=e-r+a*(e<r?6:0),n/=6*a;break;case e:n=r-t+a*2,n/=6*a;break;case r:n=t-e+a*4,n/=6*a;break}return[n,h,o]}function addSaturationToRGB(t,e){var r=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return r[1]+=e,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(t,e){var r=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return r[2]+=e,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(t,e){var r=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return r[0]+=e/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var t=[],e,r;for(e=0;e<256;e+=1)r=e.toString(16),t[e]=r.length===1?"0"+r:r;return function(i,s,a){return i<0&&(i=0),s<0&&(s=0),a<0&&(a=0),"#"+t[i]+t[s]+t[a]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(e){expressionsInterfaces=e},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(r){return typeof r}:_typeof$5=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$5(t)}var dataManager=function(){var t=1,e=[],r,i,s={onmessage:function(){},postMessage:function(b){r({data:b})}},a={postMessage:function(b){s.onmessage({data:b})}};function n(p){if(window.Worker&&window.Blob&&getWebWorker()){var b=new Blob(["var _workerSelf = self; self.onmessage = ",p.toString()],{type:"text/javascript"}),g=URL.createObjectURL(b);return new Worker(g)}return r=p,s}function h(){i||(i=n(function(b){function g(){function C(I,x){var A,y,P=I.length,k,F,R,z;for(y=0;y<P;y+=1)if(A=I[y],"ks"in A&&!A.completed){if(A.completed=!0,A.hasMask){var N=A.masksProperties;for(F=N.length,k=0;k<F;k+=1)if(N[k].pt.k.i)E(N[k].pt.k);else for(z=N[k].pt.k.length,R=0;R<z;R+=1)N[k].pt.k[R].s&&E(N[k].pt.k[R].s[0]),N[k].pt.k[R].e&&E(N[k].pt.k[R].e[0])}A.ty===0?(A.layers=l(A.refId,x),C(A.layers,x)):A.ty===4?d(A.shapes):A.ty===5&&D(A)}}function c(I,x){if(I){var A=0,y=I.length;for(A=0;A<y;A+=1)I[A].t===1&&(I[A].data.layers=l(I[A].data.refId,x),C(I[A].data.layers,x))}}function u(I,x){for(var A=0,y=x.length;A<y;){if(x[A].id===I)return x[A];A+=1}return null}function l(I,x){var A=u(I,x);return A?A.layers.__used?JSON.parse(JSON.stringify(A.layers)):(A.layers.__used=!0,A.layers):null}function d(I){var x,A=I.length,y,P;for(x=A-1;x>=0;x-=1)if(I[x].ty==="sh")if(I[x].ks.k.i)E(I[x].ks.k);else for(P=I[x].ks.k.length,y=0;y<P;y+=1)I[x].ks.k[y].s&&E(I[x].ks.k[y].s[0]),I[x].ks.k[y].e&&E(I[x].ks.k[y].e[0]);else I[x].ty==="gr"&&d(I[x].it)}function E(I){var x,A=I.i.length;for(x=0;x<A;x+=1)I.i[x][0]+=I.v[x][0],I.i[x][1]+=I.v[x][1],I.o[x][0]+=I.v[x][0],I.o[x][1]+=I.v[x][1]}function _(I,x){var A=x?x.split("."):[100,100,100];return I[0]>A[0]?!0:A[0]>I[0]?!1:I[1]>A[1]?!0:A[1]>I[1]?!1:I[2]>A[2]?!0:A[2]>I[2]?!1:null}var T=function(){var I=[4,4,14];function x(y){var P=y.t.d;y.t.d={k:[{s:P,t:0}]}}function A(y){var P,k=y.length;for(P=0;P<k;P+=1)y[P].ty===5&&x(y[P])}return function(y){if(_(I,y.v)&&(A(y.layers),y.assets)){var P,k=y.assets.length;for(P=0;P<k;P+=1)y.assets[P].layers&&A(y.assets[P].layers)}}}(),M=function(){var I=[4,7,99];return function(x){if(x.chars&&!_(I,x.v)){var A,y=x.chars.length;for(A=0;A<y;A+=1){var P=x.chars[A];P.data&&P.data.shapes&&(d(P.data.shapes),P.data.ip=0,P.data.op=99999,P.data.st=0,P.data.sr=1,P.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},x.chars[A].t||(P.data.shapes.push({ty:"no"}),P.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),w=function(){var I=[5,7,15];function x(y){var P=y.t.p;typeof P.a=="number"&&(P.a={a:0,k:P.a}),typeof P.p=="number"&&(P.p={a:0,k:P.p}),typeof P.r=="number"&&(P.r={a:0,k:P.r})}function A(y){var P,k=y.length;for(P=0;P<k;P+=1)y[P].ty===5&&x(y[P])}return function(y){if(_(I,y.v)&&(A(y.layers),y.assets)){var P,k=y.assets.length;for(P=0;P<k;P+=1)y.assets[P].layers&&A(y.assets[P].layers)}}}(),G=function(){var I=[4,1,9];function x(y){var P,k=y.length,F,R;for(P=0;P<k;P+=1)if(y[P].ty==="gr")x(y[P].it);else if(y[P].ty==="fl"||y[P].ty==="st")if(y[P].c.k&&y[P].c.k[0].i)for(R=y[P].c.k.length,F=0;F<R;F+=1)y[P].c.k[F].s&&(y[P].c.k[F].s[0]/=255,y[P].c.k[F].s[1]/=255,y[P].c.k[F].s[2]/=255,y[P].c.k[F].s[3]/=255),y[P].c.k[F].e&&(y[P].c.k[F].e[0]/=255,y[P].c.k[F].e[1]/=255,y[P].c.k[F].e[2]/=255,y[P].c.k[F].e[3]/=255);else y[P].c.k[0]/=255,y[P].c.k[1]/=255,y[P].c.k[2]/=255,y[P].c.k[3]/=255}function A(y){var P,k=y.length;for(P=0;P<k;P+=1)y[P].ty===4&&x(y[P].shapes)}return function(y){if(_(I,y.v)&&(A(y.layers),y.assets)){var P,k=y.assets.length;for(P=0;P<k;P+=1)y.assets[P].layers&&A(y.assets[P].layers)}}}(),L=function(){var I=[4,4,18];function x(y){var P,k=y.length,F,R;for(P=k-1;P>=0;P-=1)if(y[P].ty==="sh")if(y[P].ks.k.i)y[P].ks.k.c=y[P].closed;else for(R=y[P].ks.k.length,F=0;F<R;F+=1)y[P].ks.k[F].s&&(y[P].ks.k[F].s[0].c=y[P].closed),y[P].ks.k[F].e&&(y[P].ks.k[F].e[0].c=y[P].closed);else y[P].ty==="gr"&&x(y[P].it)}function A(y){var P,k,F=y.length,R,z,N,H;for(k=0;k<F;k+=1){if(P=y[k],P.hasMask){var W=P.masksProperties;for(z=W.length,R=0;R<z;R+=1)if(W[R].pt.k.i)W[R].pt.k.c=W[R].cl;else for(H=W[R].pt.k.length,N=0;N<H;N+=1)W[R].pt.k[N].s&&(W[R].pt.k[N].s[0].c=W[R].cl),W[R].pt.k[N].e&&(W[R].pt.k[N].e[0].c=W[R].cl)}P.ty===4&&x(P.shapes)}}return function(y){if(_(I,y.v)&&(A(y.layers),y.assets)){var P,k=y.assets.length;for(P=0;P<k;P+=1)y.assets[P].layers&&A(y.assets[P].layers)}}}();function V(I){I.__complete||(G(I),T(I),M(I),w(I),L(I),C(I.layers,I.assets),c(I.chars,I.assets),I.__complete=!0)}function D(I){I.t.a.length===0&&"m"in I.t.p}var B={};return B.completeData=V,B.checkColors=G,B.checkChars=M,B.checkPathProperties=w,B.checkShapes=L,B.completeLayers=C,B}if(a.dataManager||(a.dataManager=g()),a.assetLoader||(a.assetLoader=function(){function C(u){var l=u.getResponseHeader("content-type");return l&&u.responseType==="json"&&l.indexOf("json")!==-1||u.response&&_typeof$5(u.response)==="object"?u.response:u.response&&typeof u.response=="string"?JSON.parse(u.response):u.responseText?JSON.parse(u.responseText):null}function c(u,l,d,E){var _,T=new XMLHttpRequest;try{T.responseType="json"}catch{}T.onreadystatechange=function(){if(T.readyState===4)if(T.status===200)_=C(T),d(_);else try{_=C(T),d(_)}catch(M){E&&E(M)}};try{T.open(["G","E","T"].join(""),u,!0)}catch{T.open(["G","E","T"].join(""),l+"/"+u,!0)}T.send()}return{load:c}}()),b.data.type==="loadAnimation")a.assetLoader.load(b.data.path,b.data.fullPath,function(C){a.dataManager.completeData(C),a.postMessage({id:b.data.id,payload:C,status:"success"})},function(){a.postMessage({id:b.data.id,status:"error"})});else if(b.data.type==="complete"){var m=b.data.animation;a.dataManager.completeData(m),a.postMessage({id:b.data.id,payload:m,status:"success"})}else b.data.type==="loadData"&&a.assetLoader.load(b.data.path,b.data.fullPath,function(C){a.postMessage({id:b.data.id,payload:C,status:"success"})},function(){a.postMessage({id:b.data.id,status:"error"})})}),i.onmessage=function(p){var b=p.data,g=b.id,m=e[g];e[g]=null,b.status==="success"?m.onComplete(b.payload):m.onError&&m.onError()})}function o(p,b){t+=1;var g="processId_"+t;return e[g]={onComplete:p,onError:b},g}function f(p,b,g){h();var m=o(b,g);i.postMessage({type:"loadAnimation",path:p,fullPath:window.location.origin+window.location.pathname,id:m})}function v(p,b,g){h();var m=o(b,g);i.postMessage({type:"loadData",path:p,fullPath:window.location.origin+window.location.pathname,id:m})}function S(p,b,g){h();var m=o(b,g);i.postMessage({type:"complete",animation:p,id:m})}return{loadAnimation:f,loadData:v,completeAnimation:S}}(),ImagePreloader=function(){var t=function(){var c=createTag("canvas");c.width=1,c.height=1;var u=c.getContext("2d");return u.fillStyle="rgba(0,0,0,0)",u.fillRect(0,0,1,1),c}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(c,u,l){var d="";if(c.e)d=c.p;else if(u){var E=c.p;E.indexOf("images/")!==-1&&(E=E.split("/")[1]),d=u+E}else d=l,d+=c.u?c.u:"",d+=c.p;return d}function s(c){var u=0,l=setInterval((function(){var d=c.getBBox();(d.width||u>500)&&(this._imageLoaded(),clearInterval(l)),u+=1}).bind(this),50)}function a(c){var u=i(c,this.assetsPath,this.path),l=createNS("image");isSafari?this.testImageLoaded(l):l.addEventListener("load",this._imageLoaded,!1),l.addEventListener("error",(function(){d.img=t,this._imageLoaded()}).bind(this),!1),l.setAttributeNS("http://www.w3.org/1999/xlink","href",u),this._elementHelper.append?this._elementHelper.append(l):this._elementHelper.appendChild(l);var d={img:l,assetData:c};return d}function n(c){var u=i(c,this.assetsPath,this.path),l=createTag("img");l.crossOrigin="anonymous",l.addEventListener("load",this._imageLoaded,!1),l.addEventListener("error",(function(){d.img=t,this._imageLoaded()}).bind(this),!1),l.src=u;var d={img:l,assetData:c};return d}function h(c){var u={assetData:c},l=i(c,this.assetsPath,this.path);return dataManager.loadData(l,(function(d){u.img=d,this._footageLoaded()}).bind(this),(function(){u.img={},this._footageLoaded()}).bind(this)),u}function o(c,u){this.imagesLoadedCb=u;var l,d=c.length;for(l=0;l<d;l+=1)c[l].layers||(!c[l].t||c[l].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(c[l]))):c[l].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(c[l]))))}function f(c){this.path=c||""}function v(c){this.assetsPath=c||""}function S(c){for(var u=0,l=this.images.length;u<l;){if(this.images[u].assetData===c)return this.images[u].img;u+=1}return null}function p(){this.imagesLoadedCb=null,this.images.length=0}function b(){return this.totalImages===this.loadedAssets}function g(){return this.totalFootages===this.loadedFootagesCount}function m(c,u){c==="svg"?(this._elementHelper=u,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function C(){this._imageLoaded=e.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=s.bind(this),this.createFootageData=h.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return C.prototype={loadAssets:o,setAssetsPath:v,setPath:f,loadedImages:b,loadedFootages:g,destroy:p,getAsset:S,createImgData:n,createImageData:a,imageLoaded:e,footageLoaded:r,setCacheType:m},C}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,r){if(this._cbs[e])for(var i=this._cbs[e],s=0;s<i.length;s+=1)i[s](r)},addEventListener:function(e,r){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(r),(function(){this.removeEventListener(e,r)}).bind(this)},removeEventListener:function(e,r){if(!r)this._cbs[e]=null;else if(this._cbs[e]){for(var i=0,s=this._cbs[e].length;i<s;)this._cbs[e][i]===r&&(this._cbs[e].splice(i,1),i-=1,s-=1),i+=1;this._cbs[e].length||(this._cbs[e]=null)}}};var markerParser=function(){function t(e){for(var r=e.split(`\r
|
|
1
|
+
import{c9 as commonjsGlobal,aW as getDefaultExportFromCjs}from"./index-cf61f7db.js";var lottie$1={exports:{}};(function(module,exports){typeof navigator<"u"&&function(t,e){module.exports=e()}(commonjsGlobal,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var r,i=t.length,s;for(r=0;r<i;r+=1){s=t[r].prototype;for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e.prototype[a]=s[a])}}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}var audioControllerFactory=function(){function t(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(r){this.audios.push(r)},pause:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].pause()},resume:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].resume()},setRate:function(r){var i,s=this.audios.length;for(i=0;i<s;i+=1)this.audios[i].setRate(r)},createAudio:function(r){return this.audioFactory?this.audioFactory(r):window.Howl?new window.Howl({src:[r]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(r){this.audioFactory=r},setVolume:function(r){this._volume=r,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function t(r,i){var s=0,a=[],n;switch(r){case"int16":case"uint8c":n=1;break;default:n=1.1;break}for(s=0;s<i;s+=1)a.push(n);return a}function e(r,i){return r==="float32"?new Float32Array(i):r==="int16"?new Int16Array(i):r==="uint8c"?new Uint8ClampedArray(i):t(r,i)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?e:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function _typeof$6(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(r){return typeof r}:_typeof$6=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$6(t)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],e,r=t.length;for(e=0;e<r;e+=1)BMMath[t[e]]=Math[t[e]]})(),BMMath.random=Math.random,BMMath.abs=function(t){var e=_typeof$6(t);if(e==="object"&&t.length){var r=createSizedArray(t.length),i,s=t.length;for(i=0;i<s;i+=1)r[i]=Math.abs(t[i]);return r}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,r,i){this.type=t,this.currentTime=e,this.totalTime=r,this.direction=i<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,r,i){this.type=t,this.currentLoop=r,this.totalLoops=e,this.direction=i<0?-1:1}function BMSegmentStartEvent(t,e,r){this.type=t,this.firstFrame=e,this.totalFrames=r}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}var createElementID=function(){var t=0;return function(){return t+=1,idPrefix$1+"__lottie_element_"+t}}();function HSVtoRGB(t,e,r){var i,s,a,n,h,o,f,v;switch(n=Math.floor(t*6),h=t*6-n,o=r*(1-e),f=r*(1-h*e),v=r*(1-(1-h)*e),n%6){case 0:i=r,s=v,a=o;break;case 1:i=f,s=r,a=o;break;case 2:i=o,s=r,a=v;break;case 3:i=o,s=f,a=r;break;case 4:i=v,s=o,a=r;break;case 5:i=r,s=o,a=f;break}return[i,s,a]}function RGBtoHSV(t,e,r){var i=Math.max(t,e,r),s=Math.min(t,e,r),a=i-s,n,h=i===0?0:a/i,o=i/255;switch(i){case s:n=0;break;case t:n=e-r+a*(e<r?6:0),n/=6*a;break;case e:n=r-t+a*2,n/=6*a;break;case r:n=t-e+a*4,n/=6*a;break}return[n,h,o]}function addSaturationToRGB(t,e){var r=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return r[1]+=e,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(t,e){var r=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return r[2]+=e,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(t,e){var r=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return r[0]+=e/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var t=[],e,r;for(e=0;e<256;e+=1)r=e.toString(16),t[e]=r.length===1?"0"+r:r;return function(i,s,a){return i<0&&(i=0),s<0&&(s=0),a<0&&(a=0),"#"+t[i]+t[s]+t[a]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(e){expressionsInterfaces=e},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(r){return typeof r}:_typeof$5=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$5(t)}var dataManager=function(){var t=1,e=[],r,i,s={onmessage:function(){},postMessage:function(b){r({data:b})}},a={postMessage:function(b){s.onmessage({data:b})}};function n(p){if(window.Worker&&window.Blob&&getWebWorker()){var b=new Blob(["var _workerSelf = self; self.onmessage = ",p.toString()],{type:"text/javascript"}),g=URL.createObjectURL(b);return new Worker(g)}return r=p,s}function h(){i||(i=n(function(b){function g(){function C(I,x){var A,y,P=I.length,k,F,R,z;for(y=0;y<P;y+=1)if(A=I[y],"ks"in A&&!A.completed){if(A.completed=!0,A.hasMask){var N=A.masksProperties;for(F=N.length,k=0;k<F;k+=1)if(N[k].pt.k.i)E(N[k].pt.k);else for(z=N[k].pt.k.length,R=0;R<z;R+=1)N[k].pt.k[R].s&&E(N[k].pt.k[R].s[0]),N[k].pt.k[R].e&&E(N[k].pt.k[R].e[0])}A.ty===0?(A.layers=l(A.refId,x),C(A.layers,x)):A.ty===4?d(A.shapes):A.ty===5&&D(A)}}function c(I,x){if(I){var A=0,y=I.length;for(A=0;A<y;A+=1)I[A].t===1&&(I[A].data.layers=l(I[A].data.refId,x),C(I[A].data.layers,x))}}function u(I,x){for(var A=0,y=x.length;A<y;){if(x[A].id===I)return x[A];A+=1}return null}function l(I,x){var A=u(I,x);return A?A.layers.__used?JSON.parse(JSON.stringify(A.layers)):(A.layers.__used=!0,A.layers):null}function d(I){var x,A=I.length,y,P;for(x=A-1;x>=0;x-=1)if(I[x].ty==="sh")if(I[x].ks.k.i)E(I[x].ks.k);else for(P=I[x].ks.k.length,y=0;y<P;y+=1)I[x].ks.k[y].s&&E(I[x].ks.k[y].s[0]),I[x].ks.k[y].e&&E(I[x].ks.k[y].e[0]);else I[x].ty==="gr"&&d(I[x].it)}function E(I){var x,A=I.i.length;for(x=0;x<A;x+=1)I.i[x][0]+=I.v[x][0],I.i[x][1]+=I.v[x][1],I.o[x][0]+=I.v[x][0],I.o[x][1]+=I.v[x][1]}function _(I,x){var A=x?x.split("."):[100,100,100];return I[0]>A[0]?!0:A[0]>I[0]?!1:I[1]>A[1]?!0:A[1]>I[1]?!1:I[2]>A[2]?!0:A[2]>I[2]?!1:null}var T=function(){var I=[4,4,14];function x(y){var P=y.t.d;y.t.d={k:[{s:P,t:0}]}}function A(y){var P,k=y.length;for(P=0;P<k;P+=1)y[P].ty===5&&x(y[P])}return function(y){if(_(I,y.v)&&(A(y.layers),y.assets)){var P,k=y.assets.length;for(P=0;P<k;P+=1)y.assets[P].layers&&A(y.assets[P].layers)}}}(),M=function(){var I=[4,7,99];return function(x){if(x.chars&&!_(I,x.v)){var A,y=x.chars.length;for(A=0;A<y;A+=1){var P=x.chars[A];P.data&&P.data.shapes&&(d(P.data.shapes),P.data.ip=0,P.data.op=99999,P.data.st=0,P.data.sr=1,P.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},x.chars[A].t||(P.data.shapes.push({ty:"no"}),P.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),w=function(){var I=[5,7,15];function x(y){var P=y.t.p;typeof P.a=="number"&&(P.a={a:0,k:P.a}),typeof P.p=="number"&&(P.p={a:0,k:P.p}),typeof P.r=="number"&&(P.r={a:0,k:P.r})}function A(y){var P,k=y.length;for(P=0;P<k;P+=1)y[P].ty===5&&x(y[P])}return function(y){if(_(I,y.v)&&(A(y.layers),y.assets)){var P,k=y.assets.length;for(P=0;P<k;P+=1)y.assets[P].layers&&A(y.assets[P].layers)}}}(),G=function(){var I=[4,1,9];function x(y){var P,k=y.length,F,R;for(P=0;P<k;P+=1)if(y[P].ty==="gr")x(y[P].it);else if(y[P].ty==="fl"||y[P].ty==="st")if(y[P].c.k&&y[P].c.k[0].i)for(R=y[P].c.k.length,F=0;F<R;F+=1)y[P].c.k[F].s&&(y[P].c.k[F].s[0]/=255,y[P].c.k[F].s[1]/=255,y[P].c.k[F].s[2]/=255,y[P].c.k[F].s[3]/=255),y[P].c.k[F].e&&(y[P].c.k[F].e[0]/=255,y[P].c.k[F].e[1]/=255,y[P].c.k[F].e[2]/=255,y[P].c.k[F].e[3]/=255);else y[P].c.k[0]/=255,y[P].c.k[1]/=255,y[P].c.k[2]/=255,y[P].c.k[3]/=255}function A(y){var P,k=y.length;for(P=0;P<k;P+=1)y[P].ty===4&&x(y[P].shapes)}return function(y){if(_(I,y.v)&&(A(y.layers),y.assets)){var P,k=y.assets.length;for(P=0;P<k;P+=1)y.assets[P].layers&&A(y.assets[P].layers)}}}(),L=function(){var I=[4,4,18];function x(y){var P,k=y.length,F,R;for(P=k-1;P>=0;P-=1)if(y[P].ty==="sh")if(y[P].ks.k.i)y[P].ks.k.c=y[P].closed;else for(R=y[P].ks.k.length,F=0;F<R;F+=1)y[P].ks.k[F].s&&(y[P].ks.k[F].s[0].c=y[P].closed),y[P].ks.k[F].e&&(y[P].ks.k[F].e[0].c=y[P].closed);else y[P].ty==="gr"&&x(y[P].it)}function A(y){var P,k,F=y.length,R,z,N,H;for(k=0;k<F;k+=1){if(P=y[k],P.hasMask){var W=P.masksProperties;for(z=W.length,R=0;R<z;R+=1)if(W[R].pt.k.i)W[R].pt.k.c=W[R].cl;else for(H=W[R].pt.k.length,N=0;N<H;N+=1)W[R].pt.k[N].s&&(W[R].pt.k[N].s[0].c=W[R].cl),W[R].pt.k[N].e&&(W[R].pt.k[N].e[0].c=W[R].cl)}P.ty===4&&x(P.shapes)}}return function(y){if(_(I,y.v)&&(A(y.layers),y.assets)){var P,k=y.assets.length;for(P=0;P<k;P+=1)y.assets[P].layers&&A(y.assets[P].layers)}}}();function V(I){I.__complete||(G(I),T(I),M(I),w(I),L(I),C(I.layers,I.assets),c(I.chars,I.assets),I.__complete=!0)}function D(I){I.t.a.length===0&&"m"in I.t.p}var B={};return B.completeData=V,B.checkColors=G,B.checkChars=M,B.checkPathProperties=w,B.checkShapes=L,B.completeLayers=C,B}if(a.dataManager||(a.dataManager=g()),a.assetLoader||(a.assetLoader=function(){function C(u){var l=u.getResponseHeader("content-type");return l&&u.responseType==="json"&&l.indexOf("json")!==-1||u.response&&_typeof$5(u.response)==="object"?u.response:u.response&&typeof u.response=="string"?JSON.parse(u.response):u.responseText?JSON.parse(u.responseText):null}function c(u,l,d,E){var _,T=new XMLHttpRequest;try{T.responseType="json"}catch{}T.onreadystatechange=function(){if(T.readyState===4)if(T.status===200)_=C(T),d(_);else try{_=C(T),d(_)}catch(M){E&&E(M)}};try{T.open(["G","E","T"].join(""),u,!0)}catch{T.open(["G","E","T"].join(""),l+"/"+u,!0)}T.send()}return{load:c}}()),b.data.type==="loadAnimation")a.assetLoader.load(b.data.path,b.data.fullPath,function(C){a.dataManager.completeData(C),a.postMessage({id:b.data.id,payload:C,status:"success"})},function(){a.postMessage({id:b.data.id,status:"error"})});else if(b.data.type==="complete"){var m=b.data.animation;a.dataManager.completeData(m),a.postMessage({id:b.data.id,payload:m,status:"success"})}else b.data.type==="loadData"&&a.assetLoader.load(b.data.path,b.data.fullPath,function(C){a.postMessage({id:b.data.id,payload:C,status:"success"})},function(){a.postMessage({id:b.data.id,status:"error"})})}),i.onmessage=function(p){var b=p.data,g=b.id,m=e[g];e[g]=null,b.status==="success"?m.onComplete(b.payload):m.onError&&m.onError()})}function o(p,b){t+=1;var g="processId_"+t;return e[g]={onComplete:p,onError:b},g}function f(p,b,g){h();var m=o(b,g);i.postMessage({type:"loadAnimation",path:p,fullPath:window.location.origin+window.location.pathname,id:m})}function v(p,b,g){h();var m=o(b,g);i.postMessage({type:"loadData",path:p,fullPath:window.location.origin+window.location.pathname,id:m})}function S(p,b,g){h();var m=o(b,g);i.postMessage({type:"complete",animation:p,id:m})}return{loadAnimation:f,loadData:v,completeAnimation:S}}(),ImagePreloader=function(){var t=function(){var c=createTag("canvas");c.width=1,c.height=1;var u=c.getContext("2d");return u.fillStyle="rgba(0,0,0,0)",u.fillRect(0,0,1,1),c}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(c,u,l){var d="";if(c.e)d=c.p;else if(u){var E=c.p;E.indexOf("images/")!==-1&&(E=E.split("/")[1]),d=u+E}else d=l,d+=c.u?c.u:"",d+=c.p;return d}function s(c){var u=0,l=setInterval((function(){var d=c.getBBox();(d.width||u>500)&&(this._imageLoaded(),clearInterval(l)),u+=1}).bind(this),50)}function a(c){var u=i(c,this.assetsPath,this.path),l=createNS("image");isSafari?this.testImageLoaded(l):l.addEventListener("load",this._imageLoaded,!1),l.addEventListener("error",(function(){d.img=t,this._imageLoaded()}).bind(this),!1),l.setAttributeNS("http://www.w3.org/1999/xlink","href",u),this._elementHelper.append?this._elementHelper.append(l):this._elementHelper.appendChild(l);var d={img:l,assetData:c};return d}function n(c){var u=i(c,this.assetsPath,this.path),l=createTag("img");l.crossOrigin="anonymous",l.addEventListener("load",this._imageLoaded,!1),l.addEventListener("error",(function(){d.img=t,this._imageLoaded()}).bind(this),!1),l.src=u;var d={img:l,assetData:c};return d}function h(c){var u={assetData:c},l=i(c,this.assetsPath,this.path);return dataManager.loadData(l,(function(d){u.img=d,this._footageLoaded()}).bind(this),(function(){u.img={},this._footageLoaded()}).bind(this)),u}function o(c,u){this.imagesLoadedCb=u;var l,d=c.length;for(l=0;l<d;l+=1)c[l].layers||(!c[l].t||c[l].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(c[l]))):c[l].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(c[l]))))}function f(c){this.path=c||""}function v(c){this.assetsPath=c||""}function S(c){for(var u=0,l=this.images.length;u<l;){if(this.images[u].assetData===c)return this.images[u].img;u+=1}return null}function p(){this.imagesLoadedCb=null,this.images.length=0}function b(){return this.totalImages===this.loadedAssets}function g(){return this.totalFootages===this.loadedFootagesCount}function m(c,u){c==="svg"?(this._elementHelper=u,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function C(){this._imageLoaded=e.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=s.bind(this),this.createFootageData=h.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return C.prototype={loadAssets:o,setAssetsPath:v,setPath:f,loadedImages:b,loadedFootages:g,destroy:p,getAsset:S,createImgData:n,createImageData:a,imageLoaded:e,footageLoaded:r,setCacheType:m},C}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,r){if(this._cbs[e])for(var i=this._cbs[e],s=0;s<i.length;s+=1)i[s](r)},addEventListener:function(e,r){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(r),(function(){this.removeEventListener(e,r)}).bind(this)},removeEventListener:function(e,r){if(!r)this._cbs[e]=null;else if(this._cbs[e]){for(var i=0,s=this._cbs[e].length;i<s;)this._cbs[e][i]===r&&(this._cbs[e].splice(i,1),i-=1,s-=1),i+=1;this._cbs[e].length||(this._cbs[e]=null)}}};var markerParser=function(){function t(e){for(var r=e.split(`\r
|
|
2
2
|
`),i={},s,a=0,n=0;n<r.length;n+=1)s=r[n].split(":"),s.length===2&&(i[s[0]]=s[1].trim(),a+=1);if(a===0)throw new Error;return i}return function(e){for(var r=[],i=0;i<e.length;i+=1){var s=e[i],a={time:s.tm,duration:s.dr};try{a.payload=JSON.parse(e[i].cm)}catch{try{a.payload=t(e[i].cm)}catch{a.payload={name:e[i].cm}}}r.push(a)}return r}}(),ProjectInterface=function(){function t(e){this.compositions.push(e)}return function(){function e(r){for(var i=0,s=this.compositions.length;i<s;){if(this.compositions[i].data&&this.compositions[i].data.nm===r)return this.compositions[i].prepareFrame&&this.compositions[i].data.xt&&this.compositions[i].prepareFrame(this.currentFrame),this.compositions[i].compInterface;i+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),renderers={},registerRenderer=function(e,r){renderers[e]=r};function getRenderer(t){return renderers[t]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var t in renderers)if(renderers[t])return t;return""}function _typeof$4(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$4=function(r){return typeof r}:_typeof$4=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$4(t)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);var r=getRenderer(e);this.renderer=new r(this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,t.loop===""||t.loop===null||t.loop===void 0||t.loop===!0?this.loop=!0:t.loop===!1?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay="autoplay"in t?t.autoplay:!0,this.name=t.name?t.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(t,"autoloadSegments")?t.autoloadSegments:!0,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(t.path.lastIndexOf("\\")!==-1?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(t.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(t){dataManager.completeAnimation(t,this.configAnimation)},AnimationItem.prototype.setData=function(t,e){e&&_typeof$4(e)!=="object"&&(e=JSON.parse(e));var r={wrapper:t,animationData:e},i=t.attributes;r.path=i.getNamedItem("data-animation-path")?i.getNamedItem("data-animation-path").value:i.getNamedItem("data-bm-path")?i.getNamedItem("data-bm-path").value:i.getNamedItem("bm-path")?i.getNamedItem("bm-path").value:"",r.animType=i.getNamedItem("data-anim-type")?i.getNamedItem("data-anim-type").value:i.getNamedItem("data-bm-type")?i.getNamedItem("data-bm-type").value:i.getNamedItem("bm-type")?i.getNamedItem("bm-type").value:i.getNamedItem("data-bm-renderer")?i.getNamedItem("data-bm-renderer").value:i.getNamedItem("bm-renderer")?i.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var s=i.getNamedItem("data-anim-loop")?i.getNamedItem("data-anim-loop").value:i.getNamedItem("data-bm-loop")?i.getNamedItem("data-bm-loop").value:i.getNamedItem("bm-loop")?i.getNamedItem("bm-loop").value:"";s==="false"?r.loop=!1:s==="true"?r.loop=!0:s!==""&&(r.loop=parseInt(s,10));var a=i.getNamedItem("data-anim-autoplay")?i.getNamedItem("data-anim-autoplay").value:i.getNamedItem("data-bm-autoplay")?i.getNamedItem("data-bm-autoplay").value:i.getNamedItem("bm-autoplay")?i.getNamedItem("bm-autoplay").value:!0;r.autoplay=a!=="false",r.name=i.getNamedItem("data-name")?i.getNamedItem("data-name").value:i.getNamedItem("data-bm-name")?i.getNamedItem("data-bm-name").value:i.getNamedItem("bm-name")?i.getNamedItem("bm-name").value:"";var n=i.getNamedItem("data-anim-prerender")?i.getNamedItem("data-anim-prerender").value:i.getNamedItem("data-bm-prerender")?i.getNamedItem("data-bm-prerender").value:i.getNamedItem("bm-prerender")?i.getNamedItem("bm-prerender").value:"";n==="false"&&(r.prerender=!1),r.path?this.setParams(r):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e=this.animationData.layers,r,i=e.length,s=t.layers,a,n=s.length;for(a=0;a<n;a+=1)for(r=0;r<i;){if(e[r].id===s[a].id){e[r]=s[a];break}r+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(i=t.assets.length,r=0;r<i;r+=1)this.animationData.assets.push(t.assets[r]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(t){this.animationData=t;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||t.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var e=t.shift();this.timeCompleted=e.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(r,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},AnimationItem.prototype.loadSegments=function(){var t=this.animationData.segments;t||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=markerParser(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(t,e){var r=typeof t=="number"?t:void 0,i=typeof e=="number"?e:void 0;this.renderer.updateContainerSize(r,i)},AnimationItem.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!==t||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!==t||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(t){t&&this.name!==t||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(t){for(var e,r=0;r<this.markers.length;r+=1)if(e=this.markers[r],e.payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,r){if(!(r&&this.name!==r)){var i=Number(t);if(isNaN(i)){var s=this.getMarkerData(t);s&&this.goToAndStop(s.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(t,e,r){if(!(r&&this.name!==r)){var i=Number(t);if(isNaN(i)){var s=this.getMarkerData(t);s&&(s.duration?this.playSegments([s.time,s.time+s.duration],!0):this.goToAndStop(s.time,!0))}else this.goToAndStop(i,e,r);this.play()}},AnimationItem.prototype.advanceTime=function(t){if(!(this.isPaused===!0||this.isLoaded===!1)){var e=this.currentRawFrame+t*this.frameModifier,r=!1;e>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):e<0?this.checkSegments(e%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(r=!0,e=0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?r=t:this.currentRawFrame+this.firstFrame>e&&(r=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,r!==-1&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),_typeof$4(t[0])==="object"){var r,i=t.length;for(r=0;r<i;r+=1)this.segments.push(t[r])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return this.segments.length?(this.adjustSegment(this.segments.shift(),t),!0):!1},AnimationItem.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(t){this.loop=t},AnimationItem.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},AnimationItem.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var r=t.p;r.indexOf("images/")!==-1&&(r=r.split("/")[1]),e=this.assetsPath+r}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){for(var e=0,r=this.assets.length;e<r;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(t,e,r){try{var i=this.renderer.getElementByPath(t);i.updateDocumentData(e,r)}catch{}},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}t==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),t==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),t==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),t==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),t==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var animationManager=function(){var t={},e=[],r=0,i=0,s=0,a=!0,n=!1;function h(x){for(var A=0,y=x.target;A<i;)e[A].animation===y&&(e.splice(A,1),A-=1,i-=1,y.isPaused||S()),A+=1}function o(x,A){if(!x)return null;for(var y=0;y<i;){if(e[y].elem===x&&e[y].elem!==null)return e[y].animation;y+=1}var P=new AnimationItem;return p(P,x),P.setData(x,A),P}function f(){var x,A=e.length,y=[];for(x=0;x<A;x+=1)y.push(e[x].animation);return y}function v(){s+=1,G()}function S(){s-=1}function p(x,A){x.addEventListener("destroy",h),x.addEventListener("_active",v),x.addEventListener("_idle",S),e.push({elem:A,animation:x}),i+=1}function b(x){var A=new AnimationItem;return p(A,null),A.setParams(x),A}function g(x,A){var y;for(y=0;y<i;y+=1)e[y].animation.setSpeed(x,A)}function m(x,A){var y;for(y=0;y<i;y+=1)e[y].animation.setDirection(x,A)}function C(x){var A;for(A=0;A<i;A+=1)e[A].animation.play(x)}function c(x){var A=x-r,y;for(y=0;y<i;y+=1)e[y].animation.advanceTime(A);r=x,s&&!n?window.requestAnimationFrame(c):a=!0}function u(x){r=x,window.requestAnimationFrame(c)}function l(x){var A;for(A=0;A<i;A+=1)e[A].animation.pause(x)}function d(x,A,y){var P;for(P=0;P<i;P+=1)e[P].animation.goToAndStop(x,A,y)}function E(x){var A;for(A=0;A<i;A+=1)e[A].animation.stop(x)}function _(x){var A;for(A=0;A<i;A+=1)e[A].animation.togglePause(x)}function T(x){var A;for(A=i-1;A>=0;A-=1)e[A].animation.destroy(x)}function M(x,A,y){var P=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),k,F=P.length;for(k=0;k<F;k+=1)y&&P[k].setAttribute("data-bm-type",y),o(P[k],x);if(A&&F===0){y||(y="svg");var R=document.getElementsByTagName("body")[0];R.innerText="";var z=createTag("div");z.style.width="100%",z.style.height="100%",z.setAttribute("data-bm-type",y),R.appendChild(z),o(z,x)}}function w(){var x;for(x=0;x<i;x+=1)e[x].animation.resize()}function G(){!n&&s&&a&&(window.requestAnimationFrame(u),a=!1)}function L(){n=!0}function V(){n=!1,G()}function D(x,A){var y;for(y=0;y<i;y+=1)e[y].animation.setVolume(x,A)}function B(x){var A;for(A=0;A<i;A+=1)e[A].animation.mute(x)}function I(x){var A;for(A=0;A<i;A+=1)e[A].animation.unmute(x)}return t.registerAnimation=o,t.loadAnimation=b,t.setSpeed=g,t.setDirection=m,t.play=C,t.pause=l,t.stop=E,t.togglePause=_,t.searchAnimations=M,t.resize=w,t.goToAndStop=d,t.destroy=T,t.freeze=L,t.unfreeze=V,t.setVolume=D,t.mute=B,t.unmute=I,t.getRegisteredAnimations=f,t}(),BezierFactory=function(){var t={};t.getBezierEasing=r;var e={};function r(u,l,d,E,_){var T=_||("bez_"+u+"_"+l+"_"+d+"_"+E).replace(/\./g,"p");if(e[T])return e[T];var M=new c([u,l,d,E]);return e[T]=M,M}var i=4,s=.001,a=1e-7,n=10,h=11,o=1/(h-1),f=typeof Float32Array=="function";function v(u,l){return 1-3*l+3*u}function S(u,l){return 3*l-6*u}function p(u){return 3*u}function b(u,l,d){return((v(l,d)*u+S(l,d))*u+p(l))*u}function g(u,l,d){return 3*v(l,d)*u*u+2*S(l,d)*u+p(l)}function m(u,l,d,E,_){var T,M,w=0;do M=l+(d-l)/2,T=b(M,E,_)-u,T>0?d=M:l=M;while(Math.abs(T)>a&&++w<n);return M}function C(u,l,d,E){for(var _=0;_<i;++_){var T=g(l,d,E);if(T===0)return l;var M=b(l,d,E)-u;l-=M/T}return l}function c(u){this._p=u,this._mSampleValues=f?new Float32Array(h):new Array(h),this._precomputed=!1,this.get=this.get.bind(this)}return c.prototype={get:function(l){var d=this._p[0],E=this._p[1],_=this._p[2],T=this._p[3];return this._precomputed||this._precompute(),d===E&&_===T?l:l===0?0:l===1?1:b(this._getTForX(l),E,T)},_precompute:function(){var l=this._p[0],d=this._p[1],E=this._p[2],_=this._p[3];this._precomputed=!0,(l!==d||E!==_)&&this._calcSampleValues()},_calcSampleValues:function(){for(var l=this._p[0],d=this._p[2],E=0;E<h;++E)this._mSampleValues[E]=b(E*o,l,d)},_getTForX:function(l){for(var d=this._p[0],E=this._p[2],_=this._mSampleValues,T=0,M=1,w=h-1;M!==w&&_[M]<=l;++M)T+=o;--M;var G=(l-_[M])/(_[M+1]-_[M]),L=T+G*o,V=g(L,d,E);return V>=s?C(l,L,d,E):V===0?L:m(l,T,T+o,d,E)}},t}(),pooling=function(){function t(e){return e.concat(createSizedArray(e.length))}return{double:t}}(),poolFactory=function(){return function(t,e,r){var i=0,s=t,a=createSizedArray(s),n={newElement:h,release:o};function h(){var f;return i?(i-=1,f=a[i]):f=e(),f}function o(f){i===s&&(a=pooling.double(a),s*=2),r&&r(f),a[i]=f,i+=1}return n}}(),bezierLengthPool=function(){function t(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,t)}(),segmentsLengthPool=function(){function t(){return{lengths:[],totalLength:0}}function e(r){var i,s=r.lengths.length;for(i=0;i<s;i+=1)bezierLengthPool.release(r.lengths[i]);r.lengths.length=0}return poolFactory(8,t,e)}();function bezFunction(){var t=Math;function e(p,b,g,m,C,c){var u=p*m+b*C+g*c-C*m-c*p-g*b;return u>-.001&&u<.001}function r(p,b,g,m,C,c,u,l,d){if(g===0&&c===0&&d===0)return e(p,b,m,C,u,l);var E=t.sqrt(t.pow(m-p,2)+t.pow(C-b,2)+t.pow(c-g,2)),_=t.sqrt(t.pow(u-p,2)+t.pow(l-b,2)+t.pow(d-g,2)),T=t.sqrt(t.pow(u-m,2)+t.pow(l-C,2)+t.pow(d-c,2)),M;return E>_?E>T?M=E-_-T:M=T-_-E:T>_?M=T-_-E:M=_-E-T,M>-1e-4&&M<1e-4}var i=function(){return function(p,b,g,m){var C=getDefaultCurveSegments(),c,u,l,d,E,_=0,T,M=[],w=[],G=bezierLengthPool.newElement();for(l=g.length,c=0;c<C;c+=1){for(E=c/(C-1),T=0,u=0;u<l;u+=1)d=bmPow(1-E,3)*p[u]+3*bmPow(1-E,2)*E*g[u]+3*(1-E)*bmPow(E,2)*m[u]+bmPow(E,3)*b[u],M[u]=d,w[u]!==null&&(T+=bmPow(M[u]-w[u],2)),w[u]=M[u];T&&(T=bmSqrt(T),_+=T),G.percents[c]=E,G.lengths[c]=_}return G.addedLength=_,G}}();function s(p){var b=segmentsLengthPool.newElement(),g=p.c,m=p.v,C=p.o,c=p.i,u,l=p._length,d=b.lengths,E=0;for(u=0;u<l-1;u+=1)d[u]=i(m[u],m[u+1],C[u],c[u+1]),E+=d[u].addedLength;return g&&l&&(d[u]=i(m[u],m[0],C[u],c[0]),E+=d[u].addedLength),b.totalLength=E,b}function a(p){this.segmentLength=0,this.points=new Array(p)}function n(p,b){this.partialLength=p,this.point=b}var h=function(){var p={};return function(b,g,m,C){var c=(b[0]+"_"+b[1]+"_"+g[0]+"_"+g[1]+"_"+m[0]+"_"+m[1]+"_"+C[0]+"_"+C[1]).replace(/\./g,"p");if(!p[c]){var u=getDefaultCurveSegments(),l,d,E,_,T,M=0,w,G,L=null;b.length===2&&(b[0]!==g[0]||b[1]!==g[1])&&e(b[0],b[1],g[0],g[1],b[0]+m[0],b[1]+m[1])&&e(b[0],b[1],g[0],g[1],g[0]+C[0],g[1]+C[1])&&(u=2);var V=new a(u);for(E=m.length,l=0;l<u;l+=1){for(G=createSizedArray(E),T=l/(u-1),w=0,d=0;d<E;d+=1)_=bmPow(1-T,3)*b[d]+3*bmPow(1-T,2)*T*(b[d]+m[d])+3*(1-T)*bmPow(T,2)*(g[d]+C[d])+bmPow(T,3)*g[d],G[d]=_,L!==null&&(w+=bmPow(G[d]-L[d],2));w=bmSqrt(w),M+=w,V.points[l]=new n(w,G),L=G}V.segmentLength=M,p[c]=V}return p[c]}}();function o(p,b){var g=b.percents,m=b.lengths,C=g.length,c=bmFloor((C-1)*p),u=p*b.addedLength,l=0;if(c===C-1||c===0||u===m[c])return g[c];for(var d=m[c]>u?-1:1,E=!0;E;)if(m[c]<=u&&m[c+1]>u?(l=(u-m[c])/(m[c+1]-m[c]),E=!1):c+=d,c<0||c>=C-1){if(c===C-1)return g[c];E=!1}return g[c]+(g[c+1]-g[c])*l}function f(p,b,g,m,C,c){var u=o(C,c),l=1-u,d=t.round((l*l*l*p[0]+(u*l*l+l*u*l+l*l*u)*g[0]+(u*u*l+l*u*u+u*l*u)*m[0]+u*u*u*b[0])*1e3)/1e3,E=t.round((l*l*l*p[1]+(u*l*l+l*u*l+l*l*u)*g[1]+(u*u*l+l*u*u+u*l*u)*m[1]+u*u*u*b[1])*1e3)/1e3;return[d,E]}var v=createTypedArray("float32",8);function S(p,b,g,m,C,c,u){C<0?C=0:C>1&&(C=1);var l=o(C,u);c=c>1?1:c;var d=o(c,u),E,_=p.length,T=1-l,M=1-d,w=T*T*T,G=l*T*T*3,L=l*l*T*3,V=l*l*l,D=T*T*M,B=l*T*M+T*l*M+T*T*d,I=l*l*M+T*l*d+l*T*d,x=l*l*d,A=T*M*M,y=l*M*M+T*d*M+T*M*d,P=l*d*M+T*d*d+l*M*d,k=l*d*d,F=M*M*M,R=d*M*M+M*d*M+M*M*d,z=d*d*M+M*d*d+d*M*d,N=d*d*d;for(E=0;E<_;E+=1)v[E*4]=t.round((w*p[E]+G*g[E]+L*m[E]+V*b[E])*1e3)/1e3,v[E*4+1]=t.round((D*p[E]+B*g[E]+I*m[E]+x*b[E])*1e3)/1e3,v[E*4+2]=t.round((A*p[E]+y*g[E]+P*m[E]+k*b[E])*1e3)/1e3,v[E*4+3]=t.round((F*p[E]+R*g[E]+z*m[E]+N*b[E])*1e3)/1e3;return v}return{getSegmentsLength:s,getNewSegment:S,getPointInSegment:f,buildBezierData:h,pointOnLine2D:e,pointOnLine3D:r}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(t,e){var r=this.offsetTime,i;this.propType==="multidimensional"&&(i=createTypedArray("float32",this.pv.length));for(var s=e.lastIndex,a=s,n=this.keyframes.length-1,h=!0,o,f,v;h;){if(o=this.keyframes[a],f=this.keyframes[a+1],a===n-1&&t>=f.t-r){o.h&&(o=f),s=0;break}if(f.t-r>t){s=a;break}a<n-1?a+=1:(s=0,h=!1)}v=this.keyframesMetadata[a]||{};var S,p,b,g,m,C,c=f.t-r,u=o.t-r,l;if(o.to){v.bezierData||(v.bezierData=bez.buildBezierData(o.s,f.s||o.e,o.to,o.ti));var d=v.bezierData;if(t>=c||t<u){var E=t>=c?d.points.length-1:0;for(p=d.points[E].point.length,S=0;S<p;S+=1)i[S]=d.points[E].point[S]}else{v.__fnct?C=v.__fnct:(C=BezierFactory.getBezierEasing(o.o.x,o.o.y,o.i.x,o.i.y,o.n).get,v.__fnct=C),b=C((t-u)/(c-u));var _=d.segmentLength*b,T,M=e.lastFrame<t&&e._lastKeyframeIndex===a?e._lastAddedLength:0;for(m=e.lastFrame<t&&e._lastKeyframeIndex===a?e._lastPoint:0,h=!0,g=d.points.length;h;){if(M+=d.points[m].partialLength,_===0||b===0||m===d.points.length-1){for(p=d.points[m].point.length,S=0;S<p;S+=1)i[S]=d.points[m].point[S];break}else if(_>=M&&_<M+d.points[m+1].partialLength){for(T=(_-M)/d.points[m+1].partialLength,p=d.points[m].point.length,S=0;S<p;S+=1)i[S]=d.points[m].point[S]+(d.points[m+1].point[S]-d.points[m].point[S])*T;break}m<g-1?m+=1:h=!1}e._lastPoint=m,e._lastAddedLength=M-d.points[m].partialLength,e._lastKeyframeIndex=a}}else{var w,G,L,V,D;if(n=o.s.length,l=f.s||o.e,this.sh&&o.h!==1)if(t>=c)i[0]=l[0],i[1]=l[1],i[2]=l[2];else if(t<=u)i[0]=o.s[0],i[1]=o.s[1],i[2]=o.s[2];else{var B=createQuaternion(o.s),I=createQuaternion(l),x=(t-u)/(c-u);quaternionToEuler(i,slerp(B,I,x))}else for(a=0;a<n;a+=1)o.h!==1&&(t>=c?b=1:t<u?b=0:(o.o.x.constructor===Array?(v.__fnct||(v.__fnct=[]),v.__fnct[a]?C=v.__fnct[a]:(w=o.o.x[a]===void 0?o.o.x[0]:o.o.x[a],G=o.o.y[a]===void 0?o.o.y[0]:o.o.y[a],L=o.i.x[a]===void 0?o.i.x[0]:o.i.x[a],V=o.i.y[a]===void 0?o.i.y[0]:o.i.y[a],C=BezierFactory.getBezierEasing(w,G,L,V).get,v.__fnct[a]=C)):v.__fnct?C=v.__fnct:(w=o.o.x,G=o.o.y,L=o.i.x,V=o.i.y,C=BezierFactory.getBezierEasing(w,G,L,V).get,o.keyframeMetadata=C),b=C((t-u)/(c-u)))),l=f.s||o.e,D=o.h===1?o.s[a]:o.s[a]+(l[a]-o.s[a])*b,this.propType==="multidimensional"?i[a]=D:i=D}return e.lastIndex=s,i}function slerp(t,e,r){var i=[],s=t[0],a=t[1],n=t[2],h=t[3],o=e[0],f=e[1],v=e[2],S=e[3],p,b,g,m,C;return b=s*o+a*f+n*v+h*S,b<0&&(b=-b,o=-o,f=-f,v=-v,S=-S),1-b>1e-6?(p=Math.acos(b),g=Math.sin(p),m=Math.sin((1-r)*p)/g,C=Math.sin(r*p)/g):(m=1-r,C=r),i[0]=m*s+C*o,i[1]=m*a+C*f,i[2]=m*n+C*v,i[3]=m*h+C*S,i}function quaternionToEuler(t,e){var r=e[0],i=e[1],s=e[2],a=e[3],n=Math.atan2(2*i*a-2*r*s,1-2*i*i-2*s*s),h=Math.asin(2*r*i+2*s*a),o=Math.atan2(2*r*a-2*i*s,1-2*r*r-2*s*s);t[0]=n/degToRads,t[1]=h/degToRads,t[2]=o/degToRads}function createQuaternion(t){var e=t[0]*degToRads,r=t[1]*degToRads,i=t[2]*degToRads,s=Math.cos(e/2),a=Math.cos(r/2),n=Math.cos(i/2),h=Math.sin(e/2),o=Math.sin(r/2),f=Math.sin(i/2),v=s*a*n-h*o*f,S=h*o*n+s*a*f,p=h*a*n+s*o*f,b=s*o*n-h*a*f;return[S,p,b,v]}function getValueAtCurrentTime(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=r&&t>=r||this._caching.lastFrame<e&&t<e))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(t,this._caching);this.pv=i}return this._caching.lastFrame=t,this.pv}function setVValue(t){var e;if(this.propType==="unidimensional")e=t*this.mult,mathAbs(this.v-e)>1e-5&&(this.v=e,this._mdf=!0);else for(var r=0,i=this.v.length;r<i;)e=t[r]*this.mult,mathAbs(this.v[r]-e)>1e-5&&(this.v[r]=e,this._mdf=!0),r+=1}function processEffectsSequence(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var t,e=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)r=this.effectsSequence[t](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function ValueProperty(t,e,r,i){this.propType="unidimensional",this.mult=r||1,this.data=e,this.v=r?e.k*r:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(t,e,r,i){this.propType="multidimensional",this.mult=r||1,this.data=e,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var s,a=e.k.length;for(this.v=createTypedArray("float32",a),this.pv=createTypedArray("float32",a),this.vel=createTypedArray("float32",a),s=0;s<a;s+=1)this.v[s]=e.k[s]*this.mult,this.pv[s]=e.k[s];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(t,e,r,i){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=r||1,this.elem=t,this.container=i,this.comp=t.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(t,e,r,i){this.propType="multidimensional";var s,a=e.k.length,n,h,o,f;for(s=0;s<a-1;s+=1)e.k[s].to&&e.k[s].s&&e.k[s+1]&&e.k[s+1].s&&(n=e.k[s].s,h=e.k[s+1].s,o=e.k[s].to,f=e.k[s].ti,(n.length===2&&!(n[0]===h[0]&&n[1]===h[1])&&bez.pointOnLine2D(n[0],n[1],h[0],h[1],n[0]+o[0],n[1]+o[1])&&bez.pointOnLine2D(n[0],n[1],h[0],h[1],h[0]+f[0],h[1]+f[1])||n.length===3&&!(n[0]===h[0]&&n[1]===h[1]&&n[2]===h[2])&&bez.pointOnLine3D(n[0],n[1],n[2],h[0],h[1],h[2],n[0]+o[0],n[1]+o[1],n[2]+o[2])&&bez.pointOnLine3D(n[0],n[1],n[2],h[0],h[1],h[2],h[0]+f[0],h[1]+f[1],h[2]+f[2]))&&(e.k[s].to=null,e.k[s].ti=null),n[0]===h[0]&&n[1]===h[1]&&o[0]===0&&o[1]===0&&f[0]===0&&f[1]===0&&(n.length===2||n[2]===h[2]&&o[2]===0&&f[2]===0)&&(e.k[s].to=null,e.k[s].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=e,this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=r||1,this.elem=t,this.container=i,this.comp=t.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var v=e.k[0].s.length;for(this.v=createTypedArray("float32",v),this.pv=createTypedArray("float32",v),s=0;s<v;s+=1)this.v[s]=initFrame,this.pv[s]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",v)},this.addEffect=addEffect}var PropertyFactory=function(){function t(r,i,s,a,n){i.sid&&(i=r.globalData.slotManager.getProp(i));var h;if(!i.k.length)h=new ValueProperty(r,i,a,n);else if(typeof i.k[0]=="number")h=new MultiDimensionalProperty(r,i,a,n);else switch(s){case 0:h=new KeyframedValueProperty(r,i,a,n);break;case 1:h=new KeyframedMultidimensionalProperty(r,i,a,n);break}return h.effectsSequence.length&&n.addDynamicProperty(h),h}var e={getProp:t};return e}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){this.dynamicProperties.indexOf(e)===-1&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var e,r=this.dynamicProperties.length;for(e=0;e<r;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function t(){return createTypedArray("float32",2)}return poolFactory(8,t)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var r=0;r<e;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,r,i,s){var a;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[];break}(!a[i]||a[i]&&!s)&&(a[i]=pointPool.newElement()),a[i][0]=t,a[i][1]=e},ShapePath.prototype.setTripleAt=function(t,e,r,i,s,a,n,h){this.setXYAt(t,e,"v",n,h),this.setXYAt(r,i,"o",n,h),this.setXYAt(s,a,"i",n,h)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,r=this.o,i=this.i,s=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),s=1);var a=this._length-1,n=this._length,h;for(h=s;h<n;h+=1)t.setTripleAt(e[a][0],e[a][1],i[a][0],i[a][1],r[a][0],r[a][1],h,!1),a-=1;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function t(){return new ShapePath}function e(s){var a=s._length,n;for(n=0;n<a;n+=1)pointPool.release(s.v[n]),pointPool.release(s.i[n]),pointPool.release(s.o[n]),s.v[n]=null,s.i[n]=null,s.o[n]=null;s._length=0,s.c=!1}function r(s){var a=i.newElement(),n,h=s._length===void 0?s.v.length:s._length;for(a.setLength(h),a.c=s.c,n=0;n<h;n+=1)a.setTripleAt(s.v[n][0],s.v[n][1],s.o[n][0],s.o[n][1],s.i[n][0],s.i[n][1],n);return a}var i=poolFactory(4,t,e);return i.clone=r,i}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0};var shapeCollectionPool=function(){var t={newShapeCollection:s,release:a},e=0,r=4,i=createSizedArray(r);function s(){var n;return e?(e-=1,n=i[e]):n=new ShapeCollection,n}function a(n){var h,o=n._length;for(h=0;h<o;h+=1)shapePool.release(n.shapes[h]);n._length=0,e===r&&(i=pooling.double(i),r*=2),i[e]=n,e+=1}return t}(),ShapePropertyFactory=function(){var t=-999999;function e(c,u,l){var d=l.lastIndex,E,_,T,M,w,G,L,V,D,B=this.keyframes;if(c<B[0].t-this.offsetTime)E=B[0].s[0],T=!0,d=0;else if(c>=B[B.length-1].t-this.offsetTime)E=B[B.length-1].s?B[B.length-1].s[0]:B[B.length-2].e[0],T=!0;else{for(var I=d,x=B.length-1,A=!0,y,P,k;A&&(y=B[I],P=B[I+1],!(P.t-this.offsetTime>c));)I<x-1?I+=1:A=!1;if(k=this.keyframesMetadata[I]||{},T=y.h===1,d=I,!T){if(c>=P.t-this.offsetTime)V=1;else if(c<y.t-this.offsetTime)V=0;else{var F;k.__fnct?F=k.__fnct:(F=BezierFactory.getBezierEasing(y.o.x,y.o.y,y.i.x,y.i.y).get,k.__fnct=F),V=F((c-(y.t-this.offsetTime))/(P.t-this.offsetTime-(y.t-this.offsetTime)))}_=P.s?P.s[0]:y.e[0]}E=y.s[0]}for(G=u._length,L=E.i[0].length,l.lastIndex=d,M=0;M<G;M+=1)for(w=0;w<L;w+=1)D=T?E.i[M][w]:E.i[M][w]+(_.i[M][w]-E.i[M][w])*V,u.i[M][w]=D,D=T?E.o[M][w]:E.o[M][w]+(_.o[M][w]-E.o[M][w])*V,u.o[M][w]=D,D=T?E.v[M][w]:E.v[M][w]+(_.v[M][w]-E.v[M][w])*V,u.v[M][w]=D}function r(){var c=this.comp.renderedFrame-this.offsetTime,u=this.keyframes[0].t-this.offsetTime,l=this.keyframes[this.keyframes.length-1].t-this.offsetTime,d=this._caching.lastFrame;return d!==t&&(d<u&&c<u||d>l&&c>l)||(this._caching.lastIndex=d<c?this._caching.lastIndex:0,this.interpolateShape(c,this.pv,this._caching)),this._caching.lastFrame=c,this.pv}function i(){this.paths=this.localShapeCollection}function s(c,u){if(c._length!==u._length||c.c!==u.c)return!1;var l,d=c._length;for(l=0;l<d;l+=1)if(c.v[l][0]!==u.v[l][0]||c.v[l][1]!==u.v[l][1]||c.o[l][0]!==u.o[l][0]||c.o[l][1]!==u.o[l][1]||c.i[l][0]!==u.i[l][0]||c.i[l][1]!==u.i[l][1])return!1;return!0}function a(c){s(this.v,c)||(this.v=shapePool.clone(c),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function n(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var c;this.kf?c=this.pv:this.data.ks?c=this.data.ks.k:c=this.data.pt.k;var u,l=this.effectsSequence.length;for(u=0;u<l;u+=1)c=this.effectsSequence[u](c);this.setVValue(c),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function h(c,u,l){this.propType="shape",this.comp=c.comp,this.container=c,this.elem=c,this.data=u,this.k=!1,this.kf=!1,this._mdf=!1;var d=l===3?u.pt.k:u.ks.k;this.v=shapePool.clone(d),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=i,this.effectsSequence=[]}function o(c){this.effectsSequence.push(c),this.container.addDynamicProperty(this)}h.prototype.interpolateShape=e,h.prototype.getValue=n,h.prototype.setVValue=a,h.prototype.addEffect=o;function f(c,u,l){this.propType="shape",this.comp=c.comp,this.elem=c,this.container=c,this.offsetTime=c.data.st,this.keyframes=l===3?u.pt.k:u.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var d=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,d),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=i,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[r.bind(this)]}f.prototype.getValue=n,f.prototype.interpolateShape=e,f.prototype.setVValue=a,f.prototype.addEffect=o;var v=function(){var c=roundCorner;function u(l,d){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=d.d,this.elem=l,this.comp=l.comp,this.frameId=-1,this.initDynamicPropertyContainer(l),this.p=PropertyFactory.getProp(l,d.p,1,0,this),this.s=PropertyFactory.getProp(l,d.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return u.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var d=this.p.v[0],E=this.p.v[1],_=this.s.v[0]/2,T=this.s.v[1]/2,M=this.d!==3,w=this.v;w.v[0][0]=d,w.v[0][1]=E-T,w.v[1][0]=M?d+_:d-_,w.v[1][1]=E,w.v[2][0]=d,w.v[2][1]=E+T,w.v[3][0]=M?d-_:d+_,w.v[3][1]=E,w.i[0][0]=M?d-_*c:d+_*c,w.i[0][1]=E-T,w.i[1][0]=M?d+_:d-_,w.i[1][1]=E-T*c,w.i[2][0]=M?d+_*c:d-_*c,w.i[2][1]=E+T,w.i[3][0]=M?d-_:d+_,w.i[3][1]=E+T*c,w.o[0][0]=M?d+_*c:d-_*c,w.o[0][1]=E-T,w.o[1][0]=M?d+_:d-_,w.o[1][1]=E+T*c,w.o[2][0]=M?d-_*c:d+_*c,w.o[2][1]=E+T,w.o[3][0]=M?d-_:d+_,w.o[3][1]=E-T*c}},extendPrototype([DynamicPropertyContainer],u),u}(),S=function(){function c(u,l){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=u,this.comp=u.comp,this.data=l,this.frameId=-1,this.d=l.d,this.initDynamicPropertyContainer(u),l.sy===1?(this.ir=PropertyFactory.getProp(u,l.ir,0,0,this),this.is=PropertyFactory.getProp(u,l.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(u,l.pt,0,0,this),this.p=PropertyFactory.getProp(u,l.p,1,0,this),this.r=PropertyFactory.getProp(u,l.r,0,degToRads,this),this.or=PropertyFactory.getProp(u,l.or,0,0,this),this.os=PropertyFactory.getProp(u,l.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return c.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var l=Math.floor(this.pt.v)*2,d=Math.PI*2/l,E=!0,_=this.or.v,T=this.ir.v,M=this.os.v,w=this.is.v,G=2*Math.PI*_/(l*2),L=2*Math.PI*T/(l*2),V,D,B,I,x=-Math.PI/2;x+=this.r.v;var A=this.data.d===3?-1:1;for(this.v._length=0,V=0;V<l;V+=1){D=E?_:T,B=E?M:w,I=E?G:L;var y=D*Math.cos(x),P=D*Math.sin(x),k=y===0&&P===0?0:P/Math.sqrt(y*y+P*P),F=y===0&&P===0?0:-y/Math.sqrt(y*y+P*P);y+=+this.p.v[0],P+=+this.p.v[1],this.v.setTripleAt(y,P,y-k*I*B*A,P-F*I*B*A,y+k*I*B*A,P+F*I*B*A,V,!0),E=!E,x+=d*A}},convertPolygonToPath:function(){var l=Math.floor(this.pt.v),d=Math.PI*2/l,E=this.or.v,_=this.os.v,T=2*Math.PI*E/(l*4),M,w=-Math.PI*.5,G=this.data.d===3?-1:1;for(w+=this.r.v,this.v._length=0,M=0;M<l;M+=1){var L=E*Math.cos(w),V=E*Math.sin(w),D=L===0&&V===0?0:V/Math.sqrt(L*L+V*V),B=L===0&&V===0?0:-L/Math.sqrt(L*L+V*V);L+=+this.p.v[0],V+=+this.p.v[1],this.v.setTripleAt(L,V,L-D*T*_*G,V-B*T*_*G,L+D*T*_*G,V+B*T*_*G,M,!0),w+=d*G}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],c),c}(),p=function(){function c(u,l){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=u,this.comp=u.comp,this.frameId=-1,this.d=l.d,this.initDynamicPropertyContainer(u),this.p=PropertyFactory.getProp(u,l.p,1,0,this),this.s=PropertyFactory.getProp(u,l.s,1,0,this),this.r=PropertyFactory.getProp(u,l.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return c.prototype={convertRectToPath:function(){var l=this.p.v[0],d=this.p.v[1],E=this.s.v[0]/2,_=this.s.v[1]/2,T=bmMin(E,_,this.r.v),M=T*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(l+E,d-_+T,l+E,d-_+T,l+E,d-_+M,0,!0),this.v.setTripleAt(l+E,d+_-T,l+E,d+_-M,l+E,d+_-T,1,!0),T!==0?(this.v.setTripleAt(l+E-T,d+_,l+E-T,d+_,l+E-M,d+_,2,!0),this.v.setTripleAt(l-E+T,d+_,l-E+M,d+_,l-E+T,d+_,3,!0),this.v.setTripleAt(l-E,d+_-T,l-E,d+_-T,l-E,d+_-M,4,!0),this.v.setTripleAt(l-E,d-_+T,l-E,d-_+M,l-E,d-_+T,5,!0),this.v.setTripleAt(l-E+T,d-_,l-E+T,d-_,l-E+M,d-_,6,!0),this.v.setTripleAt(l+E-T,d-_,l+E-M,d-_,l+E-T,d-_,7,!0)):(this.v.setTripleAt(l-E,d+_,l-E+M,d+_,l-E,d+_,2),this.v.setTripleAt(l-E,d-_,l-E,d-_+M,l-E,d-_,3))):(this.v.setTripleAt(l+E,d-_+T,l+E,d-_+M,l+E,d-_+T,0,!0),T!==0?(this.v.setTripleAt(l+E-T,d-_,l+E-T,d-_,l+E-M,d-_,1,!0),this.v.setTripleAt(l-E+T,d-_,l-E+M,d-_,l-E+T,d-_,2,!0),this.v.setTripleAt(l-E,d-_+T,l-E,d-_+T,l-E,d-_+M,3,!0),this.v.setTripleAt(l-E,d+_-T,l-E,d+_-M,l-E,d+_-T,4,!0),this.v.setTripleAt(l-E+T,d+_,l-E+T,d+_,l-E+M,d+_,5,!0),this.v.setTripleAt(l+E-T,d+_,l+E-M,d+_,l+E-T,d+_,6,!0),this.v.setTripleAt(l+E,d+_-T,l+E,d+_-T,l+E,d+_-M,7,!0)):(this.v.setTripleAt(l-E,d-_,l-E+M,d-_,l-E,d-_,1,!0),this.v.setTripleAt(l-E,d+_,l-E,d+_-M,l-E,d+_,2,!0),this.v.setTripleAt(l+E,d+_,l+E-M,d+_,l+E,d+_,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:i},extendPrototype([DynamicPropertyContainer],c),c}();function b(c,u,l){var d;if(l===3||l===4){var E=l===3?u.pt:u.ks,_=E.k;_.length?d=new f(c,u,l):d=new h(c,u,l)}else l===5?d=new p(c,u):l===6?d=new v(c,u):l===7&&(d=new S(c,u));return d.k&&c.addDynamicProperty(d),d}function g(){return h}function m(){return f}var C={};return C.getShapeProp=b,C.getConstructorFunction=g,C.getKeyframedConstructorFunction=m,C}();/*!
|
|
3
3
|
Transformation Matrix v2.0
|
|
4
4
|
(c) Epistemex 2014-2015
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ax as Ze,ay as Xe,bX as Ye,
|
|
1
|
+
import{ax as Ze,ay as Xe,bX as Ye,aD as g,bY as Me,bZ as ve,aC as ue,r as R,aA as W,b_ as pe}from"./index-cf61f7db.js";import{t as Qe}from"./toPropertyKey-d63e044c.js";import{u as et}from"./confirm-2f20e316.js";function fn(i){return Xe("MuiListItemButton",i)}const tt=Ze("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),cn=tt,rt=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function nt(i={}){const{disableGlobal:t=!1,productionPrefix:r="jss",seed:e=""}=i,n=e===""?"":`${e}-`;let s=0;const a=()=>(s+=1,s);return(o,l)=>{const f=l.options.name;if(f&&f.indexOf("Mui")===0&&!l.options.link&&!t){if(rt.indexOf(o.key)!==-1)return`Mui-${o.key}`;const c=`${n}${f}-${o.key}`;return!l.options.theme[Ye]||e!==""?c:`${c}-${a()}`}return`${n}${r}${a()}`}}var ye=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},N=(typeof window>"u"?"undefined":ye(window))==="object"&&(typeof document>"u"?"undefined":ye(document))==="object"&&document.nodeType===9;function me(i,t){for(var r=0;r<t.length;r++){var e=t[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(i,Qe(e.key),e)}}function le(i,t,r){return t&&me(i.prototype,t),r&&me(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i}const dn=Object.freeze(Object.defineProperty({__proto__:null,default:le},Symbol.toStringTag,{value:"Module"}));var it={}.constructor;function Y(i){if(i==null||typeof i!="object")return i;if(Array.isArray(i))return i.map(Y);if(i.constructor!==it)return i;var t={};for(var r in i)t[r]=Y(i[r]);return t}function fe(i,t,r){i===void 0&&(i="unnamed");var e=r.jss,n=Y(t),s=e.plugins.onCreateRule(i,n,r);return s||(i[0],null)}var be=function(t,r){for(var e="",n=0;n<t.length&&t[n]!=="!important";n++)e&&(e+=r),e+=t[n];return e},w=function(t){if(!Array.isArray(t))return t;var r="";if(Array.isArray(t[0]))for(var e=0;e<t.length&&t[e]!=="!important";e++)r&&(r+=", "),r+=be(t[e]," ");else r=be(t,", ");return t[t.length-1]==="!important"&&(r+=" !important"),r};function O(i){return i&&i.format===!1?{linebreak:"",space:""}:{linebreak:`
|
|
2
2
|
`,space:" "}}function A(i,t){for(var r="",e=0;e<t;e++)r+=" ";return r+i}function $(i,t,r){r===void 0&&(r={});var e="";if(!t)return e;var n=r,s=n.indent,a=s===void 0?0:s,o=t.fallbacks;r.format===!1&&(a=-1/0);var l=O(r),f=l.linebreak,c=l.space;if(i&&a++,o)if(Array.isArray(o))for(var h=0;h<o.length;h++){var y=o[h];for(var p in y){var v=y[p];v!=null&&(e&&(e+=f),e+=A(p+":"+c+w(v)+";",a))}}else for(var m in o){var b=o[m];b!=null&&(e&&(e+=f),e+=A(m+":"+c+w(b)+";",a))}for(var U in t){var ge=t[U];ge!=null&&U!=="fallbacks"&&(e&&(e+=f),e+=A(U+":"+c+w(ge)+";",a))}return!e&&!r.allowEmpty||!i?e:(a--,e&&(e=""+f+e+f),A(""+i+c+"{"+e,a)+A("}",a))}var st=/([[\].#*$><+~=|^:(),"'`\s])/g,Se=typeof CSS<"u"&&CSS.escape,ce=function(i){return Se?Se(i):i.replace(st,"\\$1")},Te=function(){function i(r,e,n){this.type="style",this.isProcessed=!1;var s=n.sheet,a=n.Renderer;this.key=r,this.options=n,this.style=e,s?this.renderer=s.renderer:a&&(this.renderer=new a)}var t=i.prototype;return t.prop=function(e,n,s){if(n===void 0)return this.style[e];var a=s?s.force:!1;if(!a&&this.style[e]===n)return this;var o=n;(!s||s.process!==!1)&&(o=this.options.jss.plugins.onChangeValue(n,e,this));var l=o==null||o===!1,f=e in this.style;if(l&&!f&&!a)return this;var c=l&&f;if(c?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return c?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var h=this.options.sheet;return h&&h.attached,this},i}(),Q=function(i){Me(t,i);function t(e,n,s){var a;a=i.call(this,e,n,s)||this;var o=s.selector,l=s.scoped,f=s.sheet,c=s.generateId;return o?a.selectorText=o:l!==!1&&(a.id=c(ve(ve(a)),f),a.selectorText="."+ce(a.id)),a}var r=t.prototype;return r.applyTo=function(n){var s=this.renderer;if(s){var a=this.toJSON();for(var o in a)s.setProperty(n,o,a[o])}return this},r.toJSON=function(){var n={};for(var s in this.style){var a=this.style[s];typeof a!="object"?n[s]=a:Array.isArray(a)&&(n[s]=w(a))}return n},r.toString=function(n){var s=this.options.sheet,a=s?s.options.link:!1,o=a?g({},n,{allowEmpty:!0}):n;return $(this.selectorText,this.style,o)},le(t,[{key:"selector",set:function(n){if(n!==this.selectorText){this.selectorText=n;var s=this.renderer,a=this.renderable;if(!(!a||!s)){var o=s.setSelector(a,n);o||s.replaceRule(a,this)}}},get:function(){return this.selectorText}}]),t}(Te),at={onCreateRule:function(t,r,e){return t[0]==="@"||e.parent&&e.parent.type==="keyframes"?null:new Q(t,r,e)}},K={indent:1,children:!0},ot=/@([\w-]+)/,ut=function(){function i(r,e,n){this.type="conditional",this.isProcessed=!1,this.key=r;var s=r.match(ot);this.at=s?s[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new z(g({},n,{parent:this}));for(var a in e)this.rules.add(a,e[a]);this.rules.process()}var t=i.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,n,s){var a=this.rules.add(e,n,s);return a?(this.options.jss.plugins.onProcessRule(a),a):null},t.replaceRule=function(e,n,s){var a=this.rules.replace(e,n,s);return a&&this.options.jss.plugins.onProcessRule(a),a},t.toString=function(e){e===void 0&&(e=K);var n=O(e),s=n.linebreak;if(e.indent==null&&(e.indent=K.indent),e.children==null&&(e.children=K.children),e.children===!1)return this.query+" {}";var a=this.rules.toString(e);return a?this.query+" {"+s+a+s+"}":""},i}(),lt=/@container|@media|@supports\s+/,ft={onCreateRule:function(t,r,e){return lt.test(t)?new ut(t,r,e):null}},q={indent:1,children:!0},ct=/@keyframes\s+([\w-]+)/,ee=function(){function i(r,e,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var s=r.match(ct);s&&s[1]?this.name=s[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var a=n.scoped,o=n.sheet,l=n.generateId;this.id=a===!1?this.name:ce(l(this,o)),this.rules=new z(g({},n,{parent:this}));for(var f in e)this.rules.add(f,e[f],g({},n,{parent:this}));this.rules.process()}var t=i.prototype;return t.toString=function(e){e===void 0&&(e=q);var n=O(e),s=n.linebreak;if(e.indent==null&&(e.indent=q.indent),e.children==null&&(e.children=q.children),e.children===!1)return this.at+" "+this.id+" {}";var a=this.rules.toString(e);return a&&(a=""+s+a+s),this.at+" "+this.id+" {"+a+"}"},i}(),dt=/@keyframes\s+/,ht=/\$([\w-]+)/g,te=function(t,r){return typeof t=="string"?t.replace(ht,function(e,n){return n in r?r[n]:e}):t},Re=function(t,r,e){var n=t[r],s=te(n,e);s!==n&&(t[r]=s)},gt={onCreateRule:function(t,r,e){return typeof t=="string"&&dt.test(t)?new ee(t,r,e):null},onProcessStyle:function(t,r,e){return r.type!=="style"||!e||("animation-name"in t&&Re(t,"animation-name",e.keyframes),"animation"in t&&Re(t,"animation",e.keyframes)),t},onChangeValue:function(t,r,e){var n=e.options.sheet;if(!n)return t;switch(r){case"animation":return te(t,n.keyframes);case"animation-name":return te(t,n.keyframes);default:return t}}},vt=function(i){Me(t,i);function t(){return i.apply(this,arguments)||this}var r=t.prototype;return r.toString=function(n){var s=this.options.sheet,a=s?s.options.link:!1,o=a?g({},n,{allowEmpty:!0}):n;return $(this.key,this.style,o)},t}(Te),pt={onCreateRule:function(t,r,e){return e.parent&&e.parent.type==="keyframes"?new vt(t,r,e):null}},yt=function(){function i(r,e,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=r,this.style=e,this.options=n}var t=i.prototype;return t.toString=function(e){var n=O(e),s=n.linebreak;if(Array.isArray(this.style)){for(var a="",o=0;o<this.style.length;o++)a+=$(this.at,this.style[o]),this.style[o+1]&&(a+=s);return a}return $(this.at,this.style,e)},i}(),mt=/@font-face/,bt={onCreateRule:function(t,r,e){return mt.test(t)?new yt(t,r,e):null}},St=function(){function i(r,e,n){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=r,this.style=e,this.options=n}var t=i.prototype;return t.toString=function(e){return $(this.key,this.style,e)},i}(),Rt={onCreateRule:function(t,r,e){return t==="@viewport"||t==="@-ms-viewport"?new St(t,r,e):null}},xt=function(){function i(r,e,n){this.type="simple",this.isProcessed=!1,this.key=r,this.value=e,this.options=n}var t=i.prototype;return t.toString=function(e){if(Array.isArray(this.value)){for(var n="",s=0;s<this.value.length;s++)n+=this.key+" "+this.value[s]+";",this.value[s+1]&&(n+=`
|
|
3
3
|
`);return n}return this.key+" "+this.value+";"},i}(),Pt={"@charset":!0,"@import":!0,"@namespace":!0},Ct={onCreateRule:function(t,r,e){return t in Pt?new xt(t,r,e):null}},xe=[at,ft,gt,pt,bt,Rt,Ct],wt={process:!0},Pe={force:!0,process:!0},z=function(){function i(r){this.map={},this.raw={},this.index=[],this.counter=0,this.options=r,this.classes=r.classes,this.keyframes=r.keyframes}var t=i.prototype;return t.add=function(e,n,s){var a=this.options,o=a.parent,l=a.sheet,f=a.jss,c=a.Renderer,h=a.generateId,y=a.scoped,p=g({classes:this.classes,parent:o,sheet:l,jss:f,Renderer:c,generateId:h,scoped:y,name:e,keyframes:this.keyframes,selector:void 0},s),v=e;e in this.raw&&(v=e+"-d"+this.counter++),this.raw[v]=n,v in this.classes&&(p.selector="."+ce(this.classes[v]));var m=fe(v,n,p);if(!m)return null;this.register(m);var b=p.index===void 0?this.index.length:p.index;return this.index.splice(b,0,m),m},t.replace=function(e,n,s){var a=this.get(e),o=this.index.indexOf(a);a&&this.remove(a);var l=s;return o!==-1&&(l=g({},s,{index:o})),this.add(e,n,l)},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof Q?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof ee&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof Q?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof ee&&delete this.keyframes[e.name]},t.update=function(){var e,n,s;if(typeof(arguments.length<=0?void 0:arguments[0])=="string"?(e=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],s=arguments.length<=2?void 0:arguments[2]):(n=arguments.length<=0?void 0:arguments[0],s=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.get(e),n,s);else for(var a=0;a<this.index.length;a++)this.updateOne(this.index[a],n,s)},t.updateOne=function(e,n,s){s===void 0&&(s=wt);var a=this.options,o=a.jss.plugins,l=a.sheet;if(e.rules instanceof i){e.rules.update(n,s);return}var f=e.style;if(o.onUpdate(n,e,l,s),s.process&&f&&f!==e.style){o.onProcessStyle(e.style,e,l);for(var c in e.style){var h=e.style[c],y=f[c];h!==y&&e.prop(c,h,Pe)}for(var p in f){var v=e.style[p],m=f[p];v==null&&v!==m&&e.prop(p,null,Pe)}}},t.toString=function(e){for(var n="",s=this.options.sheet,a=s?s.options.link:!1,o=O(e),l=o.linebreak,f=0;f<this.index.length;f++){var c=this.index[f],h=c.toString(e);!h&&!a||(n&&(n+=l),n+=h)}return n},i}(),$e=function(){function i(r,e){this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=g({},e,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),e.Renderer&&(this.renderer=new e.Renderer(this)),this.rules=new z(this.options);for(var n in r)this.rules.add(n,r[n]);this.rules.process()}var t=i.prototype;return t.attach=function(){return this.attached?this:(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy(),this)},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,n,s){var a=this.queue;this.attached&&!a&&(this.queue=[]);var o=this.rules.add(e,n,s);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?(this.deployed&&(a?a.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0))),o):(this.deployed=!1,o)):null},t.replaceRule=function(e,n,s){var a=this.rules.get(e);if(!a)return this.addRule(e,n,s);var o=this.rules.replace(e,n,s);return o&&this.options.jss.plugins.onProcessRule(o),this.attached?(this.deployed&&this.renderer&&(o?a.renderable&&this.renderer.replaceRule(a.renderable,o):this.renderer.deleteRule(a)),o):(this.deployed=!1,o)},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,n){var s=[];for(var a in e){var o=this.addRule(a,e[a],n);o&&s.push(o)}return s},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var n=typeof e=="object"?e:this.rules.get(e);return!n||this.attached&&!n.renderable?!1:(this.rules.remove(n),this.attached&&n.renderable&&this.renderer?this.renderer.deleteRule(n.renderable):!0)},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,n,s){return this.rules.updateOne(e,n,s),this},t.toString=function(e){return this.rules.toString(e)},i}(),kt=function(){function i(){this.plugins={internal:[],external:[]},this.registry={}}var t=i.prototype;return t.onCreateRule=function(e,n,s){for(var a=0;a<this.registry.onCreateRule.length;a++){var o=this.registry.onCreateRule[a](e,n,s);if(o)return o}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var n=e.options.sheet,s=0;s<this.registry.onProcessRule.length;s++)this.registry.onProcessRule[s](e,n);e.style&&this.onProcessStyle(e.style,e,n),e.isProcessed=!0}},t.onProcessStyle=function(e,n,s){for(var a=0;a<this.registry.onProcessStyle.length;a++)n.style=this.registry.onProcessStyle[a](n.style,n,s)},t.onProcessSheet=function(e){for(var n=0;n<this.registry.onProcessSheet.length;n++)this.registry.onProcessSheet[n](e)},t.onUpdate=function(e,n,s,a){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,n,s,a)},t.onChangeValue=function(e,n,s){for(var a=e,o=0;o<this.registry.onChangeValue.length;o++)a=this.registry.onChangeValue[o](a,n,s);return a},t.use=function(e,n){n===void 0&&(n={queue:"external"});var s=this.plugins[n.queue];s.indexOf(e)===-1&&(s.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce(function(a,o){for(var l in o)l in a&&a[l].push(o[l]);return a},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},i}(),jt=function(){function i(){this.registry=[]}var t=i.prototype;return t.add=function(e){var n=this.registry,s=e.options.index;if(n.indexOf(e)===-1){if(n.length===0||s>=this.index){n.push(e);return}for(var a=0;a<n.length;a++)if(n[a].options.index>s){n.splice(a,0,e);return}}},t.reset=function(){this.registry=[]},t.remove=function(e){var n=this.registry.indexOf(e);this.registry.splice(n,1)},t.toString=function(e){for(var n=e===void 0?{}:e,s=n.attached,a=ue(n,["attached"]),o=O(a),l=o.linebreak,f="",c=0;c<this.registry.length;c++){var h=this.registry[c];s!=null&&h.attached!==s||(f&&(f+=l),f+=h.toString(a))}return f},le(i,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),i}(),M=new jt,re=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),ne="2f1acc6c3a606b082e5eef5e54414ffb";re[ne]==null&&(re[ne]=0);var Ce=re[ne]++,we=function(t){t===void 0&&(t={});var r=0,e=function(s,a){r+=1;var o="",l="";return a&&(a.options.classNamePrefix&&(l=a.options.classNamePrefix),a.options.jss.id!=null&&(o=String(a.options.jss.id))),t.minify?""+(l||"c")+Ce+o+r:l+s.key+"-"+Ce+(o?"-"+o:"")+"-"+r};return e},Ne=function(t){var r;return function(){return r||(r=t()),r}},It=function(t,r){try{return t.attributeStyleMap?t.attributeStyleMap.get(r):t.style.getPropertyValue(r)}catch{return""}},Ot=function(t,r,e){try{var n=e;if(Array.isArray(e)&&(n=w(e)),t.attributeStyleMap)t.attributeStyleMap.set(r,n);else{var s=n?n.indexOf("!important"):-1,a=s>-1?n.substr(0,s-1):n;t.style.setProperty(r,a,s>-1?"important":"")}}catch{return!1}return!0},At=function(t,r){try{t.attributeStyleMap?t.attributeStyleMap.delete(r):t.style.removeProperty(r)}catch{}},_t=function(t,r){return t.selectorText=r,t.selectorText===r},Ve=Ne(function(){return document.querySelector("head")});function Et(i,t){for(var r=0;r<i.length;r++){var e=i[r];if(e.attached&&e.options.index>t.index&&e.options.insertionPoint===t.insertionPoint)return e}return null}function Mt(i,t){for(var r=i.length-1;r>=0;r--){var e=i[r];if(e.attached&&e.options.insertionPoint===t.insertionPoint)return e}return null}function Tt(i){for(var t=Ve(),r=0;r<t.childNodes.length;r++){var e=t.childNodes[r];if(e.nodeType===8&&e.nodeValue.trim()===i)return e}return null}function $t(i){var t=M.registry;if(t.length>0){var r=Et(t,i);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=Mt(t,i),r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var e=i.insertionPoint;if(e&&typeof e=="string"){var n=Tt(e);if(n)return{parent:n.parentNode,node:n.nextSibling}}return!1}function Nt(i,t){var r=t.insertionPoint,e=$t(t);if(e!==!1&&e.parent){e.parent.insertBefore(i,e.node);return}if(r&&typeof r.nodeType=="number"){var n=r,s=n.parentNode;s&&s.insertBefore(i,n.nextSibling);return}Ve().appendChild(i)}var Vt=Ne(function(){var i=document.querySelector('meta[property="csp-nonce"]');return i?i.getAttribute("content"):null}),ke=function(t,r,e){try{"insertRule"in t?t.insertRule(r,e):"appendRule"in t&&t.appendRule(r)}catch{return!1}return t.cssRules[e]},je=function(t,r){var e=t.cssRules.length;return r===void 0||r>e?e:r},Gt=function(){var t=document.createElement("style");return t.textContent=`
|
|
4
4
|
`,t},zt=function(){function i(r){this.getPropertyValue=It,this.setProperty=Ot,this.removeProperty=At,this.setSelector=_t,this.hasInsertedRules=!1,this.cssRules=[],r&&M.add(r),this.sheet=r;var e=this.sheet?this.sheet.options:{},n=e.media,s=e.meta,a=e.element;this.element=a||Gt(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),s&&this.element.setAttribute("data-meta",s);var o=Vt();o&&this.element.setAttribute("nonce",o)}var t=i.prototype;return t.attach=function(){if(!(this.element.parentNode||!this.sheet)){Nt(this.element,this.sheet.options);var e=!!(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent=`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aW as l,cJ as f}from"./index-
|
|
1
|
+
import{aW as l,cJ as f}from"./index-cf61f7db.js";var i=f;function p(t){return i(t).toUpperCase()}var c=p;const v=l(c);var o=Number.isNaN||function(r){return typeof r=="number"&&r!==r};function g(t,r){return!!(t===r||o(t)&&o(r))}function m(t,r){if(t.length!==r.length)return!1;for(var e=0;e<t.length;e++)if(!g(t[e],r[e]))return!1;return!0}function N(t,r){r===void 0&&(r=m);var e=null;function s(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e&&e.lastThis===this&&r(n,e.lastArgs))return e.lastResult;var u=t.apply(this,n);return e={lastResult:u,lastArgs:n,lastThis:this},u}return s.clear=function(){e=null},s}export{N as m,v as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{H as A,I as D,j as e,P as n,bM as b,B as M,K as I,bp as W,O as F,r as p,av as G,bx as V,bT as K,aF as z}from"./index-
|
|
1
|
+
import{H as A,I as D,j as e,P as n,bM as b,B as M,K as I,bp as W,O as F,r as p,av as G,bx as V,bT as K,aF as z}from"./index-cf61f7db.js";import{d as L}from"./ExpandMore-5e89e7bd.js";var T={},Q=D;Object.defineProperty(T,"__esModule",{value:!0});var O=T.default=void 0,U=Q(A()),X=e,J=(0,U.default)((0,X.jsx)("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"Menu");O=T.default=J;function R({height:a,...t}){return e.jsx(Y,{height:a,...t})}R.propTypes={height:n.oneOfType([n.number,n.string]).isRequired};const Y=b(M)`
|
|
2
2
|
overflow: hidden;
|
|
3
3
|
&:before {
|
|
4
4
|
content: '';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{H as E,I as F,j as t,a7 as O,r as u,F as H,T as g,br as V,G as Z,S as k,b4 as G,bq as Y,L as J,a as A,av as S,B as K,bo as Q,y as P,P as s,gj as W,bz as X}from"./index-
|
|
1
|
+
import{H as E,I as F,j as t,a7 as O,r as u,F as H,T as g,br as V,G as Z,S as k,b4 as G,bq as Y,L as J,a as A,av as S,B as K,bo as Q,y as P,P as s,gj as W,bz as X}from"./index-cf61f7db.js";import{L as D,N as L}from"./dashboard-b2b1d1e1.js";import{P as ee}from"./permission-d80dce81.js";import{F as te}from"./FormControlLabel-a7fff241.js";import{C as ie}from"./Checkbox-92349aed.js";import{L as _,a as I}from"./ListItem-1faf6af2.js";import{A as T}from"./Avatar-6a058f2c.js";import{a as z}from"./confirm-2f20e316.js";import{P as ae}from"./Pagination-babd41d1.js";import"./index-a76e3a95.js";import"./MoreVert-b4ec66e0.js";import"./toPropertyKey-d63e044c.js";import"./useSetState-49e815fe.js";import"./PlayArrow-b569df74.js";import"./Alert-18856afa.js";import"./ButtonGroup-0a58968f.js";import"./RadioGroup-c422200c.js";import"./FormGroup-d856dc86.js";import"./useFormControl-b7cc7d69.js";import"./format-error-86f361f1.js";import"./index-4010c313.js";import"./session-2a0eb2cb.js";import"./spaces-30889313.js";import"./index-997aa7a6.js";import"./api-71b66169.js";import"./fallback-27e04c22.js";import"./wallet-hidden-topbar-94881797.js";import"./selector-b882811a.js";import"./index-304ff849.js";import"./nav-menu-e5bda5b1.js";import"./ExpandMore-5e89e7bd.js";import"./Toolbar-63186941.js";import"./Hidden-4067f85a.js";import"./makeStyles-49c189a4.js";import"./useAsync-aeba6414.js";import"./DialogContentText-ef0138ce.js";import"./LastPage-830dc7b7.js";var re=["second","minute","hour","day","week","month","year"];function se(e,a){if(a===0)return["just now","right now"];var r=re[Math.floor(a/2)];return e>1&&(r+="s"),[e+" "+r+" ago","in "+e+" "+r]}var oe=["秒","分钟","小时","天","周","个月","年"];function ne(e,a){if(a===0)return["刚刚","片刻后"];var r=oe[~~(a/2)];return[e+" "+r+"前",e+" "+r+"后"]}var x={},q=function(e,a){x[e]=a},le=function(e){return x[e]||x.en_US},h=[60,60,24,7,365/7/12,12];function M(e){return e instanceof Date?e:!isNaN(e)||/^\d+$/.test(e)?new Date(parseInt(e)):(e=(e||"").trim().replace(/\.\d+/,"").replace(/-/,"/").replace(/-/,"/").replace(/(\d)T(\d)/,"$1 $2").replace(/Z/," UTC").replace(/([+-]\d\d):?(\d\d)/," $1$2"),new Date(e))}function ce(e,a){var r=e<0?1:0;e=Math.abs(e);for(var n=e,o=0;e>=h[o]&&o<h.length;o++)e/=h[o];return e=Math.floor(e),o*=2,e>(o===0?9:1)&&(o+=1),a(e,o,n)[r].replace("%s",e.toString())}function de(e,a){var r=a?M(a):new Date;return(+r-+M(e))/1e3}var me=function(e,a,r){var n=de(e,r&&r.relativeDate);return ce(n,le(a))};q("en_US",se);q("zh_CN",ne);var y={},pe=F;Object.defineProperty(y,"__esModule",{value:!0});var j=y.default=void 0,fe=pe(E()),ue=t,ge=(0,fe.default)((0,ue.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}),"VisibilityOff");j=y.default=ge;function v({api:e,paging:a,loading:r,notifications:n,updateNotifications:o,teamDid:d}){const{inService:m}=O(),[f,U]=u.useState(!0),[b,N]=u.useState(!1),{t:l,locale:C}=u.useContext(H),B=async()=>{N(!0);const i=n.filter(c=>c.read===!1).map(c=>c.id).join(",");m?await e.readBlockletNotifications({input:{id:i,teamDid:d}}):await e.readNotifications({input:{id:i}}),o(),N(!1)},w=async i=>{m?await e.readBlockletNotifications({input:{id:i,teamDid:d}}):await e.readNotifications({input:{id:i}}),o()},p=f?n:n.filter(i=>i.read===!1),$=n.filter(i=>i.read===!1).length>0,R=i=>t.jsxs("div",{className:"title",children:[i.title," ",t.jsx("span",{className:"time-ago",title:Q(i.createdAt,C),children:me(new Date(i.createdAt),W(C))})]});return t.jsxs(he,{children:[t.jsxs(g,{component:"h2",variant:"h4",className:"page-header",color:"textPrimary",children:[l("notification.title"),t.jsxs(g,{component:"span",className:"notification-actions",children:[t.jsx(te,{control:t.jsx(ie,{checked:f,onChange:()=>U(!f),name:"showRead",color:"primary"}),label:l("notification.showRead")}),t.jsx(ee,{permission:m?"":"mutate_notification",role:m?V:[],children:$&&t.jsxs(Z,{disabled:b,onClick:B,className:"",children:[b&&t.jsx(k,{size:16,style:{marginRight:"1em"}}),l("notification.markAllAsRead")]})})]})]}),t.jsx(G,{}),t.jsxs(Y,{className:"notification-list",children:[r&&t.jsx(k,{size:[32,20],style:{opacity:"0.8",zIndex:1e4,position:"fixed",top:30,left:"50%",marginLeft:-16}}),p.length===0&&t.jsx(g,{component:"p",variant:"body1",className:"notification-tip",children:l("notification.empty")}),p.length>0&&p.map(i=>i.action?t.jsxs(_,{component:J,to:i.action,alignItems:"flex-start",disabled:i.read,children:[t.jsx(D,{className:"list-item-avatar",children:t.jsxs(t.Fragment,{children:[t.jsx(T,{children:i.entityType.substr(0,1).toUpperCase()}),t.jsx(L,{className:"notification-tag",status:i.severity})]})}),t.jsx(z,{className:"list-item-text",classes:{secondary:"list-item-secondary-text"},primary:R(i),secondary:i.description}),i.read===!1&&t.jsx(I,{children:t.jsx(A,{title:l("notification.markAsRead"),children:t.jsx(S,{edge:"end","aria-label":"delete",onClick:()=>w(i.id),size:"large",children:t.jsx(j,{})})})})]},i.id):t.jsxs(_,{alignItems:"flex-start",disabled:i.read,children:[t.jsx(D,{className:"list-item-avatar",children:t.jsxs(t.Fragment,{children:[t.jsx(T,{children:i.entityType.substr(0,1).toUpperCase()}),t.jsx(L,{className:"notification-tag",status:i.severity})]})}),t.jsx(z,{className:"list-item-text",classes:{secondary:"list-item-secondary-text"},primary:R(i),secondary:i.description}),i.read===!1&&t.jsx(I,{children:t.jsx(A,{title:l("notification.markAsRead"),children:t.jsx(S,{edge:"end","aria-label":"delete",onClick:()=>w(i.id),size:"large",children:t.jsx(j,{})})})})]},i.id))]}),!!p.length&&a.pageCount>1&&t.jsx(K,{mt:2,display:"flex",justifyContent:"flex-end",children:t.jsx(ae,{disabled:r,count:a.pageCount,page:a.page,onChange:(i,c)=>{o({page:c})}})})]})}const he=P.div`
|
|
2
2
|
min-height: 60vh;
|
|
3
3
|
|
|
4
4
|
.page-header {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as I,a7 as w,r as y,a$ as A,j as t,G as C,V as T,bC as b,am as S,bo as B,cx as E,y as L,T as N}from"./index-
|
|
1
|
+
import{u as I,a7 as w,r as y,a$ as A,j as t,G as C,V as T,bC as b,am as S,bo as B,cx as E,y as L,T as N}from"./index-cf61f7db.js";import{d as P,a as W}from"./domain-list-b5d9635e.js";import{d as _}from"./ExpandMore-5e89e7bd.js";import{I as $}from"./index-f602c035.js";import{T as R}from"./MoreVert-b4ec66e0.js";import{W as r}from"./did-address-deca4ec1.js";import{B as H}from"./dashboard-b2b1d1e1.js";import"./Add-280b55d6.js";import"./LockIcon-5bf90304.js";import"./permission-d80dce81.js";import"./useAsync-aeba6414.js";import"./session-2a0eb2cb.js";import"./index-4010c313.js";import"./confirm-2f20e316.js";import"./DialogContentText-ef0138ce.js";import"./Alert-18856afa.js";import"./format-error-86f361f1.js";import"./useSetState-49e815fe.js";import"./InfoOutlined-da2cfef7.js";import"./OpenInNew-e91f9d7e.js";import"./api-71b66169.js";import"./util-ab8d703d.js";import"./TextField-3d8b540c.js";import"./FormControl-4556d3f8.js";import"./useFormControl-b7cc7d69.js";import"./InputLabel-b97f286b.js";import"./Select-3544f27a.js";import"./actions-1c072ea2.js";import"./CardContent-a3c41a0c.js";import"./index-a76e3a95.js";import"./toPropertyKey-d63e044c.js";import"./PlayArrow-b569df74.js";import"./ButtonGroup-0a58968f.js";import"./RadioGroup-c422200c.js";import"./FormControlLabel-a7fff241.js";import"./FormGroup-d856dc86.js";import"./Avatar-6a058f2c.js";import"./spaces-30889313.js";import"./index-997aa7a6.js";import"./fallback-27e04c22.js";import"./wallet-hidden-topbar-94881797.js";import"./selector-b882811a.js";import"./index-304ff849.js";import"./nav-menu-e5bda5b1.js";import"./Toolbar-63186941.js";import"./Hidden-4067f85a.js";import"./makeStyles-49c189a4.js";import"./Checkbox-92349aed.js";const K={arcblock:"ArcBlock",ethereum:"Ethereum"};function O(){var u,x,f,v,h;const{t:o,locale:j}=I(),{info:m,inService:g}=w(),[a,k]=y.useState(!1),{blocklet:e}=A(),{appDid:l,appPid:p,migratedFrom:s=[]}=e,c=(u=e.environments.find(i=>i.key==="BLOCKLET_APP_CHAIN_TYPE"))==null?void 0:u.value,d=[l?{name:o("blocklet.appId"),value:t.jsx(r,{did:l})}:null,p?{name:o("blocklet.appPid"),value:t.jsx(r,{did:p})}:null,(s==null?void 0:s.length)>1?{name:o("blocklet.alsoKnownAs"),value:t.jsxs("div",{children:[(a?s.slice(1):s.slice(1,2)).map(i=>t.jsx(r,{did:i.appDid})),s.length>2&&t.jsx(C,{style:{marginLeft:"18px"},endIcon:a?t.jsx(P,{}):t.jsx(_,{}),onClick:()=>k(!a),children:o(a?"common.collapseAll":"blocklet.router.showAllDIDs")})]})}:null,{name:o("common.name"),value:T(e,!0)},{name:o("common.status"),value:t.jsx(H,{status:e.status,source:e.source})},b(e)?{name:"NFT",value:t.jsx(r,{external:!0,href:S((x=e==null?void 0:e.controller)==null?void 0:x.chainHost,(f=e==null?void 0:e.controller)==null?void 0:f.nftId,"asset"),did:(v=e==null?void 0:e.controller)==null?void 0:v.nftId})}:null,{name:o("blocklet.installedAt"),value:B(e.installedAt,j)},{name:o("blocklet.overview.accessControl"),value:o(`team.whoCanAccess.${E(e)}.title`)},{name:o("common.owner"),value:(h=e.settings)!=null&&h.owner?t.jsx(r,{did:e.settings.owner.did}):"--"},{name:o("blocklet.config.walletType.name"),value:K[c||"arcblock"]||c},e.externalSkSource?{name:o("blocklet.skSource"),value:e.externalSkSource}:null].filter(Boolean);g&&d.push({name:o("common.serverDid"),value:t.jsx(r,{did:m.did})},{name:o("common.serverVersion"),value:t.jsx(R,{children:m.version})});const D=i=>i.map(n=>t.jsx($,{style:{display:"flex",alignItems:"flex-start"},valueComponent:"div",nameWidth:120,name:n.name,nameFormatter:()=>n.name,children:n.value},n.name));return t.jsxs(V,{component:"div",children:[t.jsx(W,{}),t.jsx("div",{className:"title",children:t.jsx("span",{children:o("common.basicInfo")})}),t.jsx("div",{className:"basicInfo",children:D(d)})]})}O.propTypes={};const V=L(N)`
|
|
2
2
|
.title {
|
|
3
3
|
font-size: 1.2rem;
|
|
4
4
|
font-weight: bold;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{H as p,I as c,j as o,y as u,P as t}from"./index-
|
|
1
|
+
import{H as p,I as c,j as o,y as u,P as t}from"./index-cf61f7db.js";var r={},d=c;Object.defineProperty(r,"__esModule",{value:!0});var i=r.default=void 0,f=d(p()),x=o,v=(0,f.default)((0,x.jsx)("path",{d:"M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"}),"ArrowBackIos");i=r.default=v;function s({title:e,subTitle:n,onClickBack:a,...l}){return o.jsxs(m,{...l,children:[a&&o.jsx(i,{className:"back-btn",onClick:a}),o.jsx("div",{className:"title",children:e}),o.jsx("div",{className:"sub-title",children:n})]})}const m=u.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
text-align: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as g,r as P,P as e,j as p}from"./index-
|
|
1
|
+
import{y as g,r as P,P as e,j as p}from"./index-cf61f7db.js";import{u as h,r as x}from"./useAsync-aeba6414.js";import{u as b}from"./session-2a0eb2cb.js";const y={success:"#3ab39d",error:"#D0021B"},m="10px",w=g.div`
|
|
2
2
|
display: inline-block;
|
|
3
3
|
min-width: ${r=>r.size||m};
|
|
4
4
|
min-height: ${r=>r.size||m};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var E,a,J,x,j,K,F,D={},Q=[],te=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,W=Array.isArray;function b(e,_){for(var t in _)e[t]=_[t];return e}function X(e){var _=e.parentNode;_&&_.removeChild(e)}function ne(e,_,t){var l,r,o,i={};for(o in _)o=="key"?l=_[o]:o=="ref"?r=_[o]:i[o]=_[o];if(arguments.length>2&&(i.children=arguments.length>3?E.call(arguments,2):t),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)i[o]===void 0&&(i[o]=e.defaultProps[o]);return C(e,i,l,r,null)}function C(e,_,t,l,r){var o={type:e,props:_,key:t,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:r??++J,__i:-1,__u:0};return r==null&&a.vnode!=null&&a.vnode(o),o}function fe(){return{current:null}}function A(e){return e.children}function H(e,_){this.props=e,this.context=_}function S(e,_){if(_==null)return e.__?S(e.__,e.__i+1):null;for(var t;_<e.__k.length;_++)if((t=e.__k[_])!=null&&t.__e!=null)return t.__e;return typeof e.type=="function"?S(e):null}function Y(e){var _,t;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,_=0;_<e.__k.length;_++)if((t=e.__k[_])!=null&&t.__e!=null){e.__e=e.__c.base=t.__e;break}return Y(e)}}function z(e){(!e.__d&&(e.__d=!0)&&x.push(e)&&!N.__r++||j!==a.debounceRendering)&&((j=a.debounceRendering)||K)(N)}function N(){var e,_,t,l,r,o,i,u,p;for(x.sort(F);e=x.shift();)e.__d&&(_=x.length,l=void 0,o=(r=(t=e).__v).__e,u=[],p=[],(i=t.__P)&&((l=b({},r)).__v=r.__v+1,a.vnode&&a.vnode(l),R(i,l,r,t.__n,i.ownerSVGElement!==void 0,32&r.__u?[o]:null,u,o??S(r),!!(32&r.__u),p),l.__.__k[l.__i]=l,_e(u,l,p),l.__e!=o&&Y(l)),x.length>_&&x.sort(F));N.__r=0}function Z(e,_,t,l,r,o,i,u,p,s,c){var n,m,f,h,k,v=l&&l.__k||Q,d=_.length;for(t.__d=p,oe(t,_,v),p=t.__d,n=0;n<d;n++)(f=t.__k[n])!=null&&typeof f!="boolean"&&typeof f!="function"&&(m=f.__i===-1?D:v[f.__i]||D,f.__i=n,R(e,f,m,r,o,i,u,p,s,c),h=f.__e,f.ref&&m.ref!=f.ref&&(m.ref&&B(m.ref,null,f),c.push(f.ref,f.__c||h,f)),k==null&&h!=null&&(k=h),65536&f.__u||m.__k===f.__k?p=ee(f,p,e):typeof f.type=="function"&&f.__d!==void 0?p=f.__d:h&&(p=h.nextSibling),f.__d=void 0,f.__u&=-196609);t.__d=p,t.__e=k}function oe(e,_,t){var l,r,o,i,u,p=_.length,s=t.length,c=s,n=0;for(e.__k=[],l=0;l<p;l++)(r=e.__k[l]=(r=_[l])==null||typeof r=="boolean"||typeof r=="function"?null:typeof r=="string"||typeof r=="number"||typeof r=="bigint"||r.constructor==String?C(null,r,null,null,r):W(r)?C(A,{children:r},null,null,null):r.constructor===void 0&&r.__b>0?C(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r)!=null?(r.__=e,r.__b=e.__b+1,u=le(r,t,i=l+n,c),r.__i=u,o=null,u!==-1&&(c--,(o=t[u])&&(o.__u|=131072)),o==null||o.__v===null?(u==-1&&n--,typeof r.type!="function"&&(r.__u|=65536)):u!==i&&(u===i+1?n++:u>i?c>p-i?n+=u-i:n--:n=u<i&&u==i-1?u-i:0,u!==l+n&&(r.__u|=65536))):(o=t[l])&&o.key==null&&o.__e&&(o.__e==e.__d&&(e.__d=S(o)),I(o,o,!1),t[l]=null,c--);if(c)for(l=0;l<s;l++)(o=t[l])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=S(o)),I(o,o))}function ee(e,_,t){var l,r;if(typeof e.type=="function"){for(l=e.__k,r=0;l&&r<l.length;r++)l[r]&&(l[r].__=e,_=ee(l[r],_,t));return _}return e.__e!=_&&(t.insertBefore(e.__e,_||null),_=e.__e),_&&_.nextSibling}function re(e,_){return _=_||[],e==null||typeof e=="boolean"||(W(e)?e.some(function(t){re(t,_)}):_.push(e)),_}function le(e,_,t,l){var r=e.key,o=e.type,i=t-1,u=t+1,p=_[t];if(p===null||p&&r==p.key&&o===p.type)return t;if(l>(p!=null&&!(131072&p.__u)?1:0))for(;i>=0||u<_.length;){if(i>=0){if((p=_[i])&&!(131072&p.__u)&&r==p.key&&o===p.type)return i;i--}if(u<_.length){if((p=_[u])&&!(131072&p.__u)&&r==p.key&&o===p.type)return u;u++}}return-1}function G(e,_,t){_[0]==="-"?e.setProperty(_,t??""):e[_]=t==null?"":typeof t!="number"||te.test(_)?t:t+"px"}function M(e,_,t,l,r){var o;e:if(_==="style")if(typeof t=="string")e.style.cssText=t;else{if(typeof l=="string"&&(e.style.cssText=l=""),l)for(_ in l)t&&_ in t||G(e.style,_,"");if(t)for(_ in t)l&&t[_]===l[_]||G(e.style,_,t[_])}else if(_[0]==="o"&&_[1]==="n")o=_!==(_=_.replace(/(PointerCapture)$|Capture$/,"$1")),_=_.toLowerCase()in e?_.toLowerCase().slice(2):_.slice(2),e.l||(e.l={}),e.l[_+o]=t,t?l?t.u=l.u:(t.u=Date.now(),e.addEventListener(_,o?q:V,o)):e.removeEventListener(_,o?q:V,o);else{if(r)_=_.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(_!=="width"&&_!=="height"&&_!=="href"&&_!=="list"&&_!=="form"&&_!=="tabIndex"&&_!=="download"&&_!=="rowSpan"&&_!=="colSpan"&&_!=="role"&&_ in e)try{e[_]=t??"";break e}catch{}typeof t=="function"||(t==null||t===!1&&_[4]!=="-"?e.removeAttribute(_):e.setAttribute(_,t))}}function V(e){var _=this.l[e.type+!1];if(e.t){if(e.t<=_.u)return}else e.t=Date.now();return _(a.event?a.event(e):e)}function q(e){return this.l[e.type+!0](a.event?a.event(e):e)}function R(e,_,t,l,r,o,i,u,p,s){var c,n,m,f,h,k,v,d,y,w,T,P,O,U,$,g=_.type;if(_.constructor!==void 0)return null;128&t.__u&&(p=!!(32&t.__u),o=[u=_.__e=t.__e]),(c=a.__b)&&c(_);e:if(typeof g=="function")try{if(d=_.props,y=(c=g.contextType)&&l[c.__c],w=c?y?y.props.value:c.__:l,t.__c?v=(n=_.__c=t.__c).__=n.__E:("prototype"in g&&g.prototype.render?_.__c=n=new g(d,w):(_.__c=n=new H(d,w),n.constructor=g,n.render=se),y&&y.sub(n),n.props=d,n.state||(n.state={}),n.context=w,n.__n=l,m=n.__d=!0,n.__h=[],n._sb=[]),n.__s==null&&(n.__s=n.state),g.getDerivedStateFromProps!=null&&(n.__s==n.state&&(n.__s=b({},n.__s)),b(n.__s,g.getDerivedStateFromProps(d,n.__s))),f=n.props,h=n.state,n.__v=_,m)g.getDerivedStateFromProps==null&&n.componentWillMount!=null&&n.componentWillMount(),n.componentDidMount!=null&&n.__h.push(n.componentDidMount);else{if(g.getDerivedStateFromProps==null&&d!==f&&n.componentWillReceiveProps!=null&&n.componentWillReceiveProps(d,w),!n.__e&&(n.shouldComponentUpdate!=null&&n.shouldComponentUpdate(d,n.__s,w)===!1||_.__v===t.__v)){for(_.__v!==t.__v&&(n.props=d,n.state=n.__s,n.__d=!1),_.__e=t.__e,_.__k=t.__k,_.__k.forEach(function(L){L&&(L.__=_)}),T=0;T<n._sb.length;T++)n.__h.push(n._sb[T]);n._sb=[],n.__h.length&&i.push(n);break e}n.componentWillUpdate!=null&&n.componentWillUpdate(d,n.__s,w),n.componentDidUpdate!=null&&n.__h.push(function(){n.componentDidUpdate(f,h,k)})}if(n.context=w,n.props=d,n.__P=e,n.__e=!1,P=a.__r,O=0,"prototype"in g&&g.prototype.render){for(n.state=n.__s,n.__d=!1,P&&P(_),c=n.render(n.props,n.state,n.context),U=0;U<n._sb.length;U++)n.__h.push(n._sb[U]);n._sb=[]}else do n.__d=!1,P&&P(_),c=n.render(n.props,n.state,n.context),n.state=n.__s;while(n.__d&&++O<25);n.state=n.__s,n.getChildContext!=null&&(l=b(b({},l),n.getChildContext())),m||n.getSnapshotBeforeUpdate==null||(k=n.getSnapshotBeforeUpdate(f,h)),Z(e,W($=c!=null&&c.type===A&&c.key==null?c.props.children:c)?$:[$],_,t,l,r,o,i,u,p,s),n.base=_.__e,_.__u&=-161,n.__h.length&&i.push(n),v&&(n.__E=n.__=null)}catch(L){_.__v=null,p||o!=null?(_.__e=u,_.__u|=p?160:32,o[o.indexOf(u)]=null):(_.__e=t.__e,_.__k=t.__k),a.__e(L,_,t)}else o==null&&_.__v===t.__v?(_.__k=t.__k,_.__e=t.__e):_.__e=ie(t.__e,_,t,l,r,o,i,p,s);(c=a.diffed)&&c(_)}function _e(e,_,t){_.__d=void 0;for(var l=0;l<t.length;l++)B(t[l],t[++l],t[++l]);a.__c&&a.__c(_,e),e.some(function(r){try{e=r.__h,r.__h=[],e.some(function(o){o.call(r)})}catch(o){a.__e(o,r.__v)}})}function ie(e,_,t,l,r,o,i,u,p){var s,c,n,m,f,h,k,v=t.props,d=_.props,y=_.type;if(y==="svg"&&(r=!0),o!=null){for(s=0;s<o.length;s++)if((f=o[s])&&"setAttribute"in f==!!y&&(y?f.localName===y:f.nodeType===3)){e=f,o[s]=null;break}}if(e==null){if(y===null)return document.createTextNode(d);e=r?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,d.is&&d),o=null,u=!1}if(y===null)v===d||u&&e.data===d||(e.data=d);else{if(o=o&&E.call(e.childNodes),v=t.props||D,!u&&o!=null)for(v={},s=0;s<e.attributes.length;s++)v[(f=e.attributes[s]).name]=f.value;for(s in v)f=v[s],s=="children"||(s=="dangerouslySetInnerHTML"?n=f:s==="key"||s in d||M(e,s,null,f,r));for(s in d)f=d[s],s=="children"?m=f:s=="dangerouslySetInnerHTML"?c=f:s=="value"?h=f:s=="checked"?k=f:s==="key"||u&&typeof f!="function"||v[s]===f||M(e,s,f,v[s],r);if(c)u||n&&(c.__html===n.__html||c.__html===e.innerHTML)||(e.innerHTML=c.__html),_.__k=[];else if(n&&(e.innerHTML=""),Z(e,W(m)?m:[m],_,t,l,r&&y!=="foreignObject",o,i,o?o[0]:t.__k&&S(t,0),u,p),o!=null)for(s=o.length;s--;)o[s]!=null&&X(o[s]);u||(s="value",h!==void 0&&(h!==e[s]||y==="progress"&&!h||y==="option"&&h!==v[s])&&M(e,s,h,v[s],!1),s="checked",k!==void 0&&k!==e[s]&&M(e,s,k,v[s],!1))}return e}function B(e,_,t){try{typeof e=="function"?e(_):e.current=_}catch(l){a.__e(l,t)}}function I(e,_,t){var l,r;if(a.unmount&&a.unmount(e),(l=e.ref)&&(l.current&&l.current!==e.__e||B(l,null,_)),(l=e.__c)!=null){if(l.componentWillUnmount)try{l.componentWillUnmount()}catch(o){a.__e(o,_)}l.base=l.__P=null,e.__c=void 0}if(l=e.__k)for(r=0;r<l.length;r++)l[r]&&I(l[r],_,t||typeof e.type!="function");t||e.__e==null||X(e.__e),e.__=e.__e=e.__d=void 0}function se(e,_,t){return this.constructor(e,t)}function ue(e,_,t){var l,r,o,i;a.__&&a.__(e,_),r=(l=typeof t=="function")?null:t&&t.__k||_.__k,o=[],i=[],R(_,e=(!l&&t||_).__k=ne(A,null,[e]),r||D,D,_.ownerSVGElement!==void 0,!l&&t?[t]:r?null:_.firstChild?E.call(_.childNodes):null,o,!l&&t?t:r?r.__e:_.firstChild,l,i),_e(o,e,i)}function pe(e,_,t){var l,r,o,i,u=b({},e.props);for(o in e.type&&e.type.defaultProps&&(i=e.type.defaultProps),_)o=="key"?l=_[o]:o=="ref"?r=_[o]:u[o]=_[o]===void 0&&i!==void 0?i[o]:_[o];return arguments.length>2&&(u.children=arguments.length>3?E.call(arguments,2):t),C(e.type,u,l||e.key,r||e.ref,null)}E=Q.slice,a={__e:function(e,_,t,l){for(var r,o,i;_=_.__;)if((r=_.__c)&&!r.__)try{if((o=r.constructor)&&o.getDerivedStateFromError!=null&&(r.setState(o.getDerivedStateFromError(e)),i=r.__d),r.componentDidCatch!=null&&(r.componentDidCatch(e,l||{}),i=r.__d),i)return r.__E=r}catch(u){e=u}throw e}},J=0,H.prototype.setState=function(e,_){var t;t=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=b({},this.state),typeof e=="function"&&(e=e(b({},t),this.props)),e&&b(t,e),e!=null&&this.__v&&(_&&this._sb.push(_),z(this))},H.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),z(this))},H.prototype.render=A,x=[],K=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,F=function(e,_){return e.__v.__b-_.__v.__b},N.__r=0;export{re as $,pe as E,fe as _,H as b,A as g,a as l,ue as q,ne as y};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as o,w as t,j as i}from"./index-
|
|
1
|
+
import{c as o,w as t,j as i}from"./index-cf61f7db.js";import{I as s}from"./iframe-6a308731.js";import{S as a}from"./studio-75f7cd30.js";import"./index-304ff849.js";import"./nav-menu-e5bda5b1.js";import"./ExpandMore-5e89e7bd.js";import"./Toolbar-63186941.js";import"./Hidden-4067f85a.js";import"./fallback-27e04c22.js";function h(){const r=new URLSearchParams;r.set("title","Preference Builder"),r.set("schemaKey",o(window.location.origin,t.WELLKNOWN_SERVICE_PATH_PREFIX,"/api/studio/preferences"));const e=`${o(window.location.origin,t.WELLKNOWN_SERVICE_PATH_PREFIX,"/hosted/form-builder/")}?${r.toString()}`;return i.jsx(a,{children:i.jsx(s,{url:e,width:"100%",height:"100%",frameBorder:0,styles:{border:0}})})}export{h as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{u as n,bE as l,O as c,j as o,ak as d,B as u}from"./index-cf61f7db.js";import h from"./index-752c69a0.js";import"./useSetState-49e815fe.js";import"./index-c78d61fc.js";import"./FilterList-7817f456.js";import"./TableRow-d12808ad.js";import"./Checkbox-92349aed.js";import"./FormControlLabel-a7fff241.js";import"./useFormControl-b7cc7d69.js";import"./FormControl-4556d3f8.js";import"./FormGroup-d856dc86.js";import"./InputLabel-b97f286b.js";import"./confirm-2f20e316.js";import"./DialogContentText-ef0138ce.js";import"./Alert-18856afa.js";import"./format-error-86f361f1.js";import"./Select-3544f27a.js";import"./TextField-3d8b540c.js";import"./index-a76e3a95.js";import"./LastPage-830dc7b7.js";import"./Toolbar-63186941.js";import"./index-894d7b33.js";import"./redux-8efd18d4.js";import"./toPropertyKey-d63e044c.js";import"./Grid-dcf85761.js";import"./Search-29f3b44d.js";import"./MoreVert-b4ec66e0.js";import"./did-address-deca4ec1.js";import"./ChevronRight-9d781657.js";import"./Avatar-6a058f2c.js";import"./session-2a0eb2cb.js";import"./InputAdornment-65e20722.js";import"./Download-ccbc24f3.js";import"./DeleteOutline-9e947dc9.js";import"./index-47788371.js";import"./index-997aa7a6.js";import"./ExpandMore-5e89e7bd.js";import"./OpenInNew-e91f9d7e.js";import"./api-71b66169.js";const i=new URL(window.location.href),r=i.searchParams.get("mode")==="dialog",g=r?"":i.searchParams.get("padding")||"";function to(){const{t:e}=n(),{componentDid:s}=l(),p=c(a=>a.breakpoints.down("md")),m=()=>{window.parent.postMessage({event:"resourceDialog.close",componentDid:s},"*")},t=o.jsx(h,{padding:g});return r?o.jsx(d,{className:"resource-dialog",title:e("blocklet.publish.createResource"),maxWidth:!1,fullWidth:!1,PaperProps:{style:p?{width:"100%",height:window.innerHeight}:{maxWidth:1350,minWidth:930,width:"80%"}},onClose:m,showCloseButton:!0,disableEscapeKeyDown:!0,open:!0,children:o.jsx(u,{sx:{height:"72vh",overflow:"auto",position:"relative"},children:t})}):t}export{to as default};
|