{
  "version": 3,
  "sources": ["../../src/hooks/useLastConnectorId.ts"],
  "sourcesContent": ["import { create } from 'zustand';\n\ntype State = {\n  lastConnectorId?: string | null;\n};\n\ntype Actions = {\n  updateLastConnectorId: (id: string) => void;\n};\n\nconst initialState = typeof window !== 'undefined' ? localStorage.getItem('pcm-recent') : undefined;\n\nexport const useLastConnectorId = create<State & Actions>((set) => ({\n  lastConnectorId: initialState,\n  updateLastConnectorId: (value) => {\n    const id = value.replace('solana_', '');\n    localStorage.setItem('pcm-recent', id);\n    set({ lastConnectorId: id });\n  },\n}));\n"],
  "mappings": ";;;;;;AAAA,SAAS,cAAc;AAAvB,IAUM,cAEO;AAZb;AAAA;AAAA;AAUA,IAAM,eAAe,OAAO,WAAW,cAAc,aAAa,QAAQ,YAAY,IAAI;AAEnF,IAAM,qBAAqB,OAAwB,CAAC,SAAS;AAAA,MAClE,iBAAiB;AAAA,MACjB,uBAAuB,CAAC,UAAU;AAChC,cAAM,KAAK,MAAM,QAAQ,WAAW,EAAE;AACtC,qBAAa,QAAQ,cAAc,EAAE;AACrC,YAAI,EAAE,iBAAiB,GAAG,CAAC;AAAA,MAC7B;AAAA,IACF,EAAE;AAAA;AAAA;",
  "names": []
}
