Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/a0/6f17e2dd0e03d8b92588ad243d31a144a1833e0f2b636a5732d3abc3a348abb307fa7b
T
2025-10-24 02:40:54 +00:00

1 line
9.6 KiB
Plaintext

{"dependencies":[{"name":"nanoid/non-secure","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":21,"index":149},"end":{"line":4,"column":49,"index":177}}],"key":"JdWyQHWvvi7kws4n0MhZWUpiB2c=","exportNames":["*"]}}],"output":[{"data":{"code":"__d(function(g,r,_i,a,m,e,d){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.createMemoryHistory=function(){let n=0,i=[];const o=[],s=()=>{o.forEach(t=>{const n=t.cb;t.cb=()=>n(!0)})};return{get index(){const t=window.history.state?.id;if(t){const n=i.findIndex(n=>n.id===t);return n>-1?n:0}return 0},get:t=>i[t],backIndex({path:t}){for(let o=n-1;o>=0;o--){if(i[o].path===t)return o}return-1},push({path:o,state:c}){s();const w=(0,t.nanoid)();i=i.slice(0,n+1),i.push({path:o,state:c,id:w}),n=i.length-1,window.history.pushState({id:w},'',o)},replace({path:o,state:c}){s();const w=window.history.state?.id??(0,t.nanoid)();let h=o;const p=h.includes('#')?'':location.hash;!i.length||i.findIndex(t=>t.id===w)<0?(h+=p,i=[{path:h,state:c,id:w}],n=0):(i[n].path===o&&(h+=p),i[n]={path:o,state:c,id:w}),window.history.replaceState({id:w},'',h)},go(t){s();const c=n+t,w=i.length-1;if(t<0&&!i[c]?(t=-n,n=0):t>0&&c>w?(t=w-n,n=w):n=c,0!==t)return new Promise((s,c)=>{const w=t=>{if(clearTimeout(h),t)return void c(new Error('History was changed during navigation.'));const{title:n}=window.document;window.document.title='',window.document.title=n,s()};o.push({ref:w,cb:w});const h=setTimeout(()=>{const t=o.findIndex(t=>t.ref===w);t>-1&&(o[t].cb(),o.splice(t,1))},100),p=()=>{const t=window.history.state?.id,s=i.findIndex(n=>n.id===t);n=Math.max(s,0);const c=o.pop();window.removeEventListener('popstate',p),c?.cb()};window.addEventListener('popstate',p),window.history.go(t)})},listen(t){const n=()=>{o.length||t()};return window.addEventListener('popstate',n),()=>window.removeEventListener('popstate',n)}}};const t=r(d[0])});","lineCount":1,"map":[[1,29,1,0],[1,42,2,0,"Object"],[1,49,2,7,"defineProperty"],[1,64,2,22,"exports"],[1,66,2,31],[1,79,2,45],[1,80,2,47,"value"],[1,87,2,54],[1,91,3,0,"exports"],[1,93,3,8,"createMemoryHistory"],[1,113,5,0],[1,124,6,4],[1,128,6,8,"index"],[1,130,6,16],[1,132,7,8,"items"],[1,134,7,16],[1,137,10,4],[1,143,10,10,"pending"],[1,145,10,20],[1,148,11,10,"interrupt"],[1,150,11,22,"interrupt"],[1,155,15,8,"pending"],[1,157,15,16,"forEach"],[1,165,15,25,"it"],[1,169,16,12],[1,175,16,18,"cb"],[1,177,16,23,"it"],[1,179,16,26,"cb"],[1,182,17,12,"it"],[1,184,17,15,"cb"],[1,187,17,20],[1,191,17,26,"cb"],[1,194,17,29],[1,200,178,4],[1,206,20,20],[1,207,21,8],[1,216,21,12,"index"],[1,219,24,12],[1,225,24,18,"id"],[1,227,24,23,"window"],[1,234,24,30,"history"],[1,242,24,38,"state"],[1,249,24,45,"id"],[1,252,25,12],[1,255,25,16,"id"],[1,257,25,20],[1,258,26,16],[1,264,26,22,"index"],[1,266,26,30,"items"],[1,268,26,36,"findIndex"],[1,278,26,47,"item"],[1,281,26,56,"item"],[1,283,26,61,"id"],[1,288,26,68,"id"],[1,291,27,16],[1,298,27,23,"index"],[1,301,27,28],[1,303,27,36,"index"],[1,305,27,44],[1,306,28,12],[1,307,29,12],[1,314,29,19],[1,315,30,8],[1,317,31,8,"get"],[1,321,31,12,"index"],[1,324,32,19,"items"],[1,326,32,25,"index"],[1,329,34,8,"backIndex"],[1,340,34,18,"path"],[1,345,34,20,"path"],[1,349,36,12],[1,353,36,17],[1,357,36,21,"i"],[1,359,36,25,"index"],[1,361,36,33],[1,363,36,36,"i"],[1,366,36,41],[1,368,36,44,"i"],[1,372,36,49],[1,373,38,16],[1,376,37,29,"items"],[1,378,37,35,"i"],[1,381,38,25,"path"],[1,388,38,34,"path"],[1,390,39,20],[1,397,39,27,"i"],[1,398,41,12],[1,399,42,12],[1,407,43,8],[1,409,44,8,"push"],[1,415,44,13,"path"],[1,420,44,15,"path"],[1,422,44,19,"state"],[1,428,44,21,"state"],[1,432,45,12,"interrupt"],[1,436,46,12],[1,442,46,18,"id"],[1,445,46,23],[1,447,46,27,"non_secure_1"],[1,449,46,40,"nanoid"],[1,459,49,12,"items"],[1,461,49,20,"items"],[1,463,49,26,"slice"],[1,469,49,32],[1,471,49,35,"index"],[1,473,49,43],[1,476,50,12,"items"],[1,478,50,18,"push"],[1,483,50,23],[1,484,50,25,"path"],[1,491,50,31,"state"],[1,499,50,38,"id"],[1,506,51,12,"index"],[1,508,51,20,"items"],[1,510,51,26,"length"],[1,517,51,35],[1,519,56,12,"window"],[1,526,56,19,"history"],[1,534,56,27,"pushState"],[1,544,56,37],[1,545,56,39,"id"],[1,551,56,45],[1,554,56,49,"path"],[1,556,57,8],[1,558,58,8,"replace"],[1,567,58,16,"path"],[1,572,58,18,"path"],[1,574,58,22,"state"],[1,580,58,24,"state"],[1,584,59,12,"interrupt"],[1,588,60,12],[1,594,60,18,"id"],[1,596,60,23,"window"],[1,603,60,30,"history"],[1,611,60,38,"state"],[1,618,60,45,"id"],[1,623,60,51],[1,625,60,55,"non_secure_1"],[1,627,60,68,"nanoid"],[1,637,63,12],[1,641,63,16,"pathWithHash"],[1,643,63,31,"path"],[1,645,64,12],[1,651,64,18,"hash"],[1,653,64,25,"pathWithHash"],[1,655,64,38,"includes"],[1,664,64,47],[1,669,64,54],[1,672,64,59,"location"],[1,681,64,68,"hash"],[1,687,65,17,"items"],[1,689,65,23,"length"],[1,697,65,33,"items"],[1,699,65,39,"findIndex"],[1,709,65,50,"item"],[1,712,65,59,"item"],[1,714,65,64,"id"],[1,719,65,71,"id"],[1,722,65,77],[1,725,72,16,"pathWithHash"],[1,728,72,46,"hash"],[1,730,73,16,"items"],[1,732,73,24],[1,733,73,25],[1,734,73,27,"path"],[1,739,73,33,"pathWithHash"],[1,741,73,47,"state"],[1,749,73,54,"id"],[1,756,74,16,"index"],[1,758,74,24],[1,762,77,20,"items"],[1,764,77,26,"index"],[1,767,77,33,"path"],[1,774,77,42,"path"],[1,778,78,20,"pathWithHash"],[1,781,78,50,"hash"],[1,784,80,16,"items"],[1,786,80,22,"index"],[1,789,80,31],[1,790,80,33,"path"],[1,797,80,39,"state"],[1,805,80,46,"id"],[1,812,82,12,"window"],[1,819,82,19,"history"],[1,827,82,27,"replaceState"],[1,840,82,40],[1,841,82,42,"id"],[1,847,82,48],[1,850,82,52,"pathWithHash"],[1,852,83,8],[1,854,89,8,"go"],[1,857,89,11,"n"],[1,860,90,12,"interrupt"],[1,864,93,12],[1,870,93,18,"nextIndex"],[1,872,93,30,"index"],[1,874,93,38,"n"],[1,876,94,18,"lastItemIndex"],[1,878,94,34,"items"],[1,880,94,40,"length"],[1,887,94,49],[1,889,108,12],[1,892,95,16,"n"],[1,894,95,20],[1,898,95,26,"items"],[1,900,95,32,"nextIndex"],[1,904,97,16,"n"],[1,907,97,21,"index"],[1,909,98,16,"index"],[1,911,98,24],[1,914,100,21,"n"],[1,916,100,25],[1,919,100,30,"nextIndex"],[1,921,100,42,"lastItemIndex"],[1,924,102,16,"n"],[1,926,102,20,"lastItemIndex"],[1,928,102,36,"index"],[1,930,103,16,"index"],[1,932,103,24,"lastItemIndex"],[1,935,106,16,"index"],[1,937,106,24,"nextIndex"],[1,939,108,22],[1,943,108,16,"n"],[1,945,116,12],[1,952,116,19],[1,956,116,23,"Promise"],[1,964,116,31],[1,965,116,32,"resolve"],[1,967,116,41,"reject"],[1,972,117,16],[1,978,117,22,"done"],[1,980,117,30,"interrupted"],[1,984,119,20],[1,987,118,20,"clearTimeout"],[1,1000,118,33,"timer"],[1,1003,119,24,"interrupted"],[1,1005,121,24],[1,1017,120,24,"reject"],[1,1019,120,31],[1,1023,120,35,"Error"],[1,1029,120,41],[1,1072,131,20],[1,1078,131,26,"title"],[1,1084,131,28,"title"],[1,1087,131,38,"window"],[1,1094,131,45,"document"],[1,1103,132,20,"window"],[1,1110,132,27,"document"],[1,1119,132,36,"title"],[1,1125,132,44],[1,1128,133,20,"window"],[1,1135,133,27,"document"],[1,1144,133,36,"title"],[1,1150,133,44,"title"],[1,1152,134,20,"resolve"],[1,1157,136,16,"pending"],[1,1159,136,24,"push"],[1,1164,136,29],[1,1165,136,31,"ref"],[1,1169,136,36,"done"],[1,1171,136,42,"cb"],[1,1174,136,46,"done"],[1,1178,142,16],[1,1184,142,22,"timer"],[1,1186,142,30,"setTimeout"],[1,1197,142,41],[1,1202,143,20],[1,1208,143,26,"index"],[1,1210,143,34,"pending"],[1,1212,143,42,"findIndex"],[1,1222,143,53,"it"],[1,1225,143,60,"it"],[1,1227,143,63,"ref"],[1,1233,143,71,"done"],[1,1236,144,24,"index"],[1,1239,144,29],[1,1243,145,24,"pending"],[1,1245,145,32,"index"],[1,1248,145,39,"cb"],[1,1253,146,24,"pending"],[1,1255,146,32,"splice"],[1,1262,146,39,"index"],[1,1264,146,46],[1,1269,148,19],[1,1274,149,22,"onPopState"],[1,1276,149,35,"onPopState"],[1,1281,150,20],[1,1287,150,26,"id"],[1,1289,150,31,"window"],[1,1296,150,38,"history"],[1,1304,150,46,"state"],[1,1311,150,53,"id"],[1,1314,151,26,"currentIndex"],[1,1316,151,41,"items"],[1,1318,151,47,"findIndex"],[1,1328,151,58,"item"],[1,1331,151,67,"item"],[1,1333,151,72,"id"],[1,1338,151,79,"id"],[1,1341,154,20,"index"],[1,1343,154,28,"Math"],[1,1348,154,33,"max"],[1,1352,154,37,"currentIndex"],[1,1354,154,51],[1,1357,155,20],[1,1363,155,26,"last"],[1,1365,155,33,"pending"],[1,1367,155,41,"pop"],[1,1373,156,20,"window"],[1,1380,156,27,"removeEventListener"],[1,1400,156,47],[1,1411,156,59,"onPopState"],[1,1414,157,20,"last"],[1,1417,157,26,"cb"],[1,1423,159,16,"window"],[1,1430,159,23,"addEventListener"],[1,1447,159,40],[1,1458,159,52,"onPopState"],[1,1461,160,16,"window"],[1,1468,160,23,"history"],[1,1476,160,31,"go"],[1,1479,160,34,"n"],[1,1483,162,8],[1,1485,166,8,"listen"],[1,1492,166,15,"listener"],[1,1495,167,12],[1,1501,167,18,"onPopState"],[1,1503,167,31,"onPopState"],[1,1508,168,20,"pending"],[1,1510,168,28,"length"],[1,1518,172,16,"listener"],[1,1523,175,12],[1,1530,174,12,"window"],[1,1537,174,19,"addEventListener"],[1,1554,174,36],[1,1565,174,48,"onPopState"],[1,1568,175,19],[1,1572,175,25,"window"],[1,1579,175,32,"removeEventListener"],[1,1599,175,52],[1,1610,175,64,"onPopState"],[1,1612,176,8],[1,1614,179,0],[1,1616,4,0],[1,1622,4,6,"non_secure_1"],[1,1624,4,21,"require"],[1,1626,4,28,"d"],[1,1628,4,28],[1,1631,179,1],[1,1634]],"functionMap":{"names":["<global>","createMemoryHistory","interrupt","pending.forEach$argument_0","it.cb","history.get__index","items.findIndex$argument_0","history.get","history.backIndex","history.push","history.replace","history.go","Promise$argument_0","done","setTimeout$argument_0","pending.findIndex$argument_0","onPopState","history.listen","<anonymous>"],"mappings":"AAA;ACI;sBCM;wBCI;oBCE,cD;SDC;KDC;QIE;8CCK,wBD;SJI;QMC;SNE;QOC;SPS;QQC;SRa;QSC;iDJO,wBI;STkB;QUM;+BC2B;6BCC;iBDkB;yCEO;oDCC,uBD;iBFK;mCIC;yDVE,wBU;iBJO;aDG;SVC;QgBI;+BDC;aCM;mBCE,wDD;ShBC;CDG"}},"type":"js/module"}]}