/**!
 * IMPORTANT NOTE:
 *    This file is licensed only for use in providing the iCloud
 *    service or any part thereof, and is subject to the iCloud
 *    Terms and Conditions. You may not port this file to another
 *    platform without Apple's written consent.
 *
 *    Portions of this Apple Software may utilize copyrighted material under open source licenses.
 *    Please see the file at https://www.icloud.com/system/icloud.com/2608Build39/en-us/acknowledgements.txt for licensing information.
 */
!function(e){const t="object"==typeof globalThis&&globalThis||"object"==typeof window&&window||"object"==typeof self&&self;try{const{performance:o,Promise:n,MessageChannel:s,requestAnimationFrame:r}=t;if(!(o&&o.mark&&n&&s&&r))return;const a=t=>o.mark("chunk-"+e+"-"+t);let c=!1,f=!1,i=n.resolve();a("exec-start");for(let e=0;e<5;e++)i=i.then();i.then((()=>{a("exec-sync-end")}));if("undefined"!=typeof window){let e=()=>{c&&!f&&(a("after-paint"),f=!0)},t=new s;t.port1.onmessage=e,t.port2.postMessage(null),setTimeout(e),r((()=>{c=!0,a("raf"),t.port2.postMessage(null),setTimeout(e)}))}}catch(e){t.__jsPerformanceMarksError=e}}("vendors~RootComponentRoute");(window["__LOADABLE_LOADED_CHUNKS__"] = window["__LOADABLE_LOADED_CHUNKS__"] || []).push([[6],{

/***/ 1600:
/*!***********************************************************************!*\
  !*** /workspace/node_modules/@apple/symbols/bold/arrow.clockwise.svg ***!
  \***********************************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 870);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _apple_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @apple/symbols */ 1260);


/* harmony default export */ __webpack_exports__["a"] = (function (props) {
  return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_apple_symbols__WEBPACK_IMPORTED_MODULE_1__[/* SVGComponent */ "a"], { originalProps: props, metadata: {"name":"arrow.clockwise","svgPath":"M8.74023-31.8848C8.74023-7.27539 28.6133 12.5977 53.1738 12.5977C77.7832 12.5977 97.6074-7.27539 97.6074-31.8848C97.6074-35.6934 94.9707-38.3301 91.2598-38.3301C87.5977-38.3301 85.1074-35.6934 85.1074-31.8848C85.1074-14.2578 70.8496 0 53.1738 0C35.498 0 21.3379-14.2578 21.3379-31.8848C21.3379-49.9023 35.1562-64.0137 52.7832-64.0137C55.0781-64.0137 57.1777-63.8672 59.0332-63.5254L48.0469-52.6367C46.9727-51.5625 46.2891-50.293 46.2891-48.584C46.2891-45.166 48.9746-42.4805 52.3926-42.4805C54.1016-42.4805 55.5176-43.0664 56.6406-44.1406L76.5625-64.3555C77.8809-65.6738 78.5156-67.1387 78.5156-68.8965C78.5156-70.6055 77.832-72.2168 76.5625-73.4375L56.6406-93.75C55.5176-94.9219 54.1016-95.5566 52.3926-95.5566C48.9746-95.5566 46.2891-92.7734 46.2891-89.3066C46.2891-87.5977 46.9727-86.3281 47.998-85.2051L57.7148-75.6836C56.25-75.9277 54.4922-76.123 52.7832-76.123C28.2715-76.123 8.74023-56.543 8.74023-31.8848Z","layoutBox":{"viewBox":"0 0 268.0201416015625 158.116943359375","width":268.0201416015625,"height":158.116943359375,"translateX":82.13001708984393,"translateY":114.2884521484375,"baseline":114.2884521484375,"capline":43.8284912109375},"glyphBox":{"viewBox":"0 0 91.454833984375 120.6533203125","width":91.454833984375,"height":120.6533203125,"translateX":-6.152636718749818,"translateY":95.556640625,"baseline":95.556640625,"capline":25.0966796875}}});
});

/***/ }),

/***/ 1604:
/*!**********************************************************************!*\
  !*** /workspace/node_modules/@apple/symbols/regular/hand.raised.svg ***!
  \**********************************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 870);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _apple_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @apple/symbols */ 1260);


/* harmony default export */ __webpack_exports__["a"] = (function (props) {
  return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_apple_symbols__WEBPACK_IMPORTED_MODULE_1__[/* SVGComponent */ "a"], { originalProps: props, metadata: {"name":"hand.raised","svgPath":"M57.5684 15.4785C74.707 15.4785 86.8164 6.20117 93.3105-12.1094L101.904-36.2793C102.49-37.9395 102.783-39.5508 102.783-41.0156C102.783-46.1914 98.877-49.8047 93.8965-49.8047C90.5273-49.8047 87.5-47.8027 85.8398-43.9453L82.666-36.1328C82.5684-35.9375 82.4219-35.791 82.2266-35.791C81.9824-35.791 81.8848-35.9863 81.8848-36.2305L81.8848-75.3906C81.8848-81.1035 78.3203-84.7168 72.8516-84.7168C70.8496-84.7168 69.043-83.9844 67.6758-82.7148C67.041-87.7441 63.8184-90.8203 58.9844-90.8203C54.248-90.8203 50.9277-87.6465 50.1953-82.8125C48.9746-84.0332 47.2168-84.7168 45.459-84.7168C40.3809-84.7168 37.0117-81.1523 37.0117-75.7324L37.0117-70.3125C35.6934-71.6797 33.6914-72.4121 31.6406-72.4121C26.5625-72.4121 23.0469-68.7012 23.0469-63.1836L23.0469-21.2402C23.0469 1.61133 36.9141 15.4785 57.5684 15.4785ZM57.3242 8.74023C40.0391 8.74023 29.4922-2.39258 29.4922-22.0215L29.4922-62.5C29.4922-64.5996 30.8105-66.0156 32.8613-66.0156C34.8633-66.0156 36.3281-64.5996 36.3281-62.5L36.3281-37.5488C36.3281-35.7422 37.793-34.5215 39.3555-34.5215C41.0156-34.5215 42.5293-35.7422 42.5293-37.5488L42.5293-74.8535C42.5293-76.9531 43.8477-78.418 45.8496-78.418C47.9004-78.418 49.3164-76.9531 49.3164-74.8535L49.3164-40.0391C49.3164-38.2324 50.7812-37.0117 52.3926-37.0117C54.0527-37.0117 55.5176-38.2324 55.5176-40.0391L55.5176-80.9082C55.5176-83.0078 56.9336-84.5215 58.9844-84.5215C60.9375-84.5215 62.3535-83.0078 62.3535-80.9082L62.3535-40.0391C62.3535-38.3301 63.7207-37.0117 65.4297-37.0117C67.0898-37.0117 68.5547-38.3301 68.5547-40.0391L68.5547-74.8535C68.5547-76.9531 69.9707-78.418 71.9727-78.418C73.9746-78.418 75.3906-76.9531 75.3906-74.8535L75.3906-26.8066C75.3906-24.3652 76.8066-22.9492 78.8574-22.9492C80.6152-22.9492 82.0801-23.7305 83.2031-26.1719L90.2344-41.8457C91.1621-43.9453 92.9688-44.6777 94.6777-44.043C96.582-43.3594 97.168-41.5527 96.2891-39.1602L87.3535-14.209C81.3965 2.44141 70.9473 8.74023 57.3242 8.74023Z","layoutBox":{"viewBox":"0 0 268.0201416015625 158.116943359375","width":268.0201416015625,"height":158.116943359375,"translateX":74.90510009765626,"translateY":114.2884521484375,"baseline":114.2884521484375,"capline":43.8284912109375},"glyphBox":{"viewBox":"0 0 87.35595703125 111.1806640625","width":87.35595703125,"height":111.1806640625,"translateX":-15.426992187499991,"translateY":90.8203125,"baseline":90.8203125,"capline":20.3603515625}}});
});

/***/ }),

/***/ 1606:
/*!****************************************************************!*\
  !*** /workspace/node_modules/@apple/symbols/regular/minus.svg ***!
  \****************************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 870);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _apple_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @apple/symbols */ 1260);


/* harmony default export */ __webpack_exports__["a"] = (function (props) {
  return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_apple_symbols__WEBPACK_IMPORTED_MODULE_1__[/* SVGComponent */ "a"], { originalProps: props, metadata: {"name":"minus","svgPath":"M16.7969-30.8105L88.6719-30.8105C91.0156-30.8105 93.0176-32.8125 93.0176-35.2051C93.0176-37.5977 91.0156-39.5508 88.6719-39.5508L16.7969-39.5508C14.4531-39.5508 12.4512-37.5977 12.4512-35.2051C12.4512-32.8125 14.4531-30.8105 16.7969-30.8105Z","layoutBox":{"viewBox":"0 0 268.0201416015625 158.116943359375","width":268.0201416015625,"height":158.116943359375,"translateX":81.27510009765615,"translateY":114.2884521484375,"baseline":114.2884521484375,"capline":43.8284912109375},"glyphBox":{"viewBox":"0 0 80.567626953125 8.8388671875","width":80.567626953125,"height":8.8388671875,"translateX":-12.4511572265626,"translateY":39.6494140625,"baseline":39.6494140625,"capline":-30.810546875}}});
});

/***/ }),

/***/ 1607:
/*!***************************************************************!*\
  !*** /workspace/node_modules/@apple/symbols/regular/plus.svg ***!
  \***************************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 870);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _apple_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @apple/symbols */ 1260);


/* harmony default export */ __webpack_exports__["a"] = (function (props) {
  return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_apple_symbols__WEBPACK_IMPORTED_MODULE_1__[/* SVGComponent */ "a"], { originalProps: props, metadata: {"name":"plus","svgPath":"M12.4512-35.2539C12.4512-32.8613 14.4531-30.9082 16.7969-30.9082L48.3887-30.9082L48.3887 0.683594C48.3887 3.02734 50.3418 5.0293 52.7344 5.0293C55.127 5.0293 57.1289 3.02734 57.1289 0.683594L57.1289-30.9082L88.6719-30.9082C91.0156-30.9082 93.0176-32.8613 93.0176-35.2539C93.0176-37.6465 91.0156-39.6484 88.6719-39.6484L57.1289-39.6484L57.1289-71.1914C57.1289-73.5352 55.127-75.5371 52.7344-75.5371C50.3418-75.5371 48.3887-73.5352 48.3887-71.1914L48.3887-39.6484L16.7969-39.6484C14.4531-39.6484 12.4512-37.6465 12.4512-35.2539Z","layoutBox":{"viewBox":"0 0 268.0201416015625 158.116943359375","width":268.0201416015625,"height":158.116943359375,"translateX":81.27510009765615,"translateY":114.2884521484375,"baseline":114.2884521484375,"capline":43.8284912109375},"glyphBox":{"viewBox":"0 0 80.567626953125 80.6142578125","width":80.567626953125,"height":80.6142578125,"translateX":-12.4511572265626,"translateY":75.537109375,"baseline":75.537109375,"capline":5.0771484375}}});
});

/***/ }),

/***/ 1608:
/*!**********************************************************************!*\
  !*** /workspace/node_modules/@apple/symbols/regular/rotate.left.svg ***!
  \**********************************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 870);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _apple_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @apple/symbols */ 1260);


/* harmony default export */ __webpack_exports__["a"] = (function (props) {
  return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_apple_symbols__WEBPACK_IMPORTED_MODULE_1__[/* SVGComponent */ "a"], { originalProps: props, metadata: {"name":"rotate.left","svgPath":"M107.227-54.2969C108.887-54.2969 110.303-55.6641 110.303-57.3242L110.303-64.6484C110.303-78.6133 100.977-88.0371 86.9629-88.0371L85.9375-88.0371L85.9375-94.4824C85.9375-98.0957 83.2031-98.877 80.4688-96.875L68.1641-87.8418C66.1133-86.2793 66.0645-84.5703 68.1641-83.0566L80.4688-74.0723C83.2031-72.0703 85.9375-72.9004 85.9375-76.416L85.9375-82.373L86.9141-82.373C97.5098-82.373 104.199-75.0488 104.199-64.5996L104.199-57.3242C104.199-55.6641 105.566-54.2969 107.227-54.2969ZM25 9.76562L73.3887 9.76562C81.7383 9.76562 85.9375 5.76172 85.9375-2.7832L85.9375-51.0742C85.9375-59.6191 81.7383-63.623 73.3887-63.623L25-63.623C16.6504-63.623 12.4512-59.6191 12.4512-51.0742L12.4512-2.7832C12.4512 5.76172 16.6504 9.76562 25 9.76562ZM25.1465 1.9043C21.8262 1.9043 20.3125 0.537109 20.3125-2.88086L20.3125-50.9277C20.3125-54.3945 21.8262-55.7617 25.1465-55.7617L73.2422-55.7617C76.6113-55.7617 78.0762-54.3945 78.0762-50.9277L78.0762-2.88086C78.0762 0.537109 76.6113 1.9043 73.2422 1.9043Z","layoutBox":{"viewBox":"0 0 268.0201416015625 158.116943359375","width":268.0201416015625,"height":158.116943359375,"translateX":84.81503906250009,"translateY":114.2884521484375,"baseline":114.2884521484375,"capline":43.8284912109375},"glyphBox":{"viewBox":"0 0 122.2159423828125 125.445556640625","width":122.2159423828125,"height":125.445556640625,"translateX":11.912939453125091,"translateY":97.9527587890625,"baseline":97.9527587890625,"capline":27.4927978515625}}});
});

/***/ }),

/***/ 1609:
/*!*******************************************************************!*\
  !*** /workspace/node_modules/@apple/symbols/regular/envelope.svg ***!
  \*******************************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 870);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _apple_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @apple/symbols */ 1260);


/* harmony default export */ __webpack_exports__["a"] = (function (props) {
  return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_apple_symbols__WEBPACK_IMPORTED_MODULE_1__[/* SVGComponent */ "a"], { originalProps: props, metadata: {"name":"envelope","svgPath":"M27.7832 6.88477L106.396 6.88477C115.186 6.88477 120.264 1.80664 120.264-8.25195L120.264-62.1582C120.264-72.168 115.137-77.2461 104.932-77.2461L26.3184-77.2461C17.5293-77.2461 12.4512-72.2168 12.4512-62.1582L12.4512-8.25195C12.4512 1.85547 17.5781 6.88477 27.7832 6.88477ZM60.5469-32.7148L23.6816-69.0918C24.7559-69.5312 26.0254-69.7754 27.4902-69.7754L105.225-69.7754C106.738-69.7754 108.057-69.5312 109.131-69.043L72.3633-32.7148C70.2637-30.6152 68.3594-29.6875 66.4551-29.6875C64.502-29.6875 62.5977-30.6641 60.5469-32.7148ZM19.9219-8.25195L19.9219-62.1582C19.9219-62.5488 19.9219-62.3535 19.9219-62.6953L47.998-35.1074L19.9707-7.42188C19.9219-7.66602 19.9219-7.95898 19.9219-8.25195ZM112.793-62.1094L112.793-8.20312C112.793-8.00781 112.793-7.76367 112.793-7.56836L84.9121-35.1074L112.793-62.5488C112.793-62.1094 112.793-62.1094 112.793-62.1094ZM27.4902-0.585938C26.123-0.585938 24.9512-0.78125 23.9258-1.2207L53.125-30.0781L56.2988-26.9531C59.7168-23.584 62.9883-22.168 66.4551-22.168C69.873-22.168 73.1934-23.584 76.6113-26.9531L79.7852-30.0781L108.936-1.26953C107.861-0.78125 106.641-0.585938 105.225-0.585938Z","layoutBox":{"viewBox":"0 0 268.0201416015625 158.116943359375","width":268.0201416015625,"height":158.116943359375,"translateX":67.65510009765626,"translateY":114.2884521484375,"baseline":114.2884521484375,"capline":43.8284912109375},"glyphBox":{"viewBox":"0 0 107.818115234375 84.2294921875","width":107.818115234375,"height":84.2294921875,"translateX":-12.445913085937491,"translateY":77.3447265625,"baseline":77.3447265625,"capline":6.884765625}}});
});

/***/ }),

/***/ 1610:
/*!*******************************************************************!*\
  !*** /workspace/node_modules/@apple/symbols/regular/calendar.svg ***!
  \*******************************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 870);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _apple_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @apple/symbols */ 1260);


/* harmony default export */ __webpack_exports__["a"] = (function (props) {
  return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_apple_symbols__WEBPACK_IMPORTED_MODULE_1__[/* SVGComponent */ "a"], { originalProps: props, metadata: {"name":"calendar","svgPath":"M27.7832 9.76562L94.4824 9.76562C104.688 9.76562 109.766 4.6875 109.766-5.37109L109.766-64.9902C109.766-75.0488 104.688-80.127 94.4824-80.127L27.7832-80.127C17.5781-80.127 12.4512-75.0977 12.4512-64.9902L12.4512-5.37109C12.4512 4.73633 17.5781 9.76562 27.7832 9.76562ZM27.0508 1.9043C22.7051 1.9043 20.3125-0.390625 20.3125-4.93164L20.3125-50.9766C20.3125-55.4688 22.7051-57.8125 27.0508-57.8125L95.1172-57.8125C99.4629-57.8125 101.904-55.4688 101.904-50.9766L101.904-4.93164C101.904-0.390625 99.4629 1.9043 95.1172 1.9043ZM51.6113-40.2832L54.4922-40.2832C56.2012-40.2832 56.7383-40.7715 56.7383-42.4805L56.7383-45.3613C56.7383-47.0703 56.2012-47.6074 54.4922-47.6074L51.6113-47.6074C49.9023-47.6074 49.3164-47.0703 49.3164-45.3613L49.3164-42.4805C49.3164-40.7715 49.9023-40.2832 51.6113-40.2832ZM67.8223-40.2832L70.7031-40.2832C72.4121-40.2832 72.998-40.7715 72.998-42.4805L72.998-45.3613C72.998-47.0703 72.4121-47.6074 70.7031-47.6074L67.8223-47.6074C66.1133-47.6074 65.5273-47.0703 65.5273-45.3613L65.5273-42.4805C65.5273-40.7715 66.1133-40.2832 67.8223-40.2832ZM84.0332-40.2832L86.9141-40.2832C88.623-40.2832 89.209-40.7715 89.209-42.4805L89.209-45.3613C89.209-47.0703 88.623-47.6074 86.9141-47.6074L84.0332-47.6074C82.3242-47.6074 81.7871-47.0703 81.7871-45.3613L81.7871-42.4805C81.7871-40.7715 82.3242-40.2832 84.0332-40.2832ZM35.4004-24.3164L38.2324-24.3164C39.9902-24.3164 40.5273-24.8047 40.5273-26.5137L40.5273-29.3945C40.5273-31.1035 39.9902-31.5918 38.2324-31.5918L35.4004-31.5918C33.6426-31.5918 33.1055-31.1035 33.1055-29.3945L33.1055-26.5137C33.1055-24.8047 33.6426-24.3164 35.4004-24.3164ZM51.6113-24.3164L54.4922-24.3164C56.2012-24.3164 56.7383-24.8047 56.7383-26.5137L56.7383-29.3945C56.7383-31.1035 56.2012-31.5918 54.4922-31.5918L51.6113-31.5918C49.9023-31.5918 49.3164-31.1035 49.3164-29.3945L49.3164-26.5137C49.3164-24.8047 49.9023-24.3164 51.6113-24.3164ZM67.8223-24.3164L70.7031-24.3164C72.4121-24.3164 72.998-24.8047 72.998-26.5137L72.998-29.3945C72.998-31.1035 72.4121-31.5918 70.7031-31.5918L67.8223-31.5918C66.1133-31.5918 65.5273-31.1035 65.5273-29.3945L65.5273-26.5137C65.5273-24.8047 66.1133-24.3164 67.8223-24.3164ZM84.0332-24.3164L86.9141-24.3164C88.623-24.3164 89.209-24.8047 89.209-26.5137L89.209-29.3945C89.209-31.1035 88.623-31.5918 86.9141-31.5918L84.0332-31.5918C82.3242-31.5918 81.7871-31.1035 81.7871-29.3945L81.7871-26.5137C81.7871-24.8047 82.3242-24.3164 84.0332-24.3164ZM35.4004-8.30078L38.2324-8.30078C39.9902-8.30078 40.5273-8.83789 40.5273-10.5469L40.5273-13.4277C40.5273-15.1367 39.9902-15.625 38.2324-15.625L35.4004-15.625C33.6426-15.625 33.1055-15.1367 33.1055-13.4277L33.1055-10.5469C33.1055-8.83789 33.6426-8.30078 35.4004-8.30078ZM51.6113-8.30078L54.4922-8.30078C56.2012-8.30078 56.7383-8.83789 56.7383-10.5469L56.7383-13.4277C56.7383-15.1367 56.2012-15.625 54.4922-15.625L51.6113-15.625C49.9023-15.625 49.3164-15.1367 49.3164-13.4277L49.3164-10.5469C49.3164-8.83789 49.9023-8.30078 51.6113-8.30078ZM67.8223-8.30078L70.7031-8.30078C72.4121-8.30078 72.998-8.83789 72.998-10.5469L72.998-13.4277C72.998-15.1367 72.4121-15.625 70.7031-15.625L67.8223-15.625C66.1133-15.625 65.5273-15.1367 65.5273-13.4277L65.5273-10.5469C65.5273-8.83789 66.1133-8.30078 67.8223-8.30078Z","layoutBox":{"viewBox":"0 0 268.0201416015625 158.116943359375","width":268.0201416015625,"height":158.116943359375,"translateX":72.90510009765626,"translateY":114.2884521484375,"baseline":114.2884521484375,"capline":43.8284912109375},"glyphBox":{"viewBox":"0 0 97.322021484375 89.9912109375","width":97.322021484375,"height":89.9912109375,"translateX":-12.443959960937491,"translateY":80.2255859375,"baseline":80.2255859375,"capline":9.765625}}});
});

/***/ }),

/***/ 1612:
/*!***************************************************************!*\
  !*** /workspace/node_modules/@apple/symbols/regular/star.svg ***!
  \***************************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 870);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _apple_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @apple/symbols */ 1260);


/* harmony default export */ __webpack_exports__["a"] = (function (props) {
  return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_apple_symbols__WEBPACK_IMPORTED_MODULE_1__[/* SVGComponent */ "a"], { originalProps: props, metadata: {"name":"star","svgPath":"M30.7617 12.207C32.7637 13.7695 35.3027 13.2324 38.3301 11.0352L64.1602-7.95898L90.0391 11.0352C93.0664 13.2324 95.5566 13.7695 97.6074 12.207C99.6094 10.6934 100.049 8.20312 98.8281 4.63867L88.623-25.7324L114.697-44.4824C117.725-46.6309 118.945-48.877 118.164-51.3184C117.383-53.6621 115.088-54.834 111.328-54.7852L79.3457-54.5898L69.6289-85.1074C68.457-88.7207 66.6992-90.5273 64.1602-90.5273C61.6699-90.5273 59.9121-88.7207 58.7402-85.1074L49.0234-54.5898L17.041-54.7852C13.2812-54.834 10.9863-53.6621 10.2051-51.3184C9.375-48.877 10.6445-46.6309 13.6719-44.4824L39.7461-25.7324L29.541 4.63867C28.3203 8.20312 28.7598 10.6934 30.7617 12.207ZM37.793 2.53906C37.6953 2.44141 37.7441 2.39258 37.793 2.09961L47.5098-25.8301C48.1934-27.7344 47.8027-29.248 46.0938-30.4199L21.7773-47.2168C21.5332-47.3633 21.4844-47.4609 21.5332-47.6074C21.582-47.7539 21.6797-47.7539 21.9727-47.7539L51.5137-47.2168C53.5156-47.168 54.7852-47.998 55.4199-50L63.916-78.2715C63.9648-78.5645 64.0625-78.6621 64.1602-78.6621C64.3066-78.6621 64.4043-78.5645 64.4531-78.2715L72.9492-50C73.584-47.998 74.8535-47.168 76.8555-47.2168L106.396-47.7539C106.689-47.7539 106.787-47.7539 106.836-47.6074C106.885-47.4609 106.787-47.3633 106.592-47.2168L82.2754-30.4199C80.5664-29.248 80.1758-27.7344 80.8594-25.8301L90.5762 2.09961C90.625 2.39258 90.6738 2.44141 90.5762 2.53906C90.4785 2.68555 90.332 2.58789 90.1367 2.44141L66.6504-15.4785C65.0879-16.6992 63.2812-16.6992 61.7188-15.4785L38.2324 2.44141C38.0371 2.58789 37.8906 2.68555 37.793 2.53906Z","layoutBox":{"viewBox":"0 0 268.0201416015625 158.116943359375","width":268.0201416015625,"height":158.116943359375,"translateX":69.82503906250008,"translateY":114.2884521484375,"baseline":114.2884521484375,"capline":43.8284912109375},"glyphBox":{"viewBox":"0 0 108.4573974609375 110.5947265625","width":108.4573974609375,"height":110.5947265625,"translateX":-9.956333007812418,"translateY":90.52734375,"baseline":90.52734375,"capline":20.0673828125}}});
});

/***/ }),

/***/ 1613:
/*!*****************************************************************!*\
  !*** /workspace/node_modules/@apple/symbols/regular/folder.svg ***!
  \*****************************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 870);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _apple_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @apple/symbols */ 1260);


/* harmony default export */ __webpack_exports__["a"] = (function (props) {
  return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_apple_symbols__WEBPACK_IMPORTED_MODULE_1__[/* SVGComponent */ "a"], { originalProps: props, metadata: {"name":"folder","svgPath":"M27.7832 9.13086L109.473 9.13086C118.213 9.13086 123.34 4.05273 123.34-6.00586L123.34-56.1523C123.34-66.2109 118.164-71.2891 108.008-71.2891L61.1328-71.2891C57.8125-71.2891 55.8105-72.0703 53.3691-74.1699L50.3906-76.6113C47.168-79.3457 44.6777-80.2246 39.8438-80.2246L25.9277-80.2246C17.3828-80.2246 12.4512-75.3418 12.4512-65.5273L12.4512-6.00586C12.4512 4.10156 17.5781 9.13086 27.7832 9.13086ZM20.3125-65.0879C20.3125-69.9219 22.8516-72.4121 27.5391-72.4121L37.8418-72.4121C41.0645-72.4121 43.0176-71.582 45.5078-69.4824L48.4863-66.9922C51.6602-64.3555 54.248-63.4277 59.082-63.4277L107.861-63.4277C112.695-63.4277 115.479-60.791 115.479-55.7129L115.479-52.9297L20.3125-52.9297ZM27.8809 1.26953C22.998 1.26953 20.3125-1.31836 20.3125-6.39648L20.3125-45.5566L115.479-45.5566L115.479-6.34766C115.479-1.31836 112.695 1.26953 107.861 1.26953Z","layoutBox":{"viewBox":"0 0 268.0201416015625 158.116943359375","width":268.0201416015625,"height":158.116943359375,"translateX":66.1151000976563,"translateY":114.2884521484375,"baseline":114.2884521484375,"capline":43.8284912109375},"glyphBox":{"viewBox":"0 0 110.889892578125 89.9892578125","width":110.889892578125,"height":89.9892578125,"translateX":-12.450024414062455,"translateY":80.224609375,"baseline":80.224609375,"capline":9.7646484375}}});
});

/***/ }),

/***/ 1615:
/*!***********************************************************************!*\
  !*** /workspace/node_modules/@apple/symbols/regular/chevron.down.svg ***!
  \***********************************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 870);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _apple_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @apple/symbols */ 1260);


/* harmony default export */ __webpack_exports__["a"] = (function (props) {
  return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_apple_symbols__WEBPACK_IMPORTED_MODULE_1__[/* SVGComponent */ "a"], { originalProps: props, metadata: {"name":"chevron.down","svgPath":"M54.8828-9.22852C56.1035-9.22852 57.3242-9.7168 58.1543-10.6445L95.9473-49.3652C96.7773-50.1953 97.2656-51.2695 97.2656-52.4902C97.2656-55.0293 95.3613-56.9824 92.8223-56.9824C91.6016-56.9824 90.4785-56.4941 89.6484-55.7129L54.8828-20.166L20.0684-55.7129C19.2871-56.4941 18.1641-56.9824 16.8945-56.9824C14.3555-56.9824 12.4512-55.0293 12.4512-52.4902C12.4512-51.2695 12.9395-50.1953 13.7695-49.3164L51.5625-10.6445C52.4902-9.7168 53.6133-9.22852 54.8828-9.22852Z","layoutBox":{"viewBox":"0 0 268.0201416015625 158.116943359375","width":268.0201416015625,"height":158.116943359375,"translateX":79.15510009765626,"translateY":114.2884521484375,"baseline":114.2884521484375,"capline":43.8284912109375},"glyphBox":{"viewBox":"0 0 84.8212890625 52.0029296875","width":84.8212890625,"height":52.0029296875,"translateX":-12.444326171874991,"translateY":61.2314453125,"baseline":61.2314453125,"capline":-9.228515625}}});
});

/***/ }),

/***/ 1616:
/*!***********************************************************!*\
  !*** /workspace/node_modules/@apple/symbols/bold/doc.svg ***!
  \***********************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 870);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _apple_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @apple/symbols */ 1260);


/* harmony default export */ __webpack_exports__["a"] = (function (props) {
  return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_apple_symbols__WEBPACK_IMPORTED_MODULE_1__[/* SVGComponent */ "a"], { originalProps: props, metadata: {"name":"doc","svgPath":"M29.5898 18.5059L81.8848 18.5059C92.9688 18.5059 99.0234 12.4023 99.0234 1.26953L99.0234-42.9688C99.0234-50.5859 97.9004-54.3945 93.0664-59.2773L69.6289-82.959C64.8926-87.7441 60.9375-88.9648 53.7109-88.9648L29.5898-88.9648C18.5059-88.9648 12.4512-82.8613 12.4512-71.7285L12.4512 1.26953C12.4512 12.4512 18.5059 18.5059 29.5898 18.5059ZM31.1035 5.9082C26.9531 5.9082 25.0488 3.80859 25.0488-0.0976562L25.0488-70.3125C25.0488-74.2188 26.9531-76.3672 31.1035-76.3672L50.293-76.3672L50.293-52.4414C50.293-43.9453 54.3457-39.9414 62.793-39.9414L86.4258-39.9414L86.4258-0.0976562C86.4258 3.80859 84.5215 5.9082 80.3711 5.9082ZM63.7207-50.293C61.6211-50.293 60.6445-51.2695 60.6445-53.3691L60.6445-75.3418L85.4492-50.293Z","layoutBox":{"viewBox":"0 0 268.0201416015625 158.116943359375","width":268.0201416015625,"height":158.116943359375,"translateX":80.49506591796853,"translateY":114.2884521484375,"baseline":114.2884521484375,"capline":43.8284912109375},"glyphBox":{"viewBox":"0 0 91.016845703125 107.4716796875","width":91.016845703125,"height":107.4716796875,"translateX":-8.006582031250218,"translateY":88.9658203125,"baseline":88.9658203125,"capline":18.505859375}}});
});

/***/ }),

/***/ 1617:
/*!*************************************************************************!*\
  !*** /workspace/node_modules/@apple/symbols/medium/arrow.clockwise.svg ***!
  \*************************************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 870);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _apple_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @apple/symbols */ 1260);


/* harmony default export */ __webpack_exports__["a"] = (function (props) {
  return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_apple_symbols__WEBPACK_IMPORTED_MODULE_1__[/* SVGComponent */ "a"], { originalProps: props, metadata: {"name":"arrow.clockwise","svgPath":"M8.74023-31.7871C8.74023-7.56836 28.1738 11.9141 52.3438 11.9141C76.5137 11.9141 95.9473-7.56836 95.9473-31.7871C95.9473-34.668 93.9453-36.7188 91.0645-36.7188C88.2812-36.7188 86.4258-34.668 86.4258-31.7871C86.4258-12.8418 71.2402 2.34375 52.3438 2.34375C33.4473 2.34375 18.3105-12.8418 18.3105-31.7871C18.3105-50.8301 33.3496-65.918 52.1973-65.918C55.4199-65.918 58.3984-65.6738 60.8887-65.1367L47.6074-51.9531C46.7285-51.0254 46.2891-50 46.2891-48.7305C46.2891-46.0449 48.291-43.9941 50.9277-43.9941C52.2949-43.9941 53.418-44.4336 54.248-45.3125L74.3164-65.5273C75.3418-66.5527 75.8301-67.7246 75.8301-69.043C75.8301-70.3125 75.293-71.582 74.3164-72.5586L54.248-92.9199C53.418-93.8477 52.2949-94.3359 50.9277-94.3359C48.291-94.3359 46.2891-92.1875 46.2891-89.5508C46.2891-88.2812 46.7285-87.1582 47.5586-86.2793L59.375-74.6094C57.2266-75.0488 54.7363-75.293 52.1973-75.293C28.0762-75.293 8.74023-55.957 8.74023-31.7871Z","layoutBox":{"viewBox":"0 0 268.0201416015625 158.116943359375","width":268.0201416015625,"height":158.116943359375,"translateX":82.13010498046879,"translateY":114.2884521484375,"baseline":114.2884521484375,"capline":43.8284912109375},"glyphBox":{"viewBox":"0 0 88.134521484375 118.2119140625","width":88.134521484375,"height":118.2119140625,"translateX":-7.812705078124964,"translateY":94.3359375,"baseline":94.3359375,"capline":23.8759765625}}});
});

/***/ }),

/***/ 1618:
/*!*************************************************************************!*\
  !*** /workspace/node_modules/@apple/symbols/regular/text.alignleft.svg ***!
  \*************************************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 870);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _apple_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @apple/symbols */ 1260);


/* harmony default export */ __webpack_exports__["a"] = (function (props) {
  return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_apple_symbols__WEBPACK_IMPORTED_MODULE_1__[/* SVGComponent */ "a"], { originalProps: props, metadata: {"name":"text.alignleft","svgPath":"M16.1133-70.0684L107.08-70.0684C109.131-70.0684 110.84-71.6797 110.84-73.7793C110.84-75.8301 109.131-77.4414 107.08-77.4414L16.1133-77.4414C14.0625-77.4414 12.4512-75.8301 12.4512-73.7793C12.4512-71.6797 14.0625-70.0684 16.1133-70.0684ZM16.1133-44.4824L71.0449-44.4824C73.0957-44.4824 74.7559-46.0938 74.7559-48.1934C74.7559-50.2441 73.0957-51.8555 71.0449-51.8555L16.1133-51.8555C14.0625-51.8555 12.4512-50.2441 12.4512-48.1934C12.4512-46.0938 14.0625-44.4824 16.1133-44.4824ZM16.1133-18.8965L107.08-18.8965C109.131-18.8965 110.84-20.5566 110.84-22.6074C110.84-24.6582 109.131-26.2695 107.08-26.2695L16.1133-26.2695C14.0625-26.2695 12.4512-24.6582 12.4512-22.6074C12.4512-20.5566 14.0625-18.8965 16.1133-18.8965ZM16.1133 6.64062L71.0449 6.64062C73.0957 6.64062 74.7559 5.0293 74.7559 2.97852C74.7559 0.927734 73.0957-0.732422 71.0449-0.732422L16.1133-0.732422C14.0625-0.732422 12.4512 0.927734 12.4512 2.97852C12.4512 5.0293 14.0625 6.64062 16.1133 6.64062Z","layoutBox":{"viewBox":"0 0 268.0201416015625 158.116943359375","width":268.0201416015625,"height":158.116943359375,"translateX":72.3651000976563,"translateY":114.2884521484375,"baseline":114.2884521484375,"capline":43.8284912109375},"glyphBox":{"viewBox":"0 0 98.389892578125 84.4228515625","width":98.389892578125,"height":84.4228515625,"translateX":-12.450024414062455,"translateY":77.44140625,"baseline":77.44140625,"capline":6.9814453125}}});
});

/***/ }),

/***/ 1620:
/*!*************************************************************************************!*\
  !*** /workspace/node_modules/@apple/symbols/medium/exclamationmark.icloud.fill.svg ***!
  \*************************************************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 870);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _apple_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @apple/symbols */ 1260);


/* harmony default export */ __webpack_exports__["a"] = (function (props) {
  return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_apple_symbols__WEBPACK_IMPORTED_MODULE_1__[/* SVGComponent */ "a"], { originalProps: props, metadata: {"name":"exclamationmark.icloud.fill","svgPath":"M106.25 3.61328C121.387 3.61328 133.35-7.56836 133.35-21.4844C133.35-31.8359 127.441-41.0156 117.773-45.0684C117.822-67.1387 101.953-83.0566 81.4941-83.0566C68.457-83.0566 58.7891-76.3184 52.6367-67.4805C40.2832-70.8008 27.2461-61.5723 26.8066-47.8027C15.625-45.8496 8.74023-35.8398 8.74023-23.6328C8.74023-8.78906 21.7285 3.56445 38.7695 3.56445ZM71.0938-29.541C68.2617-29.541 66.6504-31.1523 66.5527-34.0332L65.8203-54.4434C65.7227-57.373 67.9199-59.5215 71.0449-59.5215C74.1699-59.5215 76.4648-57.3242 76.3184-54.3945L75.5859-34.082C75.4395-31.1035 73.877-29.541 71.0938-29.541ZM71.0938-11.2305C67.8711-11.2305 65.1367-13.5254 65.1367-16.7969C65.1367-20.0195 67.8223-22.3145 71.0938-22.3145C74.2676-22.3145 76.9531-20.0684 76.9531-16.7969C76.9531-13.5254 74.2676-11.2305 71.0938-11.2305Z","layoutBox":{"viewBox":"0 0 268.0201416015625 158.116943359375","width":268.0201416015625,"height":158.116943359375,"translateX":63.89507080078124,"translateY":114.2884521484375,"baseline":114.2884521484375,"capline":43.8284912109375},"glyphBox":{"viewBox":"0 0 126.469970703125 95.6533203125","width":126.469970703125,"height":95.6533203125,"translateX":-6.880014648437509,"translateY":83.056640625,"baseline":83.056640625,"capline":12.5966796875}}});
});

/***/ }),

/***/ 1621:
/*!*********************************************************************!*\
  !*** /workspace/node_modules/@apple/symbols/regular/archivebox.svg ***!
  \*********************************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 870);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _apple_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @apple/symbols */ 1260);


/* harmony default export */ __webpack_exports__["a"] = (function (props) {
  return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_apple_symbols__WEBPACK_IMPORTED_MODULE_1__[/* SVGComponent */ "a"], { originalProps: props, metadata: {"name":"archivebox","svgPath":"M34.4727 9.76562L88.0371 9.76562C97.6562 9.76562 102.783 4.78516 102.783-4.78516L102.783-53.418C107.52-54.1992 110.059-57.7637 110.059-62.9883L110.059-70.4102C110.059-76.3672 106.787-80.127 100.781-80.127L21.7285-80.127C16.0156-80.127 12.4512-76.3672 12.4512-70.4102L12.4512-62.9883C12.4512-57.7637 14.9902-54.1992 19.7266-53.418L19.7266-4.78516C19.7266 4.83398 24.8535 9.76562 34.4727 9.76562ZM23.7305-60.6445C21.2891-60.6445 20.3125-61.6699 20.3125-64.1113L20.3125-69.2871C20.3125-71.7285 21.2891-72.7539 23.7305-72.7539L98.8281-72.7539C101.27-72.7539 102.197-71.7285 102.197-69.2871L102.197-64.1113C102.197-61.6699 101.27-60.6445 98.8281-60.6445ZM34.375 2.39258C29.9805 2.39258 27.5879 0 27.5879-4.39453L27.5879-53.2715L94.9219-53.2715L94.9219-4.39453C94.9219 0 92.4805 2.39258 88.1348 2.39258ZM45.166-33.5938L77.3926-33.5938C79.4434-33.5938 80.9082-35.0098 80.9082-37.1582L80.9082-38.7207C80.9082-40.8691 79.4434-42.2363 77.3926-42.2363L45.166-42.2363C43.1152-42.2363 41.6992-40.8691 41.6992-38.7207L41.6992-37.1582C41.6992-35.0098 43.1152-33.5938 45.166-33.5938Z","layoutBox":{"viewBox":"0 0 268.0201416015625 158.116943359375","width":268.0201416015625,"height":158.116943359375,"translateX":72.75510009765617,"translateY":114.2884521484375,"baseline":114.2884521484375,"capline":43.8284912109375},"glyphBox":{"viewBox":"0 0 97.60791015625 89.9912109375","width":97.60791015625,"height":89.9912109375,"translateX":-12.451015625000082,"translateY":80.2255859375,"baseline":80.2255859375,"capline":9.765625}}});
});

/***/ }),

/***/ 1622:
/*!**************************************************************************!*\
  !*** /workspace/node_modules/@apple/symbols/bold/person.crop.circle.svg ***!
  \**************************************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 870);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _apple_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @apple/symbols */ 1260);


/* harmony default export */ __webpack_exports__["a"] = (function (props) {
  return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_apple_symbols__WEBPACK_IMPORTED_MODULE_1__[/* SVGComponent */ "a"], { originalProps: props, metadata: {"name":"person.crop.circle","svgPath":"M60.3027 16.3574C88.623 16.3574 111.865-6.93359 111.865-35.2539C111.865-63.5254 88.5742-86.8164 60.3027-86.8164C31.9824-86.8164 8.74023-63.5254 8.74023-35.2539C8.74023-6.93359 32.0312 16.3574 60.3027 16.3574ZM60.3027-18.0176C47.8027-18.0176 38.0859-13.623 32.5684-8.1543C25.7812-15.1367 21.6309-24.6582 21.6309-35.2539C21.6309-56.6895 38.8184-73.9746 60.3027-73.9746C81.7383-73.9746 99.0234-56.6895 99.0234-35.2539C99.0723-24.6582 94.873-15.1367 88.0371-8.1543C82.5684-13.623 72.8516-18.0176 60.3027-18.0176ZM60.3027-25.5859C69.873-25.5371 77.2461-33.6914 77.2461-44.1406C77.2461-53.9551 69.7754-62.3047 60.3027-62.3047C50.8301-62.3047 43.3105-53.9551 43.4082-44.1406C43.4082-33.6914 50.7812-25.6348 60.3027-25.5859Z","layoutBox":{"viewBox":"0 0 268.0201416015625 158.116943359375","width":268.0201416015625,"height":158.116943359375,"translateX":75.46515624999984,"translateY":114.2884521484375,"baseline":114.2884521484375,"capline":43.8284912109375},"glyphBox":{"viewBox":"0 0 106.6400146484375 103.1748046875","width":106.6400146484375,"height":103.1748046875,"translateX":-5.224907226562664,"translateY":86.8173828125,"baseline":86.8173828125,"capline":16.357421875}}});
});

/***/ }),

/***/ 1623:
/*!****************************************************************!*\
  !*** /workspace/node_modules/@apple/symbols/bold/calendar.svg ***!
  \****************************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 870);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _apple_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @apple/symbols */ 1260);


/* harmony default export */ __webpack_exports__["a"] = (function (props) {
  return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_apple_symbols__WEBPACK_IMPORTED_MODULE_1__[/* SVGComponent */ "a"], { originalProps: props, metadata: {"name":"calendar","svgPath":"M29.6875 11.4746L97.7051 11.4746C108.887 11.4746 114.941 5.41992 114.941-5.66406L114.941-64.7461C114.941-75.8301 108.887-81.8848 97.7051-81.8848L29.6875-81.8848C18.5547-81.8848 12.4512-75.8301 12.4512-64.7461L12.4512-5.66406C12.4512 5.41992 18.5547 11.4746 29.6875 11.4746ZM30.6152-1.12305C26.9531-1.12305 25.0488-2.88086 25.0488-6.73828L25.0488-50.1465C25.0488-54.0039 26.9531-55.7617 30.6152-55.7617L96.7773-55.7617C100.391-55.7617 102.344-54.0039 102.344-50.1465L102.344-6.73828C102.344-2.88086 100.391-1.12305 96.7773-1.12305ZM54.541-39.9414L57.4219-39.9414C59.1797-39.9414 59.8145-40.4785 59.8145-42.2852L59.8145-45.166C59.8145-46.9238 59.1797-47.5098 57.4219-47.5098L54.541-47.5098C52.7344-47.5098 52.0996-46.9238 52.0996-45.166L52.0996-42.2852C52.0996-40.4785 52.7344-39.9414 54.541-39.9414ZM70.0684-39.9414L72.9492-39.9414C74.707-39.9414 75.3418-40.4785 75.3418-42.2852L75.3418-45.166C75.3418-46.9238 74.707-47.5098 72.9492-47.5098L70.0684-47.5098C68.2617-47.5098 67.627-46.9238 67.627-45.166L67.627-42.2852C67.627-40.4785 68.2617-39.9414 70.0684-39.9414ZM85.5957-39.9414L88.4277-39.9414C90.2344-39.9414 90.8691-40.4785 90.8691-42.2852L90.8691-45.166C90.8691-46.9238 90.2344-47.5098 88.4277-47.5098L85.5957-47.5098C83.7891-47.5098 83.1543-46.9238 83.1543-45.166L83.1543-42.2852C83.1543-40.4785 83.7891-39.9414 85.5957-39.9414ZM39.0137-24.6582L41.8945-24.6582C43.7012-24.6582 44.2871-25.1953 44.2871-27.002L44.2871-29.8828C44.2871-31.6406 43.7012-32.2266 41.8945-32.2266L39.0137-32.2266C37.207-32.2266 36.6211-31.6406 36.6211-29.8828L36.6211-27.002C36.6211-25.1953 37.207-24.6582 39.0137-24.6582ZM54.541-24.6582L57.4219-24.6582C59.1797-24.6582 59.8145-25.1953 59.8145-27.002L59.8145-29.8828C59.8145-31.6406 59.1797-32.2266 57.4219-32.2266L54.541-32.2266C52.7344-32.2266 52.0996-31.6406 52.0996-29.8828L52.0996-27.002C52.0996-25.1953 52.7344-24.6582 54.541-24.6582ZM70.0684-24.6582L72.9492-24.6582C74.707-24.6582 75.3418-25.1953 75.3418-27.002L75.3418-29.8828C75.3418-31.6406 74.707-32.2266 72.9492-32.2266L70.0684-32.2266C68.2617-32.2266 67.627-31.6406 67.627-29.8828L67.627-27.002C67.627-25.1953 68.2617-24.6582 70.0684-24.6582ZM85.5957-24.6582L88.4277-24.6582C90.2344-24.6582 90.8691-25.1953 90.8691-27.002L90.8691-29.8828C90.8691-31.6406 90.2344-32.2266 88.4277-32.2266L85.5957-32.2266C83.7891-32.2266 83.1543-31.6406 83.1543-29.8828L83.1543-27.002C83.1543-25.1953 83.7891-24.6582 85.5957-24.6582ZM39.0137-9.375L41.8945-9.375C43.7012-9.375 44.2871-9.96094 44.2871-11.7188L44.2871-14.5996C44.2871-16.4062 43.7012-16.9434 41.8945-16.9434L39.0137-16.9434C37.207-16.9434 36.6211-16.4062 36.6211-14.5996L36.6211-11.7188C36.6211-9.96094 37.207-9.375 39.0137-9.375ZM54.541-9.375L57.4219-9.375C59.1797-9.375 59.8145-9.96094 59.8145-11.7188L59.8145-14.5996C59.8145-16.4062 59.1797-16.9434 57.4219-16.9434L54.541-16.9434C52.7344-16.9434 52.0996-16.4062 52.0996-14.5996L52.0996-11.7188C52.0996-9.96094 52.7344-9.375 54.541-9.375ZM70.0684-9.375L72.9492-9.375C74.707-9.375 75.3418-9.96094 75.3418-11.7188L75.3418-14.5996C75.3418-16.4062 74.707-16.9434 72.9492-16.9434L70.0684-16.9434C68.2617-16.9434 67.627-16.4062 67.627-14.5996L67.627-11.7188C67.627-9.96094 68.2617-9.375 70.0684-9.375Z","layoutBox":{"viewBox":"0 0 268.0201416015625 158.116943359375","width":268.0201416015625,"height":158.116943359375,"translateX":72.90506103515645,"translateY":114.2884521484375,"baseline":114.2884521484375,"capline":43.8284912109375},"glyphBox":{"viewBox":"0 0 107.671875 93.4091796875","width":107.671875,"height":93.4091796875,"translateX":-7.2690722656248,"translateY":81.9345703125,"baseline":81.9345703125,"capline":11.474609375}}});
});

/***/ }),

/***/ 1627:
/*!*******************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/subscription-service/client/index.js ***!
  \*******************************************************************************/
/*! no static exports found */
/*! exports used: EntryPoint */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.SubscriptionFeaturesController = exports.SubscriptionUpsellController = exports.EntryPoint = void 0;
var Interface_1 = __webpack_require__(/*! ../common/Interface */ 996);
Object.defineProperty(exports, "EntryPoint", {
  enumerable: true,
  get: function () {
    return Interface_1.EntryPoint;
  }
});
var SubscriptionUpsellController_1 = __webpack_require__(/*! ./SubscriptionUpsellController */ 1549);
Object.defineProperty(exports, "SubscriptionUpsellController", {
  enumerable: true,
  get: function () {
    return SubscriptionUpsellController_1.SubscriptionUpsellController;
  }
});
var SubscriptionFeaturesController_1 = __webpack_require__(/*! ./SubscriptionFeaturesController */ 1568);
Object.defineProperty(exports, "SubscriptionFeaturesController", {
  enumerable: true,
  get: function () {
    return SubscriptionFeaturesController_1.SubscriptionFeaturesController;
  }
});

/***/ }),

/***/ 1632:
/*!**************************************************************************!*\
  !*** /workspace/node_modules/@apple/symbols/regular/arrow.clockwise.svg ***!
  \**************************************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 870);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _apple_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @apple/symbols */ 1260);


/* harmony default export */ __webpack_exports__["a"] = (function (props) {
  return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_apple_symbols__WEBPACK_IMPORTED_MODULE_1__[/* SVGComponent */ "a"], { originalProps: props, metadata: {"name":"arrow.clockwise","svgPath":"M8.74023-31.7383C8.74023-7.76367 27.9785 11.4746 51.9043 11.4746C75.8301 11.4746 95.0195-7.76367 95.0195-31.7383C95.0195-34.082 93.3594-35.791 90.9668-35.791C88.6719-35.791 87.1582-34.082 87.1582-31.7383C87.1582-12.1094 71.4844 3.61328 51.9043 3.61328C32.3242 3.61328 16.6016-12.1094 16.6016-31.7383C16.6016-51.3184 32.3242-66.9922 51.9043-66.9922C55.6152-66.9922 59.082-66.6992 61.9629-66.0156L47.3633-51.5625C46.6309-50.7812 46.2402-49.8047 46.2402-48.7793C46.2402-46.5332 47.9004-44.873 50.0977-44.873C51.3184-44.873 52.2461-45.2637 52.9297-45.9961L73.0469-66.2109C73.9258-67.041 74.2676-68.0176 74.2676-69.1406C74.2676-70.2148 73.8281-71.2891 73.0469-72.0703L52.9297-92.4805C52.2461-93.2617 51.2695-93.6523 50.0977-93.6523C47.9004-93.6523 46.2402-91.8945 46.2402-89.6484C46.2402-88.623 46.6309-87.6465 47.3145-86.8652L60.3027-74.0234C57.7637-74.5117 54.8828-74.8535 51.9043-74.8535C27.9785-74.8535 8.74023-55.6641 8.74023-31.7383Z","layoutBox":{"viewBox":"0 0 268.0201416015625 158.116943359375","width":268.0201416015625,"height":158.116943359375,"translateX":82.13010498046879,"translateY":114.2884521484375,"baseline":114.2884521484375,"capline":43.8284912109375},"glyphBox":{"viewBox":"0 0 86.279541015625 116.8447265625","width":86.279541015625,"height":116.8447265625,"translateX":-8.740195312499964,"translateY":93.65234375,"baseline":93.65234375,"capline":23.1923828125}}});
});

/***/ }),

/***/ 1634:
/*!********************************************************************************!*\
  !*** /workspace/node_modules/@apple/symbols/regular/icloud.and.arrow.down.svg ***!
  \********************************************************************************/
/*! exports provided: default */
/*! exports used: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 870);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _apple_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @apple/symbols */ 1260);


/* harmony default export */ __webpack_exports__["a"] = (function (props) {
  return Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_apple_symbols__WEBPACK_IMPORTED_MODULE_1__[/* SVGComponent */ "a"], { originalProps: props, metadata: {"name":"icloud.and.arrow.down","svgPath":"M84.7168-13.5742L84.7168-5.71289L107.52-5.71289C122.51-5.71289 131.494-14.7461 131.494-26.5625C131.494-36.4258 125.586-44.5312 116.064-48.3887C116.162-70.166 100.488-85.8887 80.5176-85.8887C67.2852-85.8887 57.8613-78.8086 52.002-70.2637C40.918-73.2422 26.9043-64.6484 26.6602-50.9277C15.625-49.2188 8.74023-40.1855 8.74023-28.6621C8.74023-15.9668 18.2617-5.71289 34.2773-5.71289L55.957-5.71289L55.957-13.5742L34.2285-13.5742C22.6562-13.5742 16.6016-20.2637 16.6016-28.6621C16.6016-37.9883 22.5098-44.9219 32.8613-44.9219C33.5449-44.9219 33.7891-45.3125 33.7891-45.9473C33.7891-60.9375 44.5801-65.0879 54.6387-62.1582C55.2246-61.9629 55.5664-62.0605 55.8594-62.5977C60.5957-71.0449 67.8711-78.0273 80.5176-78.0273C96.5332-78.0273 107.617-65.332 108.447-50.7812C108.594-48.584 108.447-45.9473 108.252-43.6523C108.203-43.0176 108.447-42.627 109.033-42.5293C117.92-40.5762 123.633-35.0098 123.633-26.5625C123.633-19.043 118.164-13.5742 107.471-13.5742ZM70.3613 23.291C71.3379 23.291 72.1191 22.9004 73.1445 21.9727L89.6484 6.54297C90.4297 5.85938 90.8203 5.0293 90.8203 3.95508C90.8203 2.00195 89.2578 0.537109 87.2559 0.537109C86.3281 0.537109 85.3516 0.976562 84.6191 1.70898L77.1973 9.13086L73.9258 12.5488L74.2188 5.27344L74.2188-36.6211C74.2188-38.6719 72.4609-40.4297 70.3613-40.4297C68.2617-40.4297 66.4551-38.6719 66.4551-36.6211L66.4551 5.27344L66.748 12.5977L63.4766 9.13086L56.0547 1.70898C55.3223 0.976562 54.2969 0.537109 53.3691 0.537109C51.3184 0.537109 49.8535 2.00195 49.8535 3.95508C49.8535 5.0293 50.2441 5.85938 51.0254 6.54297L67.5293 21.9727C68.5547 22.9004 69.3359 23.291 70.3613 23.291Z","layoutBox":{"viewBox":"0 0 268.0201416015625 158.116943359375","width":268.0201416015625,"height":158.116943359375,"translateX":63.89510009765627,"translateY":114.2884521484375,"baseline":114.2884521484375,"capline":43.8284912109375},"glyphBox":{"viewBox":"0 0 122.758056640625 117.0419921875","width":122.758056640625,"height":117.0419921875,"translateX":-8.735942382812482,"translateY":93.7509765625,"baseline":93.7509765625,"capline":23.291015625}}});
});

/***/ }),

/***/ 1637:
/*!********************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/build/index.js ***!
  \********************************************************************/
/*! no static exports found */
/*! exports used: useRecentDriveDocs */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.useRecentDriveDocs = void 0;
var useRecentDriveDocs_1 = __webpack_require__(/*! ./API/useRecentDriveDocs */ 1638);
Object.defineProperty(exports, "useRecentDriveDocs", {
  enumerable: true,
  get: function () {
    return useRecentDriveDocs_1.useRecentDriveDocs;
  }
});

/***/ }),

/***/ 1638:
/*!*************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/build/API/useRecentDriveDocs.js ***!
  \*************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, generator) {
  function adopt(value) {
    return value instanceof P ? value : new P(function (resolve) {
      resolve(value);
    });
  }
  return new (P || (P = Promise))(function (resolve, reject) {
    function fulfilled(value) {
      try {
        step(generator.next(value));
      } catch (e) {
        reject(e);
      }
    }
    function rejected(value) {
      try {
        step(generator["throw"](value));
      } catch (e) {
        reject(e);
      }
    }
    function step(result) {
      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
    }
    step((generator = generator.apply(thisArg, _arguments || [])).next());
  });
};
var __generator = this && this.__generator || function (thisArg, body) {
  var _ = {
      label: 0,
      sent: function () {
        if (t[0] & 1) throw t[1];
        return t[1];
      },
      trys: [],
      ops: []
    },
    f,
    y,
    t,
    g;
  return g = {
    next: verb(0),
    "throw": verb(1),
    "return": verb(2)
  }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
    return this;
  }), g;
  function verb(n) {
    return function (v) {
      return step([n, v]);
    };
  }
  function step(op) {
    if (f) throw new TypeError("Generator is already executing.");
    while (_) try {
      if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
      if (y = 0, t) op = [op[0] & 2, t.value];
      switch (op[0]) {
        case 0:
        case 1:
          t = op;
          break;
        case 4:
          _.label++;
          return {
            value: op[1],
            done: false
          };
        case 5:
          _.label++;
          y = op[1];
          op = [0];
          continue;
        case 7:
          op = _.ops.pop();
          _.trys.pop();
          continue;
        default:
          if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
            _ = 0;
            continue;
          }
          if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
            _.label = op[1];
            break;
          }
          if (op[0] === 6 && _.label < t[1]) {
            _.label = t[1];
            t = op;
            break;
          }
          if (t && _.label < t[2]) {
            _.label = t[2];
            _.ops.push(op);
            break;
          }
          if (t[2]) _.ops.pop();
          _.trys.pop();
          continue;
      }
      op = body.call(thisArg, _);
    } catch (e) {
      op = [6, e];
      y = 0;
    } finally {
      f = t = 0;
    }
    if (op[0] & 5) throw op[1];
    return {
      value: op[0] ? op[1] : void 0,
      done: true
    };
  }
};
var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
  if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
    if (ar || !(i in from)) {
      if (!ar) ar = Array.prototype.slice.call(from, 0, i);
      ar[i] = from[i];
    }
  }
  return to.concat(ar || Array.prototype.slice.call(from));
};
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.useRecentDriveDocs = exports.mergeResult = exports.parseResponse = exports.WAIT_TIME_MILLIS = exports.DRIVE_SLOW_NUM = exports.DRIVE_FAST_NUM = exports.TILE_ITEM_NUM = void 0;
var safe_1 = __webpack_require__(/*! @icloudweb/safe */ 2162);
var react_1 = __webpack_require__(/*! react */ 870);
var react_query_1 = __webpack_require__(/*! react-query */ 1359);
var schema_1 = __webpack_require__(/*! ../schema */ 1680);
var result_1 = __webpack_require__(/*! @apple/result */ 465);
var react_helpers_1 = __webpack_require__(/*! @apple/react-helpers */ 2160);
var useRecentsChanges_1 = __webpack_require__(/*! ./useRecentsChanges */ 1681);
exports.TILE_ITEM_NUM = 6;
exports.DRIVE_FAST_NUM = 30;
exports.DRIVE_SLOW_NUM = 50;
exports.WAIT_TIME_MILLIS = 5000;
var REFETCH_INTERVAL_MILLIS = 30000;
function parseResponse(unsafeResponse, responseSchema, schemaName) {
  // Parse the full response
  var parsed = responseSchema.safeParse(unsafeResponse);
  // Error from schema parsing
  if ("error" in parsed) {
    throw safe_1.ParseJsonError.from(parsed.error, schemaName);
  }
  return parsed.data;
}
exports.parseResponse = parseResponse;
/** calls the given `dataFetcherProvider` then Zod parses the response */
var recentDocQueryFunc = function (dataFetcherProvider, num) {
  return __awaiter(void 0, void 0, void 0, function () {
    var unsafe;
    return __generator(this, function (_a) {
      switch (_a.label) {
        case 0:
          return [4 /*yield*/, dataFetcherProvider(num)];
        case 1:
          unsafe = _a.sent();
          return [2 /*return*/, parseResponse(unsafe, schema_1.recentDriveDocumentsResponseSchema, "RecentDriveDocumentsResponse")];
      }
    });
  });
};
/** Merges incoming files from changes API to existing files */
var mergeResult = function (existingFiles, incomingFiles) {
  var drivewsidSet = new Set(incomingFiles.map(function (file) {
    return file.drivewsid;
  }));
  return __spreadArray(__spreadArray([], incomingFiles, true), existingFiles.filter(function (file) {
    return !drivewsidSet.has(file.drivewsid);
  }), true);
};
exports.mergeResult = mergeResult;
/**
 * Fetches recent Drive docs.
 * API Doc: https://quip-apple.com/X1HaAlH0DDf3
 * 2 modes: tile/app
 * Tile mode (For loading cloudOS tile):
 * 1. will get TILE_ITEM_NUM items right away (only once)
 * 2. will wait WAIT_TIME_MILLIS, then get DRIVE_FAST_NUM & DRIVE_SLOW_NUM in parallel
 *
 * App mode (For loading Drive app):
 * will get DRIVE_FAST_NUM & DRIVE_SLOW_NUM in parallel right away
 *
 * Switch from tile mode -> app mode (calling appIsLaunching())
 * will get DRIVE_FAST_NUM & DRIVE_SLOW_NUM in parallel right away
 *
 * Switch from app mode -> tile mode
 * will get TILE_ITEM_NUM items right away (only once)
 *
 * Every REFETCH_INTERVAL_MILLIS, changes API will be called, result will be merged into previous hook result.
 * Other than changed recent docs, changes API might return:
 * 205 (reset content): in this case we fetch recents again then return new result.
 * 304 (no recent docs change): in this case we do nothing.
 */
function useRecentDriveDocs(callObject, refetchInterval, onRecentsChanged) {
  var _this = this;
  var _a, _b, _c, _d, _e;
  if (refetchInterval === void 0) {
    refetchInterval = REFETCH_INTERVAL_MILLIS;
  }
  var mode = callObject.mode,
    fetchRecents = callObject.fetchRecents,
    getChanges = callObject.getChanges;
  var _f = (0, react_1.useState)(false),
    appModeState = _f[0],
    setAppModeState = _f[1];
  var _g = (0, react_1.useState)(false),
    tileModeState = _g[0],
    setTileModeState = _g[1];
  var _h = (0, react_1.useState)(undefined),
    continuationMarker = _h[0],
    setContinuationMarker = _h[1];
  var _j = (0, react_1.useState)(false),
    readyToGetChanges = _j[0],
    setReadyToGetChanges = _j[1];
  var _k = (0, react_1.useState)([]),
    recentDocs = _k[0],
    setRecentDocs = _k[1];
  var getIsMounted = (0, react_helpers_1.useIsMounted)();
  // Switch to app mode
  (0, react_1.useEffect)(function () {
    if (mode === "tile") {
      if (getIsMounted()) {
        setTileModeState(true);
      }
      // wait 5 seconds then launch app mode calls
      setTimeout(function () {
        if (getIsMounted()) {
          setAppModeState(true);
        }
      }, exports.WAIT_TIME_MILLIS);
    } else if (mode === "app") {
      if (getIsMounted()) {
        setAppModeState(true);
      }
    }
  }, [mode, getIsMounted]);
  var slowRes = (0, react_query_1.useQuery)("icloud-drive-slow-res", function () {
    return recentDocQueryFunc(fetchRecents, exports.DRIVE_SLOW_NUM);
  }, {
    retry: false,
    enabled: appModeState,
    refetchOnMount: false,
    refetchOnWindowFocus: false,
    refetchOnReconnect: false
  });
  var slowDataAvailable = slowRes.data !== undefined;
  var slowResData = slowRes.data;
  // Handle slowRes
  (0, react_1.useEffect)(function () {
    if (slowResData === undefined) {
      return;
    }
    setContinuationMarker(slowResData.continuationMarker);
    // avoid fetching changes in the beginning, it should wait for next tick
    setTimeout(function () {
      setReadyToGetChanges(true);
    }, refetchInterval);
    setRecentDocs(function (prevRecentDocs) {
      if (prevRecentDocs.length !== slowResData.documents.length) {
        return __spreadArray([], slowResData.documents, true);
      } else {
        return prevRecentDocs;
      }
    });
  }, [slowResData, refetchInterval]);
  var tileRes = (0, react_query_1.useQuery)("icloud-drive-tile-res", function () {
    return recentDocQueryFunc(fetchRecents, exports.TILE_ITEM_NUM);
  }, {
    retry: false,
    enabled: tileModeState,
    refetchOnMount: false,
    refetchOnWindowFocus: false,
    refetchOnReconnect: false
  });
  var tileDataAvailable = tileRes.data !== undefined;
  var fastRes = (0, react_query_1.useQuery)("icloud-drive-fast-res", function () {
    return recentDocQueryFunc(fetchRecents, exports.DRIVE_FAST_NUM);
  }, {
    retry: false,
    enabled: appModeState,
    refetchOnMount: false,
    refetchOnWindowFocus: false,
    refetchOnReconnect: false
  });
  var fastDataAvailable = fastRes.data !== undefined;
  var res = (0, react_1.useMemo)(function () {
    var appIsLaunching = function () {
      if (getIsMounted()) {
        setAppModeState(true);
      }
    };
    var successRes = {
      result: (0, result_1.success)({
        recents: [],
        isPartial: true
      }),
      appIsLaunching: appIsLaunching
    };
    if (recentDocs.length !== 0) {
      successRes.result = (0, result_1.success)({
        recents: recentDocs,
        isPartial: false
      });
      return successRes;
    }
    // If slowRes available, always return slowRes, since slowRes is the superset of fastRes & tileRes
    // slowRes will give us all the result we need, in this case, isPartial will always be false
    if (slowDataAvailable) {
      successRes.result = (0, result_1.success)({
        recents: slowRes.data.documents,
        isPartial: false
      });
      return successRes;
    }
    // Fall back to fastRes
    if (fastDataAvailable) {
      successRes.result = (0, result_1.success)({
        recents: fastRes.data.documents,
        isPartial: fastRes.data.status === "MORE_AVAILABLE"
      });
      return successRes;
    }
    // Fall back to tileRes
    if (tileDataAvailable) {
      successRes.result = (0, result_1.success)({
        recents: tileRes.data.documents,
        isPartial: tileRes.data.status === "MORE_AVAILABLE"
      });
      return successRes;
    }
    var errorRes = {
      result: (0, result_1.failure)("Get recent docs failed"),
      userRequestedRetry: function () {
        return tileRes.refetch;
      },
      appIsLaunching: appIsLaunching
    };
    // Check error in order of: tileRes, fastRes, slowRes
    if (tileRes.isError) {
      errorRes.result = (0, result_1.failure)(JSON.stringify(tileRes.error));
      return errorRes;
    }
    if (fastRes.isError) {
      errorRes.result = (0, result_1.failure)(JSON.stringify(fastRes.error));
      return errorRes;
    }
    if (slowRes.isError) {
      errorRes.result = (0, result_1.failure)(JSON.stringify(slowRes.error));
      return errorRes;
    }
    // undefined means still loading
    return {
      result: undefined,
      appIsLaunching: appIsLaunching
    };
  }, [getIsMounted, slowDataAvailable, fastDataAvailable, tileDataAvailable, (_a = fastRes.data) === null || _a === void 0 ? void 0 : _a.status, (_b = tileRes.data) === null || _b === void 0 ? void 0 : _b.status, (_c = slowRes.data) === null || _c === void 0 ? void 0 : _c.documents, (_d = fastRes.data) === null || _d === void 0 ? void 0 : _d.documents, (_e = tileRes.data) === null || _e === void 0 ? void 0 : _e.documents, tileRes.isError, fastRes.isError, slowRes.isError, tileRes.error, fastRes.error, slowRes.error, tileRes.refetch, recentDocs]);
  // Invoke changes call
  (0, useRecentsChanges_1.useRecentsChanges)(getChanges, exports.DRIVE_SLOW_NUM, continuationMarker,
  // only fetch changes if recents are successful.
  getIsMounted() && readyToGetChanges, function (driveRecentChanges) {
    if (driveRecentChanges.statusCode === 205) {
      //notify any clients that recents has changes
      onRecentsChanged === null || onRecentsChanged === void 0 ? void 0 : onRecentsChanged();
      var refetch = function () {
        return __awaiter(_this, void 0, void 0, function () {
          var newRecentDocs, e_1;
          return __generator(this, function (_a) {
            switch (_a.label) {
              case 0:
                newRecentDocs = null;
                _a.label = 1;
              case 1:
                _a.trys.push([1, 3,, 4]);
                return [4 /*yield*/, recentDocQueryFunc(fetchRecents, exports.DRIVE_SLOW_NUM)];
              case 2:
                newRecentDocs = _a.sent();
                return [3 /*break*/, 4];
              case 3:
                e_1 = _a.sent();
                // Waiting for next interval
                return [2 /*return*/];
              case 4:
                setRecentDocs(newRecentDocs.documents);
                setContinuationMarker(newRecentDocs.continuationMarker);
                return [2 /*return*/];
            }
          });
        });
      };
      refetch();
    }
  }, refetchInterval);
  return res;
}
exports.useRecentDriveDocs = useRecentDriveDocs;

/***/ }),

/***/ 1639:
/*!***************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/index.js ***!
  \***************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
  if (k2 === undefined) k2 = k;
  Object.defineProperty(o, k2, {
    enumerable: true,
    get: function () {
      return m[k];
    }
  });
} : function (o, m, k, k2) {
  if (k2 === undefined) k2 = k;
  o[k2] = m[k];
});
var __exportStar = this && this.__exportStar || function (m, exports) {
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.nullable = exports.null = exports.never = exports.nativeEnum = exports.map = exports.literal = exports.lazy = exports.intersection = exports.instanceof = exports.function = exports.enum = exports.date = exports.codegen = exports.boolean = exports.bigint = exports.array = exports.any = exports.ZodVoid = exports.ZodUnknown = exports.ZodUnion = exports.ZodUndefined = exports.ZodTuple = exports.ZodTransformer = exports.ZodString = exports.ZodRecord = exports.ZodPromise = exports.ZodParsedType = exports.ZodOptional = exports.ZodObject = exports.ZodNumber = exports.ZodNullable = exports.ZodNull = exports.ZodNever = exports.ZodNativeEnum = exports.ZodLiteral = exports.ZodLazy = exports.ZodIntersection = exports.ZodFunction = exports.ZodEnum = exports.ZodDate = exports.ZodCodeGenerator = exports.ZodBoolean = exports.ZodBigInt = exports.ZodArray = exports.ZodAny = exports.ZodTypes = exports.ZodSchema = exports.Schema = exports.ZodType = exports.custom = void 0;
exports.late = exports.void = exports.unknown = exports.union = exports.undefined = exports.tuple = exports.transformer = exports.string = exports.record = exports.promise = exports.ostring = exports.optional = exports.onumber = exports.oboolean = exports.object = exports.number = void 0;
var base_1 = __webpack_require__(/*! ./types/base */ 1640);
Object.defineProperty(exports, "ZodType", {
  enumerable: true,
  get: function () {
    return base_1.ZodType;
  }
});
Object.defineProperty(exports, "Schema", {
  enumerable: true,
  get: function () {
    return base_1.ZodType;
  }
});
Object.defineProperty(exports, "ZodSchema", {
  enumerable: true,
  get: function () {
    return base_1.ZodType;
  }
});
var any_1 = __webpack_require__(/*! ./types/any */ 1648);
Object.defineProperty(exports, "ZodAny", {
  enumerable: true,
  get: function () {
    return any_1.ZodAny;
  }
});
var array_1 = __webpack_require__(/*! ./types/array */ 1649);
Object.defineProperty(exports, "ZodArray", {
  enumerable: true,
  get: function () {
    return array_1.ZodArray;
  }
});
var bigint_1 = __webpack_require__(/*! ./types/bigint */ 1650);
Object.defineProperty(exports, "ZodBigInt", {
  enumerable: true,
  get: function () {
    return bigint_1.ZodBigInt;
  }
});
var boolean_1 = __webpack_require__(/*! ./types/boolean */ 1651);
Object.defineProperty(exports, "ZodBoolean", {
  enumerable: true,
  get: function () {
    return boolean_1.ZodBoolean;
  }
});
var date_1 = __webpack_require__(/*! ./types/date */ 1652);
Object.defineProperty(exports, "ZodDate", {
  enumerable: true,
  get: function () {
    return date_1.ZodDate;
  }
});
var enum_1 = __webpack_require__(/*! ./types/enum */ 1653);
Object.defineProperty(exports, "ZodEnum", {
  enumerable: true,
  get: function () {
    return enum_1.ZodEnum;
  }
});
var function_1 = __webpack_require__(/*! ./types/function */ 1654);
Object.defineProperty(exports, "ZodFunction", {
  enumerable: true,
  get: function () {
    return function_1.ZodFunction;
  }
});
var intersection_1 = __webpack_require__(/*! ./types/intersection */ 1657);
Object.defineProperty(exports, "ZodIntersection", {
  enumerable: true,
  get: function () {
    return intersection_1.ZodIntersection;
  }
});
var lazy_1 = __webpack_require__(/*! ./types/lazy */ 1658);
Object.defineProperty(exports, "ZodLazy", {
  enumerable: true,
  get: function () {
    return lazy_1.ZodLazy;
  }
});
var literal_1 = __webpack_require__(/*! ./types/literal */ 1659);
Object.defineProperty(exports, "ZodLiteral", {
  enumerable: true,
  get: function () {
    return literal_1.ZodLiteral;
  }
});
var map_1 = __webpack_require__(/*! ./types/map */ 1660);
var nativeEnum_1 = __webpack_require__(/*! ./types/nativeEnum */ 1661);
Object.defineProperty(exports, "ZodNativeEnum", {
  enumerable: true,
  get: function () {
    return nativeEnum_1.ZodNativeEnum;
  }
});
var never_1 = __webpack_require__(/*! ./types/never */ 1662);
Object.defineProperty(exports, "ZodNever", {
  enumerable: true,
  get: function () {
    return never_1.ZodNever;
  }
});
var null_1 = __webpack_require__(/*! ./types/null */ 1663);
Object.defineProperty(exports, "ZodNull", {
  enumerable: true,
  get: function () {
    return null_1.ZodNull;
  }
});
var nullable_1 = __webpack_require__(/*! ./types/nullable */ 1664);
Object.defineProperty(exports, "ZodNullable", {
  enumerable: true,
  get: function () {
    return nullable_1.ZodNullable;
  }
});
var number_1 = __webpack_require__(/*! ./types/number */ 1665);
Object.defineProperty(exports, "ZodNumber", {
  enumerable: true,
  get: function () {
    return number_1.ZodNumber;
  }
});
var object_1 = __webpack_require__(/*! ./types/object */ 1667);
Object.defineProperty(exports, "ZodObject", {
  enumerable: true,
  get: function () {
    return object_1.ZodObject;
  }
});
var optional_1 = __webpack_require__(/*! ./types/optional */ 1670);
Object.defineProperty(exports, "ZodOptional", {
  enumerable: true,
  get: function () {
    return optional_1.ZodOptional;
  }
});
var promise_1 = __webpack_require__(/*! ./types/promise */ 1671);
Object.defineProperty(exports, "ZodPromise", {
  enumerable: true,
  get: function () {
    return promise_1.ZodPromise;
  }
});
var record_1 = __webpack_require__(/*! ./types/record */ 1672);
Object.defineProperty(exports, "ZodRecord", {
  enumerable: true,
  get: function () {
    return record_1.ZodRecord;
  }
});
var string_1 = __webpack_require__(/*! ./types/string */ 1673);
Object.defineProperty(exports, "ZodString", {
  enumerable: true,
  get: function () {
    return string_1.ZodString;
  }
});
var transformer_1 = __webpack_require__(/*! ./types/transformer */ 1674);
Object.defineProperty(exports, "ZodTransformer", {
  enumerable: true,
  get: function () {
    return transformer_1.ZodTransformer;
  }
});
var tuple_1 = __webpack_require__(/*! ./types/tuple */ 1655);
Object.defineProperty(exports, "ZodTuple", {
  enumerable: true,
  get: function () {
    return tuple_1.ZodTuple;
  }
});
var undefined_1 = __webpack_require__(/*! ./types/undefined */ 1675);
Object.defineProperty(exports, "ZodUndefined", {
  enumerable: true,
  get: function () {
    return undefined_1.ZodUndefined;
  }
});
var union_1 = __webpack_require__(/*! ./types/union */ 1676);
Object.defineProperty(exports, "ZodUnion", {
  enumerable: true,
  get: function () {
    return union_1.ZodUnion;
  }
});
var unknown_1 = __webpack_require__(/*! ./types/unknown */ 1656);
Object.defineProperty(exports, "ZodUnknown", {
  enumerable: true,
  get: function () {
    return unknown_1.ZodUnknown;
  }
});
var void_1 = __webpack_require__(/*! ./types/void */ 1677);
Object.defineProperty(exports, "ZodVoid", {
  enumerable: true,
  get: function () {
    return void_1.ZodVoid;
  }
});
var ZodParsedType_1 = __webpack_require__(/*! ./ZodParsedType */ 1646);
Object.defineProperty(exports, "ZodParsedType", {
  enumerable: true,
  get: function () {
    return ZodParsedType_1.ZodParsedType;
  }
});
var ZodTypes_1 = __webpack_require__(/*! ./ZodTypes */ 1647);
Object.defineProperty(exports, "ZodTypes", {
  enumerable: true,
  get: function () {
    return ZodTypes_1.ZodTypes;
  }
});
var codegen_1 = __webpack_require__(/*! ./codegen */ 1678);
Object.defineProperty(exports, "ZodCodeGenerator", {
  enumerable: true,
  get: function () {
    return codegen_1.ZodCodeGenerator;
  }
});
var stringType = string_1.ZodString.create;
exports.string = stringType;
var numberType = number_1.ZodNumber.create;
exports.number = numberType;
var bigIntType = bigint_1.ZodBigInt.create;
exports.bigint = bigIntType;
var booleanType = boolean_1.ZodBoolean.create;
exports.boolean = booleanType;
var dateType = date_1.ZodDate.create;
exports.date = dateType;
var undefinedType = undefined_1.ZodUndefined.create;
exports.undefined = undefinedType;
var nullType = null_1.ZodNull.create;
exports.null = nullType;
var anyType = any_1.ZodAny.create;
exports.any = anyType;
var unknownType = unknown_1.ZodUnknown.create;
exports.unknown = unknownType;
var neverType = never_1.ZodNever.create;
exports.never = neverType;
var voidType = void_1.ZodVoid.create;
exports.void = voidType;
var arrayType = array_1.ZodArray.create;
exports.array = arrayType;
var objectType = object_1.ZodObject.create;
exports.object = objectType;
var unionType = union_1.ZodUnion.create;
exports.union = unionType;
var intersectionType = intersection_1.ZodIntersection.create;
exports.intersection = intersectionType;
var tupleType = tuple_1.ZodTuple.create;
exports.tuple = tupleType;
var recordType = record_1.ZodRecord.create;
exports.record = recordType;
var mapType = map_1.ZodMap.create;
exports.map = mapType;
var functionType = function_1.ZodFunction.create;
exports.function = functionType;
var lazyType = lazy_1.ZodLazy.create;
exports.lazy = lazyType;
var literalType = literal_1.ZodLiteral.create;
exports.literal = literalType;
var enumType = enum_1.ZodEnum.create;
exports.enum = enumType;
var nativeEnumType = nativeEnum_1.ZodNativeEnum.create;
exports.nativeEnum = nativeEnumType;
var promiseType = promise_1.ZodPromise.create;
exports.promise = promiseType;
var transformerType = transformer_1.ZodTransformer.create;
exports.transformer = transformerType;
var optionalType = optional_1.ZodOptional.create;
exports.optional = optionalType;
var nullableType = nullable_1.ZodNullable.create;
exports.nullable = nullableType;
var ostring = function () {
  return stringType().optional();
};
exports.ostring = ostring;
var onumber = function () {
  return numberType().optional();
};
exports.onumber = onumber;
var oboolean = function () {
  return booleanType().optional();
};
exports.oboolean = oboolean;
var codegen = codegen_1.ZodCodeGenerator.create;
exports.codegen = codegen;
var custom = function (check, params) {
  if (check) return anyType().refine(check, params);
  return anyType();
};
exports.custom = custom;
var instanceOfType = function (cls, params) {
  if (params === void 0) {
    params = {
      message: "Input not instance of " + cls.name
    };
  }
  return exports.custom(function (data) {
    return data instanceof cls;
  }, params);
};
exports.instanceof = instanceOfType;
exports.late = {
  object: object_1.ZodObject.lazycreate
};
__exportStar(__webpack_require__(/*! ./ZodDef */ 1679), exports);
__exportStar(__webpack_require__(/*! ./ZodError */ 1644), exports);

/***/ }),

/***/ 1640:
/*!********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/base.js ***!
  \********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __assign = this && this.__assign || function () {
  __assign = Object.assign || function (t) {
    for (var s, i = 1, n = arguments.length; i < n; i++) {
      s = arguments[i];
      for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
    }
    return t;
  };
  return __assign.apply(this, arguments);
};
var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, generator) {
  function adopt(value) {
    return value instanceof P ? value : new P(function (resolve) {
      resolve(value);
    });
  }
  return new (P || (P = Promise))(function (resolve, reject) {
    function fulfilled(value) {
      try {
        step(generator.next(value));
      } catch (e) {
        reject(e);
      }
    }
    function rejected(value) {
      try {
        step(generator["throw"](value));
      } catch (e) {
        reject(e);
      }
    }
    function step(result) {
      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
    }
    step((generator = generator.apply(thisArg, _arguments || [])).next());
  });
};
var __generator = this && this.__generator || function (thisArg, body) {
  var _ = {
      label: 0,
      sent: function () {
        if (t[0] & 1) throw t[1];
        return t[1];
      },
      trys: [],
      ops: []
    },
    f,
    y,
    t,
    g;
  return g = {
    next: verb(0),
    "throw": verb(1),
    "return": verb(2)
  }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
    return this;
  }), g;
  function verb(n) {
    return function (v) {
      return step([n, v]);
    };
  }
  function step(op) {
    if (f) throw new TypeError("Generator is already executing.");
    while (_) try {
      if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
      if (y = 0, t) op = [op[0] & 2, t.value];
      switch (op[0]) {
        case 0:
        case 1:
          t = op;
          break;
        case 4:
          _.label++;
          return {
            value: op[1],
            done: false
          };
        case 5:
          _.label++;
          y = op[1];
          op = [0];
          continue;
        case 7:
          op = _.ops.pop();
          _.trys.pop();
          continue;
        default:
          if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
            _ = 0;
            continue;
          }
          if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
            _.label = op[1];
            break;
          }
          if (op[0] === 6 && _.label < t[1]) {
            _.label = t[1];
            t = op;
            break;
          }
          if (t && _.label < t[2]) {
            _.label = t[2];
            _.ops.push(op);
            break;
          }
          if (t[2]) _.ops.pop();
          _.trys.pop();
          continue;
      }
      op = body.call(thisArg, _);
    } catch (e) {
      op = [6, e];
      y = 0;
    } finally {
      f = t = 0;
    }
    if (op[0] & 5) throw op[1];
    return {
      value: op[0] ? op[1] : void 0,
      done: true
    };
  }
};
var __read = this && this.__read || function (o, n) {
  var m = typeof Symbol === "function" && o[Symbol.iterator];
  if (!m) return o;
  var i = m.call(o),
    r,
    ar = [],
    e;
  try {
    while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
  } catch (error) {
    e = {
      error: error
    };
  } finally {
    try {
      if (r && !r.done && (m = i["return"])) m.call(i);
    } finally {
      if (e) throw e.error;
    }
  }
  return ar;
};
var __spread = this && this.__spread || function () {
  for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
  return ar;
};
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodType = exports.declareZodType = void 0;
var parser_1 = __webpack_require__(/*! ../parser */ 1641);
var ZodError_1 = __webpack_require__(/*! ../ZodError */ 1644);
var index_1 = __webpack_require__(/*! ../index */ 1639);
function declareZodType() {}
exports.declareZodType = declareZodType;
var ZodType = function () {
  function ZodType(def) {
    var _this = this;
    this.parse = parser_1.ZodParser(this);
    this.safeParse = function (data, params) {
      try {
        var parsed = _this.parse(data, params);
        return {
          success: true,
          data: parsed
        };
      } catch (err) {
        if (err instanceof ZodError_1.ZodError) {
          return {
            success: false,
            error: err
          };
        }
        throw err;
      }
    };
    this.parseAsync = function (value, params) {
      return __awaiter(_this, void 0, void 0, function () {
        return __generator(this, function (_a) {
          switch (_a.label) {
            case 0:
              return [4, this.parse(value, __assign(__assign({}, params), {
                async: true
              }))];
            case 1:
              return [2, _a.sent()];
          }
        });
      });
    };
    this.safeParseAsync = function (data, params) {
      return __awaiter(_this, void 0, void 0, function () {
        var parsed, err_1;
        return __generator(this, function (_a) {
          switch (_a.label) {
            case 0:
              _a.trys.push([0, 2,, 3]);
              return [4, this.parseAsync(data, params)];
            case 1:
              parsed = _a.sent();
              return [2, {
                success: true,
                data: parsed
              }];
            case 2:
              err_1 = _a.sent();
              if (err_1 instanceof ZodError_1.ZodError) {
                return [2, {
                  success: false,
                  error: err_1
                }];
              }
              throw err_1;
            case 3:
              return [2];
          }
        });
      });
    };
    this.spa = this.safeParseAsync;
    this.refine = function (check, message) {
      if (message === void 0) {
        message = "Invalid value.";
      }
      if (typeof message === "string") {
        return _this._refinement(function (val, ctx) {
          var result = check(val);
          var setError = function () {
            return ctx.addIssue({
              code: ZodError_1.ZodIssueCode.custom,
              message: message
            });
          };
          if (result instanceof Promise) {
            return result.then(function (data) {
              if (!data) setError();
            });
          }
          if (!result) {
            setError();
            return result;
          }
        });
      }
      if (typeof message === "function") {
        return _this._refinement(function (val, ctx) {
          var result = check(val);
          var setError = function () {
            return ctx.addIssue(__assign({
              code: ZodError_1.ZodIssueCode.custom
            }, message(val)));
          };
          if (result instanceof Promise) {
            return result.then(function (data) {
              if (!data) setError();
            });
          }
          if (!result) {
            setError();
            return result;
          }
        });
      }
      return _this._refinement(function (val, ctx) {
        var result = check(val);
        var setError = function () {
          return ctx.addIssue(__assign({
            code: ZodError_1.ZodIssueCode.custom
          }, message));
        };
        if (result instanceof Promise) {
          return result.then(function (data) {
            if (!data) setError();
          });
        }
        if (!result) {
          setError();
          return result;
        }
      });
    };
    this.refinement = function (check, refinementData) {
      return _this._refinement(function (val, ctx) {
        if (!check(val)) {
          ctx.addIssue(typeof refinementData === "function" ? refinementData(val, ctx) : refinementData);
        }
      });
    };
    this._refinement = function (refinement) {
      return new _this.constructor(__assign(__assign({}, _this._def), {
        checks: __spread(_this._def.checks || [], [{
          check: refinement
        }])
      }));
    };
    this.optional = function () {
      return index_1.ZodOptional.create(_this);
    };
    this.or = this.optional;
    this.nullable = function () {
      return index_1.ZodNullable.create(_this);
    };
    this.array = function () {
      return index_1.ZodArray.create(_this);
    };
    this.isOptional = function () {
      return _this.safeParse(undefined).success;
    };
    this.isNullable = function () {
      return _this.safeParse(null).success;
    };
    this._def = def;
    this.is = this.is.bind(this);
    this.check = this.check.bind(this);
    this.transform = this.transform.bind(this);
    this.default = this.default.bind(this);
  }
  ZodType.prototype.is = function (u) {
    try {
      this.parse(u);
      return true;
    } catch (err) {
      return false;
    }
  };
  ZodType.prototype.check = function (u) {
    try {
      this.parse(u);
      return true;
    } catch (err) {
      return false;
    }
  };
  ZodType.prototype.transform = function (input, transformer) {
    if (transformer) {
      return index_1.ZodTransformer.create(this, input, transformer);
    }
    return index_1.ZodTransformer.create(this, this, input);
  };
  ZodType.prototype.default = function (def) {
    var _this = this;
    return index_1.ZodTransformer.create(this.optional(), this, function (x) {
      return x === undefined ? typeof def === "function" ? def(_this) : def : x;
    });
  };
  return ZodType;
}();
exports.ZodType = ZodType;

/***/ }),

/***/ 1641:
/*!****************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/parser.js ***!
  \****************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __assign = this && this.__assign || function () {
  __assign = Object.assign || function (t) {
    for (var s, i = 1, n = arguments.length; i < n; i++) {
      s = arguments[i];
      for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
    }
    return t;
  };
  return __assign.apply(this, arguments);
};
var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, generator) {
  function adopt(value) {
    return value instanceof P ? value : new P(function (resolve) {
      resolve(value);
    });
  }
  return new (P || (P = Promise))(function (resolve, reject) {
    function fulfilled(value) {
      try {
        step(generator.next(value));
      } catch (e) {
        reject(e);
      }
    }
    function rejected(value) {
      try {
        step(generator["throw"](value));
      } catch (e) {
        reject(e);
      }
    }
    function step(result) {
      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
    }
    step((generator = generator.apply(thisArg, _arguments || [])).next());
  });
};
var __generator = this && this.__generator || function (thisArg, body) {
  var _ = {
      label: 0,
      sent: function () {
        if (t[0] & 1) throw t[1];
        return t[1];
      },
      trys: [],
      ops: []
    },
    f,
    y,
    t,
    g;
  return g = {
    next: verb(0),
    "throw": verb(1),
    "return": verb(2)
  }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
    return this;
  }), g;
  function verb(n) {
    return function (v) {
      return step([n, v]);
    };
  }
  function step(op) {
    if (f) throw new TypeError("Generator is already executing.");
    while (_) try {
      if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
      if (y = 0, t) op = [op[0] & 2, t.value];
      switch (op[0]) {
        case 0:
        case 1:
          t = op;
          break;
        case 4:
          _.label++;
          return {
            value: op[1],
            done: false
          };
        case 5:
          _.label++;
          y = op[1];
          op = [0];
          continue;
        case 7:
          op = _.ops.pop();
          _.trys.pop();
          continue;
        default:
          if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
            _ = 0;
            continue;
          }
          if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
            _.label = op[1];
            break;
          }
          if (op[0] === 6 && _.label < t[1]) {
            _.label = t[1];
            t = op;
            break;
          }
          if (t && _.label < t[2]) {
            _.label = t[2];
            _.ops.push(op);
            break;
          }
          if (t[2]) _.ops.pop();
          _.trys.pop();
          continue;
      }
      op = body.call(thisArg, _);
    } catch (e) {
      op = [6, e];
      y = 0;
    } finally {
      f = t = 0;
    }
    if (op[0] & 5) throw op[1];
    return {
      value: op[0] ? op[1] : void 0,
      done: true
    };
  }
};
var __read = this && this.__read || function (o, n) {
  var m = typeof Symbol === "function" && o[Symbol.iterator];
  if (!m) return o;
  var i = m.call(o),
    r,
    ar = [],
    e;
  try {
    while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
  } catch (error) {
    e = {
      error: error
    };
  } finally {
    try {
      if (r && !r.done && (m = i["return"])) m.call(i);
    } finally {
      if (e) throw e.error;
    }
  }
  return ar;
};
var __spread = this && this.__spread || function () {
  for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
  return ar;
};
var __values = this && this.__values || function (o) {
  var s = typeof Symbol === "function" && Symbol.iterator,
    m = s && o[s],
    i = 0;
  if (m) return m.call(o);
  if (o && typeof o.length === "number") return {
    next: function () {
      if (o && i >= o.length) o = void 0;
      return {
        value: o && o[i++],
        done: !o
      };
    }
  };
  throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
};
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodParser = exports.getParsedType = void 0;
var defaultErrorMap_1 = __webpack_require__(/*! ./defaultErrorMap */ 1642);
var util_1 = __webpack_require__(/*! ./helpers/util */ 1643);
var PseudoPromise_1 = __webpack_require__(/*! ./PseudoPromise */ 1645);
var ZodError_1 = __webpack_require__(/*! ./ZodError */ 1644);
var ZodParsedType_1 = __webpack_require__(/*! ./ZodParsedType */ 1646);
var ZodTypes_1 = __webpack_require__(/*! ./ZodTypes */ 1647);
var getParsedType = function (data) {
  if (typeof data === "string") return "string";
  if (typeof data === "number") {
    if (Number.isNaN(data)) return "nan";
    return "number";
  }
  if (typeof data === "boolean") return "boolean";
  if (typeof data === "bigint") return "bigint";
  if (typeof data === "symbol") return "symbol";
  if (data instanceof Date) return "date";
  if (typeof data === "function") return "function";
  if (data === undefined) return "undefined";
  if (typeof data === "undefined") return "undefined";
  if (typeof data === "object") {
    if (Array.isArray(data)) return "array";
    if (data === null) return "null";
    if (data.then && typeof data.then === "function" && data.catch && typeof data.catch === "function") {
      return "promise";
    }
    if (data instanceof Map) {
      return "map";
    }
    return "object";
  }
  return "unknown";
};
exports.getParsedType = getParsedType;
var makeError = function (params, data, errorData) {
  var errorArg = __assign(__assign({}, errorData), {
    path: __spread(params.path, errorData.path || [])
  });
  var ctxArg = {
    data: data
  };
  var defaultError = defaultErrorMap_1.defaultErrorMap === params.errorMap ? {
    message: "Invalid value."
  } : defaultErrorMap_1.defaultErrorMap(errorArg, __assign(__assign({}, ctxArg), {
    defaultError: "Invalid value."
  }));
  return __assign(__assign({}, errorData), {
    path: __spread(params.path, errorData.path || []),
    message: errorData.message || params.errorMap(errorArg, __assign(__assign({}, ctxArg), {
      defaultError: defaultError.message
    })).message
  });
};
var ZodParser = function (schema) {
  return function (data, baseParams) {
    var e_1, _a, e_2, _b, e_3, _c, e_4, _d;
    var _e, _f;
    if (baseParams === void 0) {
      baseParams = {
        seen: [],
        errorMap: defaultErrorMap_1.defaultErrorMap,
        path: []
      };
    }
    var params = {
      seen: baseParams.seen || [],
      path: baseParams.path || [],
      errorMap: baseParams.errorMap || defaultErrorMap_1.defaultErrorMap,
      async: (_e = baseParams.async) !== null && _e !== void 0 ? _e : false,
      runAsyncValidationsInSeries: (_f = baseParams.runAsyncValidationsInSeries) !== null && _f !== void 0 ? _f : false
    };
    var def = schema._def;
    var PROMISE = new PseudoPromise_1.PseudoPromise();
    PROMISE._default = true;
    var RESULT = {
      input: data,
      output: util_1.INVALID
    };
    params.seen = params.seen || [];
    var ERROR = new ZodError_1.ZodError([]);
    var THROW = function () {
      RESULT.error = ERROR;
      throw ERROR;
    };
    var HANDLE = function (err) {
      if (err instanceof ZodError_1.ZodError) {
        ERROR.addIssues(err.issues);
        return util_1.INVALID;
      }
      throw ERROR;
    };
    var parsedType = exports.getParsedType(data);
    switch (def.t) {
      case ZodTypes_1.ZodTypes.string:
        if (parsedType !== ZodParsedType_1.ZodParsedType.string) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.invalid_type,
            expected: ZodParsedType_1.ZodParsedType.string,
            received: parsedType
          }));
          THROW();
        }
        PROMISE = PseudoPromise_1.PseudoPromise.resolve(data);
        break;
      case ZodTypes_1.ZodTypes.number:
        if (parsedType !== ZodParsedType_1.ZodParsedType.number) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.invalid_type,
            expected: ZodParsedType_1.ZodParsedType.number,
            received: parsedType
          }));
          THROW();
        }
        if (Number.isNaN(data)) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.invalid_type,
            expected: ZodParsedType_1.ZodParsedType.number,
            received: ZodParsedType_1.ZodParsedType.nan
          }));
          THROW();
        }
        PROMISE = PseudoPromise_1.PseudoPromise.resolve(data);
        break;
      case ZodTypes_1.ZodTypes.bigint:
        if (parsedType !== ZodParsedType_1.ZodParsedType.bigint) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.invalid_type,
            expected: ZodParsedType_1.ZodParsedType.bigint,
            received: parsedType
          }));
          THROW();
        }
        PROMISE = PseudoPromise_1.PseudoPromise.resolve(data);
        break;
      case ZodTypes_1.ZodTypes.boolean:
        if (parsedType !== ZodParsedType_1.ZodParsedType.boolean) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.invalid_type,
            expected: ZodParsedType_1.ZodParsedType.boolean,
            received: parsedType
          }));
          THROW();
        }
        PROMISE = PseudoPromise_1.PseudoPromise.resolve(data);
        break;
      case ZodTypes_1.ZodTypes.undefined:
        if (parsedType !== ZodParsedType_1.ZodParsedType.undefined) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.invalid_type,
            expected: ZodParsedType_1.ZodParsedType.undefined,
            received: parsedType
          }));
          THROW();
        }
        PROMISE = PseudoPromise_1.PseudoPromise.resolve(data);
        break;
      case ZodTypes_1.ZodTypes.null:
        if (parsedType !== ZodParsedType_1.ZodParsedType.null) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.invalid_type,
            expected: ZodParsedType_1.ZodParsedType.null,
            received: parsedType
          }));
          THROW();
        }
        PROMISE = PseudoPromise_1.PseudoPromise.resolve(data);
        break;
      case ZodTypes_1.ZodTypes.any:
        PROMISE = PseudoPromise_1.PseudoPromise.resolve(data);
        break;
      case ZodTypes_1.ZodTypes.unknown:
        PROMISE = PseudoPromise_1.PseudoPromise.resolve(data);
        break;
      case ZodTypes_1.ZodTypes.never:
        ERROR.addIssue(makeError(params, data, {
          code: ZodError_1.ZodIssueCode.invalid_type,
          expected: ZodParsedType_1.ZodParsedType.never,
          received: parsedType
        }));
        PROMISE = PseudoPromise_1.PseudoPromise.resolve(util_1.INVALID);
        break;
      case ZodTypes_1.ZodTypes.void:
        if (parsedType !== ZodParsedType_1.ZodParsedType.undefined && parsedType !== ZodParsedType_1.ZodParsedType.null) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.invalid_type,
            expected: ZodParsedType_1.ZodParsedType.void,
            received: parsedType
          }));
          THROW();
        }
        PROMISE = PseudoPromise_1.PseudoPromise.resolve(data);
        break;
      case ZodTypes_1.ZodTypes.array:
        RESULT.output = [];
        if (parsedType !== ZodParsedType_1.ZodParsedType.array) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.invalid_type,
            expected: ZodParsedType_1.ZodParsedType.array,
            received: parsedType
          }));
          THROW();
        }
        if (def.nonempty === true && data.length === 0) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.nonempty_array_is_empty
          }));
          THROW();
        }
        PROMISE = PseudoPromise_1.PseudoPromise.all(data.map(function (item, i) {
          return new PseudoPromise_1.PseudoPromise().then(function () {
            return def.type.parse(item, __assign(__assign({}, params), {
              path: __spread(params.path, [i])
            }));
          }).catch(function (err) {
            if (!(err instanceof ZodError_1.ZodError)) {
              throw err;
            }
            ERROR.addIssues(err.issues);
            return util_1.INVALID;
          });
        }));
        break;
      case ZodTypes_1.ZodTypes.map:
        if (parsedType !== ZodParsedType_1.ZodParsedType.map) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.invalid_type,
            expected: ZodParsedType_1.ZodParsedType.map,
            received: parsedType
          }));
          THROW();
        }
        var dataMap = data;
        var returnedMap_1 = new Map();
        PROMISE = PseudoPromise_1.PseudoPromise.all(__spread(dataMap.entries()).map(function (_a, index) {
          var _b = __read(_a, 2),
            key = _b[0],
            value = _b[1];
          return PseudoPromise_1.PseudoPromise.all([new PseudoPromise_1.PseudoPromise().then(function () {
            return def.keyType.parse(key, __assign(__assign({}, params), {
              path: __spread(params.path, [index, "key"])
            }));
          }).catch(HANDLE), new PseudoPromise_1.PseudoPromise().then(function () {
            var mapValue = def.valueType.parse(value, __assign(__assign({}, params), {
              path: __spread(params.path, [index, "value"])
            }));
            return [key, mapValue];
          }).catch(HANDLE)]).then(function (item) {
            if (item[0] !== util_1.INVALID && item[1] !== util_1.INVALID) {
              returnedMap_1.set(item[0], item[1]);
            }
          }).catch(HANDLE);
        })).then(function () {
          if (!ERROR.isEmpty) {
            throw ERROR;
          }
        }).then(function () {
          return returnedMap_1;
        }).then(function () {
          return returnedMap_1;
        });
        break;
      case ZodTypes_1.ZodTypes.object:
        RESULT.output = {};
        if (parsedType !== ZodParsedType_1.ZodParsedType.object) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.invalid_type,
            expected: ZodParsedType_1.ZodParsedType.object,
            received: parsedType
          }));
          THROW();
        }
        var objectPromises_1 = {};
        var shape = def.shape();
        var shapeKeys_2 = Object.keys(shape);
        var dataKeys = Object.keys(data);
        var extraKeys = dataKeys.filter(function (k) {
          return shapeKeys_2.indexOf(k) === -1;
        });
        var _loop_1 = function (key) {
          var keyValidator = shapeKeys_2.includes(key) ? shape[key] : !(def.catchall._def.t === ZodTypes_1.ZodTypes.never) ? def.catchall : undefined;
          if (!keyValidator) {
            return "continue";
          }
          if (typeof data[key] === "undefined" && !dataKeys.includes(key)) {
            objectPromises_1[key] = new PseudoPromise_1.PseudoPromise().then(function () {
              return keyValidator.parse(undefined, __assign(__assign({}, params), {
                path: __spread(params.path, [key])
              }));
            }).then(function (output) {
              if (output === undefined) {
                return PseudoPromise_1.NOSET;
              } else {
                return output;
              }
            }).catch(function (err) {
              if (err instanceof ZodError_1.ZodError) {
                var zerr = err;
                ERROR.addIssues(zerr.issues);
                objectPromises_1[key] = PseudoPromise_1.PseudoPromise.resolve(util_1.INVALID);
              } else {
                throw err;
              }
            });
            return "continue";
          }
          objectPromises_1[key] = new PseudoPromise_1.PseudoPromise().then(function () {
            return keyValidator.parse(data[key], __assign(__assign({}, params), {
              path: __spread(params.path, [key])
            }));
          }).catch(function (err) {
            if (err instanceof ZodError_1.ZodError) {
              var zerr = err;
              ERROR.addIssues(zerr.issues);
              return util_1.INVALID;
            } else {
              throw err;
            }
          });
        };
        try {
          for (var shapeKeys_1 = __values(shapeKeys_2), shapeKeys_1_1 = shapeKeys_1.next(); !shapeKeys_1_1.done; shapeKeys_1_1 = shapeKeys_1.next()) {
            var key = shapeKeys_1_1.value;
            _loop_1(key);
          }
        } catch (e_1_1) {
          e_1 = {
            error: e_1_1
          };
        } finally {
          try {
            if (shapeKeys_1_1 && !shapeKeys_1_1.done && (_a = shapeKeys_1.return)) _a.call(shapeKeys_1);
          } finally {
            if (e_1) throw e_1.error;
          }
        }
        if (def.catchall._def.t === ZodTypes_1.ZodTypes.never) {
          if (def.unknownKeys === "passthrough") {
            try {
              for (var extraKeys_1 = __values(extraKeys), extraKeys_1_1 = extraKeys_1.next(); !extraKeys_1_1.done; extraKeys_1_1 = extraKeys_1.next()) {
                var key = extraKeys_1_1.value;
                objectPromises_1[key] = PseudoPromise_1.PseudoPromise.resolve(data[key]);
              }
            } catch (e_2_1) {
              e_2 = {
                error: e_2_1
              };
            } finally {
              try {
                if (extraKeys_1_1 && !extraKeys_1_1.done && (_b = extraKeys_1.return)) _b.call(extraKeys_1);
              } finally {
                if (e_2) throw e_2.error;
              }
            }
          } else if (def.unknownKeys === "strict") {
            if (extraKeys.length > 0) {
              ERROR.addIssue(makeError(params, data, {
                code: ZodError_1.ZodIssueCode.unrecognized_keys,
                keys: extraKeys
              }));
            }
          } else if (def.unknownKeys === "strip") {} else {
            util_1.util.assertNever(def.unknownKeys);
          }
        } else {
          var _loop_2 = function (key) {
            objectPromises_1[key] = new PseudoPromise_1.PseudoPromise().then(function () {
              var parsedValue = def.catchall.parse(data[key], __assign(__assign({}, params), {
                path: __spread(params.path, [key])
              }));
              return parsedValue;
            }).catch(function (err) {
              if (err instanceof ZodError_1.ZodError) {
                ERROR.addIssues(err.issues);
              } else {
                throw err;
              }
            });
          };
          try {
            for (var extraKeys_2 = __values(extraKeys), extraKeys_2_1 = extraKeys_2.next(); !extraKeys_2_1.done; extraKeys_2_1 = extraKeys_2.next()) {
              var key = extraKeys_2_1.value;
              _loop_2(key);
            }
          } catch (e_3_1) {
            e_3 = {
              error: e_3_1
            };
          } finally {
            try {
              if (extraKeys_2_1 && !extraKeys_2_1.done && (_c = extraKeys_2.return)) _c.call(extraKeys_2);
            } finally {
              if (e_3) throw e_3.error;
            }
          }
        }
        PROMISE = PseudoPromise_1.PseudoPromise.object(objectPromises_1).then(function (resolvedObject) {
          Object.assign(RESULT.output, resolvedObject);
          return RESULT.output;
        }).then(function (finalObject) {
          if (ERROR.issues.length > 0) {
            return util_1.INVALID;
          }
          return finalObject;
        }).catch(function (err) {
          if (err instanceof ZodError_1.ZodError) {
            ERROR.addIssues(err.issues);
            return util_1.INVALID;
          }
          throw err;
        });
        break;
      case ZodTypes_1.ZodTypes.union:
        var isValid_1 = false;
        var unionErrors_1 = [];
        PROMISE = PseudoPromise_1.PseudoPromise.all(def.options.map(function (opt, _j) {
          return new PseudoPromise_1.PseudoPromise().then(function () {
            return opt.parse(data, params);
          }).then(function (optionData) {
            isValid_1 = true;
            return optionData;
          }).catch(function (err) {
            if (err instanceof ZodError_1.ZodError) {
              unionErrors_1.push(err);
              return util_1.INVALID;
            }
            throw err;
          });
        })).then(function (unionResults) {
          if (!isValid_1) {
            var nonTypeErrors = unionErrors_1.filter(function (err) {
              return err.issues[0].code !== "invalid_type";
            });
            if (nonTypeErrors.length === 1) {
              ERROR.addIssues(nonTypeErrors[0].issues);
            } else {
              ERROR.addIssue(makeError(params, data, {
                code: ZodError_1.ZodIssueCode.invalid_union,
                unionErrors: unionErrors_1
              }));
            }
            THROW();
          }
          return unionResults;
        }).then(function (unionResults) {
          return util_1.util.find(unionResults, function (val) {
            return val !== util_1.INVALID;
          });
        });
        break;
      case ZodTypes_1.ZodTypes.intersection:
        PROMISE = PseudoPromise_1.PseudoPromise.all([new PseudoPromise_1.PseudoPromise().then(function () {
          return def.left.parse(data, params);
        }).catch(HANDLE), new PseudoPromise_1.PseudoPromise().then(function () {
          return def.right.parse(data, params);
        }).catch(HANDLE)]).then(function (_a) {
          var _b = __read(_a, 2),
            parsedLeft = _b[0],
            parsedRight = _b[1];
          if (parsedLeft === util_1.INVALID || parsedRight === util_1.INVALID) return util_1.INVALID;
          var parsedLeftType = exports.getParsedType(parsedLeft);
          var parsedRightType = exports.getParsedType(parsedRight);
          if (parsedLeft === parsedRight) {
            return parsedLeft;
          } else if (parsedLeftType === ZodParsedType_1.ZodParsedType.object && parsedRightType === ZodParsedType_1.ZodParsedType.object) {
            return __assign(__assign({}, parsedLeft), parsedRight);
          } else {
            ERROR.addIssue(makeError(params, data, {
              code: ZodError_1.ZodIssueCode.invalid_intersection_types
            }));
          }
        });
        break;
      case ZodTypes_1.ZodTypes.optional:
        if (parsedType === ZodParsedType_1.ZodParsedType.undefined) {
          PROMISE = PseudoPromise_1.PseudoPromise.resolve(undefined);
          break;
        }
        PROMISE = new PseudoPromise_1.PseudoPromise().then(function () {
          return def.innerType.parse(data, params);
        }).catch(HANDLE);
        break;
      case ZodTypes_1.ZodTypes.nullable:
        if (parsedType === ZodParsedType_1.ZodParsedType.null) {
          PROMISE = PseudoPromise_1.PseudoPromise.resolve(null);
          break;
        }
        PROMISE = new PseudoPromise_1.PseudoPromise().then(function () {
          return def.innerType.parse(data, params);
        }).catch(HANDLE);
        break;
      case ZodTypes_1.ZodTypes.tuple:
        if (parsedType !== ZodParsedType_1.ZodParsedType.array) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.invalid_type,
            expected: ZodParsedType_1.ZodParsedType.array,
            received: parsedType
          }));
          THROW();
        }
        if (data.length > def.items.length) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.too_big,
            maximum: def.items.length,
            inclusive: true,
            type: "array"
          }));
        } else if (data.length < def.items.length) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.too_small,
            minimum: def.items.length,
            inclusive: true,
            type: "array"
          }));
        }
        var tupleData = data;
        PROMISE = PseudoPromise_1.PseudoPromise.all(tupleData.map(function (item, index) {
          var itemParser = def.items[index];
          return new PseudoPromise_1.PseudoPromise().then(function () {
            var tupleDatum = itemParser.parse(item, __assign(__assign({}, params), {
              path: __spread(params.path, [index])
            }));
            return tupleDatum;
          }).catch(function (err) {
            if (err instanceof ZodError_1.ZodError) {
              ERROR.addIssues(err.issues);
              return;
            }
            throw err;
          }).then(function (arg) {
            return arg;
          });
        })).then(function (tupleData) {
          if (!ERROR.isEmpty) THROW();
          return tupleData;
        }).catch(function (err) {
          throw err;
        });
        break;
      case ZodTypes_1.ZodTypes.lazy:
        var lazySchema = def.getter();
        PROMISE = PseudoPromise_1.PseudoPromise.resolve(lazySchema.parse(data, params));
        break;
      case ZodTypes_1.ZodTypes.literal:
        if (data !== def.value) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.invalid_literal_value,
            expected: def.value
          }));
        }
        PROMISE = PseudoPromise_1.PseudoPromise.resolve(data);
        break;
      case ZodTypes_1.ZodTypes.enum:
        if (def.values.indexOf(data) === -1) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.invalid_enum_value,
            options: def.values
          }));
        }
        PROMISE = PseudoPromise_1.PseudoPromise.resolve(data);
        break;
      case ZodTypes_1.ZodTypes.nativeEnum:
        if (util_1.util.getValidEnumValues(def.values).indexOf(data) === -1) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.invalid_enum_value,
            options: util_1.util.objectValues(def.values)
          }));
        }
        PROMISE = PseudoPromise_1.PseudoPromise.resolve(data);
        break;
      case ZodTypes_1.ZodTypes.function:
        if (parsedType !== ZodParsedType_1.ZodParsedType.function) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.invalid_type,
            expected: ZodParsedType_1.ZodParsedType.function,
            received: parsedType
          }));
          THROW();
        }
        var isAsyncFunction_1 = def.returns._def.t === ZodTypes_1.ZodTypes.promise;
        var validatedFunction = function () {
          var args = [];
          for (var _i = 0; _i < arguments.length; _i++) {
            args[_i] = arguments[_i];
          }
          var internalProm = new PseudoPromise_1.PseudoPromise().then(function () {
            return def.args.parse(args, __assign(__assign({}, params), {
              async: isAsyncFunction_1
            }));
          }).catch(function (err) {
            if (!(err instanceof ZodError_1.ZodError)) throw err;
            var argsError = new ZodError_1.ZodError([]);
            argsError.addIssue(makeError(params, data, {
              code: ZodError_1.ZodIssueCode.invalid_arguments,
              argumentsError: err
            }));
            throw argsError;
          }).then(function (args) {
            return data.apply(void 0, __spread(args));
          }).then(function (result) {
            return def.returns.parse(result, __assign(__assign({}, params), {
              async: isAsyncFunction_1
            }));
          }).catch(function (err) {
            if (err instanceof ZodError_1.ZodError) {
              var returnsError = new ZodError_1.ZodError([]);
              returnsError.addIssue(makeError(params, data, {
                code: ZodError_1.ZodIssueCode.invalid_return_type,
                returnTypeError: err
              }));
              throw returnsError;
            }
            throw err;
          });
          if (isAsyncFunction_1) {
            return internalProm.getValueAsync();
          } else {
            return internalProm.getValueSync();
          }
        };
        PROMISE = PseudoPromise_1.PseudoPromise.resolve(validatedFunction);
        break;
      case ZodTypes_1.ZodTypes.record:
        if (parsedType !== ZodParsedType_1.ZodParsedType.object) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.invalid_type,
            expected: ZodParsedType_1.ZodParsedType.object,
            received: parsedType
          }));
          THROW();
        }
        var parsedRecordPromises = {};
        var _loop_3 = function (key) {
          parsedRecordPromises[key] = new PseudoPromise_1.PseudoPromise().then(function () {
            return def.valueType.parse(data[key], __assign(__assign({}, params), {
              path: __spread(params.path, [key])
            }));
          }).catch(HANDLE);
        };
        for (var key in data) {
          _loop_3(key);
        }
        PROMISE = PseudoPromise_1.PseudoPromise.object(parsedRecordPromises);
        break;
      case ZodTypes_1.ZodTypes.date:
        if (!(data instanceof Date)) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.invalid_type,
            expected: ZodParsedType_1.ZodParsedType.date,
            received: parsedType
          }));
          THROW();
        }
        if (isNaN(data.getTime())) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.invalid_date
          }));
          THROW();
        }
        PROMISE = PseudoPromise_1.PseudoPromise.resolve(data);
        break;
      case ZodTypes_1.ZodTypes.promise:
        if (parsedType !== ZodParsedType_1.ZodParsedType.promise && params.async !== true) {
          ERROR.addIssue(makeError(params, data, {
            code: ZodError_1.ZodIssueCode.invalid_type,
            expected: ZodParsedType_1.ZodParsedType.promise,
            received: parsedType
          }));
          THROW();
        }
        var promisified = parsedType === ZodParsedType_1.ZodParsedType.promise ? data : Promise.resolve(data);
        PROMISE = PseudoPromise_1.PseudoPromise.resolve(promisified.then(function (resolvedData) {
          return def.type.parse(resolvedData, params);
        }));
        break;
      case ZodTypes_1.ZodTypes.transformer:
        PROMISE = new PseudoPromise_1.PseudoPromise().then(function () {
          return def.input.parse(data, params);
        }).then(function (inputParseResult) {
          var transformed = def.transformer(inputParseResult);
          if (transformed instanceof Promise && params.async === false) {
            if (def.output._def.t !== ZodTypes_1.ZodTypes.promise) {
              throw new Error("You can't call .parse on a schema containing async transformations.");
            }
          }
          return transformed;
        }).then(function (transformedResult) {
          return def.output.parse(transformedResult, params);
        });
        break;
      default:
        PROMISE = PseudoPromise_1.PseudoPromise.resolve("adsf");
        util_1.util.assertNever(def);
    }
    if (PROMISE._default === true) {
      throw new Error("Result is not materialized.");
    }
    if (!ERROR.isEmpty) {
      THROW();
    }
    var customChecks = def.checks || [];
    var checkCtx = {
      addIssue: function (arg) {
        ERROR.addIssue(makeError(params, data, arg));
      },
      path: params.path
    };
    if (params.async === false) {
      var resolvedValue = PROMISE.getValueSync();
      if (resolvedValue === util_1.INVALID && ERROR.isEmpty) {
        ERROR.addIssue(makeError(params, data, {
          code: ZodError_1.ZodIssueCode.custom,
          message: "Invalid"
        }));
      }
      if (!ERROR.isEmpty) {
        THROW();
      }
      try {
        for (var customChecks_1 = __values(customChecks), customChecks_1_1 = customChecks_1.next(); !customChecks_1_1.done; customChecks_1_1 = customChecks_1.next()) {
          var check = customChecks_1_1.value;
          var checkResult = check.check(resolvedValue, checkCtx);
          if (checkResult instanceof Promise) throw new Error("You can't use .parse on a schema containing async refinements. Use .parseAsync instead.");
        }
      } catch (e_4_1) {
        e_4 = {
          error: e_4_1
        };
      } finally {
        try {
          if (customChecks_1_1 && !customChecks_1_1.done && (_d = customChecks_1.return)) _d.call(customChecks_1);
        } finally {
          if (e_4) throw e_4.error;
        }
      }
      if (!ERROR.isEmpty) {
        THROW();
      }
      return resolvedValue;
    } else {
      var checker = function () {
        return __awaiter(void 0, void 0, void 0, function () {
          var resolvedValue, someError_1;
          return __generator(this, function (_a) {
            switch (_a.label) {
              case 0:
                return [4, PROMISE.getValueAsync()];
              case 1:
                resolvedValue = _a.sent();
                if (resolvedValue === util_1.INVALID && ERROR.isEmpty) {
                  ERROR.addIssue(makeError(params, data, {
                    code: ZodError_1.ZodIssueCode.custom,
                    message: "Invalid"
                  }));
                }
                if (!ERROR.isEmpty) {
                  THROW();
                }
                if (!params.runAsyncValidationsInSeries) return [3, 3];
                someError_1 = false;
                return [4, customChecks.reduce(function (previousPromise, check) {
                  return previousPromise.then(function () {
                    return __awaiter(void 0, void 0, void 0, function () {
                      var len;
                      return __generator(this, function (_a) {
                        switch (_a.label) {
                          case 0:
                            if (!!someError_1) return [3, 2];
                            len = ERROR.issues.length;
                            return [4, check.check(resolvedValue, checkCtx)];
                          case 1:
                            _a.sent();
                            if (len < ERROR.issues.length) someError_1 = true;
                            _a.label = 2;
                          case 2:
                            return [2];
                        }
                      });
                    });
                  });
                }, Promise.resolve())];
              case 2:
                _a.sent();
                return [3, 5];
              case 3:
                return [4, Promise.all(customChecks.map(function (check) {
                  return __awaiter(void 0, void 0, void 0, function () {
                    return __generator(this, function (_a) {
                      switch (_a.label) {
                        case 0:
                          return [4, check.check(resolvedValue, checkCtx)];
                        case 1:
                          _a.sent();
                          return [2];
                      }
                    });
                  });
                }))];
              case 4:
                _a.sent();
                _a.label = 5;
              case 5:
                if (!ERROR.isEmpty) {
                  THROW();
                }
                return [2, resolvedValue];
            }
          });
        });
      };
      return checker();
    }
  };
};
exports.ZodParser = ZodParser;

/***/ }),

/***/ 1642:
/*!*************************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/defaultErrorMap.js ***!
  \*************************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.defaultErrorMap = void 0;
var util_1 = __webpack_require__(/*! ./helpers/util */ 1643);
var ZodError_1 = __webpack_require__(/*! ./ZodError */ 1644);
var defaultErrorMap = function (error, _ctx) {
  var message;
  switch (error.code) {
    case ZodError_1.ZodIssueCode.invalid_type:
      if (error.received === "undefined") {
        message = "Required";
      } else {
        message = "Expected " + error.expected + ", received " + error.received;
      }
      break;
    case ZodError_1.ZodIssueCode.nonempty_array_is_empty:
      message = "List must contain at least one item";
      break;
    case ZodError_1.ZodIssueCode.unrecognized_keys:
      message = "Unrecognized key(s) in object: " + error.keys.map(function (k) {
        return "'" + k + "'";
      }).join(", ");
      break;
    case ZodError_1.ZodIssueCode.invalid_union:
      message = "Invalid input";
      break;
    case ZodError_1.ZodIssueCode.invalid_literal_value:
      message = "Input must be \"" + error.expected + "\"";
      break;
    case ZodError_1.ZodIssueCode.invalid_enum_value:
      message = "Input must be one of these values: " + error.options.join(", ");
      break;
    case ZodError_1.ZodIssueCode.invalid_arguments:
      message = "Invalid function arguments";
      break;
    case ZodError_1.ZodIssueCode.invalid_return_type:
      message = "Invalid function return type";
      break;
    case ZodError_1.ZodIssueCode.invalid_date:
      message = "Invalid date";
      break;
    case ZodError_1.ZodIssueCode.invalid_string:
      if (error.validation !== "regex") message = "Invalid " + error.validation;else message = "Invalid";
      break;
    case ZodError_1.ZodIssueCode.too_small:
      if (error.type === "array") message = "Should have " + (error.inclusive ? "at least" : "more than") + " " + error.minimum + " items";else if (error.type === "string") message = "Should be " + (error.inclusive ? "at least" : "over") + " " + error.minimum + " characters";else if (error.type === "number") message = "Value should be greater than " + (error.inclusive ? "or equal to " : "") + error.minimum;else message = "Invalid input";
      break;
    case ZodError_1.ZodIssueCode.too_big:
      if (error.type === "array") message = "Should have " + (error.inclusive ? "at most" : "less than") + " " + error.maximum + " items";else if (error.type === "string") message = "Should be " + (error.inclusive ? "at most" : "under") + " " + error.maximum + " characters long";else if (error.type === "number") message = "Value should be less than " + (error.inclusive ? "or equal to " : "") + error.maximum;else message = "Invalid input";
      break;
    case ZodError_1.ZodIssueCode.custom:
      message = "Invalid input.";
      break;
    case ZodError_1.ZodIssueCode.invalid_intersection_types:
      message = "Intersections only support objects";
      break;
    default:
      message = "Invalid input.";
      util_1.util.assertNever(error);
  }
  return {
    message: message
  };
};
exports.defaultErrorMap = defaultErrorMap;

/***/ }),

/***/ 1643:
/*!**********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/helpers/util.js ***!
  \**********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __values = this && this.__values || function (o) {
  var s = typeof Symbol === "function" && Symbol.iterator,
    m = s && o[s],
    i = 0;
  if (m) return m.call(o);
  if (o && typeof o.length === "number") return {
    next: function () {
      if (o && i >= o.length) o = void 0;
      return {
        value: o && o[i++],
        done: !o
      };
    }
  };
  throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
};
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.util = exports.INVALID = void 0;
exports.INVALID = Symbol("invalid_data");
var util;
(function (util) {
  function assertNever(_x) {
    throw new Error();
  }
  util.assertNever = assertNever;
  util.arrayToEnum = function (items) {
    var e_1, _a;
    var obj = {};
    try {
      for (var items_1 = __values(items), items_1_1 = items_1.next(); !items_1_1.done; items_1_1 = items_1.next()) {
        var item = items_1_1.value;
        obj[item] = item;
      }
    } catch (e_1_1) {
      e_1 = {
        error: e_1_1
      };
    } finally {
      try {
        if (items_1_1 && !items_1_1.done && (_a = items_1.return)) _a.call(items_1);
      } finally {
        if (e_1) throw e_1.error;
      }
    }
    return obj;
  };
  util.getValidEnumValues = function (obj) {
    var e_2, _a;
    var validKeys = Object.keys(obj).filter(function (k) {
      return typeof obj[obj[k]] !== "number";
    });
    var filtered = {};
    try {
      for (var validKeys_1 = __values(validKeys), validKeys_1_1 = validKeys_1.next(); !validKeys_1_1.done; validKeys_1_1 = validKeys_1.next()) {
        var k = validKeys_1_1.value;
        filtered[k] = obj[k];
      }
    } catch (e_2_1) {
      e_2 = {
        error: e_2_1
      };
    } finally {
      try {
        if (validKeys_1_1 && !validKeys_1_1.done && (_a = validKeys_1.return)) _a.call(validKeys_1);
      } finally {
        if (e_2) throw e_2.error;
      }
    }
    return util.getValues(filtered);
  };
  util.getValues = function (obj) {
    return Object.keys(obj).map(function (e) {
      return obj[e];
    });
  };
  util.objectValues = function (obj) {
    return Object.keys(obj).map(function (e) {
      return obj[e];
    });
  };
  util.find = function (arr, checker) {
    var e_3, _a;
    try {
      for (var arr_1 = __values(arr), arr_1_1 = arr_1.next(); !arr_1_1.done; arr_1_1 = arr_1.next()) {
        var item = arr_1_1.value;
        if (checker(item)) return item;
      }
    } catch (e_3_1) {
      e_3 = {
        error: e_3_1
      };
    } finally {
      try {
        if (arr_1_1 && !arr_1_1.done && (_a = arr_1.return)) _a.call(arr_1);
      } finally {
        if (e_3) throw e_3.error;
      }
    }
    return undefined;
  };
})(util = exports.util || (exports.util = {}));

/***/ }),

/***/ 1644:
/*!******************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/ZodError.js ***!
  \******************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
var __read = this && this.__read || function (o, n) {
  var m = typeof Symbol === "function" && o[Symbol.iterator];
  if (!m) return o;
  var i = m.call(o),
    r,
    ar = [],
    e;
  try {
    while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
  } catch (error) {
    e = {
      error: error
    };
  } finally {
    try {
      if (r && !r.done && (m = i["return"])) m.call(i);
    } finally {
      if (e) throw e.error;
    }
  }
  return ar;
};
var __spread = this && this.__spread || function () {
  for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
  return ar;
};
var __values = this && this.__values || function (o) {
  var s = typeof Symbol === "function" && Symbol.iterator,
    m = s && o[s],
    i = 0;
  if (m) return m.call(o);
  if (o && typeof o.length === "number") return {
    next: function () {
      if (o && i >= o.length) o = void 0;
      return {
        value: o && o[i++],
        done: !o
      };
    }
  };
  throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
};
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodError = exports.quotelessJson = exports.ZodIssueCode = void 0;
var util_1 = __webpack_require__(/*! ./helpers/util */ 1643);
exports.ZodIssueCode = util_1.util.arrayToEnum(["invalid_type", "nonempty_array_is_empty", "custom", "invalid_union", "invalid_literal_value", "invalid_enum_value", "unrecognized_keys", "invalid_arguments", "invalid_return_type", "invalid_date", "invalid_string", "too_small", "too_big", "invalid_intersection_types"]);
var quotelessJson = function (obj) {
  var json = JSON.stringify(obj, null, 2);
  return json.replace(/"([^"]+)":/g, "$1:");
};
exports.quotelessJson = quotelessJson;
var ZodError = function (_super) {
  __extends(ZodError, _super);
  function ZodError(issues) {
    var _newTarget = this.constructor;
    var _this = _super.call(this) || this;
    _this.issues = [];
    _this.addIssue = function (sub) {
      _this.issues = __spread(_this.issues, [sub]);
    };
    _this.addIssues = function (subs) {
      if (subs === void 0) {
        subs = [];
      }
      _this.issues = __spread(_this.issues, subs);
    };
    _this.flatten = function () {
      var e_1, _a;
      var fieldErrors = {};
      var formErrors = [];
      try {
        for (var _b = __values(_this.issues), _c = _b.next(); !_c.done; _c = _b.next()) {
          var sub = _c.value;
          if (sub.path.length > 0) {
            fieldErrors[sub.path[0]] = fieldErrors[sub.path[0]] || [];
            fieldErrors[sub.path[0]].push(sub.message);
          } else {
            formErrors.push(sub.message);
          }
        }
      } catch (e_1_1) {
        e_1 = {
          error: e_1_1
        };
      } finally {
        try {
          if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
        } finally {
          if (e_1) throw e_1.error;
        }
      }
      return {
        formErrors: formErrors,
        fieldErrors: fieldErrors
      };
    };
    var actualProto = _newTarget.prototype;
    Object.setPrototypeOf(_this, actualProto);
    _this.issues = issues;
    return _this;
  }
  Object.defineProperty(ZodError.prototype, "errors", {
    get: function () {
      return this.issues;
    },
    enumerable: false,
    configurable: true
  });
  Object.defineProperty(ZodError.prototype, "message", {
    get: function () {
      return JSON.stringify(this.issues, null, 2);
    },
    enumerable: false,
    configurable: true
  });
  Object.defineProperty(ZodError.prototype, "isEmpty", {
    get: function () {
      return this.issues.length === 0;
    },
    enumerable: false,
    configurable: true
  });
  Object.defineProperty(ZodError.prototype, "formErrors", {
    get: function () {
      return this.flatten();
    },
    enumerable: false,
    configurable: true
  });
  ZodError.create = function (issues) {
    var error = new ZodError(issues);
    return error;
  };
  return ZodError;
}(Error);
exports.ZodError = ZodError;

/***/ }),

/***/ 1645:
/*!***********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/PseudoPromise.js ***!
  \***********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, generator) {
  function adopt(value) {
    return value instanceof P ? value : new P(function (resolve) {
      resolve(value);
    });
  }
  return new (P || (P = Promise))(function (resolve, reject) {
    function fulfilled(value) {
      try {
        step(generator.next(value));
      } catch (e) {
        reject(e);
      }
    }
    function rejected(value) {
      try {
        step(generator["throw"](value));
      } catch (e) {
        reject(e);
      }
    }
    function step(result) {
      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
    }
    step((generator = generator.apply(thisArg, _arguments || [])).next());
  });
};
var __generator = this && this.__generator || function (thisArg, body) {
  var _ = {
      label: 0,
      sent: function () {
        if (t[0] & 1) throw t[1];
        return t[1];
      },
      trys: [],
      ops: []
    },
    f,
    y,
    t,
    g;
  return g = {
    next: verb(0),
    "throw": verb(1),
    "return": verb(2)
  }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
    return this;
  }), g;
  function verb(n) {
    return function (v) {
      return step([n, v]);
    };
  }
  function step(op) {
    if (f) throw new TypeError("Generator is already executing.");
    while (_) try {
      if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
      if (y = 0, t) op = [op[0] & 2, t.value];
      switch (op[0]) {
        case 0:
        case 1:
          t = op;
          break;
        case 4:
          _.label++;
          return {
            value: op[1],
            done: false
          };
        case 5:
          _.label++;
          y = op[1];
          op = [0];
          continue;
        case 7:
          op = _.ops.pop();
          _.trys.pop();
          continue;
        default:
          if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
            _ = 0;
            continue;
          }
          if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
            _.label = op[1];
            break;
          }
          if (op[0] === 6 && _.label < t[1]) {
            _.label = t[1];
            t = op;
            break;
          }
          if (t && _.label < t[2]) {
            _.label = t[2];
            _.ops.push(op);
            break;
          }
          if (t[2]) _.ops.pop();
          _.trys.pop();
          continue;
      }
      op = body.call(thisArg, _);
    } catch (e) {
      op = [6, e];
      y = 0;
    } finally {
      f = t = 0;
    }
    if (op[0] & 5) throw op[1];
    return {
      value: op[0] ? op[1] : void 0,
      done: true
    };
  }
};
var __read = this && this.__read || function (o, n) {
  var m = typeof Symbol === "function" && o[Symbol.iterator];
  if (!m) return o;
  var i = m.call(o),
    r,
    ar = [],
    e;
  try {
    while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
  } catch (error) {
    e = {
      error: error
    };
  } finally {
    try {
      if (r && !r.done && (m = i["return"])) m.call(i);
    } finally {
      if (e) throw e.error;
    }
  }
  return ar;
};
var __spread = this && this.__spread || function () {
  for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
  return ar;
};
var __values = this && this.__values || function (o) {
  var s = typeof Symbol === "function" && Symbol.iterator,
    m = s && o[s],
    i = 0;
  if (m) return m.call(o);
  if (o && typeof o.length === "number") return {
    next: function () {
      if (o && i >= o.length) o = void 0;
      return {
        value: o && o[i++],
        done: !o
      };
    }
  };
  throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
};
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.PseudoPromise = exports.NOSET = void 0;
var util_1 = __webpack_require__(/*! ./helpers/util */ 1643);
var ZodError_1 = __webpack_require__(/*! ./ZodError */ 1644);
exports.NOSET = Symbol("no_set");
var PseudoPromise = function () {
  function PseudoPromise(funcs) {
    var _this = this;
    if (funcs === void 0) {
      funcs = [];
    }
    this.all = function (pps) {
      return _this.then(function (_arg, ctx) {
        if (ctx.async) {
          var allValues = Promise.all(pps.map(function (pp) {
            return __awaiter(_this, void 0, void 0, function () {
              var asdf, err_1;
              return __generator(this, function (_a) {
                switch (_a.label) {
                  case 0:
                    _a.trys.push([0, 2,, 3]);
                    return [4, pp.getValueAsync()];
                  case 1:
                    asdf = _a.sent();
                    return [2, asdf];
                  case 2:
                    err_1 = _a.sent();
                    return [2, util_1.INVALID];
                  case 3:
                    return [2];
                }
              });
            });
          })).then(function (vals) {
            return vals;
          });
          return allValues;
        } else {
          return pps.map(function (pp) {
            return pp.getValueSync();
          });
        }
      });
    };
    this.then = function (func) {
      return new PseudoPromise(__spread(_this.items, [{
        type: "function",
        function: func
      }]));
    };
    this.catch = function (catcher) {
      return new PseudoPromise(__spread(_this.items, [{
        type: "catcher",
        catcher: catcher
      }]));
    };
    this.getValueSync = function () {
      var val = undefined;
      var _loop_1 = function (index) {
        try {
          var item = _this.items[index];
          if (item.type === "function") {
            val = item.function(val, {
              async: false
            });
          }
        } catch (err) {
          var catcherIndex = _this.items.findIndex(function (x, i) {
            return x.type === "catcher" && i > index;
          });
          var catcherItem = _this.items[catcherIndex];
          if (!catcherItem || catcherItem.type !== "catcher") {
            throw err;
          } else {
            index = catcherIndex;
            val = catcherItem.catcher(err, {
              async: false
            });
          }
        }
        out_index_1 = index;
      };
      var out_index_1;
      for (var index = 0; index < _this.items.length; index++) {
        _loop_1(index);
        index = out_index_1;
      }
      return val;
    };
    this.getValueAsync = function () {
      return __awaiter(_this, void 0, void 0, function () {
        var val, _loop_2, this_1, out_index_2, index;
        return __generator(this, function (_a) {
          switch (_a.label) {
            case 0:
              val = undefined;
              _loop_2 = function (index) {
                var item, err_2, catcherIndex, catcherItem;
                return __generator(this, function (_a) {
                  switch (_a.label) {
                    case 0:
                      item = this_1.items[index];
                      _a.label = 1;
                    case 1:
                      _a.trys.push([1, 4,, 8]);
                      if (!(item.type === "function")) return [3, 3];
                      return [4, item.function(val, {
                        async: true
                      })];
                    case 2:
                      val = _a.sent();
                      _a.label = 3;
                    case 3:
                      return [3, 8];
                    case 4:
                      err_2 = _a.sent();
                      catcherIndex = this_1.items.findIndex(function (x, i) {
                        return x.type === "catcher" && i > index;
                      });
                      catcherItem = this_1.items[catcherIndex];
                      if (!(!catcherItem || catcherItem.type !== "catcher")) return [3, 5];
                      throw err_2;
                    case 5:
                      index = catcherIndex;
                      return [4, catcherItem.catcher(err_2, {
                        async: true
                      })];
                    case 6:
                      val = _a.sent();
                      _a.label = 7;
                    case 7:
                      return [3, 8];
                    case 8:
                      if (val instanceof PseudoPromise) {
                        throw new Error("ASYNC: DO NOT RETURN PSEUDOPROMISE FROM FUNCTIONS");
                      }
                      if (val instanceof Promise) {
                        throw new Error("ASYNC: DO NOT RETURN PROMISE FROM FUNCTIONS");
                      }
                      out_index_2 = index;
                      return [2];
                  }
                });
              };
              this_1 = this;
              index = 0;
              _a.label = 1;
            case 1:
              if (!(index < this.items.length)) return [3, 4];
              return [5, _loop_2(index)];
            case 2:
              _a.sent();
              index = out_index_2;
              _a.label = 3;
            case 3:
              index++;
              return [3, 1];
            case 4:
              return [2, val];
          }
        });
      });
    };
    this.items = funcs;
  }
  PseudoPromise.all = function (pps) {
    return new PseudoPromise().all(pps);
  };
  PseudoPromise.object = function (pps) {
    return new PseudoPromise().then(function (_arg, ctx) {
      var e_1, _a;
      var value = {};
      var zerr = new ZodError_1.ZodError([]);
      if (ctx.async) {
        var getAsyncObject = function () {
          return __awaiter(void 0, void 0, void 0, function () {
            var items, items_2, items_2_1, item;
            var e_2, _a;
            return __generator(this, function (_b) {
              switch (_b.label) {
                case 0:
                  return [4, Promise.all(Object.keys(pps).map(function (k) {
                    return __awaiter(void 0, void 0, void 0, function () {
                      var v, err_3;
                      return __generator(this, function (_a) {
                        switch (_a.label) {
                          case 0:
                            _a.trys.push([0, 2,, 3]);
                            return [4, pps[k].getValueAsync()];
                          case 1:
                            v = _a.sent();
                            return [2, [k, v]];
                          case 2:
                            err_3 = _a.sent();
                            if (err_3 instanceof ZodError_1.ZodError) {
                              zerr.addIssues(err_3.issues);
                              return [2, [k, util_1.INVALID]];
                            }
                            throw err_3;
                          case 3:
                            return [2];
                        }
                      });
                    });
                  }))];
                case 1:
                  items = _b.sent();
                  if (!zerr.isEmpty) throw zerr;
                  try {
                    for (items_2 = __values(items), items_2_1 = items_2.next(); !items_2_1.done; items_2_1 = items_2.next()) {
                      item = items_2_1.value;
                      if (item[1] !== exports.NOSET) value[item[0]] = item[1];
                    }
                  } catch (e_2_1) {
                    e_2 = {
                      error: e_2_1
                    };
                  } finally {
                    try {
                      if (items_2_1 && !items_2_1.done && (_a = items_2.return)) _a.call(items_2);
                    } finally {
                      if (e_2) throw e_2.error;
                    }
                  }
                  return [2, value];
              }
            });
          });
        };
        return getAsyncObject();
      } else {
        var items = Object.keys(pps).map(function (k) {
          try {
            var v = pps[k].getValueSync();
            return [k, v];
          } catch (err) {
            if (err instanceof ZodError_1.ZodError) {
              zerr.addIssues(err.issues);
              return [k, util_1.INVALID];
            }
            throw err;
          }
        });
        if (!zerr.isEmpty) throw zerr;
        try {
          for (var items_1 = __values(items), items_1_1 = items_1.next(); !items_1_1.done; items_1_1 = items_1.next()) {
            var item = items_1_1.value;
            if (item[1] !== exports.NOSET) value[item[0]] = item[1];
          }
        } catch (e_1_1) {
          e_1 = {
            error: e_1_1
          };
        } finally {
          try {
            if (items_1_1 && !items_1_1.done && (_a = items_1.return)) _a.call(items_1);
          } finally {
            if (e_1) throw e_1.error;
          }
        }
        return value;
      }
    });
  };
  PseudoPromise.resolve = function (value) {
    if (value instanceof PseudoPromise) {
      throw new Error("Do not pass PseudoPromise into PseudoPromise.resolve");
    }
    return new PseudoPromise().then(function () {
      return value;
    });
  };
  return PseudoPromise;
}();
exports.PseudoPromise = PseudoPromise;

/***/ }),

/***/ 1646:
/*!***********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/ZodParsedType.js ***!
  \***********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodParsedType = void 0;
var util_1 = __webpack_require__(/*! ./helpers/util */ 1643);
exports.ZodParsedType = util_1.util.arrayToEnum(["string", "nan", "number", "integer", "boolean", "date", "bigint", "symbol", "function", "undefined", "null", "array", "object", "unknown", "promise", "void", "never", "map"]);

/***/ }),

/***/ 1647:
/*!******************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/ZodTypes.js ***!
  \******************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodTypes = void 0;
var ZodTypes;
(function (ZodTypes) {
  ZodTypes["string"] = "string";
  ZodTypes["number"] = "number";
  ZodTypes["bigint"] = "bigint";
  ZodTypes["boolean"] = "boolean";
  ZodTypes["date"] = "date";
  ZodTypes["undefined"] = "undefined";
  ZodTypes["null"] = "null";
  ZodTypes["array"] = "array";
  ZodTypes["object"] = "object";
  ZodTypes["union"] = "union";
  ZodTypes["intersection"] = "intersection";
  ZodTypes["tuple"] = "tuple";
  ZodTypes["record"] = "record";
  ZodTypes["map"] = "map";
  ZodTypes["function"] = "function";
  ZodTypes["lazy"] = "lazy";
  ZodTypes["literal"] = "literal";
  ZodTypes["enum"] = "enum";
  ZodTypes["nativeEnum"] = "nativeEnum";
  ZodTypes["promise"] = "promise";
  ZodTypes["any"] = "any";
  ZodTypes["unknown"] = "unknown";
  ZodTypes["never"] = "never";
  ZodTypes["void"] = "void";
  ZodTypes["transformer"] = "transformer";
  ZodTypes["optional"] = "optional";
  ZodTypes["nullable"] = "nullable";
})(ZodTypes = exports.ZodTypes || (exports.ZodTypes = {}));

/***/ }),

/***/ 1648:
/*!*******************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/any.js ***!
  \*******************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodAny = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodAny = function (_super) {
  __extends(ZodAny, _super);
  function ZodAny() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return _this._def;
    };
    return _this;
  }
  ZodAny.create = function () {
    return new ZodAny({
      t: ZodTypes_1.ZodTypes.any
    });
  };
  return ZodAny;
}(base_1.ZodType);
exports.ZodAny = ZodAny;

/***/ }),

/***/ 1649:
/*!*********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/array.js ***!
  \*********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
var __assign = this && this.__assign || function () {
  __assign = Object.assign || function (t) {
    for (var s, i = 1, n = arguments.length; i < n; i++) {
      s = arguments[i];
      for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
    }
    return t;
  };
  return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodNonEmptyArray = exports.ZodArray = void 0;
var ZodError_1 = __webpack_require__(/*! ../ZodError */ 1644);
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodArray = function (_super) {
  __extends(ZodArray, _super);
  function ZodArray() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return {
        t: _this._def.t,
        nonempty: _this._def.nonempty,
        type: _this._def.type.toJSON()
      };
    };
    _this.min = function (minLength, message) {
      return _this.refinement(function (data) {
        return data.length >= minLength;
      }, __assign({
        code: ZodError_1.ZodIssueCode.too_small,
        type: "array",
        inclusive: true,
        minimum: minLength
      }, typeof message === "string" ? {
        message: message
      } : message));
    };
    _this.max = function (maxLength, message) {
      return _this.refinement(function (data) {
        return data.length <= maxLength;
      }, __assign({
        code: ZodError_1.ZodIssueCode.too_big,
        type: "array",
        inclusive: true,
        maximum: maxLength
      }, typeof message === "string" ? {
        message: message
      } : message));
    };
    _this.length = function (len, message) {
      return _this.min(len, {
        message: message
      }).max(len, {
        message: message
      });
    };
    _this.nonempty = function () {
      return new ZodNonEmptyArray(__assign(__assign({}, _this._def), {
        nonempty: true
      }));
    };
    return _this;
  }
  Object.defineProperty(ZodArray.prototype, "element", {
    get: function () {
      return this._def.type;
    },
    enumerable: false,
    configurable: true
  });
  ZodArray.create = function (schema) {
    return new ZodArray({
      t: ZodTypes_1.ZodTypes.array,
      type: schema,
      nonempty: false
    });
  };
  return ZodArray;
}(base_1.ZodType);
exports.ZodArray = ZodArray;
var ZodNonEmptyArray = function (_super) {
  __extends(ZodNonEmptyArray, _super);
  function ZodNonEmptyArray() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return {
        t: _this._def.t,
        type: _this._def.type.toJSON()
      };
    };
    _this.min = function (minLength, message) {
      return _this.refinement(function (data) {
        return data.length >= minLength;
      }, __assign({
        code: ZodError_1.ZodIssueCode.too_small,
        minimum: minLength,
        type: "array",
        inclusive: true
      }, typeof message === "string" ? {
        message: message
      } : message));
    };
    _this.max = function (maxLength, message) {
      return _this.refinement(function (data) {
        return data.length <= maxLength;
      }, __assign({
        code: ZodError_1.ZodIssueCode.too_big,
        maximum: maxLength,
        type: "array",
        inclusive: true
      }, typeof message === "string" ? {
        message: message
      } : message));
    };
    _this.length = function (len, message) {
      return _this.min(len, {
        message: message
      }).max(len, {
        message: message
      });
    };
    return _this;
  }
  return ZodNonEmptyArray;
}(base_1.ZodType);
exports.ZodNonEmptyArray = ZodNonEmptyArray;

/***/ }),

/***/ 1650:
/*!**********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/bigint.js ***!
  \**********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodBigInt = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodBigInt = function (_super) {
  __extends(ZodBigInt, _super);
  function ZodBigInt() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return _this._def;
    };
    return _this;
  }
  ZodBigInt.create = function () {
    return new ZodBigInt({
      t: ZodTypes_1.ZodTypes.bigint
    });
  };
  return ZodBigInt;
}(base_1.ZodType);
exports.ZodBigInt = ZodBigInt;

/***/ }),

/***/ 1651:
/*!***********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/boolean.js ***!
  \***********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodBoolean = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodBoolean = function (_super) {
  __extends(ZodBoolean, _super);
  function ZodBoolean() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return _this._def;
    };
    return _this;
  }
  ZodBoolean.create = function () {
    return new ZodBoolean({
      t: ZodTypes_1.ZodTypes.boolean
    });
  };
  return ZodBoolean;
}(base_1.ZodType);
exports.ZodBoolean = ZodBoolean;

/***/ }),

/***/ 1652:
/*!********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/date.js ***!
  \********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodDate = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodDate = function (_super) {
  __extends(ZodDate, _super);
  function ZodDate() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return _this._def;
    };
    return _this;
  }
  ZodDate.create = function () {
    return new ZodDate({
      t: ZodTypes_1.ZodTypes.date
    });
  };
  return ZodDate;
}(base_1.ZodType);
exports.ZodDate = ZodDate;

/***/ }),

/***/ 1653:
/*!********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/enum.js ***!
  \********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
var __values = this && this.__values || function (o) {
  var s = typeof Symbol === "function" && Symbol.iterator,
    m = s && o[s],
    i = 0;
  if (m) return m.call(o);
  if (o && typeof o.length === "number") return {
    next: function () {
      if (o && i >= o.length) o = void 0;
      return {
        value: o && o[i++],
        done: !o
      };
    }
  };
  throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
};
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodEnum = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodEnum = function (_super) {
  __extends(ZodEnum, _super);
  function ZodEnum() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return _this._def;
    };
    return _this;
  }
  Object.defineProperty(ZodEnum.prototype, "options", {
    get: function () {
      return this._def.values;
    },
    enumerable: false,
    configurable: true
  });
  Object.defineProperty(ZodEnum.prototype, "enum", {
    get: function () {
      var e_1, _a;
      var enumValues = {};
      try {
        for (var _b = __values(this._def.values), _c = _b.next(); !_c.done; _c = _b.next()) {
          var val = _c.value;
          enumValues[val] = val;
        }
      } catch (e_1_1) {
        e_1 = {
          error: e_1_1
        };
      } finally {
        try {
          if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
        } finally {
          if (e_1) throw e_1.error;
        }
      }
      return enumValues;
    },
    enumerable: false,
    configurable: true
  });
  Object.defineProperty(ZodEnum.prototype, "Values", {
    get: function () {
      var e_2, _a;
      var enumValues = {};
      try {
        for (var _b = __values(this._def.values), _c = _b.next(); !_c.done; _c = _b.next()) {
          var val = _c.value;
          enumValues[val] = val;
        }
      } catch (e_2_1) {
        e_2 = {
          error: e_2_1
        };
      } finally {
        try {
          if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
        } finally {
          if (e_2) throw e_2.error;
        }
      }
      return enumValues;
    },
    enumerable: false,
    configurable: true
  });
  Object.defineProperty(ZodEnum.prototype, "Enum", {
    get: function () {
      var e_3, _a;
      var enumValues = {};
      try {
        for (var _b = __values(this._def.values), _c = _b.next(); !_c.done; _c = _b.next()) {
          var val = _c.value;
          enumValues[val] = val;
        }
      } catch (e_3_1) {
        e_3 = {
          error: e_3_1
        };
      } finally {
        try {
          if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
        } finally {
          if (e_3) throw e_3.error;
        }
      }
      return enumValues;
    },
    enumerable: false,
    configurable: true
  });
  ZodEnum.create = function (values) {
    return new ZodEnum({
      t: ZodTypes_1.ZodTypes.enum,
      values: values
    });
  };
  return ZodEnum;
}(base_1.ZodType);
exports.ZodEnum = ZodEnum;

/***/ }),

/***/ 1654:
/*!************************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/function.js ***!
  \************************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
var __assign = this && this.__assign || function () {
  __assign = Object.assign || function (t) {
    for (var s, i = 1, n = arguments.length; i < n; i++) {
      s = arguments[i];
      for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
    }
    return t;
  };
  return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodFunction = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var tuple_1 = __webpack_require__(/*! ./tuple */ 1655);
var unknown_1 = __webpack_require__(/*! ./unknown */ 1656);
var ZodFunction = function (_super) {
  __extends(ZodFunction, _super);
  function ZodFunction() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.args = function () {
      var items = [];
      for (var _i = 0; _i < arguments.length; _i++) {
        items[_i] = arguments[_i];
      }
      return new ZodFunction(__assign(__assign({}, _this._def), {
        args: tuple_1.ZodTuple.create(items)
      }));
    };
    _this.returns = function (returnType) {
      return new ZodFunction(__assign(__assign({}, _this._def), {
        returns: returnType
      }));
    };
    _this.implement = function (func) {
      var validatedFunc = _this.parse(func);
      return validatedFunc;
    };
    _this.validate = _this.implement;
    _this.toJSON = function () {
      return {
        t: _this._def.t,
        args: _this._def.args.toJSON(),
        returns: _this._def.returns.toJSON()
      };
    };
    return _this;
  }
  ZodFunction.create = function (args, returns) {
    return new ZodFunction({
      t: ZodTypes_1.ZodTypes.function,
      args: args || tuple_1.ZodTuple.create([]),
      returns: returns || unknown_1.ZodUnknown.create()
    });
  };
  return ZodFunction;
}(base_1.ZodType);
exports.ZodFunction = ZodFunction;

/***/ }),

/***/ 1655:
/*!*********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/tuple.js ***!
  \*********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodTuple = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodTuple = function (_super) {
  __extends(ZodTuple, _super);
  function ZodTuple() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return {
        t: _this._def.t,
        items: _this._def.items.map(function (item) {
          return item.toJSON();
        })
      };
    };
    return _this;
  }
  Object.defineProperty(ZodTuple.prototype, "items", {
    get: function () {
      return this._def.items;
    },
    enumerable: false,
    configurable: true
  });
  ZodTuple.create = function (schemas) {
    return new ZodTuple({
      t: ZodTypes_1.ZodTypes.tuple,
      items: schemas
    });
  };
  return ZodTuple;
}(base_1.ZodType);
exports.ZodTuple = ZodTuple;

/***/ }),

/***/ 1656:
/*!***********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/unknown.js ***!
  \***********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodUnknown = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodUnknown = function (_super) {
  __extends(ZodUnknown, _super);
  function ZodUnknown() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return _this._def;
    };
    return _this;
  }
  ZodUnknown.create = function () {
    return new ZodUnknown({
      t: ZodTypes_1.ZodTypes.unknown
    });
  };
  return ZodUnknown;
}(base_1.ZodType);
exports.ZodUnknown = ZodUnknown;

/***/ }),

/***/ 1657:
/*!****************************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/intersection.js ***!
  \****************************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodIntersection = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodIntersection = function (_super) {
  __extends(ZodIntersection, _super);
  function ZodIntersection() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return {
        t: _this._def.t,
        left: _this._def.left.toJSON(),
        right: _this._def.right.toJSON()
      };
    };
    return _this;
  }
  ZodIntersection.create = function (left, right) {
    return new ZodIntersection({
      t: ZodTypes_1.ZodTypes.intersection,
      left: left,
      right: right
    });
  };
  return ZodIntersection;
}(base_1.ZodType);
exports.ZodIntersection = ZodIntersection;

/***/ }),

/***/ 1658:
/*!********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/lazy.js ***!
  \********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodLazy = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodLazy = function (_super) {
  __extends(ZodLazy, _super);
  function ZodLazy() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      throw new Error("Can't JSONify recursive structure");
    };
    return _this;
  }
  Object.defineProperty(ZodLazy.prototype, "schema", {
    get: function () {
      return this._def.getter();
    },
    enumerable: false,
    configurable: true
  });
  ZodLazy.create = function (getter) {
    return new ZodLazy({
      t: ZodTypes_1.ZodTypes.lazy,
      getter: getter
    });
  };
  return ZodLazy;
}(base_1.ZodType);
exports.ZodLazy = ZodLazy;

/***/ }),

/***/ 1659:
/*!***********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/literal.js ***!
  \***********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodLiteral = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodLiteral = function (_super) {
  __extends(ZodLiteral, _super);
  function ZodLiteral() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return _this._def;
    };
    return _this;
  }
  ZodLiteral.create = function (value) {
    return new ZodLiteral({
      t: ZodTypes_1.ZodTypes.literal,
      value: value
    });
  };
  return ZodLiteral;
}(base_1.ZodType);
exports.ZodLiteral = ZodLiteral;

/***/ }),

/***/ 1660:
/*!*******************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/map.js ***!
  \*******************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodMap = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodMap = function (_super) {
  __extends(ZodMap, _super);
  function ZodMap() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return {
        t: _this._def.t,
        valueType: _this._def.valueType.toJSON(),
        keyType: _this._def.keyType.toJSON()
      };
    };
    return _this;
  }
  ZodMap.create = function (keyType, valueType) {
    return new ZodMap({
      t: ZodTypes_1.ZodTypes.map,
      valueType: valueType,
      keyType: keyType
    });
  };
  return ZodMap;
}(base_1.ZodType);
exports.ZodMap = ZodMap;

/***/ }),

/***/ 1661:
/*!**************************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/nativeEnum.js ***!
  \**************************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodNativeEnum = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodNativeEnum = function (_super) {
  __extends(ZodNativeEnum, _super);
  function ZodNativeEnum() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return _this._def;
    };
    return _this;
  }
  ZodNativeEnum.create = function (values) {
    return new ZodNativeEnum({
      t: ZodTypes_1.ZodTypes.nativeEnum,
      values: values
    });
  };
  return ZodNativeEnum;
}(base_1.ZodType);
exports.ZodNativeEnum = ZodNativeEnum;

/***/ }),

/***/ 1662:
/*!*********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/never.js ***!
  \*********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodNever = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodNever = function (_super) {
  __extends(ZodNever, _super);
  function ZodNever() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.__class = "ZodNever";
    _this.toJSON = function () {
      return _this._def;
    };
    return _this;
  }
  ZodNever.create = function () {
    return new ZodNever({
      t: ZodTypes_1.ZodTypes.never
    });
  };
  return ZodNever;
}(base_1.ZodType);
exports.ZodNever = ZodNever;

/***/ }),

/***/ 1663:
/*!********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/null.js ***!
  \********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodNull = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodNull = function (_super) {
  __extends(ZodNull, _super);
  function ZodNull() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return _this._def;
    };
    return _this;
  }
  ZodNull.create = function () {
    return new ZodNull({
      t: ZodTypes_1.ZodTypes.null
    });
  };
  return ZodNull;
}(base_1.ZodType);
exports.ZodNull = ZodNull;

/***/ }),

/***/ 1664:
/*!************************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/nullable.js ***!
  \************************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodNullable = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodNullable = function (_super) {
  __extends(ZodNullable, _super);
  function ZodNullable() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return {
        t: _this._def.t,
        innerType: _this._def.innerType.toJSON()
      };
    };
    return _this;
  }
  ZodNullable.create = function (type) {
    if (type instanceof ZodNullable) return type;
    return new ZodNullable({
      t: ZodTypes_1.ZodTypes.nullable,
      innerType: type
    });
  };
  return ZodNullable;
}(base_1.ZodType);
exports.ZodNullable = ZodNullable;

/***/ }),

/***/ 1665:
/*!**********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/number.js ***!
  \**********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
var __assign = this && this.__assign || function () {
  __assign = Object.assign || function (t) {
    for (var s, i = 1, n = arguments.length; i < n; i++) {
      s = arguments[i];
      for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
    }
    return t;
  };
  return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodNumber = void 0;
var errorUtil_1 = __webpack_require__(/*! ../helpers/errorUtil */ 1666);
var ZodError_1 = __webpack_require__(/*! ../ZodError */ 1644);
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodNumber = function (_super) {
  __extends(ZodNumber, _super);
  function ZodNumber() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return _this._def;
    };
    _this.min = function (minimum, message) {
      return _this.refinement(function (data) {
        return data >= minimum;
      }, __assign({
        code: ZodError_1.ZodIssueCode.too_small,
        minimum: minimum,
        type: "number",
        inclusive: true
      }, errorUtil_1.errorUtil.errToObj(message)));
    };
    _this.max = function (maximum, message) {
      return _this.refinement(function (data) {
        return data <= maximum;
      }, __assign({
        code: ZodError_1.ZodIssueCode.too_big,
        maximum: maximum,
        type: "number",
        inclusive: true
      }, errorUtil_1.errorUtil.errToObj(message)));
    };
    _this.int = function (message) {
      return _this.refinement(function (data) {
        return Number.isInteger(data);
      }, __assign({
        code: ZodError_1.ZodIssueCode.invalid_type,
        expected: "integer",
        received: "number"
      }, errorUtil_1.errorUtil.errToObj(message)));
    };
    _this.positive = function (message) {
      return _this.refinement(function (data) {
        return data > 0;
      }, __assign({
        code: ZodError_1.ZodIssueCode.too_small,
        minimum: 0,
        type: "number",
        inclusive: false
      }, errorUtil_1.errorUtil.errToObj(message)));
    };
    _this.negative = function (message) {
      return _this.refinement(function (data) {
        return data < 0;
      }, __assign({
        code: ZodError_1.ZodIssueCode.too_big,
        maximum: 0,
        type: "number",
        inclusive: false
      }, errorUtil_1.errorUtil.errToObj(message)));
    };
    _this.nonpositive = function (message) {
      return _this.refinement(function (data) {
        return data <= 0;
      }, __assign({
        code: ZodError_1.ZodIssueCode.too_big,
        maximum: 0,
        type: "number",
        inclusive: true
      }, errorUtil_1.errorUtil.errToObj(message)));
    };
    _this.nonnegative = function (message) {
      return _this.refinement(function (data) {
        return data >= 0;
      }, __assign({
        code: ZodError_1.ZodIssueCode.too_small,
        minimum: 0,
        type: "number",
        inclusive: true
      }, errorUtil_1.errorUtil.errToObj(message)));
    };
    return _this;
  }
  ZodNumber.create = function () {
    return new ZodNumber({
      t: ZodTypes_1.ZodTypes.number
    });
  };
  return ZodNumber;
}(base_1.ZodType);
exports.ZodNumber = ZodNumber;

/***/ }),

/***/ 1666:
/*!***************************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/helpers/errorUtil.js ***!
  \***************************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.errorUtil = void 0;
var errorUtil;
(function (errorUtil) {
  errorUtil.errToObj = function (message) {
    return typeof message === "string" ? {
      message: message
    } : message || {};
  };
})(errorUtil = exports.errorUtil || (exports.errorUtil = {}));

/***/ }),

/***/ 1667:
/*!**********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/object.js ***!
  \**********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
var __assign = this && this.__assign || function () {
  __assign = Object.assign || function (t) {
    for (var s, i = 1, n = arguments.length; i < n; i++) {
      s = arguments[i];
      for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
    }
    return t;
  };
  return __assign.apply(this, arguments);
};
var __read = this && this.__read || function (o, n) {
  var m = typeof Symbol === "function" && o[Symbol.iterator];
  if (!m) return o;
  var i = m.call(o),
    r,
    ar = [],
    e;
  try {
    while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
  } catch (error) {
    e = {
      error: error
    };
  } finally {
    try {
      if (r && !r.done && (m = i["return"])) m.call(i);
    } finally {
      if (e) throw e.error;
    }
  }
  return ar;
};
var __spread = this && this.__spread || function () {
  for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
  return ar;
};
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodObject = exports.mergeObjects = void 0;
var objectUtil_1 = __webpack_require__(/*! ../helpers/objectUtil */ 1668);
var isScalar_1 = __webpack_require__(/*! ../isScalar */ 1669);
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var never_1 = __webpack_require__(/*! ./never */ 1662);
var mergeObjects = function (first) {
  return function (second) {
    var mergedShape = objectUtil_1.objectUtil.mergeShapes(first._def.shape(), second._def.shape());
    var merged = new ZodObject({
      t: ZodTypes_1.ZodTypes.object,
      checks: __spread(first._def.checks || [], second._def.checks || []),
      unknownKeys: first._def.unknownKeys,
      catchall: first._def.catchall,
      shape: function () {
        return mergedShape;
      }
    });
    return merged;
  };
};
exports.mergeObjects = mergeObjects;
var AugmentFactory = function (def) {
  return function (augmentation) {
    return new ZodObject(__assign(__assign({}, def), {
      shape: function () {
        return __assign(__assign({}, def.shape()), augmentation);
      }
    }));
  };
};
var objectDefToJson = function (def) {
  return {
    t: def.t,
    shape: Object.assign.apply(Object, __spread([{}], Object.keys(def.shape()).map(function (k) {
      var _a;
      return _a = {}, _a[k] = def.shape()[k].toJSON(), _a;
    })))
  };
};
var ZodObject = function (_super) {
  __extends(ZodObject, _super);
  function ZodObject() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return objectDefToJson(_this._def);
    };
    _this.strict = function () {
      return new ZodObject(__assign(__assign({}, _this._def), {
        unknownKeys: "strict"
      }));
    };
    _this.strip = function () {
      return new ZodObject(__assign(__assign({}, _this._def), {
        unknownKeys: "strip"
      }));
    };
    _this.passthrough = function () {
      return new ZodObject(__assign(__assign({}, _this._def), {
        unknownKeys: "passthrough"
      }));
    };
    _this.nonstrict = _this.passthrough;
    _this.augment = AugmentFactory(_this._def);
    _this.extend = AugmentFactory(_this._def);
    _this.setKey = function (key, schema) {
      var _a;
      return _this.augment((_a = {}, _a[key] = schema, _a));
    };
    _this.merge = exports.mergeObjects(_this);
    _this.catchall = function (index) {
      return new ZodObject(__assign(__assign({}, _this._def), {
        catchall: index
      }));
    };
    _this.pick = function (mask) {
      var shape = {};
      Object.keys(mask).map(function (key) {
        shape[key] = _this.shape[key];
      });
      return new ZodObject(__assign(__assign({}, _this._def), {
        shape: function () {
          return shape;
        }
      }));
    };
    _this.omit = function (mask) {
      var shape = {};
      Object.keys(_this.shape).map(function (key) {
        if (Object.keys(mask).indexOf(key) === -1) {
          shape[key] = _this.shape[key];
        }
      });
      return new ZodObject(__assign(__assign({}, _this._def), {
        shape: function () {
          return shape;
        }
      }));
    };
    _this.partial = function () {
      var newShape = {};
      for (var key in _this.shape) {
        var fieldSchema = _this.shape[key];
        newShape[key] = fieldSchema.isOptional() ? fieldSchema : fieldSchema.optional();
      }
      return new ZodObject(__assign(__assign({}, _this._def), {
        shape: function () {
          return newShape;
        }
      }));
    };
    _this.primitives = function () {
      var newShape = {};
      for (var key in _this.shape) {
        if (isScalar_1.isScalar(_this.shape[key])) {
          newShape[key] = _this.shape[key];
        }
      }
      return new ZodObject(__assign(__assign({}, _this._def), {
        shape: function () {
          return newShape;
        }
      }));
    };
    _this.nonprimitives = function () {
      var newShape = {};
      for (var key in _this.shape) {
        if (!isScalar_1.isScalar(_this.shape[key])) {
          newShape[key] = _this.shape[key];
        }
      }
      return new ZodObject(__assign(__assign({}, _this._def), {
        shape: function () {
          return newShape;
        }
      }));
    };
    _this.deepPartial = function () {
      var newShape = {};
      for (var key in _this.shape) {
        var fieldSchema = _this.shape[key];
        if (fieldSchema instanceof ZodObject) {
          newShape[key] = fieldSchema.isOptional() ? fieldSchema : fieldSchema.deepPartial().optional();
        } else {
          newShape[key] = fieldSchema.isOptional() ? fieldSchema : fieldSchema.optional();
        }
      }
      return new ZodObject(__assign(__assign({}, _this._def), {
        shape: function () {
          return newShape;
        }
      }));
    };
    return _this;
  }
  Object.defineProperty(ZodObject.prototype, "shape", {
    get: function () {
      return this._def.shape();
    },
    enumerable: false,
    configurable: true
  });
  ZodObject.create = function (shape) {
    return new ZodObject({
      t: ZodTypes_1.ZodTypes.object,
      shape: function () {
        return shape;
      },
      unknownKeys: "strip",
      catchall: never_1.ZodNever.create()
    });
  };
  ZodObject.lazycreate = function (shape) {
    return new ZodObject({
      t: ZodTypes_1.ZodTypes.object,
      shape: shape,
      unknownKeys: "strip",
      catchall: never_1.ZodNever.create()
    });
  };
  return ZodObject;
}(base_1.ZodType);
exports.ZodObject = ZodObject;

/***/ }),

/***/ 1668:
/*!****************************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/helpers/objectUtil.js ***!
  \****************************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __assign = this && this.__assign || function () {
  __assign = Object.assign || function (t) {
    for (var s, i = 1, n = arguments.length; i < n; i++) {
      s = arguments[i];
      for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
    }
    return t;
  };
  return __assign.apply(this, arguments);
};
var __values = this && this.__values || function (o) {
  var s = typeof Symbol === "function" && Symbol.iterator,
    m = s && o[s],
    i = 0;
  if (m) return m.call(o);
  if (o && typeof o.length === "number") return {
    next: function () {
      if (o && i >= o.length) o = void 0;
      return {
        value: o && o[i++],
        done: !o
      };
    }
  };
  throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
};
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.objectUtil = void 0;
var __1 = __webpack_require__(/*! .. */ 1639);
var objectUtil;
(function (objectUtil) {
  objectUtil.mergeShapes = function (first, second) {
    var e_1, _a;
    var firstKeys = Object.keys(first);
    var secondKeys = Object.keys(second);
    var sharedKeys = firstKeys.filter(function (k) {
      return secondKeys.indexOf(k) !== -1;
    });
    var sharedShape = {};
    try {
      for (var sharedKeys_1 = __values(sharedKeys), sharedKeys_1_1 = sharedKeys_1.next(); !sharedKeys_1_1.done; sharedKeys_1_1 = sharedKeys_1.next()) {
        var k = sharedKeys_1_1.value;
        sharedShape[k] = __1.ZodIntersection.create(first[k], second[k]);
      }
    } catch (e_1_1) {
      e_1 = {
        error: e_1_1
      };
    } finally {
      try {
        if (sharedKeys_1_1 && !sharedKeys_1_1.done && (_a = sharedKeys_1.return)) _a.call(sharedKeys_1);
      } finally {
        if (e_1) throw e_1.error;
      }
    }
    return __assign(__assign(__assign({}, first), second), sharedShape);
  };
})(objectUtil = exports.objectUtil || (exports.objectUtil = {}));

/***/ }),

/***/ 1669:
/*!******************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/isScalar.js ***!
  \******************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.isScalar = void 0;
var _1 = __webpack_require__(/*! . */ 1639);
var util_1 = __webpack_require__(/*! ./helpers/util */ 1643);
var isScalar = function (schema, params) {
  if (params === void 0) {
    params = {
      root: true
    };
  }
  var def = schema._def;
  var returnValue = false;
  switch (def.t) {
    case _1.ZodTypes.string:
      returnValue = true;
      break;
    case _1.ZodTypes.number:
      returnValue = true;
      break;
    case _1.ZodTypes.bigint:
      returnValue = true;
      break;
    case _1.ZodTypes.boolean:
      returnValue = true;
      break;
    case _1.ZodTypes.undefined:
      returnValue = true;
      break;
    case _1.ZodTypes.null:
      returnValue = true;
      break;
    case _1.ZodTypes.any:
      returnValue = false;
      break;
    case _1.ZodTypes.unknown:
      returnValue = false;
      break;
    case _1.ZodTypes.never:
      returnValue = false;
      break;
    case _1.ZodTypes.void:
      returnValue = false;
      break;
    case _1.ZodTypes.array:
      if (params.root === false) return false;
      returnValue = exports.isScalar(def.type, {
        root: false
      });
      break;
    case _1.ZodTypes.object:
      returnValue = false;
      break;
    case _1.ZodTypes.union:
      returnValue = def.options.every(function (x) {
        return exports.isScalar(x);
      });
      break;
    case _1.ZodTypes.intersection:
      returnValue = exports.isScalar(def.left) && exports.isScalar(def.right);
      break;
    case _1.ZodTypes.tuple:
      returnValue = def.items.every(function (x) {
        return exports.isScalar(x, {
          root: false
        });
      });
      break;
    case _1.ZodTypes.lazy:
      returnValue = exports.isScalar(def.getter());
      break;
    case _1.ZodTypes.literal:
      returnValue = true;
      break;
    case _1.ZodTypes.enum:
      returnValue = true;
      break;
    case _1.ZodTypes.nativeEnum:
      returnValue = true;
      break;
    case _1.ZodTypes.function:
      returnValue = false;
      break;
    case _1.ZodTypes.record:
      returnValue = false;
      break;
    case _1.ZodTypes.map:
      returnValue = false;
      break;
    case _1.ZodTypes.date:
      returnValue = true;
      break;
    case _1.ZodTypes.promise:
      returnValue = false;
      break;
    case _1.ZodTypes.transformer:
      returnValue = exports.isScalar(def.output);
      break;
    case _1.ZodTypes.optional:
      returnValue = exports.isScalar(def.innerType);
      break;
    case _1.ZodTypes.nullable:
      returnValue = exports.isScalar(def.innerType);
      break;
    default:
      util_1.util.assertNever(def);
  }
  return returnValue;
};
exports.isScalar = isScalar;

/***/ }),

/***/ 1670:
/*!************************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/optional.js ***!
  \************************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodOptional = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodOptional = function (_super) {
  __extends(ZodOptional, _super);
  function ZodOptional() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return {
        t: _this._def.t,
        innerType: _this._def.innerType.toJSON()
      };
    };
    return _this;
  }
  ZodOptional.create = function (type) {
    if (type instanceof ZodOptional) return type;
    return new ZodOptional({
      t: ZodTypes_1.ZodTypes.optional,
      innerType: type
    });
  };
  return ZodOptional;
}(base_1.ZodType);
exports.ZodOptional = ZodOptional;

/***/ }),

/***/ 1671:
/*!***********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/promise.js ***!
  \***********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodPromise = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodPromise = function (_super) {
  __extends(ZodPromise, _super);
  function ZodPromise() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return {
        t: _this._def.t,
        type: _this._def.type.toJSON()
      };
    };
    return _this;
  }
  ZodPromise.create = function (schema) {
    return new ZodPromise({
      t: ZodTypes_1.ZodTypes.promise,
      type: schema
    });
  };
  return ZodPromise;
}(base_1.ZodType);
exports.ZodPromise = ZodPromise;

/***/ }),

/***/ 1672:
/*!**********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/record.js ***!
  \**********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodRecord = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodRecord = function (_super) {
  __extends(ZodRecord, _super);
  function ZodRecord() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return {
        t: _this._def.t,
        valueType: _this._def.valueType.toJSON()
      };
    };
    return _this;
  }
  ZodRecord.create = function (valueType) {
    return new ZodRecord({
      t: ZodTypes_1.ZodTypes.record,
      valueType: valueType
    });
  };
  return ZodRecord;
}(base_1.ZodType);
exports.ZodRecord = ZodRecord;

/***/ }),

/***/ 1673:
/*!**********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/string.js ***!
  \**********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
var __assign = this && this.__assign || function () {
  __assign = Object.assign || function (t) {
    for (var s, i = 1, n = arguments.length; i < n; i++) {
      s = arguments[i];
      for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
    }
    return t;
  };
  return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodString = void 0;
var errorUtil_1 = __webpack_require__(/*! ../helpers/errorUtil */ 1666);
var ZodError_1 = __webpack_require__(/*! ../ZodError */ 1644);
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var emailRegex = /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i;
var uuidRegex = /([a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}){1}/i;
var ZodString = function (_super) {
  __extends(ZodString, _super);
  function ZodString() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.inputSchema = _this;
    _this.outputSchema = _this;
    _this.toJSON = function () {
      return _this._def;
    };
    _this.min = function (minLength, message) {
      return _this.refinement(function (data) {
        return data.length >= minLength;
      }, __assign({
        code: ZodError_1.ZodIssueCode.too_small,
        minimum: minLength,
        type: "string",
        inclusive: true
      }, errorUtil_1.errorUtil.errToObj(message)));
    };
    _this.max = function (maxLength, message) {
      return _this.refinement(function (data) {
        return data.length <= maxLength;
      }, __assign({
        code: ZodError_1.ZodIssueCode.too_big,
        maximum: maxLength,
        type: "string",
        inclusive: true
      }, errorUtil_1.errorUtil.errToObj(message)));
    };
    _this._regex = function (regex, validation, message) {
      return _this.refinement(function (data) {
        return regex.test(data);
      }, __assign({
        validation: validation,
        code: ZodError_1.ZodIssueCode.invalid_string
      }, errorUtil_1.errorUtil.errToObj(message)));
    };
    _this.email = function (message) {
      return _this._regex(emailRegex, "email", message);
    };
    _this.url = function (message) {
      return _this.refinement(function (data) {
        try {
          new URL(data);
          return true;
        } catch (_a) {
          return false;
        }
      }, __assign({
        code: ZodError_1.ZodIssueCode.invalid_string,
        validation: "url"
      }, errorUtil_1.errorUtil.errToObj(message)));
    };
    _this.uuid = function (message) {
      return _this._regex(uuidRegex, "uuid", message);
    };
    _this.regex = function (regexp, message) {
      return _this._regex(regexp, "regex", message);
    };
    _this.nonempty = function (message) {
      return _this.min(1, errorUtil_1.errorUtil.errToObj(message));
    };
    return _this;
  }
  ZodString.prototype.length = function (len, message) {
    return this.min(len, message).max(len, message);
  };
  ZodString.create = function () {
    return new ZodString({
      t: ZodTypes_1.ZodTypes.string,
      validation: {}
    });
  };
  return ZodString;
}(base_1.ZodType);
exports.ZodString = ZodString;

/***/ }),

/***/ 1674:
/*!***************************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/transformer.js ***!
  \***************************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodTransformer = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodTransformer = function (_super) {
  __extends(ZodTransformer, _super);
  function ZodTransformer() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return {
        t: _this._def.t,
        left: _this._def.input.toJSON(),
        right: _this._def.output.toJSON()
      };
    };
    return _this;
  }
  Object.defineProperty(ZodTransformer.prototype, "output", {
    get: function () {
      return this._def.output;
    },
    enumerable: false,
    configurable: true
  });
  ZodTransformer.create = function (input, output, transformer) {
    return new ZodTransformer({
      t: ZodTypes_1.ZodTypes.transformer,
      input: input,
      output: output,
      transformer: transformer
    });
  };
  ZodTransformer.fromSchema = function (input) {
    return new ZodTransformer({
      t: ZodTypes_1.ZodTypes.transformer,
      input: input,
      output: input,
      transformer: function (x) {
        return x;
      }
    });
  };
  return ZodTransformer;
}(base_1.ZodType);
exports.ZodTransformer = ZodTransformer;

/***/ }),

/***/ 1675:
/*!*************************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/undefined.js ***!
  \*************************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodUndefined = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodUndefined = function (_super) {
  __extends(ZodUndefined, _super);
  function ZodUndefined() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return _this._def;
    };
    return _this;
  }
  ZodUndefined.create = function () {
    return new ZodUndefined({
      t: ZodTypes_1.ZodTypes.undefined
    });
  };
  return ZodUndefined;
}(base_1.ZodType);
exports.ZodUndefined = ZodUndefined;

/***/ }),

/***/ 1676:
/*!*********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/union.js ***!
  \*********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodUnion = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodUnion = function (_super) {
  __extends(ZodUnion, _super);
  function ZodUnion() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return {
        t: _this._def.t,
        options: _this._def.options.map(function (x) {
          return x.toJSON();
        })
      };
    };
    return _this;
  }
  Object.defineProperty(ZodUnion.prototype, "options", {
    get: function () {
      return this._def.options;
    },
    enumerable: false,
    configurable: true
  });
  ZodUnion.create = function (types) {
    return new ZodUnion({
      t: ZodTypes_1.ZodTypes.union,
      options: types
    });
  };
  return ZodUnion;
}(base_1.ZodType);
exports.ZodUnion = ZodUnion;

/***/ }),

/***/ 1677:
/*!********************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/types/void.js ***!
  \********************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __extends = this && this.__extends || function () {
  var extendStatics = function (d, b) {
    extendStatics = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (d, b) {
      d.__proto__ = b;
    } || function (d, b) {
      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
    };
    return extendStatics(d, b);
  };
  return function (d, b) {
    extendStatics(d, b);
    function __() {
      this.constructor = d;
    }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
}();
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodVoid = void 0;
var ZodTypes_1 = __webpack_require__(/*! ../ZodTypes */ 1647);
var base_1 = __webpack_require__(/*! ./base */ 1640);
var ZodVoid = function (_super) {
  __extends(ZodVoid, _super);
  function ZodVoid() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.toJSON = function () {
      return _this._def;
    };
    return _this;
  }
  ZodVoid.create = function () {
    return new ZodVoid({
      t: ZodTypes_1.ZodTypes.void
    });
  };
  return ZodVoid;
}(base_1.ZodType);
exports.ZodVoid = ZodVoid;

/***/ }),

/***/ 1678:
/*!*****************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/codegen.js ***!
  \*****************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __values = this && this.__values || function (o) {
  var s = typeof Symbol === "function" && Symbol.iterator,
    m = s && o[s],
    i = 0;
  if (m) return m.call(o);
  if (o && typeof o.length === "number") return {
    next: function () {
      if (o && i >= o.length) o = void 0;
      return {
        value: o && o[i++],
        done: !o
      };
    }
  };
  throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
};
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ZodCodeGenerator = void 0;
var util_1 = __webpack_require__(/*! ./helpers/util */ 1643);
var _1 = __webpack_require__(/*! . */ 1639);
var isOptional = function (schema) {
  return schema.isOptional();
};
var ZodCodeGenerator = function () {
  function ZodCodeGenerator() {
    var _this = this;
    this.seen = [];
    this.serial = 0;
    this.randomId = function () {
      return "IZod" + _this.serial++;
    };
    this.findBySchema = function (schema) {
      return _this.seen.find(function (s) {
        return s.schema === schema;
      });
    };
    this.findById = function (id) {
      var found = _this.seen.find(function (s) {
        return s.id === id;
      });
      if (!found) throw new Error("Unfound ID: " + id);
      return found;
    };
    this.dump = function () {
      return "\ntype Identity<T> = T;\n\n" + _this.seen.map(function (item) {
        return "type " + item.id + " = Identity<" + item.type + ">;";
      }).join("\n\n") + "\n";
    };
    this.setType = function (id, type) {
      var found = _this.findById(id);
      found.type = type;
      return found;
    };
    this.generate = function (schema) {
      var e_1, _a, e_2, _b;
      var found = _this.findBySchema(schema);
      if (found) return found;
      var def = schema._def;
      var id = _this.randomId();
      var ty = {
        schema: schema,
        id: id,
        type: "__INCOMPLETE__"
      };
      _this.seen.push(ty);
      switch (def.t) {
        case _1.ZodTypes.string:
          return _this.setType(id, "string");
        case _1.ZodTypes.number:
          return _this.setType(id, "number");
        case _1.ZodTypes.bigint:
          return _this.setType(id, "bigint");
        case _1.ZodTypes.boolean:
          return _this.setType(id, "boolean");
        case _1.ZodTypes.date:
          return _this.setType(id, "Date");
        case _1.ZodTypes.undefined:
          return _this.setType(id, "undefined");
        case _1.ZodTypes.null:
          return _this.setType(id, "null");
        case _1.ZodTypes.any:
          return _this.setType(id, "any");
        case _1.ZodTypes.unknown:
          return _this.setType(id, "unknown");
        case _1.ZodTypes.never:
          return _this.setType(id, "never");
        case _1.ZodTypes.void:
          return _this.setType(id, "void");
        case _1.ZodTypes.literal:
          var val = def.value;
          var literalType = typeof val === "string" ? "\"" + val + "\"" : "" + val;
          return _this.setType(id, literalType);
        case _1.ZodTypes.enum:
          return _this.setType(id, def.values.map(function (v) {
            return "\"" + v + "\"";
          }).join(" | "));
        case _1.ZodTypes.object:
          var objectLines = [];
          var shape = def.shape();
          for (var key in shape) {
            var childSchema = shape[key];
            var childType = _this.generate(childSchema);
            var OPTKEY = isOptional(childSchema) ? "?" : "";
            objectLines.push("" + key + OPTKEY + ": " + childType.id);
          }
          var baseStruct = "{\n" + objectLines.map(function (line) {
            return "  " + line + ";";
          }).join("\n") + "\n}";
          _this.setType(id, "" + baseStruct);
          break;
        case _1.ZodTypes.tuple:
          var tupleLines = [];
          try {
            for (var _c = __values(def.items), _d = _c.next(); !_d.done; _d = _c.next()) {
              var elSchema = _d.value;
              var elType = _this.generate(elSchema);
              tupleLines.push(elType.id);
            }
          } catch (e_1_1) {
            e_1 = {
              error: e_1_1
            };
          } finally {
            try {
              if (_d && !_d.done && (_a = _c.return)) _a.call(_c);
            } finally {
              if (e_1) throw e_1.error;
            }
          }
          var baseTuple = "[\n" + tupleLines.map(function (line) {
            return "  " + line + ",";
          }).join("\n") + "\n]";
          return _this.setType(id, "" + baseTuple);
        case _1.ZodTypes.array:
          return _this.setType(id, _this.generate(def.type).id + "[]");
        case _1.ZodTypes.function:
          var args = _this.generate(def.args);
          var returns = _this.generate(def.returns);
          return _this.setType(id, "(...args: " + args.id + ")=>" + returns.id);
        case _1.ZodTypes.promise:
          var promValue = _this.generate(def.type);
          return _this.setType(id, "Promise<" + promValue.id + ">");
        case _1.ZodTypes.union:
          var unionLines = [];
          try {
            for (var _e = __values(def.options), _f = _e.next(); !_f.done; _f = _e.next()) {
              var elSchema = _f.value;
              var elType = _this.generate(elSchema);
              unionLines.push(elType.id);
            }
          } catch (e_2_1) {
            e_2 = {
              error: e_2_1
            };
          } finally {
            try {
              if (_f && !_f.done && (_b = _e.return)) _b.call(_e);
            } finally {
              if (e_2) throw e_2.error;
            }
          }
          return _this.setType(id, unionLines.join(" | "));
        case _1.ZodTypes.intersection:
          return _this.setType(id, _this.generate(def.left).id + " & " + _this.generate(def.right).id);
        case _1.ZodTypes.record:
          return _this.setType(id, "{[k:string]: " + _this.generate(def.valueType).id + "}");
        case _1.ZodTypes.transformer:
          return _this.setType(id, _this.generate(def.output).id);
        case _1.ZodTypes.map:
          return _this.setType(id, "Map<" + _this.generate(def.keyType).id + ", " + _this.generate(def.valueType).id + ">");
        case _1.ZodTypes.lazy:
          var lazyType = def.getter();
          return _this.setType(id, _this.generate(lazyType).id);
        case _1.ZodTypes.nativeEnum:
          return _this.setType(id, "asdf");
        case _1.ZodTypes.optional:
          return _this.setType(id, _this.generate(def.innerType).id + " | undefined");
        case _1.ZodTypes.nullable:
          return _this.setType(id, _this.generate(def.innerType).id + " | null");
        default:
          util_1.util.assertNever(def);
      }
      return _this.findById(id);
    };
  }
  ZodCodeGenerator.create = function () {
    return new ZodCodeGenerator();
  };
  return ZodCodeGenerator;
}();
exports.ZodCodeGenerator = ZodCodeGenerator;

/***/ }),

/***/ 1679:
/*!****************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/ZodDef.js ***!
  \****************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});

/***/ }),

/***/ 1680:
/*!*********************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/build/schema.js ***!
  \*********************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.favoriteDriveDocumentsResponseSchema = exports.recentDriveDocumentsChangesSchema = exports.isRecentChangesStatusCodeResponse = exports.recentChangesStatusCodeResponseSchema = exports.recentDriveDocumentsResponseSchema = exports.driveFolderSchema = exports.driveFileSchema = void 0;
var safe_1 = __webpack_require__(/*! @icloudweb/safe */ 2162);
/** @see https://at.apple.com/9hkPDO */
var driveZoneIdSchema = safe_1.t.object({
  zoneName: safe_1.t.string(),
  ownerRecordName: safe_1.t.string()
});
/** @see https://at.apple.com/jfNses */
var driveShareIdSchema = safe_1.t.object({
  shareName: safe_1.t.string(),
  recordName: safe_1.t.string(),
  zoneID: driveZoneIdSchema
});
/** @see https://at.apple.com/4IrrV94 */
var driveShareOwnerSchema = safe_1.t.object({
  firstName: safe_1.t.string(),
  lastName: safe_1.t.string(),
  ownerRecordName: safe_1.t.string()
});
/** @see https://at.apple.com/M1YdR */
exports.driveFileSchema = safe_1.t.object({
  docwsid: safe_1.t.string(),
  drivewsid: safe_1.t.string().min(1),
  item_id: safe_1.t.string().optional(),
  parentId: safe_1.t.string(),
  zone: safe_1.t.string(),
  type: safe_1.t.literal("FILE"),
  shortGuid: safe_1.t.string().optional(),
  shortGUID: safe_1.t.string().optional(),
  isChainedToParent: safe_1.t.boolean(),
  name: safe_1.t.string(),
  etag: safe_1.t.string(),
  size: safe_1.t.number(),
  dateModified: safe_1.t.string(),
  dateChanged: safe_1.t.string(),
  extension: safe_1.t.string().optional(),
  shareID: driveShareIdSchema.optional(),
  share: safe_1.t.union([safe_1.t.literal("FROM_ME"), safe_1.t.literal("TO_ME")]).optional(),
  owner: driveShareOwnerSchema.optional(),
  lastOpenTime: safe_1.t.string().optional(),
  urls: safe_1.t.object({
    url_download: safe_1.t.string().optional(),
    url_thumbnail: safe_1.t.string().optional(),
    url_manifest: safe_1.t.string().optional()
  }).optional()
});
/** @see https://at.apple.com/ald21 */
exports.driveFolderSchema = safe_1.t.object({
  docwsid: safe_1.t.string(),
  drivewsid: safe_1.t.string().min(1),
  item_id: safe_1.t.string().optional(),
  parentId: safe_1.t.string(),
  zone: safe_1.t.string(),
  type: safe_1.t.literal("FOLDER"),
  shortGuid: safe_1.t.string().optional(),
  isChainedToParent: safe_1.t.boolean(),
  name: safe_1.t.string(),
  etag: safe_1.t.string(),
  assetQuota: safe_1.t.number(),
  fileCount: safe_1.t.number(),
  shareCount: safe_1.t.number(),
  shareAliasCount: safe_1.t.number(),
  directChildrenCount: safe_1.t.number(),
  shareID: driveShareIdSchema.optional(),
  share: safe_1.t.union([safe_1.t.literal("FROM_ME"), safe_1.t.literal("TO_ME")]).optional(),
  owner: driveShareOwnerSchema.optional()
});
exports.recentDriveDocumentsResponseSchema = safe_1.t.object({
  continuationMarker: safe_1.t.string().optional(),
  documents: safe_1.t.array(exports.driveFileSchema),
  status: safe_1.t.union([safe_1.t.literal("CONSISTENT"), safe_1.t.literal("MORE_AVAILABLE")])
});
exports.recentChangesStatusCodeResponseSchema = safe_1.t.object({
  statusCode: safe_1.t.number()
});
var isRecentChangesStatusCodeResponse = function (obj) {
  return obj.statusCode !== undefined;
};
exports.isRecentChangesStatusCodeResponse = isRecentChangesStatusCodeResponse;
exports.recentDriveDocumentsChangesSchema = safe_1.t.union([safe_1.t.object({
  continuationMarker: safe_1.t.string().optional(),
  documents: safe_1.t.array(exports.driveFileSchema),
  status: safe_1.t.union([safe_1.t.literal("CONSISTENT"), safe_1.t.literal("MORE_AVAILABLE")]).optional()
}), exports.recentChangesStatusCodeResponseSchema]);
exports.favoriteDriveDocumentsResponseSchema = safe_1.t.object({
  continuationMarker: safe_1.t.string().optional(),
  documents: safe_1.t.array(exports.driveFolderSchema),
  status: safe_1.t.union([safe_1.t.literal("CONSISTENT"), safe_1.t.literal("MORE_AVAILABLE")])
});

/***/ }),

/***/ 1681:
/*!************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/build/API/useRecentsChanges.js ***!
  \************************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, generator) {
  function adopt(value) {
    return value instanceof P ? value : new P(function (resolve) {
      resolve(value);
    });
  }
  return new (P || (P = Promise))(function (resolve, reject) {
    function fulfilled(value) {
      try {
        step(generator.next(value));
      } catch (e) {
        reject(e);
      }
    }
    function rejected(value) {
      try {
        step(generator["throw"](value));
      } catch (e) {
        reject(e);
      }
    }
    function step(result) {
      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
    }
    step((generator = generator.apply(thisArg, _arguments || [])).next());
  });
};
var __generator = this && this.__generator || function (thisArg, body) {
  var _ = {
      label: 0,
      sent: function () {
        if (t[0] & 1) throw t[1];
        return t[1];
      },
      trys: [],
      ops: []
    },
    f,
    y,
    t,
    g;
  return g = {
    next: verb(0),
    "throw": verb(1),
    "return": verb(2)
  }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
    return this;
  }), g;
  function verb(n) {
    return function (v) {
      return step([n, v]);
    };
  }
  function step(op) {
    if (f) throw new TypeError("Generator is already executing.");
    while (_) try {
      if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
      if (y = 0, t) op = [op[0] & 2, t.value];
      switch (op[0]) {
        case 0:
        case 1:
          t = op;
          break;
        case 4:
          _.label++;
          return {
            value: op[1],
            done: false
          };
        case 5:
          _.label++;
          y = op[1];
          op = [0];
          continue;
        case 7:
          op = _.ops.pop();
          _.trys.pop();
          continue;
        default:
          if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
            _ = 0;
            continue;
          }
          if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
            _.label = op[1];
            break;
          }
          if (op[0] === 6 && _.label < t[1]) {
            _.label = t[1];
            t = op;
            break;
          }
          if (t && _.label < t[2]) {
            _.label = t[2];
            _.ops.push(op);
            break;
          }
          if (t[2]) _.ops.pop();
          _.trys.pop();
          continue;
      }
      op = body.call(thisArg, _);
    } catch (e) {
      op = [6, e];
      y = 0;
    } finally {
      f = t = 0;
    }
    if (op[0] & 5) throw op[1];
    return {
      value: op[0] ? op[1] : void 0,
      done: true
    };
  }
};
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.useRecentsChanges = void 0;
var react_query_1 = __webpack_require__(/*! react-query */ 1359);
var schema_1 = __webpack_require__(/*! ../schema */ 1680);
var useRecentDriveDocs_1 = __webpack_require__(/*! ./useRecentDriveDocs */ 1638);
/**
 * it calls the api and then parses the response
 */
var changesQueryFunc = function (dataFetcherProvider, num, continuationMarker) {
  return __awaiter(void 0, void 0, void 0, function () {
    var unsafe;
    return __generator(this, function (_a) {
      switch (_a.label) {
        case 0:
          return [4 /*yield*/, dataFetcherProvider(num, continuationMarker)];
        case 1:
          unsafe = _a.sent();
          return [2 /*return*/, (0, useRecentDriveDocs_1.parseResponse)(unsafe, schema_1.recentChangesStatusCodeResponseSchema, "RecentDriveDocumentsChanges")];
      }
    });
  });
};
var REFETCH_INTERVAL_MILLIS = 30000;
/**
 * Hook used to call drive server endpoints for changes and return react-query result
 *
 * @param dataFetcherProvider
 * @param num number of items to fetch
 * @param continuationMarker last token from recents api
 * @param enabled
 * @param onSuccess
 * @param refetchInterval
 */
function useRecentsChanges(dataFetcherProvider, num, continuationMarker, enabled, onSuccess, refetchInterval) {
  if (refetchInterval === void 0) {
    refetchInterval = REFETCH_INTERVAL_MILLIS;
  }
  return (0, react_query_1.useQuery)("icloud-drive-tile-changes", function () {
    return changesQueryFunc(dataFetcherProvider, num, continuationMarker);
  }, {
    retry: false,
    refetchOnMount: false,
    refetchOnWindowFocus: true,
    refetchOnReconnect: false,
    refetchInterval: refetchInterval,
    enabled: enabled,
    onSuccess: onSuccess
  });
}
exports.useRecentsChanges = useRecentsChanges;

/***/ }),

/***/ 2162:
/*!**************************************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/drive-tile/node_modules/@icloudweb/safe/build/index.js + 10 modules ***!
  \**************************************************************************************************************/
/*! exports provided: t, loadUrl, openUrl, parseJson, parseResponseJson, ParseJsonError, isZodError, parseUrl, getBaseUrlStr, parsePageUrl, safelyOpenURL, safelyRedirectToURL, safeURL, urlWithValidatedProtocol, HttpStatusCodeError */
/*! all exports used */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// EXPORTS
__webpack_require__.d(__webpack_exports__, "t", function() { return /* reexport */ cjs; });
__webpack_require__.d(__webpack_exports__, "loadUrl", function() { return /* reexport */ loadUrl; });
__webpack_require__.d(__webpack_exports__, "openUrl", function() { return /* reexport */ openUrl; });
__webpack_require__.d(__webpack_exports__, "parseJson", function() { return /* reexport */ parseJson; });
__webpack_require__.d(__webpack_exports__, "parseResponseJson", function() { return /* reexport */ parseResponseJson; });
__webpack_require__.d(__webpack_exports__, "ParseJsonError", function() { return /* reexport */ ParseJsonError; });
__webpack_require__.d(__webpack_exports__, "isZodError", function() { return /* reexport */ isZodError; });
__webpack_require__.d(__webpack_exports__, "parseUrl", function() { return /* reexport */ parseUrl; });
__webpack_require__.d(__webpack_exports__, "getBaseUrlStr", function() { return /* reexport */ getBaseUrlStr; });
__webpack_require__.d(__webpack_exports__, "parsePageUrl", function() { return /* reexport */ parsePageUrl; });
__webpack_require__.d(__webpack_exports__, "safelyOpenURL", function() { return /* reexport */ safelyOpenURL; });
__webpack_require__.d(__webpack_exports__, "safelyRedirectToURL", function() { return /* reexport */ safelyRedirectToURL; });
__webpack_require__.d(__webpack_exports__, "safeURL", function() { return /* reexport */ safeURL; });
__webpack_require__.d(__webpack_exports__, "urlWithValidatedProtocol", function() { return /* reexport */ urlWithValidatedProtocol; });
__webpack_require__.d(__webpack_exports__, "HttpStatusCodeError", function() { return /* reexport */ HttpStatusCodeError; });

// EXTERNAL MODULE: /workspace/node_modules/@icloudweb/drive-tile/node_modules/zod/lib/cjs/index.js
var cjs = __webpack_require__(1639);

// CONCATENATED MODULE: /workspace/node_modules/@icloudweb/drive-tile/node_modules/@icloudweb/safe/build/SafeUrl.js
/** @internal The key used to determine if a `URL` object has been safely parsed. */
const SafeUrlKey = Symbol("isSafeUrl");
/** @internal Checks if a URL is marked as safe. See {@link parseUrl}. */
function isSafeUrl(url) {
  return url[SafeUrlKey] === true;
}
/** @internal Mark as Safe URL. See {@link parseUrl}. */
function markSafeUrl(url) {
  const safeUrl = url;
  safeUrl[SafeUrlKey] = true;
  return safeUrl;
}
// CONCATENATED MODULE: /workspace/node_modules/@icloudweb/drive-tile/node_modules/@icloudweb/safe/build/parseUrl.js

/** @internal The list of probably unsafe URL protocols. */
const UNSAFE_URL_PROTOCOLS = Object.freeze(["javascript", "data"]);
/** Parse a URL more safely than `new URL()` (detects base URL, allows relative URLs, disallows JS or data URLs). */
function parseUrl(/** The URL-like object to parse. */
url) {
  var _opts$dangerouslyAllo;
  let opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  // return URLs already marked as safe directly to avoid unintentionally comparing against different rules
  if (url instanceof URL && isSafeUrl(url)) {
    return url;
  }
  // parse into URL object
  const urlObj = new URL(url, opts.base || undefined); //NOTE: `as any` ignores a TS@3 issue -- TODO: remove in TS@4
  // check for blocked protocol and error if found
  const proto = urlObj.protocol.slice(0, -1);
  if (UNSAFE_URL_PROTOCOLS.includes(proto) && !((_opts$dangerouslyAllo = opts.dangerouslyAllowProtocols) !== null && _opts$dangerouslyAllo !== void 0 && _opts$dangerouslyAllo.includes(proto))) {
    throw Error("Bad URL protocol!");
  }
  return markSafeUrl(urlObj);
}
/** Get the current default base URL. */
function getBaseUrlStr() {
  var _globalThis$document$;
  return ((_globalThis$document$ = globalThis.document.querySelector("base")) === null || _globalThis$document$ === void 0 ? void 0 : _globalThis$document$.href) || globalThis.location.href;
}
/** Parse a URL for the current page. Like {@link parseUrl} but `base` is detected from the page. Will parse any non-qualified URLs as relative URLs. */
function parsePageUrl(/** The URL-like object to parse. */
url, /** Additional options. */
opts) {
  return parseUrl(url, {
    ...opts,
    base: getBaseUrlStr()
  });
}
// CONCATENATED MODULE: /workspace/node_modules/@icloudweb/drive-tile/node_modules/@icloudweb/safe/build/loadUrl.js

/** Loads a URL in the current window more safely than using `location.href` directly. */
function loadUrl(/** The URL to load. */
url) {
  const safeUrlObj = parseUrl(url);
  globalThis.location.href = safeUrlObj.href;
}
// CONCATENATED MODULE: /workspace/node_modules/@icloudweb/drive-tile/node_modules/@icloudweb/safe/build/openUrl.js

/** Opens a URL in a new window more safely than using `window.open()` directly. */
function openUrl(/** The URL to open (or empty string for "about:blank"). */
url) {
  let opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  const safeUrlStr = url === "" ? "" : parseUrl(url).href;
  const defaultFeatures = opts.dangerouslyDisableDefaultFeatures ? [] : ["noopener", "noreferrer"];
  return globalThis.open(safeUrlStr, opts.target, [defaultFeatures, ...(opts.features || [])].join(","));
}
// CONCATENATED MODULE: /workspace/node_modules/@icloudweb/drive-tile/node_modules/@icloudweb/safe/build/parseJson.js
/**
 * Parses JSON data more safely by using `zod` for runtime type checks.
 * @throws A `ParseJsonError` instance from {@link ParseJsonError.from()}.
 * @returns The parsed and schema-verified JSON data.
 */
function parseJson(/** The JSON data to parse. */
jsonData, /** The `zod` schema to use when validating types. */
zodSchema, /** The `zod` schema name to use if errors occur. */
schemaName) {
  // sanity check the incoming data type
  const jsonDataType = typeof jsonData;
  if (jsonDataType !== "string") {
    const typeStr = jsonData === null ? jsonData : jsonDataType; // show null
    throw ParseJsonError.from(`Bad JSON root type: ${typeStr}`, schemaName);
  }
  // parse the JSON string and validate against the schema
  try {
    const untypedData = JSON.parse(jsonData);
    return zodSchema.parse(untypedData);
  } catch (cause) {
    throw ParseJsonError.from(cause, schemaName);
  }
}
/**
 * Parses `Response` JSON data more safely by using `zod` for runtime type checks.
 * @throws A `ParseJsonError` instance from {@link ParseJsonError.from()}.
 * @returns The parsed and schema-verified JSON data.
 */
async function parseResponseJson(/** The `Response` to read the JSON data from. */
response, /** The `zod` schema to use when validating types. */
zodSchema, /** The `zod` schema name to use if errors occur. */
schemaName) {
  try {
    let untypedData = await response.json();
    return zodSchema.parse(untypedData);
  } catch (cause) {
    throw ParseJsonError.from(cause, schemaName);
  }
}
/** Describes errors while parsing JSON. */
class ParseJsonError extends Error {
  /** Create a new raw instance. Use {@link from()} instead. */
  constructor(message, options) {
    let schemaName = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "UnnamedSchema";
    let /** The `zod` error object, if there is one. */
    zodError = arguments.length > 3 ? arguments[3] : undefined;
    // @ts-ignore -- TODO: remove this ignore once we bump to ES2022 when TS knows about sending options in ErrorConstructor
    super(message, options);
    this.schemaName = schemaName;
    this.zodError = zodError;
    this.name = "ParseJsonError";
    this.cause = options.cause;
  }
  /**
   * Creates a `ParseJsonError` instance with a `message` that is one of:
   * * `${schemaName}: Bad form:\n${schema issue(s) on outer object}`
   * * `${schemaName}: Bad keys:\n${schema issue(s) on inner object}`
   * * `${schemaName}: Bad JSON: ${parsing issue}`
   * * `${schemaName}: Bad stuff: ${other issue}`
   */
  static from(cause, schemaName) {
    let zodError;
    let group;
    let issues;
    if (isZodError(cause)) {
      zodError = cause; // save for later
      const {
        formErrors
      } = cause.flatten();
      if (formErrors.length > 0) {
        group = "Bad form";
        issues = formErrors;
      } else {
        group = "Bad keys";
        issues = (cause.issues || []).map(_ref => {
          let {
            path,
            message
          } = _ref;
          return `${path.join(".")}: ${message}`;
        });
      }
    } else if (cause instanceof SyntaxError) {
      group = "Bad JSON";
      issues = [cause.message];
    } else {
      group = "Bad stuff";
      issues = [cause];
    }
    const sep = issues.length > 1 ? "\n" : " ";
    const msg = [`${schemaName}: ${group}:`, ...issues].join(sep);
    return new ParseJsonError(msg, {
      cause
    }, schemaName, zodError);
  }
}
/** Check if the given object looks like a `ZodError` */
function isZodError(obj) {
  const err = obj;
  return obj instanceof Error && Array.isArray(err.issues) && typeof err.flatten == "function";
}
// CONCATENATED MODULE: /workspace/node_modules/@icloudweb/drive-tile/node_modules/@icloudweb/safe/build/url/safelyOpenURL.js


/**
 * Alternative to window.open, for when you can't trust your URL.
 *
 * @deprecated Switch to {@link openUrl} instead.
 */
function safelyOpenURL(url, target) {
  let extraFeatures = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  try {
    const safeUrlObj = parsePageUrl(url);
    return openUrl(safeUrlObj, {
      target,
      features: extraFeatures
    });
  } catch {
    return undefined;
  }
}
// CONCATENATED MODULE: /workspace/node_modules/@icloudweb/drive-tile/node_modules/@icloudweb/safe/build/url/safelyRedirectToURL.js


/**
 * Alternative to window.location, for when you can't trust your URL.
 *
 * @deprecated Switch to {@link loadUrl} instead.
 */
function safelyRedirectToURL(url) {
  try {
    const safeUrlObj = parsePageUrl(url);
    loadUrl(safeUrlObj);
  } catch {
    /* this ignores errors… */
  }
}
// CONCATENATED MODULE: /workspace/node_modules/@icloudweb/drive-tile/node_modules/@icloudweb/safe/build/url/safeURL.js

/**
 * Returns a safer version of the passed URL; if the URL is javascript: or data:
 * or otherwise unsafe, this returns null.
 *
 * @deprecated Switch to {@link parseUrl} or {@link parsePageUrl} instead.
 */
function safeURL(url) {
  try {
    var _parsePageUrl;
    return (_parsePageUrl = parsePageUrl(url)) === null || _parsePageUrl === void 0 ? void 0 : _parsePageUrl.toString();
  } catch {
    return null;
  }
}
// CONCATENATED MODULE: /workspace/node_modules/@icloudweb/drive-tile/node_modules/@icloudweb/safe/build/url/urlWithValidatedProtocol.js

// https://infra.spec.whatwg.org/#c0-control-or-space
/**
 * Validates the URL's protocol according to spec, and returns both the protocol
 * and the URL with the exiting protocol replaced with the validated one.
 *
 * @example
 * const [scheme, url] = urlWithValidatedProtocol("  java\tscript:alert('hi')");
 * expect(scheme).toBe(`javascript`);
 * expect(url).toBe(`javascript:alert('hi')`);
 *
 * @deprecated -- Switch to {@link parseUrl} or {@link parsePageUrl} instead.
 */
function urlWithValidatedProtocol(url) {
  const urlObj = parsePageUrl(url, {
    dangerouslyAllowProtocols: ["javascript"]
  });
  return urlObj ? [urlObj.protocol.slice(0, -1), urlObj.href] : ["https", `https:${url}`];
}
// CONCATENATED MODULE: /workspace/node_modules/@icloudweb/drive-tile/node_modules/@icloudweb/safe/build/ResponseValidationResult.js
/** Thrown when a fetch response is returned with a non-successful status. */
class HttpStatusCodeError extends Error {
  constructor(message, statusCode) {
    super(message);
    this.statusCode = statusCode;
    this.name = "HttpStatusCodeError";
  }
}
// CONCATENATED MODULE: /workspace/node_modules/@icloudweb/drive-tile/node_modules/@icloudweb/safe/build/index.js












/***/ }),

/***/ 2303:
/*!**************************************************************************************************************!*\
  !*** /workspace/node_modules/@icloudweb/auth-service/react/DomainRedirect/DomainRedirectPage.js + 1 modules ***!
  \**************************************************************************************************************/
/*! exports provided: DomainRedirectPage, useDomainRedirectModal */
/*! exports used: DomainRedirectPage */
/*! ModuleConcatenation bailout: Cannot concat with /workspace/node_modules/@apple/ui-components/build/UIButton.js */
/*! ModuleConcatenation bailout: Cannot concat with /workspace/node_modules/@apple/ui-components/build/UIPaneContainer.js */
/*! ModuleConcatenation bailout: Cannot concat with /workspace/node_modules/@apple/ui-components/build/usePopup/usePopup.js */
/*! ModuleConcatenation bailout: Cannot concat with /workspace/node_modules/@icloudweb/auth-service/react/loc.js */
/*! ModuleConcatenation bailout: Cannot concat with /workspace/node_modules/classnames/index.js (<- Module is not an ECMAScript module) */
/*! ModuleConcatenation bailout: Cannot concat with /workspace/node_modules/react/index.js (<- Module is not an ECMAScript module) */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";

// EXPORTS
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ DomainRedirectPage; });

// UNUSED EXPORTS: useDomainRedirectModal

// CONCATENATED MODULE: /workspace/node_modules/@icloudweb/auth-service/react/DomainRedirect/DomainRedirectPage.scss
// extracted by mini-css-extract-plugin

// EXTERNAL MODULE: /workspace/node_modules/classnames/index.js
var classnames = __webpack_require__(1215);
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);

// EXTERNAL MODULE: /workspace/node_modules/react/index.js
var react = __webpack_require__(870);

// EXTERNAL MODULE: /workspace/node_modules/@apple/ui-components/build/UIButton.js + 1 modules
var UIButton = __webpack_require__(2259);

// EXTERNAL MODULE: /workspace/node_modules/@apple/ui-components/build/usePopup/usePopup.js + 1 modules
var usePopup = __webpack_require__(2264);

// EXTERNAL MODULE: /workspace/node_modules/@apple/ui-components/build/UIPaneContainer.js + 1 modules
var UIPaneContainer = __webpack_require__(2257);

// EXTERNAL MODULE: /workspace/node_modules/@icloudweb/auth-service/react/loc.js + 1 modules
var loc = __webpack_require__(2313);

// CONCATENATED MODULE: /workspace/node_modules/@icloudweb/auth-service/react/DomainRedirect/DomainRedirectPage.js





function calculateTimeOfDay() {
  const hours = new Date().getHours();
  if (hours < 6) {
    return "0-6" /* TimeOfDay.EARLY_MORNING */;
  } else if (hours < 12) {
    return "6-12" /* TimeOfDay.MORNING */;
  } else if (hours < 18) {
    return "12-18" /* TimeOfDay.AFTERNOON */;
  } else {
    return "18-0" /* TimeOfDay.EVENING */;
  }
}
const checkCNDomain = () => {
  var _top;
  return ((_top = top) !== null && _top !== void 0 ? _top : window).location.hostname.endsWith("icloud.com.cn");
};
function getDomainDisplayName() {
  let isCNDomain = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : checkCNDomain();
  if (isCNDomain) {
    return Object(loc["a" /* loc */])("AuthService.DomainRedirect.Domain.icloud.com.cn");
  } else {
    return Object(loc["a" /* loc */])("AuthService.DomainRedirect.Domain.icloud.com");
  }
}
const DomainRedirectPage = props => {
  const className = classnames_default()("domain-redirect-page", props.className);
  const timeOfDay = react["useMemo"](() => calculateTimeOfDay(), []);
  const greeting = Object(loc["a" /* loc */])(`AuthService.DomainRedirect.Greeting.${timeOfDay}`);
  const redirectTitle = Object(loc["a" /* loc */])("AuthService.DomainRedirect.Title", {
    currentDomain: getDomainDisplayName()
  });
  const destinationDomainDisplayName = getDomainDisplayName(props.destinationDomain.toLowerCase() === "icloud.com.cn");
  const redirectSubtitle = Object(loc["a" /* loc */])("AuthService.DomainRedirect.Subtitle", {
    destinationDomain: destinationDomainDisplayName
  });
  const redirectButtonText = Object(loc["a" /* loc */])("AuthService.DomainRedirect.RedirectButton.Title", {
    destinationDomain: destinationDomainDisplayName
  });
  return /*#__PURE__*/react["createElement"]("div", {
    className: className
  }, /*#__PURE__*/react["createElement"]("div", {
    className: "icloud-hero"
  }, props.logo, /*#__PURE__*/react["createElement"]("h2", null, greeting)), /*#__PURE__*/react["createElement"]("div", {
    className: "redirect-title"
  }, redirectTitle), /*#__PURE__*/react["createElement"]("div", {
    className: "redirect-subtitle"
  }, redirectSubtitle), /*#__PURE__*/react["createElement"](UIButton["a" /* UIButton */], {
    className: "redirect-domain-button",
    onActivate: props.onRedirectToDomain,
    variant: "block primary large"
  }, redirectButtonText));
};
function useDomainRedirectModal() {
  const [showPopup, hidePopup] = Object(usePopup["b" /* useShowPopup */])();
  return props => {
    showPopup(/*#__PURE__*/react["createElement"](DomainRedirectPage, {
      ...props,
      onRedirectToDomain: () => {
        hidePopup();
        props.onRedirectToDomain();
      }
    }), {
      paneType: UIPaneContainer["d" /* PaneType */].Modal,
      className: "auth-svc-redirect"
    });
  };
}

/***/ })

}]);
//# sourceMappingURL=vendors~RootComponentRoute.js.map