PageSourceSearch

https://mabanque.assets.fortuneo.fr/front-trading-inst-card-ui/f6c3c5ba/assets/2HLt5X9j.js

js fortuneo.fr collected 2026-09-24 17:22:44 UTC 4,872 bytes, 1 lines download raw bytes

1const P={};function I(c,i){let o;try{o=c()}catch{return}return{getItem:a=>{var e;const d=m=>m===null?null:JSON.parse(m,void 0),v=(e=o.getItem(a))!=null?e:null;return v instanceof Promise?v.then(d):d(v)},setItem:(a,e)=>o.setItem(a,JSON.stringify(e,void 0)),removeItem:a=>o.removeItem(a)}}const p=c=>i=>{try{const o=c(i);return o instanceof Promise?o:{then(s){return p(s)(o)},catch(s){return this}}}catch(o){return{then(s){return this},catch(s){return p(s)(o)}}}},j=(c,i)=>(o,s,a)=>{let e={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:r=>r,version:0,merge:(r,u)=>({...u,...r}),...i},d=!1;const v=new Set,m=new Set;let l;try{l=e.getStorage()}catch{}if(!l)return c((...r)=>{console.warn(`[zustand persist middleware] Unable to update item '${e.name}', the given storage is currently unavailable.`),o(...r)},s,a);const h=p(e.serialize),b=()=>{const r=e.partialize({...s()});let u;const t=h({state:r,version:e.version}).then(f=>l.setItem(e.name,f)).catch(f=>{u=f});if(u)throw u;return t},y=a.setState;a.setState=(r,u)=>{y(r,u),b()};const S=c((...r)=>{o(...r),b()},s,a);let g;const n=()=>{var r;if(!l)return;d=!1,v.forEach(t=>t(s()));const u=((r=e.onRehydrateStorage)==null?void 0:r.call(e,s()))||void 0;return p(l.getItem.bind(l))(e.name).then(t=>{if(t)return e.deserialize(t)}).then(t=>{if(t)if(typeof t.version=="number"&&t.version!==e.version){if(e.migrate)return e.migrate(t.state,t.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return t.state}).then(t=>{var f;return g=e.merge(t,(f=s())!=null?f:S),o(g,!0),b()}).then(()=>{u==null||u(g,void 0),d=!0,m.forEach(t=>t(g))}).catch(t=>{u==null||u(void 0,t)})};return a.persist={setOptions:r=>{e={...e,...r},r.getStorage&&(l=r.getStorage())},clearStorage:()=>{l==null||l.removeItem(e.name)},getOptions:()=>e,rehydrate:()=>n(),hasHydrated:()=>d,onHydrate:r=>(v.add(r),()=>{v.delete(r)}),onFinishHydration:r=>(m.add(r),()=>{m.delete(r)})},n(),g||S},z=(c,i)=>(o,s,a)=>{let e={storage:I(()=>localStorage),partialize:n=>n,version:0,merge:(n,r)=>({...r,...n}),...i},d=!1;const v=new Set,m=new Set;let l=e.storage;if(!l)return c((...n)=>{console.warn(`[zustand persist middleware] Unable to update item '${e.name}', the given storage is currently unavailable.`),o(...n)},s,a);const h=()=>{const n=e.partialize({...s()});return l.setItem(e.name,{state:n,version:e.version})},b=a.setState;a.setState=(n,r)=>{b(n,r),h()};const y=c((...n)=>{o(...n),h()},s,a);a.getInitialState=()=>y;let S;const g=()=>{var n,r;if(!l)return;d=!1,v.forEach(t=>{var f;return t((f=s())!=null?f:y)});const u=((r=e.onRehydrateStorage)==null?void 0:r.call(e,(n=s())!=null?n:y))||void 0;return p(l.getItem.bind(l))(e.name).then(t=>{if(t)if(typeof t.version=="number"&&t.version!==e.version){if(e.migrate)return[!0,e.migrate(t.state,t.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,t.state];return[!1,void 0]}).then(t=>{var f;const[H,R]=t;if(S=e.merge(R,(f=s())!=null?f:y),o(S,!0),H)return h()}).then(()=>{u==null||u(S,void 0),S=s(),d=!0,m.forEach(t=>t(S))}).catch(t=>{u==null||u(void 0,t)})};return a.persist={setOptions:n=>{e={...e,...n},n.storage&&(l=n.storage)},clearStorage:()=>{l==null||l.removeItem(e.name)},getOptions:()=>e,rehydrate:()=>g(),hasHydrated:()=>d,onHydrate:n=>(v.add(n),()=>{v.delete(n)}),onFinishHydration:n=>(m.add(n),()=>{m.delete(n)})},e.skipHydration||g(),S||y},F=(c,i)=>"getStorage"in i||"serialize"in i||"deserialize"in i?((P?"production":void 0)!=="production"&&console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),j(c,i)):z(c,i),E=F;var J={};const w=c=>{let i;const o=new Set,s=(d,v)=>{const m=typeof d=="function"?d(i):d;if(!Object.is(m,i)){const l=i;i=v??(typeof m!="object"||m===null)?m:Object.assign({},i,m),o.forEach(h=>h(i,l))}},a=()=>i,e={setState:s,getState:a,subscribe:d=>(o.add(d),()=>o.delete(d)),destroy:()=>{(J?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),o.clear()}};return i=c(s,a,e),e},_=c=>c?w(c):w,N=_(()=>({})),{getState:G,setState:L,subscribe:M}=N,C=_(E(()=>({}),{name:"front-store-lib",storage:I(()=>sessionStorage)})),{getState:O,setState:T,subscribe:k}=C,D=_(E(()=>({}),{name:"front-store-lib",storage:I(()=>localStorage)})),{getState:U,setState:A,subscribe:$}=D;export{C as SessionGlobalStore,G as getMemoryState,U as getPersistedState,O as getSessionState,N as memoryGlobalStore,D as persistedGlobalStore,L as setMemoryState,A as setPersistedState,T as setSessionState,M as subscribeMemory,$ as subscribePersisted,k as 
1subscribeSession};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.