{"dependencies":[{"name":"nanoid/non-secure","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":15},"end":{"line":3,"column":43,"index":58}}],"key":"SN8WVal79eAEDQEpzmVqVAy5JJs=","exportNames":["*"]}},{"name":"./TabRouter.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":4,"column":0,"index":59},"end":{"line":4,"column":55,"index":114}}],"key":"jC/Bg2g+cpTuZwE6Bq9LoiYVdNc=","exportNames":["*"]}}],"output":[{"data":{"code":"__d(function(g,r,i,a,m,e,d){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.DrawerActions=void 0,e.DrawerRouter=function({defaultStatus:n=\"closed\",...u}){const c=(0,o.TabRouter)(u),y=t=>Boolean(t.history?.some(t=>'drawer'===t.type)),l=t=>y(t)?t:{...t,history:[...t.history,{type:'drawer',status:'open'===n?'closed':'open'}]},A=t=>y(t)?{...t,history:t.history.filter(t=>'drawer'!==t.type)}:t,R=t=>'open'===n?A(t):l(t),E=t=>'open'===n?l(t):A(t);return{...c,type:'drawer',getInitialState:({routeNames:o,routeParamList:s,routeGetIdList:u})=>({...c.getInitialState({routeNames:o,routeParamList:s,routeGetIdList:u}),default:n,stale:!1,type:'drawer',key:`drawer-${(0,t.nanoid)()}`}),getRehydratedState(o,{routeNames:s,routeParamList:u,routeGetIdList:R}){if(!1===o.stale)return o;let E=c.getRehydratedState(o,{routeNames:s,routeParamList:u,routeGetIdList:R});return y(o)&&(E=A(E),E=l(E)),{...E,default:n,type:'drawer',key:`drawer-${(0,t.nanoid)()}`}},getStateForRouteFocus(t,o){const s=c.getStateForRouteFocus(t,o);return E(s)},getStateForAction(t,o,s){switch(o.type){case'OPEN_DRAWER':return R(t);case'CLOSE_DRAWER':return E(t);case'TOGGLE_DRAWER':return y(t)?A(t):l(t);case'JUMP_TO':case'NAVIGATE':case'NAVIGATE_DEPRECATED':{const n=c.getStateForAction(t,o,s);return null!=n&&n.index!==t.index?E(n):n}case'GO_BACK':return y(t)?A(t):c.getStateForAction(t,o,s);default:return c.getStateForAction(t,o,s)}},actionCreators:s}};var t=r(d[0]),o=r(d[1]);const s=e.DrawerActions={...o.TabActions,openDrawer:()=>({type:'OPEN_DRAWER'}),closeDrawer:()=>({type:'CLOSE_DRAWER'}),toggleDrawer:()=>({type:'TOGGLE_DRAWER'})}});","lineCount":1,"map":[[1,28,1,0],[1,41,1,13,"Object"],[1,48,1,13,"defineProperty"],[1,63,1,13,"e"],[1,65,1,13],[1,79,1,13,"value"],[1,86,1,13],[1,90,1,13,"e"],[1,92,1,13,"DrawerActions"],[1,111,1,13,"undefined"],[1,113,1,13,"e"],[1,115,1,13,"DrawerRouter"],[1,128,23,7],[1,138,23,29,"defaultStatus"],[1,152,24,2,"defaultStatus"],[1,154,24,18],[1,166,25,5,"rest"],[1,170,27,2],[1,176,27,8,"router"],[1,179,27,17],[1,181,27,17,"TabRouter"],[1,194,27,27,"rest"],[1,197,28,8,"isDrawerInHistory"],[1,199,28,28,"state"],[1,202,28,37,"Boolean"],[1,210,28,45,"state"],[1,212,28,51,"history"],[1,221,28,60,"some"],[1,226,28,65,"it"],[1,229,28,83],[1,240,28,71,"it"],[1,242,28,74,"type"],[1,249,29,8,"addDrawerToHistory"],[1,251,29,29,"state"],[1,254,30,8,"isDrawerInHistory"],[1,256,30,26,"state"],[1,259,31,13,"state"],[1,261,33,11],[1,265,34,9,"state"],[1,267,35,6,"history"],[1,275,35,15],[1,279,35,19,"state"],[1,281,35,25,"history"],[1,289,35,34],[1,290,36,8,"type"],[1,295,36,14],[1,304,37,8,"status"],[1,311,37,34],[1,320,37,16,"defaultStatus"],[1,322,37,43],[1,331,37,54],[1,341,41,8,"removeDrawerFromHistory"],[1,343,41,34,"state"],[1,346,42,9,"isDrawerInHistory"],[1,348,42,27,"state"],[1,351,45,11],[1,355,46,9,"state"],[1,357,47,6,"history"],[1,365,47,15,"state"],[1,367,47,21,"history"],[1,375,47,29,"filter"],[1,382,47,36,"it"],[1,385,47,54],[1,396,47,42,"it"],[1,398,47,45,"type"],[1,405,43,13,"state"],[1,407,50,8,"openDrawer"],[1,409,50,21,"state"],[1,412,51,26],[1,421,51,8,"defaultStatus"],[1,423,52,13,"removeDrawerFromHistory"],[1,425,52,37,"state"],[1,428,54,11,"addDrawerToHistory"],[1,430,54,30,"state"],[1,433,56,8,"closeDrawer"],[1,435,56,22,"state"],[1,438,57,26],[1,447,57,8,"defaultStatus"],[1,449,58,13,"addDrawerToHistory"],[1,451,58,32,"state"],[1,454,60,11,"removeDrawerFromHistory"],[1,456,60,35,"state"],[1,459,62,2],[1,465,62,9],[1,469,63,7,"router"],[1,471,64,4,"type"],[1,476,64,10],[1,485,65,4,"getInitialState"],[1,501,65,19,"getInitialState"],[1,503,65,20,"routeNames"],[1,514,66,6,"routeNames"],[1,516,66,16,"routeParamList"],[1,531,67,6,"routeParamList"],[1,533,67,20,"routeGetIdList"],[1,548,68,6,"routeGetIdList"],[1,554,75,13],[1,558,70,20,"router"],[1,560,70,27,"getInitialState"],[1,576,70,43],[1,577,71,8,"routeNames"],[1,590,72,8,"routeParamList"],[1,607,73,8,"routeGetIdList"],[1,626,77,8,"default"],[1,634,77,17,"defaultStatus"],[1,636,78,8,"stale"],[1,643,78,15],[1,645,79,8,"type"],[1,650,79,14],[1,659,80,8,"key"],[1,663,80,13],[1,674,80,23],[1,676,80,23,"nanoid"],[1,692,83,4,"getRehydratedState"],[1,711,83,23,"partialState"],[1,714,83,37,"routeNames"],[1,725,84,6,"routeNames"],[1,727,84,16,"routeParamList"],[1,742,85,6,"routeParamList"],[1,744,85,20,"routeGetIdList"],[1,759,86,6,"routeGetIdList"],[1,763,88,6],[1,767,88,33],[1,771,88,10,"partialState"],[1,773,88,23,"stale"],[1,779,89,8],[1,786,89,15,"partialState"],[1,788,91,6],[1,792,91,10,"state"],[1,794,91,18,"router"],[1,796,91,25,"getRehydratedState"],[1,815,91,44,"partialState"],[1,817,91,58],[1,818,92,8,"routeNames"],[1,831,93,8,"routeParamList"],[1,848,94,8,"routeGetIdList"],[1,867,101,6],[1,874,96,10,"isDrawerInHistory"],[1,876,96,28,"partialState"],[1,881,98,8,"state"],[1,883,98,16,"removeDrawerFromHistory"],[1,885,98,40,"state"],[1,888,99,8,"state"],[1,890,99,16,"addDrawerToHistory"],[1,892,99,35,"state"],[1,896,101,13],[1,900,102,11,"state"],[1,902,103,8,"default"],[1,910,103,17,"defaultStatus"],[1,912,104,8,"type"],[1,917,104,14],[1,926,105,8,"key"],[1,930,105,13],[1,941,105,23],[1,943,105,23,"nanoid"],[1,957,107,4],[1,959,108,4,"getStateForRouteFocus"],[1,981,108,26,"state"],[1,983,108,33,"key"],[1,986,109,6],[1,992,109,12,"result"],[1,994,109,21,"router"],[1,996,109,28,"getStateForRouteFocus"],[1,1018,109,50,"state"],[1,1020,109,57,"key"],[1,1023,110,6],[1,1030,110,13,"closeDrawer"],[1,1032,110,25,"result"],[1,1034,111,4],[1,1036,112,4,"getStateForAction"],[1,1054,112,22,"state"],[1,1056,112,29,"action"],[1,1058,112,37,"options"],[1,1061,113,6],[1,1068,113,14,"action"],[1,1070,113,21,"type"],[1,1076,114,8],[1,1080,114,13],[1,1094,115,10],[1,1101,115,17,"openDrawer"],[1,1103,115,28,"state"],[1,1106,116,8],[1,1110,116,13],[1,1125,117,10],[1,1132,117,17,"closeDrawer"],[1,1134,117,29,"state"],[1,1137,118,8],[1,1141,118,13],[1,1157,119,10],[1,1164,119,14,"isDrawerInHistory"],[1,1166,119,32,"state"],[1,1169,120,19,"removeDrawerFromHistory"],[1,1171,120,43,"state"],[1,1174,122,17,"addDrawerToHistory"],[1,1176,122,36,"state"],[1,1179,123,8],[1,1183,123,13],[1,1193,124,8],[1,1197,124,13],[1,1208,125,8],[1,1212,125,13],[1,1234,126,10],[1,1235,127,12],[1,1241,127,18,"result"],[1,1243,127,27,"router"],[1,1245,127,34,"getStateForAction"],[1,1263,127,52,"state"],[1,1265,127,59,"action"],[1,1267,127,67,"options"],[1,1270,128,12],[1,1277,128,26],[1,1283,128,16,"result"],[1,1286,128,34,"result"],[1,1288,128,41,"index"],[1,1296,128,51,"state"],[1,1298,128,57,"index"],[1,1304,129,21,"closeDrawer"],[1,1306,129,33,"result"],[1,1309,131,19,"result"],[1,1310,132,10],[1,1311,133,8],[1,1315,133,13],[1,1325,134,10],[1,1332,134,14,"isDrawerInHistory"],[1,1334,134,32,"state"],[1,1337,135,19,"removeDrawerFromHistory"],[1,1339,135,43,"state"],[1,1342,137,17,"router"],[1,1344,137,24,"getStateForAction"],[1,1362,137,42,"state"],[1,1364,137,49,"action"],[1,1366,137,57,"options"],[1,1369,138,8],[1,1377,139,10],[1,1384,139,17,"router"],[1,1386,139,24,"getStateForAction"],[1,1404,139,42,"state"],[1,1406,139,49,"action"],[1,1408,139,57,"options"],[1,1411,141,4],[1,1413,142,4,"actionCreators"],[1,1428,142,20,"DrawerActions"],[1,1430,144,0],[1,1432,3,0],[1,1436,3,0,"_nonSecure"],[1,1438,3,0,"r"],[1,1440,3,0,"d"],[1,1442,3,0],[1,1446,4,0,"_TabRouter"],[1,1448,4,0,"r"],[1,1450,4,0,"d"],[1,1452,4,0],[1,1456,5,7],[1,1462,5,13,"DrawerActions"],[1,1464,5,26,"e"],[1,1466,5,26,"DrawerActions"],[1,1480,5,29],[1,1484,6,5,"TabActions"],[1,1497,7,2,"openDrawer"],[1,1508,7,12,"openDrawer"],[1,1513,8,11],[1,1514,9,6,"type"],[1,1519,9,12],[1,1535,12,2,"closeDrawer"],[1,1547,12,13,"closeDrawer"],[1,1552,13,11],[1,1553,14,6,"type"],[1,1558,14,12],[1,1575,17,2,"toggleDrawer"],[1,1588,17,14,"toggleDrawer"],[1,1593,18,11],[1,1594,19,6,"type"],[1,1599,19,12],[1,1617,144,1],[1,1620]],"functionMap":{"names":["","DrawerActions.openDrawer","DrawerActions.closeDrawer","DrawerActions.toggleDrawer","DrawerRouter","isDrawerInHistory","state.history.some$argument_0","addDrawerToHistory","removeDrawerFromHistory","state.history.filter$argument_0","openDrawer","closeDrawer","getInitialState","getRehydratedState","getStateForRouteFocus","getStateForAction"],"mappings":"AAA;ECM;GDI;EEC;GFI;EGC;GHI;OIE;4BCK,qCC,0BD,ED;6BGC;GHW;kCIC;oCCM,0BD;GJE;qBMC;GNK;sBOC;GPK;IQI;KRiB;ISC;KTwB;IUC;KVG;IWC;KX6B;CJG"}},"type":"js/module"}]}