@opentripplanner/trip-details 6.0.0 → 6.0.2-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/fare-table.tsx"],"names":["React","styled","Transfer","getItineraryCost","getLegCost","getLegRouteName","FormattedMessage","useIntl","flatten","boldText","renderFare","defaultEnglishMessages","InvisibleA11yLabel","defaultMessages","TableHeader","thead","Table","table","TransferIcon","useGetHeaderString","headerKey","intl","formatMessage","id","description","defaultMessage","hasFareInfo","column","leg","mediumId","riderCategoryId","price","undefined","FareTypeTable","cols","legs","filteredLegs","filter","fareProducts","length","colsToRender","col","some","map","total","every","headerString","fare","columnHeaderKey","amount","currency","code","index","transferAmount","formatNumber","currencyDisplay","style","FareLegTable","layout","config"],"mappings":";;;;;;AACA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,MAAP,MAAmB,mBAAnB;AACA,SAASC,QAAT,QAAyB,yCAAzB;AAEA,SACEC,gBADF,EAEEC,UAFF,EAGEC,eAHF,QAIO,2CAJP;AAKA,SAASC,gBAAT,EAA2BC,OAA3B,QAA0C,YAA1C;AACA,SAASC,OAAT,QAAwB,MAAxB;AACA,SAASC,QAAT,EAAmBC,UAAnB,QAAqC,SAArC;AAIA;AACA,OAAOC,sBAAP,MAAmC,mBAAnC;AACA,SAASC,kBAAT,QAAmC,UAAnC,C,CAEA;AACA;AACA;AACA;;AACA,IAAMC,eAAuC,GAAGL,OAAO,CAACG,sBAAD,CAAvD;AAMA,IAAMG,WAAW,GAAGb,MAAM,CAACc,KAAV;AAAA;AAAA;AAAA,6KAAjB;AAgBA,IAAMC,KAAK,GAAGf,MAAM,CAACgB,KAAV;AAAA;AAAA;AAAA,yMAAX;AAoBA,IAAMC,YAAY,GAAGjB,MAAM,CAACC,QAAD,CAAT;AAAA;AAAA;AAAA,yBAAlB;;AAIA,IAAMiB,kBAAkB,GAAG,SAArBA,kBAAqB,C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jB,CA/BH,CADF;AA2FD;;AACD,SAAO,IAAP;AACD,CAjHD;;AAmHA,IAAMQ,YAAY,GAAG,SAAfA,YAAe,QAAsD;AAAA,MAAnDC,MAAmD,SAAnDA,MAAmD;AAAA,MAA3CvB,IAA2C,SAA3CA,IAA2C;AACzE;AACA,sBACE,iCACGuB,MAAM,CAACf,GAAP,CAAW,UAAAgB,MAAM;AAAA,wBAChB,oBAAC,aAAD;AACE,MAAA,IAAI,EAAEA,MAAM,CAACzB,IADf;AAEE,MAAA,SAAS,EAAEyB,MAAM,CAACvC,SAFpB;AAGE,MAAA,GAAG,EAAEuC,MAAM,CAACvC,SAHd;AAIE,MAAA,IAAI,EAAEe;AAJR,MADgB;AAAA,GAAjB,CADH,CADF;AAYD,CAdD;;AAgBA,eAAesB,YAAf","sourcesContent":["import { FareProductSelector, Leg } from \"@opentripplanner/types\";\nimport React from \"react\";\nimport styled from \"styled-components\";\nimport { Transfer } from \"@styled-icons/boxicons-regular/Transfer\";\n\nimport {\n getItineraryCost,\n getLegCost,\n getLegRouteName\n} from \"@opentripplanner/core-utils/lib/itinerary\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { flatten } from \"flat\";\nimport { boldText, renderFare } from \"./utils\";\n\nimport { FareLegTableProps, FareTableLayout } from \"./types\";\n\n// Load the default messages.\nimport defaultEnglishMessages from \"../i18n/en-US.yml\";\nimport { InvisibleA11yLabel } from \"./styled\";\n\n// HACK: We should flatten the messages loaded above because\n// the YAML loaders behave differently between webpack and our version of jest:\n// - the yaml loader for webpack returns a nested object,\n// - the yaml loader for jest returns messages with flattened ids.\nconst defaultMessages: Record<string, string> = flatten(defaultEnglishMessages);\n\ninterface FareTypeTableProps extends FareTableLayout {\n legs: Leg[];\n}\n\nconst TableHeader = styled.thead`\n th {\n font-weight: normal;\n min-width: 5ch;\n padding: 0.75em 1.5em;\n text-align: center;\n }\n th:nth-of-type(2n + 1) {\n background: #cccccc22;\n }\n th.main {\n background: #333333;\n color: #ffffffcc;\n }\n`;\n\nconst Table = styled.table`\n border-collapse: collapse;\n display: block;\n margin-bottom: 16px;\n padding: 0;\n\n td {\n text-align: right;\n }\n td:nth-of-type(2n + 1) {\n background: #cccccc22;\n }\n td.no-zebra {\n background: none;\n }\n th:first-of-type {\n height: 40px;\n }\n`;\n\nconst TransferIcon = styled(Transfer)`\n padding-left: 4px;\n`;\n\nconst useGetHeaderString = (headerKey: string): string => {\n const intl = useIntl();\n return intl.formatMessage({\n id: `otpUi.TripDetails.FareTable.${headerKey}`,\n description: `Fare leg table header for key ${headerKey}`,\n defaultMessage:\n defaultEnglishMessages[`otpUi.TripDetails.FareTable.${headerKey}`]\n });\n};\n\nconst hasFareInfo = (column: FareProductSelector) => (leg: Leg) =>\n getLegCost(leg, column.mediumId, column.riderCategoryId).price !== undefined;\n\nconst FareTypeTable = ({\n cols,\n headerKey,\n legs\n}: FareTypeTableProps): JSX.Element => {\n const intl = useIntl();\n\n const filteredLegs = legs.filter(leg => leg.fareProducts?.length > 0);\n const colsToRender = cols\n .filter(col => filteredLegs.some(hasFareInfo(col)))\n .map(col => ({\n ...col,\n total: filteredLegs.every(hasFareInfo(col))\n ? getItineraryCost(filteredLegs, col.mediumId, col.riderCategoryId)\n : undefined\n }));\n\n const headerString = useGetHeaderString(headerKey);\n\n if (colsToRender.length) {\n return (\n <Table>\n <TableHeader>\n <th className=\"main\" scope=\"col\">\n {boldText(headerString)}\n </th>\n {colsToRender.map(col => {\n const fare = col.total;\n return (\n <th\n scope=\"col\"\n key={\n col.columnHeaderKey ||\n `${col.mediumId}-${col.riderCategoryId}`\n }\n >\n {boldText(useGetHeaderString(col.columnHeaderKey))}\n <br />\n {fare?.amount !== undefined ? (\n renderFare(fare?.currency?.code, fare?.amount)\n ) : (\n <>\n -\n <InvisibleA11yLabel>\n <FormattedMessage id=\"otpUi.TripDetails.missingFareTotal\" />\n </InvisibleA11yLabel>\n </>\n )}\n </th>\n );\n })}\n </TableHeader>\n {filteredLegs.map((leg, index) => (\n <tr key={index}>\n <td className=\"no-zebra\">{getLegRouteName(leg)}</td>\n {colsToRender.map(col => {\n const { price, transferAmount } = getLegCost(\n leg,\n col.mediumId,\n col.riderCategoryId\n );\n return (\n <td\n key={col.columnHeaderKey}\n title={\n transferAmount?.amount > 0 &&\n intl.formatMessage(\n {\n defaultMessage:\n defaultMessages[\n \"otpUi.TripDetails.transferDiscountExplanation\"\n ],\n description:\n \"Text explaining the transfer discount applied to this fare.\",\n id: \"otpUi.TripDetails.transferDiscountExplanation\"\n },\n {\n transferAmount: intl.formatNumber(\n transferAmount?.amount,\n {\n currency: price?.currency?.code,\n currencyDisplay: \"narrowSymbol\",\n style: \"currency\"\n }\n )\n }\n )\n }\n >\n {transferAmount?.amount > 0 && (\n <>\n <TransferIcon size={16} />{\" \"}\n </>\n )}\n {price ? (\n renderFare(price?.currency?.code, price?.amount)\n ) : (\n <>\n -\n <InvisibleA11yLabel>\n <FormattedMessage id=\"otpUi.TripDetails.legMissingFareInfo\" />\n </InvisibleA11yLabel>\n </>\n )}\n </td>\n );\n })}\n </tr>\n ))}\n </Table>\n );\n }\n return null;\n};\n\nconst FareLegTable = ({ layout, legs }: FareLegTableProps): JSX.Element => {\n // the layout argument contains an object for every table to be displayed\n return (\n <div>\n {layout.map(config => (\n <FareTypeTable\n cols={config.cols}\n headerKey={config.headerKey}\n key={config.headerKey}\n legs={legs}\n />\n ))}\n </div>\n );\n};\n\nexport default FareLegTable;\n"],"file":"fare-table.js"}
1
+ {"version":3,"sources":["../src/fare-table.tsx"],"names":["React","styled","Transfer","getItineraryCost","getLegCost","getLegRouteName","FormattedMessage","useIntl","flatten","boldText","renderFare","defaultEnglishMessages","InvisibleA11yLabel","defaultMessages","TableHeader","thead","Table","table","TransferIcon","useGetHeaderString","headerKey","intl","formatMessage","id","description","defaultMessage","hasFareInfo","column","leg","mediumId","riderCategoryId","price","undefined","FareTypeTable","cols","legs","filteredLegs","filter","fareProducts","length","colsToRender","col","some","map","total","every","headerString","fare","columnHeaderKey","amount","currency","code","index","transferAmount","formatNumber","currencyDisplay","style","FareLegTable","layout","config"],"mappings":";;;;;;AACA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,MAAP,MAAmB,mBAAnB;AACA,SAASC,QAAT,QAAyB,yCAAzB;AAEA,SACEC,gBADF,EAEEC,UAFF,EAGEC,eAHF,QAIO,2CAJP;AAKA,SAASC,gBAAT,EAA2BC,OAA3B,QAA0C,YAA1C;AACA,SAASC,OAAT,QAAwB,MAAxB;AACA,SAASC,QAAT,EAAmBC,UAAnB,QAAqC,SAArC;AAIA;AACA,OAAOC,sBAAP,MAAmC,mBAAnC;AACA,SAASC,kBAAT,QAAmC,UAAnC,C,CAEA;AACA;AACA;AACA;;AACA,IAAMC,eAAuC,GAAGL,OAAO,CAACG,sBAAD,CAAvD;AAMA,IAAMG,WAAW,GAAGb,MAAM,CAACc,KAAV;AAAA;AAAA;AAAA,6KAAjB;AAgBA,IAAMC,KAAK,GAAGf,MAAM,CAACgB,KAAV;AAAA;AAAA;AAAA,yMAAX;AAoBA,IAAMC,YAAY,GAAGjB,MAAM,CAACC,QAAD,CAAT;AAAA;AAAA;AAAA,yBAAlB;;AAIA,IAAMiB,kBAAkB,GAAG,SAArBA,kBAAqB,CAACC,SAAD,EAA+B;AACxD,MAAMC,IAAI,GAAGd,OAAO,EAApB;AACA,SAAOc,IAAI,CAACC,aAAL,CAAmB;AACxBC,IAAAA,EAAE,wCAAiCH,SAAjC,CADsB;AAExBI,IAAAA,WAAW,0CAAmCJ,SAAnC,CAFa;AAGxBK,IAAAA,cAAc,EACZd,sBAAsB,uCAAgCS,SAAhC;AAJA,GAAnB,CAAP;AAMD,CARD;;AAUA,IAAMM,WAAW,GAAG,SAAdA,WAAc,CAACC,MAAD;AAAA,SAAiC,UAACC,GAAD;AAAA,WACnDxB,UAAU,CAACwB,GAAD,EAAMD,MAAM,CAACE,QAAb,EAAuBF,MAAM,CAACG,eAA9B,CAAV,CAAyDC,KAAzD,KA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CADH,CADF;AAYD,CAdD;;AAgBA,eAAesB,YAAf","sourcesContent":["import { FareProductSelector, Leg } from \"@opentripplanner/types\";\nimport React from \"react\";\nimport styled from \"styled-components\";\nimport { Transfer } from \"@styled-icons/boxicons-regular/Transfer\";\n\nimport {\n getItineraryCost,\n getLegCost,\n getLegRouteName\n} from \"@opentripplanner/core-utils/lib/itinerary\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { flatten } from \"flat\";\nimport { boldText, renderFare } from \"./utils\";\n\nimport { FareLegTableProps, FareTableLayout } from \"./types\";\n\n// Load the default messages.\nimport defaultEnglishMessages from \"../i18n/en-US.yml\";\nimport { InvisibleA11yLabel } from \"./styled\";\n\n// HACK: We should flatten the messages loaded above because\n// the YAML loaders behave differently between webpack and our version of jest:\n// - the yaml loader for webpack returns a nested object,\n// - the yaml loader for jest returns messages with flattened ids.\nconst defaultMessages: Record<string, string> = flatten(defaultEnglishMessages);\n\ninterface FareTypeTableProps extends FareTableLayout {\n legs: Leg[];\n}\n\nconst TableHeader = styled.thead`\n th {\n font-weight: normal;\n min-width: 5ch;\n padding: 0.75em 1.5em;\n text-align: center;\n }\n th:nth-of-type(2n + 1) {\n background: #cccccc22;\n }\n th.main {\n background: #333333;\n color: #ffffffcc;\n }\n`;\n\nconst Table = styled.table`\n border-collapse: collapse;\n display: block;\n margin-bottom: 16px;\n padding: 0;\n\n td {\n text-align: right;\n }\n td:nth-of-type(2n + 1) {\n background: #cccccc22;\n }\n td.no-zebra {\n background: none;\n }\n th:first-of-type {\n height: 40px;\n }\n`;\n\nconst TransferIcon = styled(Transfer)`\n padding-left: 4px;\n`;\n\nconst useGetHeaderString = (headerKey: string): string => {\n const intl = useIntl();\n return intl.formatMessage({\n id: `otpUi.TripDetails.FareTable.${headerKey}`,\n description: `Fare leg table header for key ${headerKey}`,\n defaultMessage:\n defaultEnglishMessages[`otpUi.TripDetails.FareTable.${headerKey}`]\n });\n};\n\nconst hasFareInfo = (column: FareProductSelector) => (leg: Leg) =>\n getLegCost(leg, column.mediumId, column.riderCategoryId).price !== undefined;\n\nconst FareTypeTable = ({\n cols,\n headerKey,\n legs\n}: FareTypeTableProps): JSX.Element => {\n const intl = useIntl();\n\n const filteredLegs = legs.filter(leg => leg.fareProducts?.length > 0);\n const colsToRender = cols\n .filter(col => filteredLegs.some(hasFareInfo(col)))\n .map(col => ({\n ...col,\n total: filteredLegs.every(hasFareInfo(col))\n ? getItineraryCost(filteredLegs, col.mediumId, col.riderCategoryId)\n : undefined\n }));\n\n const headerString = useGetHeaderString(headerKey);\n if (colsToRender.length) {\n return (\n <Table>\n <TableHeader>\n <th className=\"main\" scope=\"col\">\n {boldText(headerString)}\n </th>\n {colsToRender.map(col => {\n const fare = col.total;\n return (\n <th\n scope=\"col\"\n key={\n col.columnHeaderKey ||\n `${col.mediumId}-${col.riderCategoryId}`\n }\n >\n {boldText(useGetHeaderString(col.columnHeaderKey))}\n <br />\n {fare?.amount !== undefined ? (\n renderFare(fare?.currency?.code, fare?.amount)\n ) : (\n <>\n -\n <InvisibleA11yLabel>\n <FormattedMessage id=\"otpUi.TripDetails.missingFareTotal\" />\n </InvisibleA11yLabel>\n </>\n )}\n </th>\n );\n })}\n </TableHeader>\n {filteredLegs.map((leg, index) => (\n <tr key={index}>\n <td className=\"no-zebra\">{getLegRouteName(leg)}</td>\n {colsToRender.map(col => {\n const { price, transferAmount } = getLegCost(\n leg,\n col.mediumId,\n col.riderCategoryId\n );\n return (\n <td\n key={col.columnHeaderKey}\n title={\n transferAmount?.amount > 0 &&\n intl.formatMessage(\n {\n defaultMessage:\n defaultMessages[\n \"otpUi.TripDetails.transferDiscountExplanation\"\n ],\n description:\n \"Text explaining the transfer discount applied to this fare.\",\n id: \"otpUi.TripDetails.transferDiscountExplanation\"\n },\n {\n transferAmount: intl.formatNumber(\n transferAmount?.amount,\n {\n currency: price?.currency?.code,\n currencyDisplay: \"narrowSymbol\",\n style: \"currency\"\n }\n )\n }\n )\n }\n >\n {transferAmount?.amount > 0 && (\n <>\n <TransferIcon size={16} />{\" \"}\n </>\n )}\n {price ? (\n renderFare(price?.currency?.code, price?.amount)\n ) : (\n <>\n -\n <InvisibleA11yLabel>\n <FormattedMessage id=\"otpUi.TripDetails.legMissingFareInfo\" />\n </InvisibleA11yLabel>\n </>\n )}\n </td>\n );\n })}\n </tr>\n ))}\n </Table>\n );\n }\n return null;\n};\n\nconst FareLegTable = ({ layout, legs }: FareLegTableProps): JSX.Element => {\n // the layout argument contains an object for every table to be displayed\n return (\n <div>\n {layout.map(config => (\n <FareTypeTable\n cols={config.cols}\n headerKey={config.headerKey}\n key={config.headerKey}\n legs={legs}\n />\n ))}\n </div>\n );\n};\n\nexport default FareLegTable;\n"],"file":"fare-table.js"}
package/esm/index.js CHANGED
@@ -83,10 +83,10 @@ export function TripDetails(_ref2) {
83
83
 
84
84
  if (leg.fareProducts) {
85
85
  leg.fareProducts.forEach(function (fp) {
86
- var _fp$product$medium, _fp$product$riderCate;
86
+ var _fp$product, _fp$product$medium, _fp$product2, _fp$product2$riderCat;
87
87
 
88
- var mediumId = (_fp$product$medium = fp.product.medium) === null || _fp$product$medium === void 0 ? void 0 : _fp$product$medium.id;
89
- var riderCategoryId = (_fp$product$riderCate = fp.product.riderCategory) === null || _fp$product$riderCate === void 0 ? void 0 : _fp$product$riderCate.id;
88
+ var mediumId = (_fp$product = fp.product) === null || _fp$product === void 0 ? void 0 : (_fp$product$medium = _fp$product.medium) === null || _fp$product$medium === void 0 ? void 0 : _fp$product$medium.id;
89
+ var riderCategoryId = (_fp$product2 = fp.product) === null || _fp$product2 === void 0 ? void 0 : (_fp$product2$riderCat = _fp$product2.riderCategory) === null || _fp$product2$riderCat === void 0 ? void 0 : _fp$product2$riderCat.id;
90
90
 
91
91
  if (!prev.fareTypes.find(function (ft) {
92
92
  return ft.mediumId === mediumId && ft.riderCategoryId === riderCategoryId;
package/esm/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.tsx"],"names":["coreUtils","React","FormattedMessage","FormattedNumber","CalendarAlt","Heartbeat","MoneyBillAlt","Leaf","Route","flatten","S","TripDetail","FareLegTable","boldText","renderFare","defaultEnglishMessages","defaultMessages","CO2DescriptionLink","contents","DefaultTimeActiveDetails","bikeMinutes","walkMinutes","strong","TripDetails","className","co2Config","defaultFareType","DepartureDetails","displayTimeActive","FareDetails","fareDetailsLayout","fareKeyNameMap","itinerary","showApproximateMinutesActive","TimeActiveDetails","fareResult","calculateTncFares","currencyCode","maxTNCFare","minTNCFare","legs","reduce","prev","leg","rideHailingEstimate","companies","provider","id","fareProducts","forEach","fp","mediumId","product","medium","riderCategoryId","riderCategory","fareTypes","find","ft","push","fare","length","defaultFareTotal","getItineraryCost","TransitFareWrapper","TransitFare","TransitFareSingle","fareNameFallback","undefined","display","name","headerKey","value","currency","code","amount","map","fareType","Object","values","join","digits","tncFare","toLowerCase","departureDate","Date","startTime","walkDurationSeconds","bikeDurationSeconds","mode","startsWith","duration","Math","round","minutesActive","co2","enabled","calculateEmissions","carbonIntensity","units","containsFlex","some","isFlex","pickupBookingInfo","filter","info","dropOffBookingInfo","totalDistance","total","distance","approximatePrefix","minutes","link","extraMessage","Set","message","Styled"],"mappings":";AAAA,OAAOA,SAAP,MAAsB,6BAAtB;AAEA,OAAOC,KAAP,MAAoC,OAApC;AACA,SAASC,gBAAT,EAA2BC,eAA3B,QAAkD,YAAlD;AACA,SAASC,WAAT,QAA4B,oCAA5B;AACA,SAASC,SAAT,QAA0B,kCAA1B;AACA,SAASC,YAAT,QAA6B,qCAA7B;AACA,SAASC,IAAT,QAAqB,6BAArB;AACA,SAASC,KAAT,QAAsB,8BAAtB;AACA,SAASC,OAAT,QAAwB,MAAxB;AACA,OAAO,KAAKC,CAAZ,MAAmB,UAAnB;AACA,OAAOC,UAAP,MAAuB,eAAvB;AACA,OAAOC,YAAP,MAAyB,cAAzB;AACA,SAASC,QAAT,EAAmBC,UAAnB,QAAqC,SAArC;AAIA;AACA,OAAOC,sBAAP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d;AAKE,MAAA,EAAE,EAAC,kCALL;AAME,MAAA,MAAM,EAAE;AACNgG,QAAAA,IAAI,EAAE/F,kBADA;AAEN0F,QAAAA,aAAa,EAAbA;AAFM;AANV;AAxBJ,IAnFJ,EAyHGP,YAAY,iBACX,oBAAC,UAAD;AACE,IAAA,OAAO,eACL,oBAAC,CAAD,CAAG,WAAH,qBACE,oBAAC,gBAAD;AACE,MAAA,cAAc,EACZpF,eAAe,CAAC,oCAAD,CAFnB;AAIE,MAAA,WAAW,EAAC,oFAJd;AAKE,MAAA,EAAE,EAAC,oCALL;AAME,MAAA,MAAM,EAAE;AACNiG,QAAAA,YAAY,EAAE,mBACT,IAAIC,GAAJ,8BACEX,iBAAiB,CAAC3B,GAAlB,CAAsB,UAAA6B,IAAI;AAAA,iBAAIA,IAAI,CAACU,OAAT;AAAA,SAA1B,CADF,sBAEET,kBAAkB,CAAC9B,GAAnB,CAAuB,UAAA6B,IAAI;AAAA,iBAAIA,IAAI,CAACU,OAAT;AAAA,SAA3B,CAFF,GADS,EAKZnC,IALY,CAKP,GALO;AADR;AANV,MADF,CAFJ;AAoBE,IAAA,IAAI,eAAE,oBAAC,KAAD;AAAO,MAAA,IAAI,EAAE;AAAb;AApBR,IA1HJ,CATF,CADF;AA8JD;AAED,eAAezD,WAAf,C,CAEA;;AACA,SAASb,CAAC,IAAI0G,MAAd,EAAsBxG,YAAtB","sourcesContent":["import coreUtils from \"@opentripplanner/core-utils\";\nimport { FareProductSelector } from \"@opentripplanner/types\";\nimport React, { ReactElement } from \"react\";\nimport { FormattedMessage, FormattedNumber } from \"react-intl\";\nimport { CalendarAlt } from \"@styled-icons/fa-solid/CalendarAlt\";\nimport { Heartbeat } from \"@styled-icons/fa-solid/Heartbeat\";\nimport { MoneyBillAlt } from \"@styled-icons/fa-solid/MoneyBillAlt\";\nimport { Leaf } from \"@styled-icons/fa-solid/Leaf\";\nimport { Route } from \"@styled-icons/fa-solid/Route\";\nimport { flatten } from \"flat\";\nimport * as S from \"./styled\";\nimport TripDetail from \"./trip-detail\";\nimport FareLegTable from \"./fare-table\";\nimport { boldText, renderFare } from \"./utils\";\n\nimport { TimeActiveDetailsProps, TripDetailsProps } from \"./types\";\n\n// Load the default messages.\nimport defaultEnglishMessages from \"../i18n/en-US.yml\";\n\n// HACK: We should flatten the messages loaded above because\n// the YAML loaders behave differently between webpack and our version of jest:\n// - the yaml loader for webpack returns a nested object,\n// - the yaml loader for jest returns messages with flattened ids.\nconst defaultMessages: Record<string, string> = flatten(defaultEnglishMessages);\n\nfunction CO2DescriptionLink(contents: ReactElement): ReactElement {\n return (\n <a\n href=\"https://www.itf-oecd.org/sites/default/files/life-cycle-assessment-calculations-2020.xlsx\"\n rel=\"noopener noreferrer\"\n target=\"_blank\"\n >\n {contents}\n </a>\n );\n}\n/**\n * Default rendering if no component is provided for the TimeActiveDetails\n * slot in the TripDetails component.\n */\nfunction DefaultTimeActiveDetails({\n bikeMinutes,\n walkMinutes\n}: TimeActiveDetailsProps): ReactElement {\n return (\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.timeActiveDescription\"]\n }\n description=\"Text describing the walking and biking durations of a trip.\"\n id=\"otpUi.TripDetails.timeActiveDescription\"\n values={{\n bikeMinutes,\n strong: boldText,\n walkMinutes\n }}\n />\n );\n}\n\n/**\n * Renders trip details such as departure instructions, fare amount, and minutes active.\n */\nexport function TripDetails({\n className = \"\",\n co2Config,\n defaultFareType,\n DepartureDetails = null,\n displayTimeActive = true,\n FareDetails = null,\n fareDetailsLayout,\n fareKeyNameMap = {},\n itinerary,\n showApproximateMinutesActive,\n TimeActiveDetails = DefaultTimeActiveDetails\n}: TripDetailsProps): ReactElement {\n // process the transit fare\n const fareResult = coreUtils.itinerary.calculateTncFares(itinerary);\n const { currencyCode, maxTNCFare, minTNCFare } = fareResult;\n\n const { companies, fareTypes } = itinerary.legs.reduce<{\n companies: string;\n fareTypes: FareProductSelector[];\n }>(\n (prev, leg) => {\n if (leg.rideHailingEstimate) {\n prev.companies = leg.rideHailingEstimate.provider.id;\n }\n\n if (leg.fareProducts) {\n leg.fareProducts.forEach(fp => {\n const mediumId = fp.product.medium?.id;\n const riderCategoryId = fp.product.riderCategory?.id;\n if (\n !prev.fareTypes.find(\n ft =>\n ft.mediumId === mediumId &&\n ft.riderCategoryId === riderCategoryId\n )\n ) {\n prev.fareTypes.push({ mediumId, riderCategoryId });\n }\n });\n }\n return prev;\n },\n { companies: \"\", fareTypes: [] }\n );\n\n let fare;\n if (fareTypes.length > 0 && defaultFareType) {\n const defaultFareTotal = coreUtils.itinerary.getItineraryCost(\n itinerary.legs,\n defaultFareType.mediumId,\n defaultFareType.riderCategoryId\n );\n // Depending on if there are additional fares to display either render a <span> or a <details>\n const TransitFareWrapper =\n fareTypes.length > 1 ? S.TransitFare : S.TransitFareSingle;\n\n const fareNameFallback = (\n <FormattedMessage\n defaultMessage={defaultMessages[\"otpUi.TripDetails.transitFare\"]}\n description=\"Text showing the price of tickets on public transportation.\"\n id=\"otpUi.TripDetails.transitFare\"\n />\n );\n\n fare = defaultFareTotal !== undefined && (\n <S.Fare>\n <TransitFareWrapper>\n <summary style={{ display: fareTypes.length > 1 ? \"list-item\" : \"\" }}>\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.transitFareEntry\"]\n }\n description=\"Text showing the price of tickets on public transportation.\"\n id=\"otpUi.TripDetails.transitFareEntry\"\n values={{\n name:\n fareKeyNameMap[defaultFareType.headerKey] || fareNameFallback,\n strong: boldText,\n value: renderFare(\n defaultFareTotal.currency?.code || \"USD\",\n defaultFareTotal?.amount\n )\n }}\n />\n </summary>\n {fareDetailsLayout ? (\n // Show full ƒare details by leg\n <FareLegTable layout={fareDetailsLayout} legs={itinerary.legs} />\n ) : (\n // Just show the fares for each payment type\n fareTypes.map(fareType => {\n // Don't show the default fare twice!\n if (fareType) {\n return null;\n }\n return (\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.transitFareEntry\"]\n }\n description=\"Text showing the price of tickets on public transportation.\"\n id=\"otpUi.TripDetails.transitFareEntry\"\n key={Object.values(fareType).join(\"-\")}\n values={{\n name:\n fareKeyNameMap[defaultFareType.headerKey] ||\n fareNameFallback,\n strong: boldText,\n value: renderFare(\n defaultFareTotal.currency?.code || \"USD\",\n defaultFareTotal?.amount /\n defaultFareTotal?.currency?.digits\n )\n }}\n />\n );\n })\n )}\n </TransitFareWrapper>\n </S.Fare>\n );\n }\n const tncFare = minTNCFare !== 0 && (\n <S.Fare>\n <S.TNCFare>\n <FormattedMessage\n defaultMessage={defaultMessages[\"otpUi.TripDetails.tncFare\"]}\n description=\"Text showing the price paid to transportation network companies.\"\n id=\"otpUi.TripDetails.tncFare\"\n values={{\n companies: (\n // S.TNCFareCompanies capitalizes the TNC company ID (e.g. \"COMPANY\")\n // after it is converted to lowercase, so it renders as \"Company\".\n <S.TNCFareCompanies>{companies.toLowerCase()}</S.TNCFareCompanies>\n ),\n maxTNCFare: renderFare(currencyCode, maxTNCFare),\n minTNCFare: renderFare(currencyCode, minTNCFare),\n strong: boldText\n }}\n />\n </S.TNCFare>\n </S.Fare>\n );\n\n const departureDate = new Date(itinerary.startTime);\n\n // Compute total time spent active.\n\n // TODO: separate into two reducers\n let walkDurationSeconds = 0;\n let bikeDurationSeconds = 0;\n itinerary.legs.forEach(leg => {\n if (leg.mode.startsWith(\"WALK\")) walkDurationSeconds += leg.duration;\n if (leg.mode.startsWith(\"BICYCLE\")) bikeDurationSeconds += leg.duration;\n });\n const bikeMinutes = Math.round(bikeDurationSeconds / 60);\n const walkMinutes = Math.round(walkDurationSeconds / 60);\n const minutesActive = bikeMinutes + walkMinutes;\n\n // Calculate CO₂ if it's not provided by the itinerary\n const co2 =\n itinerary.co2 ||\n (co2Config?.enabled &&\n coreUtils.itinerary.calculateEmissions(\n itinerary,\n co2Config?.carbonIntensity,\n co2Config?.units\n ));\n\n // Parse flex info and generate appropriate strings\n const containsFlex = itinerary.legs.some(coreUtils.itinerary.isFlex);\n const pickupBookingInfo = itinerary.legs\n .map(leg => leg.pickupBookingInfo)\n .filter(info => !!info);\n const dropOffBookingInfo = itinerary.legs\n .map(leg => leg.dropOffBookingInfo)\n .filter(info => !!info);\n const totalDistance = itinerary.legs.reduce(\n (total, leg) => total + leg.distance,\n 0\n );\n\n return (\n <S.TripDetails className={className}>\n {/* this can be presentation as S.TripDetails is already labeled by this */}\n <S.TripDetailsHeader id=\"trip-details-header\">\n <FormattedMessage\n defaultMessage={defaultMessages[\"otpUi.TripDetails.title\"]}\n description=\"Title (heading) text of the component.\"\n id=\"otpUi.TripDetails.title\"\n />\n </S.TripDetailsHeader>\n <S.TripDetailsBody>\n <TripDetail\n // Any custom description for the Departure message needs to be handled by the slot.\n description={\n DepartureDetails && (\n <DepartureDetails departureDate={departureDate} />\n )\n }\n icon={<CalendarAlt size={17} />}\n summary={\n <S.Timing>\n <FormattedMessage\n defaultMessage={defaultMessages[\"otpUi.TripDetails.departure\"]}\n description=\"Text showing the departure date/time for a trip.\"\n id=\"otpUi.TripDetails.departure\"\n values={{\n departureDate,\n strong: boldText\n }}\n />\n </S.Timing>\n }\n />\n {!!fare && (\n <TripDetail\n // Any custom description for the transit fare needs to be handled by the slot.\n description={\n FareDetails && (\n <FareDetails\n legs={itinerary.legs}\n maxTNCFare={maxTNCFare}\n minTNCFare={minTNCFare}\n />\n )\n }\n icon={<MoneyBillAlt size={17} />}\n summary={fare}\n />\n )}\n {tncFare && (\n <TripDetail\n // Any custom description for the transit fare needs to be handled by the slot.\n description={\n FareDetails && (\n <FareDetails\n legs={itinerary.legs}\n maxTNCFare={maxTNCFare}\n minTNCFare={minTNCFare}\n />\n )\n }\n icon={<MoneyBillAlt size={17} />}\n summary={tncFare}\n />\n )}\n {displayTimeActive && minutesActive > 0 && (\n <TripDetail\n icon={<Heartbeat size={17} />}\n summary={\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.minutesActive\"]\n }\n description=\"Text showing the number of minutes spent walking or biking throughout trip.\"\n id=\"otpUi.TripDetails.minutesActive\"\n values={{\n approximatePrefix: showApproximateMinutesActive,\n minutes: minutesActive,\n strong: boldText\n }}\n />\n }\n description={\n TimeActiveDetails && (\n <TimeActiveDetails\n bikeMinutes={bikeMinutes}\n walkMinutes={walkMinutes}\n />\n )\n }\n />\n )}\n {co2 > 0 && co2Config?.enabled && (\n <TripDetail\n icon={<Leaf size={17} />}\n summary={\n <S.CO2Summary>\n <FormattedMessage\n defaultMessage={defaultMessages[\"otpUi.TripDetails.co2\"]}\n description=\"Text showing the quantity of CO₂ emitted by this trip.\"\n id=\"otpUi.TripDetails.co2\"\n values={{\n co2: (\n <FormattedNumber\n value={Math.round(co2)}\n // eslint-disable-next-line react/style-prop-object\n style=\"unit\"\n unit={co2Config?.units || \"gram\"}\n unitDisplay=\"narrow\"\n />\n ),\n strong: boldText\n }}\n />\n </S.CO2Summary>\n }\n description={\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.co2description\"]\n }\n description=\"Text explaining how the CO₂ emissions are calculated.\"\n id=\"otpUi.TripDetails.co2description\"\n values={{\n link: CO2DescriptionLink,\n totalDistance\n }}\n />\n }\n />\n )}\n {containsFlex && (\n <TripDetail\n summary={\n <S.FlexSummary>\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.tripIncludesFlex\"]\n }\n description=\"Text stating that portions of the trip include a flex (on-demand) transit service.\"\n id=\"otpUi.TripDetails.tripIncludesFlex\"\n values={{\n extraMessage: [\n ...new Set([\n ...pickupBookingInfo.map(info => info.message),\n ...dropOffBookingInfo.map(info => info.message)\n ])\n ].join(\" \")\n }}\n />\n </S.FlexSummary>\n }\n icon={<Route size={17} />}\n />\n )}\n </S.TripDetailsBody>\n </S.TripDetails>\n );\n}\n\nexport default TripDetails;\n\n// Rename styled components for export.\nexport { S as Styled, FareLegTable };\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../src/index.tsx"],"names":["coreUtils","React","FormattedMessage","FormattedNumber","CalendarAlt","Heartbeat","MoneyBillAlt","Leaf","Route","flatten","S","TripDetail","FareLegTable","boldText","renderFare","defaultEnglishMessages","defaultMessages","CO2DescriptionLink","contents","DefaultTimeActiveDetails","bikeMinutes","walkMinutes","strong","TripDetails","className","co2Config","defaultFareType","DepartureDetails","displayTimeActive","FareDetails","fareDetailsLayout","fareKeyNameMap","itinerary","showApproximateMinutesActive","TimeActiveDetails","fareResult","calculateTncFares","currencyCode","maxTNCFare","minTNCFare","legs","reduce","prev","leg","rideHailingEstimate","companies","provider","id","fareProducts","forEach","fp","mediumId","product","medium","riderCategoryId","riderCategory","fareTypes","find","ft","push","fare","length","defaultFareTotal","getItineraryCost","TransitFareWrapper","TransitFare","TransitFareSingle","fareNameFallback","undefined","display","name","headerKey","value","currency","code","amount","map","fareType","Object","values","join","digits","tncFare","toLowerCase","departureDate","Date","startTime","walkDurationSeconds","bikeDurationSeconds","mode","startsWith","duration","Math","round","minutesActive","co2","enabled","calculateEmissions","carbonIntensity","units","containsFlex","some","isFlex","pickupBookingInfo","filter","info","dropOffBookingInfo","totalDistance","total","distance","approximatePrefix","minutes","link","extraMessage","Set","message","Styled"],"mappings":";AAAA,OAAOA,SAAP,MAAsB,6BAAtB;AAEA,OAAOC,KAAP,MAAoC,OAApC;AACA,SAASC,gBAAT,EAA2BC,eAA3B,QAAkD,YAAlD;AACA,SAASC,WAAT,QAA4B,oCAA5B;AACA,SAASC,SAAT,QAA0B,kCAA1B;AACA,SAASC,YAAT,QAA6B,qCAA7B;AACA,SAASC,IAAT,QAAqB,6BAArB;AACA,SAASC,KAAT,QAAsB,8BAAtB;AACA,SAASC,OAAT,QAAwB,MAAxB;AACA,OAAO,KAAKC,CAAZ,MAAmB,UAAnB;AACA,OAAOC,UAAP,MAAuB,eAAvB;AACA,OAAOC,YAAP,MAAyB,cAAzB;AACA,SAASC,QAAT,EAAmBC,UAAnB,QAAqC,SAArC;AAIA;AACA,OAAOC,sBAAP,MAAm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AC,4DAJd;AAKE,MAAA,EAAE,EAAC,kCALL;AAME,MAAA,MAAM,EAAE;AACNgG,QAAAA,IAAI,EAAE/F,kBADA;AAEN0F,QAAAA,aAAa,EAAbA;AAFM;AANV;AAxBJ,IAnFJ,EAyHGP,YAAY,iBACX,oBAAC,UAAD;AACE,IAAA,OAAO,eACL,oBAAC,CAAD,CAAG,WAAH,qBACE,oBAAC,gBAAD;AACE,MAAA,cAAc,EACZpF,eAAe,CAAC,oCAAD,CAFnB;AAIE,MAAA,WAAW,EAAC,oFAJd;AAKE,MAAA,EAAE,EAAC,oCALL;AAME,MAAA,MAAM,EAAE;AACNiG,QAAAA,YAAY,EAAE,mBACT,IAAIC,GAAJ,8BACEX,iBAAiB,CAAC3B,GAAlB,CAAsB,UAAA6B,IAAI;AAAA,iBAAIA,IAAI,CAACU,OAAT;AAAA,SAA1B,CADF,sBAEET,kBAAkB,CAAC9B,GAAnB,CAAuB,UAAA6B,IAAI;AAAA,iBAAIA,IAAI,CAACU,OAAT;AAAA,SAA3B,CAFF,GADS,EAKZnC,IALY,CAKP,GALO;AADR;AANV,MADF,CAFJ;AAoBE,IAAA,IAAI,eAAE,oBAAC,KAAD;AAAO,MAAA,IAAI,EAAE;AAAb;AApBR,IA1HJ,CATF,CADF;AA8JD;AAED,eAAezD,WAAf,C,CAEA;;AACA,SAASb,CAAC,IAAI0G,MAAd,EAAsBxG,YAAtB","sourcesContent":["import coreUtils from \"@opentripplanner/core-utils\";\nimport { FareProductSelector } from \"@opentripplanner/types\";\nimport React, { ReactElement } from \"react\";\nimport { FormattedMessage, FormattedNumber } from \"react-intl\";\nimport { CalendarAlt } from \"@styled-icons/fa-solid/CalendarAlt\";\nimport { Heartbeat } from \"@styled-icons/fa-solid/Heartbeat\";\nimport { MoneyBillAlt } from \"@styled-icons/fa-solid/MoneyBillAlt\";\nimport { Leaf } from \"@styled-icons/fa-solid/Leaf\";\nimport { Route } from \"@styled-icons/fa-solid/Route\";\nimport { flatten } from \"flat\";\nimport * as S from \"./styled\";\nimport TripDetail from \"./trip-detail\";\nimport FareLegTable from \"./fare-table\";\nimport { boldText, renderFare } from \"./utils\";\n\nimport { TimeActiveDetailsProps, TripDetailsProps } from \"./types\";\n\n// Load the default messages.\nimport defaultEnglishMessages from \"../i18n/en-US.yml\";\n\n// HACK: We should flatten the messages loaded above because\n// the YAML loaders behave differently between webpack and our version of jest:\n// - the yaml loader for webpack returns a nested object,\n// - the yaml loader for jest returns messages with flattened ids.\nconst defaultMessages: Record<string, string> = flatten(defaultEnglishMessages);\n\nfunction CO2DescriptionLink(contents: ReactElement): ReactElement {\n return (\n <a\n href=\"https://www.itf-oecd.org/sites/default/files/life-cycle-assessment-calculations-2020.xlsx\"\n rel=\"noopener noreferrer\"\n target=\"_blank\"\n >\n {contents}\n </a>\n );\n}\n/**\n * Default rendering if no component is provided for the TimeActiveDetails\n * slot in the TripDetails component.\n */\nfunction DefaultTimeActiveDetails({\n bikeMinutes,\n walkMinutes\n}: TimeActiveDetailsProps): ReactElement {\n return (\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.timeActiveDescription\"]\n }\n description=\"Text describing the walking and biking durations of a trip.\"\n id=\"otpUi.TripDetails.timeActiveDescription\"\n values={{\n bikeMinutes,\n strong: boldText,\n walkMinutes\n }}\n />\n );\n}\n\n/**\n * Renders trip details such as departure instructions, fare amount, and minutes active.\n */\nexport function TripDetails({\n className = \"\",\n co2Config,\n defaultFareType,\n DepartureDetails = null,\n displayTimeActive = true,\n FareDetails = null,\n fareDetailsLayout,\n fareKeyNameMap = {},\n itinerary,\n showApproximateMinutesActive,\n TimeActiveDetails = DefaultTimeActiveDetails\n}: TripDetailsProps): ReactElement {\n // process the transit fare\n const fareResult = coreUtils.itinerary.calculateTncFares(itinerary);\n const { currencyCode, maxTNCFare, minTNCFare } = fareResult;\n\n const { companies, fareTypes } = itinerary.legs.reduce<{\n companies: string;\n fareTypes: FareProductSelector[];\n }>(\n (prev, leg) => {\n if (leg.rideHailingEstimate) {\n prev.companies = leg.rideHailingEstimate.provider.id;\n }\n\n if (leg.fareProducts) {\n leg.fareProducts.forEach(fp => {\n const mediumId = fp.product?.medium?.id;\n const riderCategoryId = fp.product?.riderCategory?.id;\n if (\n !prev.fareTypes.find(\n ft =>\n ft.mediumId === mediumId &&\n ft.riderCategoryId === riderCategoryId\n )\n ) {\n prev.fareTypes.push({ mediumId, riderCategoryId });\n }\n });\n }\n return prev;\n },\n { companies: \"\", fareTypes: [] }\n );\n\n let fare;\n if (fareTypes.length > 0 && defaultFareType) {\n const defaultFareTotal = coreUtils.itinerary.getItineraryCost(\n itinerary.legs,\n defaultFareType.mediumId,\n defaultFareType.riderCategoryId\n );\n // Depending on if there are additional fares to display either render a <span> or a <details>\n const TransitFareWrapper =\n fareTypes.length > 1 ? S.TransitFare : S.TransitFareSingle;\n\n const fareNameFallback = (\n <FormattedMessage\n defaultMessage={defaultMessages[\"otpUi.TripDetails.transitFare\"]}\n description=\"Text showing the price of tickets on public transportation.\"\n id=\"otpUi.TripDetails.transitFare\"\n />\n );\n\n fare = defaultFareTotal !== undefined && (\n <S.Fare>\n <TransitFareWrapper>\n <summary style={{ display: fareTypes.length > 1 ? \"list-item\" : \"\" }}>\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.transitFareEntry\"]\n }\n description=\"Text showing the price of tickets on public transportation.\"\n id=\"otpUi.TripDetails.transitFareEntry\"\n values={{\n name:\n fareKeyNameMap[defaultFareType.headerKey] || fareNameFallback,\n strong: boldText,\n value: renderFare(\n defaultFareTotal.currency?.code || \"USD\",\n defaultFareTotal?.amount\n )\n }}\n />\n </summary>\n {fareDetailsLayout ? (\n // Show full ƒare details by leg\n <FareLegTable layout={fareDetailsLayout} legs={itinerary.legs} />\n ) : (\n // Just show the fares for each payment type\n fareTypes.map(fareType => {\n // Don't show the default fare twice!\n if (fareType) {\n return null;\n }\n return (\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.transitFareEntry\"]\n }\n description=\"Text showing the price of tickets on public transportation.\"\n id=\"otpUi.TripDetails.transitFareEntry\"\n key={Object.values(fareType).join(\"-\")}\n values={{\n name:\n fareKeyNameMap[defaultFareType.headerKey] ||\n fareNameFallback,\n strong: boldText,\n value: renderFare(\n defaultFareTotal.currency?.code || \"USD\",\n defaultFareTotal?.amount /\n defaultFareTotal?.currency?.digits\n )\n }}\n />\n );\n })\n )}\n </TransitFareWrapper>\n </S.Fare>\n );\n }\n const tncFare = minTNCFare !== 0 && (\n <S.Fare>\n <S.TNCFare>\n <FormattedMessage\n defaultMessage={defaultMessages[\"otpUi.TripDetails.tncFare\"]}\n description=\"Text showing the price paid to transportation network companies.\"\n id=\"otpUi.TripDetails.tncFare\"\n values={{\n companies: (\n // S.TNCFareCompanies capitalizes the TNC company ID (e.g. \"COMPANY\")\n // after it is converted to lowercase, so it renders as \"Company\".\n <S.TNCFareCompanies>{companies.toLowerCase()}</S.TNCFareCompanies>\n ),\n maxTNCFare: renderFare(currencyCode, maxTNCFare),\n minTNCFare: renderFare(currencyCode, minTNCFare),\n strong: boldText\n }}\n />\n </S.TNCFare>\n </S.Fare>\n );\n\n const departureDate = new Date(itinerary.startTime);\n\n // Compute total time spent active.\n\n // TODO: separate into two reducers\n let walkDurationSeconds = 0;\n let bikeDurationSeconds = 0;\n itinerary.legs.forEach(leg => {\n if (leg.mode.startsWith(\"WALK\")) walkDurationSeconds += leg.duration;\n if (leg.mode.startsWith(\"BICYCLE\")) bikeDurationSeconds += leg.duration;\n });\n const bikeMinutes = Math.round(bikeDurationSeconds / 60);\n const walkMinutes = Math.round(walkDurationSeconds / 60);\n const minutesActive = bikeMinutes + walkMinutes;\n\n // Calculate CO₂ if it's not provided by the itinerary\n const co2 =\n itinerary.co2 ||\n (co2Config?.enabled &&\n coreUtils.itinerary.calculateEmissions(\n itinerary,\n co2Config?.carbonIntensity,\n co2Config?.units\n ));\n\n // Parse flex info and generate appropriate strings\n const containsFlex = itinerary.legs.some(coreUtils.itinerary.isFlex);\n const pickupBookingInfo = itinerary.legs\n .map(leg => leg.pickupBookingInfo)\n .filter(info => !!info);\n const dropOffBookingInfo = itinerary.legs\n .map(leg => leg.dropOffBookingInfo)\n .filter(info => !!info);\n const totalDistance = itinerary.legs.reduce(\n (total, leg) => total + leg.distance,\n 0\n );\n\n return (\n <S.TripDetails className={className}>\n {/* this can be presentation as S.TripDetails is already labeled by this */}\n <S.TripDetailsHeader id=\"trip-details-header\">\n <FormattedMessage\n defaultMessage={defaultMessages[\"otpUi.TripDetails.title\"]}\n description=\"Title (heading) text of the component.\"\n id=\"otpUi.TripDetails.title\"\n />\n </S.TripDetailsHeader>\n <S.TripDetailsBody>\n <TripDetail\n // Any custom description for the Departure message needs to be handled by the slot.\n description={\n DepartureDetails && (\n <DepartureDetails departureDate={departureDate} />\n )\n }\n icon={<CalendarAlt size={17} />}\n summary={\n <S.Timing>\n <FormattedMessage\n defaultMessage={defaultMessages[\"otpUi.TripDetails.departure\"]}\n description=\"Text showing the departure date/time for a trip.\"\n id=\"otpUi.TripDetails.departure\"\n values={{\n departureDate,\n strong: boldText\n }}\n />\n </S.Timing>\n }\n />\n {!!fare && (\n <TripDetail\n // Any custom description for the transit fare needs to be handled by the slot.\n description={\n FareDetails && (\n <FareDetails\n legs={itinerary.legs}\n maxTNCFare={maxTNCFare}\n minTNCFare={minTNCFare}\n />\n )\n }\n icon={<MoneyBillAlt size={17} />}\n summary={fare}\n />\n )}\n {tncFare && (\n <TripDetail\n // Any custom description for the transit fare needs to be handled by the slot.\n description={\n FareDetails && (\n <FareDetails\n legs={itinerary.legs}\n maxTNCFare={maxTNCFare}\n minTNCFare={minTNCFare}\n />\n )\n }\n icon={<MoneyBillAlt size={17} />}\n summary={tncFare}\n />\n )}\n {displayTimeActive && minutesActive > 0 && (\n <TripDetail\n icon={<Heartbeat size={17} />}\n summary={\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.minutesActive\"]\n }\n description=\"Text showing the number of minutes spent walking or biking throughout trip.\"\n id=\"otpUi.TripDetails.minutesActive\"\n values={{\n approximatePrefix: showApproximateMinutesActive,\n minutes: minutesActive,\n strong: boldText\n }}\n />\n }\n description={\n TimeActiveDetails && (\n <TimeActiveDetails\n bikeMinutes={bikeMinutes}\n walkMinutes={walkMinutes}\n />\n )\n }\n />\n )}\n {co2 > 0 && co2Config?.enabled && (\n <TripDetail\n icon={<Leaf size={17} />}\n summary={\n <S.CO2Summary>\n <FormattedMessage\n defaultMessage={defaultMessages[\"otpUi.TripDetails.co2\"]}\n description=\"Text showing the quantity of CO₂ emitted by this trip.\"\n id=\"otpUi.TripDetails.co2\"\n values={{\n co2: (\n <FormattedNumber\n value={Math.round(co2)}\n // eslint-disable-next-line react/style-prop-object\n style=\"unit\"\n unit={co2Config?.units || \"gram\"}\n unitDisplay=\"narrow\"\n />\n ),\n strong: boldText\n }}\n />\n </S.CO2Summary>\n }\n description={\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.co2description\"]\n }\n description=\"Text explaining how the CO₂ emissions are calculated.\"\n id=\"otpUi.TripDetails.co2description\"\n values={{\n link: CO2DescriptionLink,\n totalDistance\n }}\n />\n }\n />\n )}\n {containsFlex && (\n <TripDetail\n summary={\n <S.FlexSummary>\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.tripIncludesFlex\"]\n }\n description=\"Text stating that portions of the trip include a flex (on-demand) transit service.\"\n id=\"otpUi.TripDetails.tripIncludesFlex\"\n values={{\n extraMessage: [\n ...new Set([\n ...pickupBookingInfo.map(info => info.message),\n ...dropOffBookingInfo.map(info => info.message)\n ])\n ].join(\" \")\n }}\n />\n </S.FlexSummary>\n }\n icon={<Route size={17} />}\n />\n )}\n </S.TripDetailsBody>\n </S.TripDetails>\n );\n}\n\nexport default TripDetails;\n\n// Rename styled components for export.\nexport { S as Styled, FareLegTable };\n"],"file":"index.js"}
package/i18n/ko.yml CHANGED
@@ -15,9 +15,11 @@ otpUi:
15
15
  <strong>{departureDate, time, short}</strong>에 <strong>{departureDate,
16
16
  date, long}</strong> 출발
17
17
  hideDetail: 세부정보 숨기기
18
+ legMissingFareInfo: 이 구간에 대한 요금 정보 없음
18
19
  minutesActive: >-
19
20
  소요 시간 사용 중: <strong>{approximatePrefix, select, true {약 } other
20
21
  {}}{minutes} 분</strong>
22
+ missingFareTotal: 사용할 수 있는 요금 총액 없음
21
23
  showDetail: 세부정보 표시
22
24
  timeActiveDescription: >
23
25
  이 이동편을 이용하면, 도보로 <strong>{walkMinutes} 분</strong> 및 자전거로
package/i18n/nb_NO.yml CHANGED
@@ -2,3 +2,4 @@ otpUi:
2
2
  TripDetails:
3
3
  FareTable:
4
4
  cash: Kontanter
5
+ calories: "Forbrente kalorier: <strong>{calories, number, ::.}</strong>"
package/i18n/ru.yml CHANGED
@@ -17,9 +17,11 @@ otpUi:
17
17
  Прибытие: <strong>{departureDate, date, long}</strong> в
18
18
  <strong>{departureDate, time, short}</strong>
19
19
  hideDetail: Скрыть детали
20
+ legMissingFareInfo: Информация о тарифах на этот маршрут отсутствует
20
21
  minutesActive: >-
21
22
  Время в активном режиме: <strong>{approximatePrefix, select, true {~}
22
23
  other {}}{minutes, plural, one {# минуту} other {# минуты}}</strong>
24
+ missingFareTotal: Нет данных о суммарном тарифе
23
25
  showDetail: Показать детали
24
26
  timeActiveDescription: >
25
27
  Проделав этот маршрут, вы потратите <strong>{walkMinutes, plural, one {#
package/i18n/ta.yml ADDED
@@ -0,0 +1,36 @@
1
+ otpUi:
2
+ TripDetails:
3
+ FareTable:
4
+ cash: முழுத்தொகை
5
+ electronic: மின்னணு
6
+ regular: அகவை வந்தோர்
7
+ senior: சீனியர்
8
+ special: சிறப்பு
9
+ youth: இளமை
10
+ co2: "Co₂ உமிழும்: <strong> {co2} </strong>"
11
+ co2description: >-
12
+ ஒவ்வொரு பயன்முறையின் CO₂ தீவிரத்தினால் ஒரு பயணத்தின் ஒவ்வொரு காலின்
13
+ தூரத்தையும் பெருக்கி CO₂ தீவிரம் கணக்கிடப்படுகிறது. ஒவ்வொரு பயன்முறையின்
14
+ CO₂ தீவிரமும் <இணைப்பு> இந்த விரிதாள் </இணைப்பு> இலிருந்து பெறப்பட்டது.
15
+ departure: >-
16
+ புறப்படுங்கள் <strong> {புறப்பட்ட, தேதி, நீண்ட} </strong> <strong>
17
+ {புறப்பட்ட, நேரம், குறுகிய} </strong> இல்
18
+ hideDetail: விவரங்களை மறைக்கவும்
19
+ legMissingFareInfo: இந்த காலுக்கு கட்டண தகவல்கள் இல்லை
20
+ minutesActive: >-
21
+ செயலில் செலவழித்த நேரம்: <strong> {தோராயமான பிரீஃபிக்ச், தேர்ந்தெடு, உண்மை
22
+ {~} பிற {}} {நிமிடங்கள், பன்மை, ஒன்று {# நிமிடம்} பிற {# நிமிடங்கள்}}
23
+ </strong>
24
+ missingFareTotal: கட்டணம் மொத்தம் கிடைக்கவில்லை
25
+ showDetail: விவரங்களைக் காட்டு
26
+ timeActiveDescription: >
27
+ இந்த பயணத்தை மேற்கொள்வதன் மூலம், நீங்கள் <strong> {வாக்மினூட்ச், பன்மை,
28
+ ஒன்று {# நிமிடம்} பிற {# நிமிடங்கள்}} </strong> நடைபயிற்சி மற்றும்
29
+ <strong> {பைக்மினூட்ச், பன்மை, ஒன்று {# நிமிடம்} பிற {# செலவிடுவீர்கள்
30
+ நிமிடங்கள்}} </strong> பைக்கிங்.
31
+ title: பயண விவரங்கள்
32
+ tncFare: "{companies} கட்டணம்: <strong> {minTNCFare} - {maxTNCFare} </strong>"
33
+ transferDiscountExplanation: பரிமாற்ற தள்ளுபடி {transferAmount} பயன்படுத்தப்படுகிறது
34
+ transitFare: போக்குவரத்து கட்டணம்
35
+ transitFareEntry: "{name}: <strong> {value} </strong>"
36
+ tripIncludesFlex: இந்த பயணத்தில் நெகிழ்வான வழிகள் உள்ளன. {extraMessage}
package/i18n/tl.yml CHANGED
@@ -17,9 +17,11 @@ otpUi:
17
17
  Aalis <strong>{departureDate, date, long}</strong> nang
18
18
  <strong>{departureDate, time, short}</strong>
19
19
  hideDetail: Itago ang mga detalye
20
+ legMissingFareInfo: Walang impormasyon sa pamasahe para sa leg na ito
20
21
  minutesActive: >-
21
22
  Oras na Ginugol sa pagiging Aktibo: <strong>{approximatePrefix, select,
22
23
  true {~} other {}}{minutes} minuto</strong>
24
+ missingFareTotal: Walang available na kabuuang pamasahe
23
25
  showDetail: Ipakita ang mga detalye
24
26
  timeActiveDescription: >
25
27
  Sa pagbiyahe nang ganitong paraan, gugugol ka ng <strong>{walkMinutes}
package/i18n/vi.yml CHANGED
@@ -16,9 +16,11 @@ otpUi:
16
16
  Khởi hành <strong>{departureDate, date, long}</strong> lúc
17
17
  <strong>{departureDate, time, short}</strong>
18
18
  hideDetail: Ẩn chi tiết
19
+ legMissingFareInfo: Không có thông tin giá vé cho chân này
19
20
  minutesActive: >-
20
21
  Thời gian hoạt động: <strong>{approximatePrefix, select, true {~} other
21
22
  {}}{minutes} phút</strong>
23
+ missingFareTotal: Không có sẵn tổng giá vé
22
24
  showDetail: Hiển thị chi tiết
23
25
  timeActiveDescription: >
24
26
  Nếu thực hiện chuyến đi này, quý vị sẽ dành <strong>{walkMinutes}
package/i18n/zh_Hans.yml CHANGED
@@ -13,9 +13,11 @@ otpUi:
13
13
  <strong>{departureDate, date, long}</strong> <strong>{departureDate, time,
14
14
  short}</strong> 出发
15
15
  hideDetail: 隐藏细节
16
+ legMissingFareInfo: 无此行程段的票价信息
16
17
  minutesActive: >-
17
18
  活动时间: <strong>{approximatePrefix, select, true {约 } other {}}{minutes}
18
19
  分钟</strong>
20
+ missingFareTotal: 无票价总额
19
21
  showDetail: 显示详细资料
20
22
  timeActiveDescription: >
21
23
  在本次行程中,您将步行 <strong>{walkMinutes} 分钟</strong>,骑行<strong>{bikeMinutes}
@@ -1 +1 @@
1
- {"version":3,"file":"fare-table.d.ts","sourceRoot":"","sources":["../src/fare-table.tsx"],"names":[],"mappings":";AAcA,OAAO,EAAE,iBAAiB,EAAmB,MAAM,SAAS,CAAC;AAwL7D,QAAA,MAAM,YAAY,qBAAsB,iBAAiB,KAAG,WAc3D,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"fare-table.d.ts","sourceRoot":"","sources":["../src/fare-table.tsx"],"names":[],"mappings":";AAcA,OAAO,EAAE,iBAAiB,EAAmB,MAAM,SAAS,CAAC;AAuL7D,QAAA,MAAM,YAAY,qBAAsB,iBAAiB,KAAG,WAc3D,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/fare-table.tsx"],"names":["defaultMessages","defaultEnglishMessages","TableHeader","styled","thead","Table","table","TransferIcon","Transfer","useGetHeaderString","headerKey","intl","formatMessage","id","description","defaultMessage","hasFareInfo","column","leg","mediumId","riderCategoryId","price","undefined","FareTypeTable","cols","legs","filteredLegs","filter","fareProducts","length","colsToRender","col","some","map","total","every","headerString","fare","columnHeaderKey","amount","currency","code","index","transferAmount","formatNumber","currencyDisplay","style","FareLegTable","layout","config"],"mappings":";;;;;;;;;AACA;;AACA;;AACA;;AAEA;;AAKA;;AACA;;AACA;;AAKA;;AACA;;AAFA;AAIA;AACA;AACA;AACA;AACA,MAAMA,eAAuC,GAAG,mBAAQC,aAAR,CAAhD;;AAMA,MAAMC,WAAW,GAAGC,0BAAOC,KAAV;AAAA;AAAA;AAAA,6KAAjB;;AAgBA,MAAMC,KAAK,GAAGF,0BAAOG,KAAV;AAAA;AAAA;AAAA,yMAAX;;AAoBA,MAAMC,YAAY,GAAG,+BAAOC,kBAAP,CAAH;AAAA;AAAA;AAAA,yBAAlB;;AAIA,MAAMC,kBAAkB,GAAIC,SAAD,IAA+B;AACxD,QAAMC,IAAI,GAAG,yBAAb;AACA,SAAOA,IAAI,CAACC,aAAL,CAAmB;AACxBC,IAAAA,EAAE,EAAG,+BAA8BH,SAAU,EADrB;AAExBI,IAAAA,WAAW,EAAG,iCAAgCJ,SAAU,EA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AgBesB,Y","sourcesContent":["import { FareProductSelector, Leg } from \"@opentripplanner/types\";\nimport React from \"react\";\nimport styled from \"styled-components\";\nimport { Transfer } from \"@styled-icons/boxicons-regular/Transfer\";\n\nimport {\n getItineraryCost,\n getLegCost,\n getLegRouteName\n} from \"@opentripplanner/core-utils/lib/itinerary\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { flatten } from \"flat\";\nimport { boldText, renderFare } from \"./utils\";\n\nimport { FareLegTableProps, FareTableLayout } from \"./types\";\n\n// Load the default messages.\nimport defaultEnglishMessages from \"../i18n/en-US.yml\";\nimport { InvisibleA11yLabel } from \"./styled\";\n\n// HACK: We should flatten the messages loaded above because\n// the YAML loaders behave differently between webpack and our version of jest:\n// - the yaml loader for webpack returns a nested object,\n// - the yaml loader for jest returns messages with flattened ids.\nconst defaultMessages: Record<string, string> = flatten(defaultEnglishMessages);\n\ninterface FareTypeTableProps extends FareTableLayout {\n legs: Leg[];\n}\n\nconst TableHeader = styled.thead`\n th {\n font-weight: normal;\n min-width: 5ch;\n padding: 0.75em 1.5em;\n text-align: center;\n }\n th:nth-of-type(2n + 1) {\n background: #cccccc22;\n }\n th.main {\n background: #333333;\n color: #ffffffcc;\n }\n`;\n\nconst Table = styled.table`\n border-collapse: collapse;\n display: block;\n margin-bottom: 16px;\n padding: 0;\n\n td {\n text-align: right;\n }\n td:nth-of-type(2n + 1) {\n background: #cccccc22;\n }\n td.no-zebra {\n background: none;\n }\n th:first-of-type {\n height: 40px;\n }\n`;\n\nconst TransferIcon = styled(Transfer)`\n padding-left: 4px;\n`;\n\nconst useGetHeaderString = (headerKey: string): string => {\n const intl = useIntl();\n return intl.formatMessage({\n id: `otpUi.TripDetails.FareTable.${headerKey}`,\n description: `Fare leg table header for key ${headerKey}`,\n defaultMessage:\n defaultEnglishMessages[`otpUi.TripDetails.FareTable.${headerKey}`]\n });\n};\n\nconst hasFareInfo = (column: FareProductSelector) => (leg: Leg) =>\n getLegCost(leg, column.mediumId, column.riderCategoryId).price !== undefined;\n\nconst FareTypeTable = ({\n cols,\n headerKey,\n legs\n}: FareTypeTableProps): JSX.Element => {\n const intl = useIntl();\n\n const filteredLegs = legs.filter(leg => leg.fareProducts?.length > 0);\n const colsToRender = cols\n .filter(col => filteredLegs.some(hasFareInfo(col)))\n .map(col => ({\n ...col,\n total: filteredLegs.every(hasFareInfo(col))\n ? getItineraryCost(filteredLegs, col.mediumId, col.riderCategoryId)\n : undefined\n }));\n\n const headerString = useGetHeaderString(headerKey);\n\n if (colsToRender.length) {\n return (\n <Table>\n <TableHeader>\n <th className=\"main\" scope=\"col\">\n {boldText(headerString)}\n </th>\n {colsToRender.map(col => {\n const fare = col.total;\n return (\n <th\n scope=\"col\"\n key={\n col.columnHeaderKey ||\n `${col.mediumId}-${col.riderCategoryId}`\n }\n >\n {boldText(useGetHeaderString(col.columnHeaderKey))}\n <br />\n {fare?.amount !== undefined ? (\n renderFare(fare?.currency?.code, fare?.amount)\n ) : (\n <>\n -\n <InvisibleA11yLabel>\n <FormattedMessage id=\"otpUi.TripDetails.missingFareTotal\" />\n </InvisibleA11yLabel>\n </>\n )}\n </th>\n );\n })}\n </TableHeader>\n {filteredLegs.map((leg, index) => (\n <tr key={index}>\n <td className=\"no-zebra\">{getLegRouteName(leg)}</td>\n {colsToRender.map(col => {\n const { price, transferAmount } = getLegCost(\n leg,\n col.mediumId,\n col.riderCategoryId\n );\n return (\n <td\n key={col.columnHeaderKey}\n title={\n transferAmount?.amount > 0 &&\n intl.formatMessage(\n {\n defaultMessage:\n defaultMessages[\n \"otpUi.TripDetails.transferDiscountExplanation\"\n ],\n description:\n \"Text explaining the transfer discount applied to this fare.\",\n id: \"otpUi.TripDetails.transferDiscountExplanation\"\n },\n {\n transferAmount: intl.formatNumber(\n transferAmount?.amount,\n {\n currency: price?.currency?.code,\n currencyDisplay: \"narrowSymbol\",\n style: \"currency\"\n }\n )\n }\n )\n }\n >\n {transferAmount?.amount > 0 && (\n <>\n <TransferIcon size={16} />{\" \"}\n </>\n )}\n {price ? (\n renderFare(price?.currency?.code, price?.amount)\n ) : (\n <>\n -\n <InvisibleA11yLabel>\n <FormattedMessage id=\"otpUi.TripDetails.legMissingFareInfo\" />\n </InvisibleA11yLabel>\n </>\n )}\n </td>\n );\n })}\n </tr>\n ))}\n </Table>\n );\n }\n return null;\n};\n\nconst FareLegTable = ({ layout, legs }: FareLegTableProps): JSX.Element => {\n // the layout argument contains an object for every table to be displayed\n return (\n <div>\n {layout.map(config => (\n <FareTypeTable\n cols={config.cols}\n headerKey={config.headerKey}\n key={config.headerKey}\n legs={legs}\n />\n ))}\n </div>\n );\n};\n\nexport default FareLegTable;\n"],"file":"fare-table.js"}
1
+ {"version":3,"sources":["../src/fare-table.tsx"],"names":["defaultMessages","defaultEnglishMessages","TableHeader","styled","thead","Table","table","TransferIcon","Transfer","useGetHeaderString","headerKey","intl","formatMessage","id","description","defaultMessage","hasFareInfo","column","leg","mediumId","riderCategoryId","price","undefined","FareTypeTable","cols","legs","filteredLegs","filter","fareProducts","length","colsToRender","col","some","map","total","every","headerString","fare","columnHeaderKey","amount","currency","code","index","transferAmount","formatNumber","currencyDisplay","style","FareLegTable","layout","config"],"mappings":";;;;;;;;;AACA;;AACA;;AACA;;AAEA;;AAKA;;AACA;;AACA;;AAKA;;AACA;;AAFA;AAIA;AACA;AACA;AACA;AACA,MAAMA,eAAuC,GAAG,mBAAQC,aAAR,CAAhD;;AAMA,MAAMC,WAAW,GAAGC,0BAAOC,KAAV;AAAA;AAAA;AAAA,6KAAjB;;AAgBA,MAAMC,KAAK,GAAGF,0BAAOG,KAAV;AAAA;AAAA;AAAA,yMAAX;;AAoBA,MAAMC,YAAY,GAAG,+BAAOC,kBAAP,CAAH;AAAA;AAAA;AAAA,yBAAlB;;AAIA,MAAMC,kBAAkB,GAAIC,SAAD,IAA+B;AACxD,QAAMC,IAAI,GAAG,yBAAb;AACA,SAAOA,IAAI,CAACC,aAAL,CAAmB;AACxBC,IAAAA,EAAE,EA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vC,SAHd;AAIE,IAAA,IAAI,EAAEe;AAJR,IADD,CADH,CADF;AAYD,CAdD;;eAgBesB,Y","sourcesContent":["import { FareProductSelector, Leg } from \"@opentripplanner/types\";\nimport React from \"react\";\nimport styled from \"styled-components\";\nimport { Transfer } from \"@styled-icons/boxicons-regular/Transfer\";\n\nimport {\n getItineraryCost,\n getLegCost,\n getLegRouteName\n} from \"@opentripplanner/core-utils/lib/itinerary\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { flatten } from \"flat\";\nimport { boldText, renderFare } from \"./utils\";\n\nimport { FareLegTableProps, FareTableLayout } from \"./types\";\n\n// Load the default messages.\nimport defaultEnglishMessages from \"../i18n/en-US.yml\";\nimport { InvisibleA11yLabel } from \"./styled\";\n\n// HACK: We should flatten the messages loaded above because\n// the YAML loaders behave differently between webpack and our version of jest:\n// - the yaml loader for webpack returns a nested object,\n// - the yaml loader for jest returns messages with flattened ids.\nconst defaultMessages: Record<string, string> = flatten(defaultEnglishMessages);\n\ninterface FareTypeTableProps extends FareTableLayout {\n legs: Leg[];\n}\n\nconst TableHeader = styled.thead`\n th {\n font-weight: normal;\n min-width: 5ch;\n padding: 0.75em 1.5em;\n text-align: center;\n }\n th:nth-of-type(2n + 1) {\n background: #cccccc22;\n }\n th.main {\n background: #333333;\n color: #ffffffcc;\n }\n`;\n\nconst Table = styled.table`\n border-collapse: collapse;\n display: block;\n margin-bottom: 16px;\n padding: 0;\n\n td {\n text-align: right;\n }\n td:nth-of-type(2n + 1) {\n background: #cccccc22;\n }\n td.no-zebra {\n background: none;\n }\n th:first-of-type {\n height: 40px;\n }\n`;\n\nconst TransferIcon = styled(Transfer)`\n padding-left: 4px;\n`;\n\nconst useGetHeaderString = (headerKey: string): string => {\n const intl = useIntl();\n return intl.formatMessage({\n id: `otpUi.TripDetails.FareTable.${headerKey}`,\n description: `Fare leg table header for key ${headerKey}`,\n defaultMessage:\n defaultEnglishMessages[`otpUi.TripDetails.FareTable.${headerKey}`]\n });\n};\n\nconst hasFareInfo = (column: FareProductSelector) => (leg: Leg) =>\n getLegCost(leg, column.mediumId, column.riderCategoryId).price !== undefined;\n\nconst FareTypeTable = ({\n cols,\n headerKey,\n legs\n}: FareTypeTableProps): JSX.Element => {\n const intl = useIntl();\n\n const filteredLegs = legs.filter(leg => leg.fareProducts?.length > 0);\n const colsToRender = cols\n .filter(col => filteredLegs.some(hasFareInfo(col)))\n .map(col => ({\n ...col,\n total: filteredLegs.every(hasFareInfo(col))\n ? getItineraryCost(filteredLegs, col.mediumId, col.riderCategoryId)\n : undefined\n }));\n\n const headerString = useGetHeaderString(headerKey);\n if (colsToRender.length) {\n return (\n <Table>\n <TableHeader>\n <th className=\"main\" scope=\"col\">\n {boldText(headerString)}\n </th>\n {colsToRender.map(col => {\n const fare = col.total;\n return (\n <th\n scope=\"col\"\n key={\n col.columnHeaderKey ||\n `${col.mediumId}-${col.riderCategoryId}`\n }\n >\n {boldText(useGetHeaderString(col.columnHeaderKey))}\n <br />\n {fare?.amount !== undefined ? (\n renderFare(fare?.currency?.code, fare?.amount)\n ) : (\n <>\n -\n <InvisibleA11yLabel>\n <FormattedMessage id=\"otpUi.TripDetails.missingFareTotal\" />\n </InvisibleA11yLabel>\n </>\n )}\n </th>\n );\n })}\n </TableHeader>\n {filteredLegs.map((leg, index) => (\n <tr key={index}>\n <td className=\"no-zebra\">{getLegRouteName(leg)}</td>\n {colsToRender.map(col => {\n const { price, transferAmount } = getLegCost(\n leg,\n col.mediumId,\n col.riderCategoryId\n );\n return (\n <td\n key={col.columnHeaderKey}\n title={\n transferAmount?.amount > 0 &&\n intl.formatMessage(\n {\n defaultMessage:\n defaultMessages[\n \"otpUi.TripDetails.transferDiscountExplanation\"\n ],\n description:\n \"Text explaining the transfer discount applied to this fare.\",\n id: \"otpUi.TripDetails.transferDiscountExplanation\"\n },\n {\n transferAmount: intl.formatNumber(\n transferAmount?.amount,\n {\n currency: price?.currency?.code,\n currencyDisplay: \"narrowSymbol\",\n style: \"currency\"\n }\n )\n }\n )\n }\n >\n {transferAmount?.amount > 0 && (\n <>\n <TransferIcon size={16} />{\" \"}\n </>\n )}\n {price ? (\n renderFare(price?.currency?.code, price?.amount)\n ) : (\n <>\n -\n <InvisibleA11yLabel>\n <FormattedMessage id=\"otpUi.TripDetails.legMissingFareInfo\" />\n </InvisibleA11yLabel>\n </>\n )}\n </td>\n );\n })}\n </tr>\n ))}\n </Table>\n );\n }\n return null;\n};\n\nconst FareLegTable = ({ layout, legs }: FareLegTableProps): JSX.Element => {\n // the layout argument contains an object for every table to be displayed\n return (\n <div>\n {layout.map(config => (\n <FareTypeTable\n cols={config.cols}\n headerKey={config.headerKey}\n key={config.headerKey}\n legs={legs}\n />\n ))}\n </div>\n );\n};\n\nexport default FareLegTable;\n"],"file":"fare-table.js"}
package/lib/index.js CHANGED
@@ -119,10 +119,10 @@ function TripDetails({
119
119
 
120
120
  if (leg.fareProducts) {
121
121
  leg.fareProducts.forEach(fp => {
122
- var _fp$product$medium, _fp$product$riderCate;
122
+ var _fp$product, _fp$product$medium, _fp$product2, _fp$product2$riderCat;
123
123
 
124
- const mediumId = (_fp$product$medium = fp.product.medium) === null || _fp$product$medium === void 0 ? void 0 : _fp$product$medium.id;
125
- const riderCategoryId = (_fp$product$riderCate = fp.product.riderCategory) === null || _fp$product$riderCate === void 0 ? void 0 : _fp$product$riderCate.id;
124
+ const mediumId = (_fp$product = fp.product) === null || _fp$product === void 0 ? void 0 : (_fp$product$medium = _fp$product.medium) === null || _fp$product$medium === void 0 ? void 0 : _fp$product$medium.id;
125
+ const riderCategoryId = (_fp$product2 = fp.product) === null || _fp$product2 === void 0 ? void 0 : (_fp$product2$riderCat = _fp$product2.riderCategory) === null || _fp$product2$riderCat === void 0 ? void 0 : _fp$product2$riderCat.id;
126
126
 
127
127
  if (!prev.fareTypes.find(ft => ft.mediumId === mediumId && ft.riderCategoryId === riderCategoryId)) {
128
128
  prev.fareTypes.push({
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.tsx"],"names":["defaultMessages","defaultEnglishMessages","CO2DescriptionLink","contents","DefaultTimeActiveDetails","bikeMinutes","walkMinutes","strong","boldText","TripDetails","className","co2Config","defaultFareType","DepartureDetails","displayTimeActive","FareDetails","fareDetailsLayout","fareKeyNameMap","itinerary","showApproximateMinutesActive","TimeActiveDetails","fareResult","coreUtils","calculateTncFares","currencyCode","maxTNCFare","minTNCFare","companies","fareTypes","legs","reduce","prev","leg","rideHailingEstimate","provider","id","fareProducts","forEach","fp","mediumId","product","medium","riderCategoryId","riderCategory","find","ft","push","fare","length","defaultFareTotal","getItineraryCost","TransitFareWrapper","S","TransitFare","TransitFareSingle","fareNameFallback","undefined","display","name","headerKey","value","currency","code","amount","map","fareType","Object","values","join","digits","tncFare","toLowerCase","departureDate","Date","startTime","walkDurationSeconds","bikeDurationSeconds","mode","startsWith","duration","Math","round","minutesActive","co2","enabled","calculateEmissions","carbonIntensity","units","containsFlex","some","isFlex","pickupBookingInfo","filter","info","dropOffBookingInfo","totalDistance","total","distance","approximatePrefix","minutes","link","extraMessage","Set","message"],"mappings":";;;;;;;;;;;;;;;;AAAA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AACA;;AACA;;AACA;;AAKA;;;;;;AADA;AAGA;AACA;AACA;AACA;AACA,MAAMA,eAAuC,GAAG,mBAAQC,aAAR,CAAhD;;AAEA,SAASC,kBAAT,CAA4BC,QAA5B,EAAkE;AAChE,sBACE;AACE,IAAA,IAAI,EAAC,2FADP;AAEE,IAAA,GAAG,EAAC,qBAFN;AAGE,IAAA,MAAM,EAAC;AAHT,KAKGA,QALH,CADF;AASD;AACD;AACA;AACA;AACA;;;AACA,SAASC,wBAAT,CAAkC;AAChCC,EAAAA,WADgC;AAEhCC,EAAAA;AAFgC,CAAlC,EAGyC;AACvC,sBACE,6BAAC,2BAAD;AACE,IAAA,cAAc,EACZN,eAAe,CAAC,yCAAD,CAFnB;AAIE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AX,KAAoB,MAJ5B;AAKE,UAAA,WAAW,EAAC;AALd,UAFI;AAUNhF,QAAAA,MAAM,EAAEC;AAVF;AAJV,MADF,CAHJ;AAuBE,IAAA,WAAW,eACT,6BAAC,2BAAD;AACE,MAAA,cAAc,EACZR,eAAe,CAAC,kCAAD,CAFnB;AAIE,MAAA,WAAW,EAAC,4DAJd;AAKE,MAAA,EAAE,EAAC,kCALL;AAME,MAAA,MAAM,EAAE;AACNoG,QAAAA,IAAI,EAAElG,kBADA;AAEN6F,QAAAA;AAFM;AANV;AAxBJ,IAnFJ,EAyHGP,YAAY,iBACX,6BAAC,mBAAD;AACE,IAAA,OAAO,eACL,6BAAC,CAAD,CAAG,WAAH,qBACE,6BAAC,2BAAD;AACE,MAAA,cAAc,EACZxF,eAAe,CAAC,oCAAD,CAFnB;AAIE,MAAA,WAAW,EAAC,oFAJd;AAKE,MAAA,EAAE,EAAC,oCALL;AAME,MAAA,MAAM,EAAE;AACNqG,QAAAA,YAAY,EAAE,CACZ,GAAG,IAAIC,GAAJ,CAAQ,CACT,GAAGX,iBAAiB,CAAC3B,GAAlB,CAAsB6B,IAAI,IAAIA,IAAI,CAACU,OAAnC,CADM,EAET,GAAGT,kBAAkB,CAAC9B,GAAnB,CAAuB6B,IAAI,IAAIA,IAAI,CAACU,OAApC,CAFM,CAAR,CADS,EAKZnC,IALY,CAKP,GALO;AADR;AANV,MADF,CAFJ;AAoBE,IAAA,IAAI,eAAE,6BAAC,YAAD;AAAO,MAAA,IAAI,EAAE;AAAb;AApBR,IA1HJ,CATF,CADF;AA8JD;;eAEc3D,W,EAEf","sourcesContent":["import coreUtils from \"@opentripplanner/core-utils\";\nimport { FareProductSelector } from \"@opentripplanner/types\";\nimport React, { ReactElement } from \"react\";\nimport { FormattedMessage, FormattedNumber } from \"react-intl\";\nimport { CalendarAlt } from \"@styled-icons/fa-solid/CalendarAlt\";\nimport { Heartbeat } from \"@styled-icons/fa-solid/Heartbeat\";\nimport { MoneyBillAlt } from \"@styled-icons/fa-solid/MoneyBillAlt\";\nimport { Leaf } from \"@styled-icons/fa-solid/Leaf\";\nimport { Route } from \"@styled-icons/fa-solid/Route\";\nimport { flatten } from \"flat\";\nimport * as S from \"./styled\";\nimport TripDetail from \"./trip-detail\";\nimport FareLegTable from \"./fare-table\";\nimport { boldText, renderFare } from \"./utils\";\n\nimport { TimeActiveDetailsProps, TripDetailsProps } from \"./types\";\n\n// Load the default messages.\nimport defaultEnglishMessages from \"../i18n/en-US.yml\";\n\n// HACK: We should flatten the messages loaded above because\n// the YAML loaders behave differently between webpack and our version of jest:\n// - the yaml loader for webpack returns a nested object,\n// - the yaml loader for jest returns messages with flattened ids.\nconst defaultMessages: Record<string, string> = flatten(defaultEnglishMessages);\n\nfunction CO2DescriptionLink(contents: ReactElement): ReactElement {\n return (\n <a\n href=\"https://www.itf-oecd.org/sites/default/files/life-cycle-assessment-calculations-2020.xlsx\"\n rel=\"noopener noreferrer\"\n target=\"_blank\"\n >\n {contents}\n </a>\n );\n}\n/**\n * Default rendering if no component is provided for the TimeActiveDetails\n * slot in the TripDetails component.\n */\nfunction DefaultTimeActiveDetails({\n bikeMinutes,\n walkMinutes\n}: TimeActiveDetailsProps): ReactElement {\n return (\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.timeActiveDescription\"]\n }\n description=\"Text describing the walking and biking durations of a trip.\"\n id=\"otpUi.TripDetails.timeActiveDescription\"\n values={{\n bikeMinutes,\n strong: boldText,\n walkMinutes\n }}\n />\n );\n}\n\n/**\n * Renders trip details such as departure instructions, fare amount, and minutes active.\n */\nexport function TripDetails({\n className = \"\",\n co2Config,\n defaultFareType,\n DepartureDetails = null,\n displayTimeActive = true,\n FareDetails = null,\n fareDetailsLayout,\n fareKeyNameMap = {},\n itinerary,\n showApproximateMinutesActive,\n TimeActiveDetails = DefaultTimeActiveDetails\n}: TripDetailsProps): ReactElement {\n // process the transit fare\n const fareResult = coreUtils.itinerary.calculateTncFares(itinerary);\n const { currencyCode, maxTNCFare, minTNCFare } = fareResult;\n\n const { companies, fareTypes } = itinerary.legs.reduce<{\n companies: string;\n fareTypes: FareProductSelector[];\n }>(\n (prev, leg) => {\n if (leg.rideHailingEstimate) {\n prev.companies = leg.rideHailingEstimate.provider.id;\n }\n\n if (leg.fareProducts) {\n leg.fareProducts.forEach(fp => {\n const mediumId = fp.product.medium?.id;\n const riderCategoryId = fp.product.riderCategory?.id;\n if (\n !prev.fareTypes.find(\n ft =>\n ft.mediumId === mediumId &&\n ft.riderCategoryId === riderCategoryId\n )\n ) {\n prev.fareTypes.push({ mediumId, riderCategoryId });\n }\n });\n }\n return prev;\n },\n { companies: \"\", fareTypes: [] }\n );\n\n let fare;\n if (fareTypes.length > 0 && defaultFareType) {\n const defaultFareTotal = coreUtils.itinerary.getItineraryCost(\n itinerary.legs,\n defaultFareType.mediumId,\n defaultFareType.riderCategoryId\n );\n // Depending on if there are additional fares to display either render a <span> or a <details>\n const TransitFareWrapper =\n fareTypes.length > 1 ? S.TransitFare : S.TransitFareSingle;\n\n const fareNameFallback = (\n <FormattedMessage\n defaultMessage={defaultMessages[\"otpUi.TripDetails.transitFare\"]}\n description=\"Text showing the price of tickets on public transportation.\"\n id=\"otpUi.TripDetails.transitFare\"\n />\n );\n\n fare = defaultFareTotal !== undefined && (\n <S.Fare>\n <TransitFareWrapper>\n <summary style={{ display: fareTypes.length > 1 ? \"list-item\" : \"\" }}>\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.transitFareEntry\"]\n }\n description=\"Text showing the price of tickets on public transportation.\"\n id=\"otpUi.TripDetails.transitFareEntry\"\n values={{\n name:\n fareKeyNameMap[defaultFareType.headerKey] || fareNameFallback,\n strong: boldText,\n value: renderFare(\n defaultFareTotal.currency?.code || \"USD\",\n defaultFareTotal?.amount\n )\n }}\n />\n </summary>\n {fareDetailsLayout ? (\n // Show full ƒare details by leg\n <FareLegTable layout={fareDetailsLayout} legs={itinerary.legs} />\n ) : (\n // Just show the fares for each payment type\n fareTypes.map(fareType => {\n // Don't show the default fare twice!\n if (fareType) {\n return null;\n }\n return (\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.transitFareEntry\"]\n }\n description=\"Text showing the price of tickets on public transportation.\"\n id=\"otpUi.TripDetails.transitFareEntry\"\n key={Object.values(fareType).join(\"-\")}\n values={{\n name:\n fareKeyNameMap[defaultFareType.headerKey] ||\n fareNameFallback,\n strong: boldText,\n value: renderFare(\n defaultFareTotal.currency?.code || \"USD\",\n defaultFareTotal?.amount /\n defaultFareTotal?.currency?.digits\n )\n }}\n />\n );\n })\n )}\n </TransitFareWrapper>\n </S.Fare>\n );\n }\n const tncFare = minTNCFare !== 0 && (\n <S.Fare>\n <S.TNCFare>\n <FormattedMessage\n defaultMessage={defaultMessages[\"otpUi.TripDetails.tncFare\"]}\n description=\"Text showing the price paid to transportation network companies.\"\n id=\"otpUi.TripDetails.tncFare\"\n values={{\n companies: (\n // S.TNCFareCompanies capitalizes the TNC company ID (e.g. \"COMPANY\")\n // after it is converted to lowercase, so it renders as \"Company\".\n <S.TNCFareCompanies>{companies.toLowerCase()}</S.TNCFareCompanies>\n ),\n maxTNCFare: renderFare(currencyCode, maxTNCFare),\n minTNCFare: renderFare(currencyCode, minTNCFare),\n strong: boldText\n }}\n />\n </S.TNCFare>\n </S.Fare>\n );\n\n const departureDate = new Date(itinerary.startTime);\n\n // Compute total time spent active.\n\n // TODO: separate into two reducers\n let walkDurationSeconds = 0;\n let bikeDurationSeconds = 0;\n itinerary.legs.forEach(leg => {\n if (leg.mode.startsWith(\"WALK\")) walkDurationSeconds += leg.duration;\n if (leg.mode.startsWith(\"BICYCLE\")) bikeDurationSeconds += leg.duration;\n });\n const bikeMinutes = Math.round(bikeDurationSeconds / 60);\n const walkMinutes = Math.round(walkDurationSeconds / 60);\n const minutesActive = bikeMinutes + walkMinutes;\n\n // Calculate CO₂ if it's not provided by the itinerary\n const co2 =\n itinerary.co2 ||\n (co2Config?.enabled &&\n coreUtils.itinerary.calculateEmissions(\n itinerary,\n co2Config?.carbonIntensity,\n co2Config?.units\n ));\n\n // Parse flex info and generate appropriate strings\n const containsFlex = itinerary.legs.some(coreUtils.itinerary.isFlex);\n const pickupBookingInfo = itinerary.legs\n .map(leg => leg.pickupBookingInfo)\n .filter(info => !!info);\n const dropOffBookingInfo = itinerary.legs\n .map(leg => leg.dropOffBookingInfo)\n .filter(info => !!info);\n const totalDistance = itinerary.legs.reduce(\n (total, leg) => total + leg.distance,\n 0\n );\n\n return (\n <S.TripDetails className={className}>\n {/* this can be presentation as S.TripDetails is already labeled by this */}\n <S.TripDetailsHeader id=\"trip-details-header\">\n <FormattedMessage\n defaultMessage={defaultMessages[\"otpUi.TripDetails.title\"]}\n description=\"Title (heading) text of the component.\"\n id=\"otpUi.TripDetails.title\"\n />\n </S.TripDetailsHeader>\n <S.TripDetailsBody>\n <TripDetail\n // Any custom description for the Departure message needs to be handled by the slot.\n description={\n DepartureDetails && (\n <DepartureDetails departureDate={departureDate} />\n )\n }\n icon={<CalendarAlt size={17} />}\n summary={\n <S.Timing>\n <FormattedMessage\n defaultMessage={defaultMessages[\"otpUi.TripDetails.departure\"]}\n description=\"Text showing the departure date/time for a trip.\"\n id=\"otpUi.TripDetails.departure\"\n values={{\n departureDate,\n strong: boldText\n }}\n />\n </S.Timing>\n }\n />\n {!!fare && (\n <TripDetail\n // Any custom description for the transit fare needs to be handled by the slot.\n description={\n FareDetails && (\n <FareDetails\n legs={itinerary.legs}\n maxTNCFare={maxTNCFare}\n minTNCFare={minTNCFare}\n />\n )\n }\n icon={<MoneyBillAlt size={17} />}\n summary={fare}\n />\n )}\n {tncFare && (\n <TripDetail\n // Any custom description for the transit fare needs to be handled by the slot.\n description={\n FareDetails && (\n <FareDetails\n legs={itinerary.legs}\n maxTNCFare={maxTNCFare}\n minTNCFare={minTNCFare}\n />\n )\n }\n icon={<MoneyBillAlt size={17} />}\n summary={tncFare}\n />\n )}\n {displayTimeActive && minutesActive > 0 && (\n <TripDetail\n icon={<Heartbeat size={17} />}\n summary={\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.minutesActive\"]\n }\n description=\"Text showing the number of minutes spent walking or biking throughout trip.\"\n id=\"otpUi.TripDetails.minutesActive\"\n values={{\n approximatePrefix: showApproximateMinutesActive,\n minutes: minutesActive,\n strong: boldText\n }}\n />\n }\n description={\n TimeActiveDetails && (\n <TimeActiveDetails\n bikeMinutes={bikeMinutes}\n walkMinutes={walkMinutes}\n />\n )\n }\n />\n )}\n {co2 > 0 && co2Config?.enabled && (\n <TripDetail\n icon={<Leaf size={17} />}\n summary={\n <S.CO2Summary>\n <FormattedMessage\n defaultMessage={defaultMessages[\"otpUi.TripDetails.co2\"]}\n description=\"Text showing the quantity of CO₂ emitted by this trip.\"\n id=\"otpUi.TripDetails.co2\"\n values={{\n co2: (\n <FormattedNumber\n value={Math.round(co2)}\n // eslint-disable-next-line react/style-prop-object\n style=\"unit\"\n unit={co2Config?.units || \"gram\"}\n unitDisplay=\"narrow\"\n />\n ),\n strong: boldText\n }}\n />\n </S.CO2Summary>\n }\n description={\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.co2description\"]\n }\n description=\"Text explaining how the CO₂ emissions are calculated.\"\n id=\"otpUi.TripDetails.co2description\"\n values={{\n link: CO2DescriptionLink,\n totalDistance\n }}\n />\n }\n />\n )}\n {containsFlex && (\n <TripDetail\n summary={\n <S.FlexSummary>\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.tripIncludesFlex\"]\n }\n description=\"Text stating that portions of the trip include a flex (on-demand) transit service.\"\n id=\"otpUi.TripDetails.tripIncludesFlex\"\n values={{\n extraMessage: [\n ...new Set([\n ...pickupBookingInfo.map(info => info.message),\n ...dropOffBookingInfo.map(info => info.message)\n ])\n ].join(\" \")\n }}\n />\n </S.FlexSummary>\n }\n icon={<Route size={17} />}\n />\n )}\n </S.TripDetailsBody>\n </S.TripDetails>\n );\n}\n\nexport default TripDetails;\n\n// Rename styled components for export.\nexport { S as Styled, FareLegTable };\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../src/index.tsx"],"names":["defaultMessages","defaultEnglishMessages","CO2DescriptionLink","contents","DefaultTimeActiveDetails","bikeMinutes","walkMinutes","strong","boldText","TripDetails","className","co2Config","defaultFareType","DepartureDetails","displayTimeActive","FareDetails","fareDetailsLayout","fareKeyNameMap","itinerary","showApproximateMinutesActive","TimeActiveDetails","fareResult","coreUtils","calculateTncFares","currencyCode","maxTNCFare","minTNCFare","companies","fareTypes","legs","reduce","prev","leg","rideHailingEstimate","provider","id","fareProducts","forEach","fp","mediumId","product","medium","riderCategoryId","riderCategory","find","ft","push","fare","length","defaultFareTotal","getItineraryCost","TransitFareWrapper","S","TransitFare","TransitFareSingle","fareNameFallback","undefined","display","name","headerKey","value","currency","code","amount","map","fareType","Object","values","join","digits","tncFare","toLowerCase","departureDate","Date","startTime","walkDurationSeconds","bikeDurationSeconds","mode","startsWith","duration","Math","round","minutesActive","co2","enabled","calculateEmissions","carbonIntensity","units","containsFlex","some","isFlex","pickupBookingInfo","filter","info","dropOffBookingInfo","totalDistance","total","distance","approximatePrefix","minutes","link","extraMessage","Set","message"],"mappings":";;;;;;;;;;;;;;;;AAAA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AACA;;AACA;;AACA;;AAKA;;;;;;AADA;AAGA;AACA;AACA;AACA;AACA,MAAMA,eAAuC,GAAG,mBAAQC,aAAR,CAAhD;;AAEA,SAASC,kBAAT,CAA4BC,QAA5B,EAAkE;AAChE,sBACE;AACE,IAAA,IAAI,EAAC,2FADP;AAEE,IAAA,GAAG,EAAC,qBAFN;AAGE,IAAA,MAAM,EAAC;AAHT,KAKGA,QALH,CADF;AASD;AACD;AACA;AACA;AACA;;;AACA,SAASC,wBAAT,CAAkC;AAChCC,EAAAA,WADgC;AAEhCC,EAAAA;AAFgC,CAAlC,E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,EAAC,MAHR;AAIE,UAAA,IAAI,EAAE,CAAAxE,SAAS,SAAT,IAAAA,SAAS,WAAT,YAAAA,SAAS,CAAE4E,KAAX,KAAoB,MAJ5B;AAKE,UAAA,WAAW,EAAC;AALd,UAFI;AAUNhF,QAAAA,MAAM,EAAEC;AAVF;AAJV,MADF,CAHJ;AAuBE,IAAA,WAAW,eACT,6BAAC,2BAAD;AACE,MAAA,cAAc,EACZR,eAAe,CAAC,kCAAD,CAFnB;AAIE,MAAA,WAAW,EAAC,4DAJd;AAKE,MAAA,EAAE,EAAC,kCALL;AAME,MAAA,MAAM,EAAE;AACNoG,QAAAA,IAAI,EAAElG,kBADA;AAEN6F,QAAAA;AAFM;AANV;AAxBJ,IAnFJ,EAyHGP,YAAY,iBACX,6BAAC,mBAAD;AACE,IAAA,OAAO,eACL,6BAAC,CAAD,CAAG,WAAH,qBACE,6BAAC,2BAAD;AACE,MAAA,cAAc,EACZxF,eAAe,CAAC,oCAAD,CAFnB;AAIE,MAAA,WAAW,EAAC,oFAJd;AAKE,MAAA,EAAE,EAAC,oCALL;AAME,MAAA,MAAM,EAAE;AACNqG,QAAAA,YAAY,EAAE,CACZ,GAAG,IAAIC,GAAJ,CAAQ,CACT,GAAGX,iBAAiB,CAAC3B,GAAlB,CAAsB6B,IAAI,IAAIA,IAAI,CAACU,OAAnC,CADM,EAET,GAAGT,kBAAkB,CAAC9B,GAAnB,CAAuB6B,IAAI,IAAIA,IAAI,CAACU,OAApC,CAFM,CAAR,CADS,EAKZnC,IALY,CAKP,GALO;AADR;AANV,MADF,CAFJ;AAoBE,IAAA,IAAI,eAAE,6BAAC,YAAD;AAAO,MAAA,IAAI,EAAE;AAAb;AApBR,IA1HJ,CATF,CADF;AA8JD;;eAEc3D,W,EAEf","sourcesContent":["import coreUtils from \"@opentripplanner/core-utils\";\nimport { FareProductSelector } from \"@opentripplanner/types\";\nimport React, { ReactElement } from \"react\";\nimport { FormattedMessage, FormattedNumber } from \"react-intl\";\nimport { CalendarAlt } from \"@styled-icons/fa-solid/CalendarAlt\";\nimport { Heartbeat } from \"@styled-icons/fa-solid/Heartbeat\";\nimport { MoneyBillAlt } from \"@styled-icons/fa-solid/MoneyBillAlt\";\nimport { Leaf } from \"@styled-icons/fa-solid/Leaf\";\nimport { Route } from \"@styled-icons/fa-solid/Route\";\nimport { flatten } from \"flat\";\nimport * as S from \"./styled\";\nimport TripDetail from \"./trip-detail\";\nimport FareLegTable from \"./fare-table\";\nimport { boldText, renderFare } from \"./utils\";\n\nimport { TimeActiveDetailsProps, TripDetailsProps } from \"./types\";\n\n// Load the default messages.\nimport defaultEnglishMessages from \"../i18n/en-US.yml\";\n\n// HACK: We should flatten the messages loaded above because\n// the YAML loaders behave differently between webpack and our version of jest:\n// - the yaml loader for webpack returns a nested object,\n// - the yaml loader for jest returns messages with flattened ids.\nconst defaultMessages: Record<string, string> = flatten(defaultEnglishMessages);\n\nfunction CO2DescriptionLink(contents: ReactElement): ReactElement {\n return (\n <a\n href=\"https://www.itf-oecd.org/sites/default/files/life-cycle-assessment-calculations-2020.xlsx\"\n rel=\"noopener noreferrer\"\n target=\"_blank\"\n >\n {contents}\n </a>\n );\n}\n/**\n * Default rendering if no component is provided for the TimeActiveDetails\n * slot in the TripDetails component.\n */\nfunction DefaultTimeActiveDetails({\n bikeMinutes,\n walkMinutes\n}: TimeActiveDetailsProps): ReactElement {\n return (\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.timeActiveDescription\"]\n }\n description=\"Text describing the walking and biking durations of a trip.\"\n id=\"otpUi.TripDetails.timeActiveDescription\"\n values={{\n bikeMinutes,\n strong: boldText,\n walkMinutes\n }}\n />\n );\n}\n\n/**\n * Renders trip details such as departure instructions, fare amount, and minutes active.\n */\nexport function TripDetails({\n className = \"\",\n co2Config,\n defaultFareType,\n DepartureDetails = null,\n displayTimeActive = true,\n FareDetails = null,\n fareDetailsLayout,\n fareKeyNameMap = {},\n itinerary,\n showApproximateMinutesActive,\n TimeActiveDetails = DefaultTimeActiveDetails\n}: TripDetailsProps): ReactElement {\n // process the transit fare\n const fareResult = coreUtils.itinerary.calculateTncFares(itinerary);\n const { currencyCode, maxTNCFare, minTNCFare } = fareResult;\n\n const { companies, fareTypes } = itinerary.legs.reduce<{\n companies: string;\n fareTypes: FareProductSelector[];\n }>(\n (prev, leg) => {\n if (leg.rideHailingEstimate) {\n prev.companies = leg.rideHailingEstimate.provider.id;\n }\n\n if (leg.fareProducts) {\n leg.fareProducts.forEach(fp => {\n const mediumId = fp.product?.medium?.id;\n const riderCategoryId = fp.product?.riderCategory?.id;\n if (\n !prev.fareTypes.find(\n ft =>\n ft.mediumId === mediumId &&\n ft.riderCategoryId === riderCategoryId\n )\n ) {\n prev.fareTypes.push({ mediumId, riderCategoryId });\n }\n });\n }\n return prev;\n },\n { companies: \"\", fareTypes: [] }\n );\n\n let fare;\n if (fareTypes.length > 0 && defaultFareType) {\n const defaultFareTotal = coreUtils.itinerary.getItineraryCost(\n itinerary.legs,\n defaultFareType.mediumId,\n defaultFareType.riderCategoryId\n );\n // Depending on if there are additional fares to display either render a <span> or a <details>\n const TransitFareWrapper =\n fareTypes.length > 1 ? S.TransitFare : S.TransitFareSingle;\n\n const fareNameFallback = (\n <FormattedMessage\n defaultMessage={defaultMessages[\"otpUi.TripDetails.transitFare\"]}\n description=\"Text showing the price of tickets on public transportation.\"\n id=\"otpUi.TripDetails.transitFare\"\n />\n );\n\n fare = defaultFareTotal !== undefined && (\n <S.Fare>\n <TransitFareWrapper>\n <summary style={{ display: fareTypes.length > 1 ? \"list-item\" : \"\" }}>\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.transitFareEntry\"]\n }\n description=\"Text showing the price of tickets on public transportation.\"\n id=\"otpUi.TripDetails.transitFareEntry\"\n values={{\n name:\n fareKeyNameMap[defaultFareType.headerKey] || fareNameFallback,\n strong: boldText,\n value: renderFare(\n defaultFareTotal.currency?.code || \"USD\",\n defaultFareTotal?.amount\n )\n }}\n />\n </summary>\n {fareDetailsLayout ? (\n // Show full ƒare details by leg\n <FareLegTable layout={fareDetailsLayout} legs={itinerary.legs} />\n ) : (\n // Just show the fares for each payment type\n fareTypes.map(fareType => {\n // Don't show the default fare twice!\n if (fareType) {\n return null;\n }\n return (\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.transitFareEntry\"]\n }\n description=\"Text showing the price of tickets on public transportation.\"\n id=\"otpUi.TripDetails.transitFareEntry\"\n key={Object.values(fareType).join(\"-\")}\n values={{\n name:\n fareKeyNameMap[defaultFareType.headerKey] ||\n fareNameFallback,\n strong: boldText,\n value: renderFare(\n defaultFareTotal.currency?.code || \"USD\",\n defaultFareTotal?.amount /\n defaultFareTotal?.currency?.digits\n )\n }}\n />\n );\n })\n )}\n </TransitFareWrapper>\n </S.Fare>\n );\n }\n const tncFare = minTNCFare !== 0 && (\n <S.Fare>\n <S.TNCFare>\n <FormattedMessage\n defaultMessage={defaultMessages[\"otpUi.TripDetails.tncFare\"]}\n description=\"Text showing the price paid to transportation network companies.\"\n id=\"otpUi.TripDetails.tncFare\"\n values={{\n companies: (\n // S.TNCFareCompanies capitalizes the TNC company ID (e.g. \"COMPANY\")\n // after it is converted to lowercase, so it renders as \"Company\".\n <S.TNCFareCompanies>{companies.toLowerCase()}</S.TNCFareCompanies>\n ),\n maxTNCFare: renderFare(currencyCode, maxTNCFare),\n minTNCFare: renderFare(currencyCode, minTNCFare),\n strong: boldText\n }}\n />\n </S.TNCFare>\n </S.Fare>\n );\n\n const departureDate = new Date(itinerary.startTime);\n\n // Compute total time spent active.\n\n // TODO: separate into two reducers\n let walkDurationSeconds = 0;\n let bikeDurationSeconds = 0;\n itinerary.legs.forEach(leg => {\n if (leg.mode.startsWith(\"WALK\")) walkDurationSeconds += leg.duration;\n if (leg.mode.startsWith(\"BICYCLE\")) bikeDurationSeconds += leg.duration;\n });\n const bikeMinutes = Math.round(bikeDurationSeconds / 60);\n const walkMinutes = Math.round(walkDurationSeconds / 60);\n const minutesActive = bikeMinutes + walkMinutes;\n\n // Calculate CO₂ if it's not provided by the itinerary\n const co2 =\n itinerary.co2 ||\n (co2Config?.enabled &&\n coreUtils.itinerary.calculateEmissions(\n itinerary,\n co2Config?.carbonIntensity,\n co2Config?.units\n ));\n\n // Parse flex info and generate appropriate strings\n const containsFlex = itinerary.legs.some(coreUtils.itinerary.isFlex);\n const pickupBookingInfo = itinerary.legs\n .map(leg => leg.pickupBookingInfo)\n .filter(info => !!info);\n const dropOffBookingInfo = itinerary.legs\n .map(leg => leg.dropOffBookingInfo)\n .filter(info => !!info);\n const totalDistance = itinerary.legs.reduce(\n (total, leg) => total + leg.distance,\n 0\n );\n\n return (\n <S.TripDetails className={className}>\n {/* this can be presentation as S.TripDetails is already labeled by this */}\n <S.TripDetailsHeader id=\"trip-details-header\">\n <FormattedMessage\n defaultMessage={defaultMessages[\"otpUi.TripDetails.title\"]}\n description=\"Title (heading) text of the component.\"\n id=\"otpUi.TripDetails.title\"\n />\n </S.TripDetailsHeader>\n <S.TripDetailsBody>\n <TripDetail\n // Any custom description for the Departure message needs to be handled by the slot.\n description={\n DepartureDetails && (\n <DepartureDetails departureDate={departureDate} />\n )\n }\n icon={<CalendarAlt size={17} />}\n summary={\n <S.Timing>\n <FormattedMessage\n defaultMessage={defaultMessages[\"otpUi.TripDetails.departure\"]}\n description=\"Text showing the departure date/time for a trip.\"\n id=\"otpUi.TripDetails.departure\"\n values={{\n departureDate,\n strong: boldText\n }}\n />\n </S.Timing>\n }\n />\n {!!fare && (\n <TripDetail\n // Any custom description for the transit fare needs to be handled by the slot.\n description={\n FareDetails && (\n <FareDetails\n legs={itinerary.legs}\n maxTNCFare={maxTNCFare}\n minTNCFare={minTNCFare}\n />\n )\n }\n icon={<MoneyBillAlt size={17} />}\n summary={fare}\n />\n )}\n {tncFare && (\n <TripDetail\n // Any custom description for the transit fare needs to be handled by the slot.\n description={\n FareDetails && (\n <FareDetails\n legs={itinerary.legs}\n maxTNCFare={maxTNCFare}\n minTNCFare={minTNCFare}\n />\n )\n }\n icon={<MoneyBillAlt size={17} />}\n summary={tncFare}\n />\n )}\n {displayTimeActive && minutesActive > 0 && (\n <TripDetail\n icon={<Heartbeat size={17} />}\n summary={\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.minutesActive\"]\n }\n description=\"Text showing the number of minutes spent walking or biking throughout trip.\"\n id=\"otpUi.TripDetails.minutesActive\"\n values={{\n approximatePrefix: showApproximateMinutesActive,\n minutes: minutesActive,\n strong: boldText\n }}\n />\n }\n description={\n TimeActiveDetails && (\n <TimeActiveDetails\n bikeMinutes={bikeMinutes}\n walkMinutes={walkMinutes}\n />\n )\n }\n />\n )}\n {co2 > 0 && co2Config?.enabled && (\n <TripDetail\n icon={<Leaf size={17} />}\n summary={\n <S.CO2Summary>\n <FormattedMessage\n defaultMessage={defaultMessages[\"otpUi.TripDetails.co2\"]}\n description=\"Text showing the quantity of CO₂ emitted by this trip.\"\n id=\"otpUi.TripDetails.co2\"\n values={{\n co2: (\n <FormattedNumber\n value={Math.round(co2)}\n // eslint-disable-next-line react/style-prop-object\n style=\"unit\"\n unit={co2Config?.units || \"gram\"}\n unitDisplay=\"narrow\"\n />\n ),\n strong: boldText\n }}\n />\n </S.CO2Summary>\n }\n description={\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.co2description\"]\n }\n description=\"Text explaining how the CO₂ emissions are calculated.\"\n id=\"otpUi.TripDetails.co2description\"\n values={{\n link: CO2DescriptionLink,\n totalDistance\n }}\n />\n }\n />\n )}\n {containsFlex && (\n <TripDetail\n summary={\n <S.FlexSummary>\n <FormattedMessage\n defaultMessage={\n defaultMessages[\"otpUi.TripDetails.tripIncludesFlex\"]\n }\n description=\"Text stating that portions of the trip include a flex (on-demand) transit service.\"\n id=\"otpUi.TripDetails.tripIncludesFlex\"\n values={{\n extraMessage: [\n ...new Set([\n ...pickupBookingInfo.map(info => info.message),\n ...dropOffBookingInfo.map(info => info.message)\n ])\n ].join(\" \")\n }}\n />\n </S.FlexSummary>\n }\n icon={<Route size={17} />}\n />\n )}\n </S.TripDetailsBody>\n </S.TripDetails>\n );\n}\n\nexport default TripDetails;\n\n// Rename styled components for export.\nexport { S as Styled, FareLegTable };\n"],"file":"index.js"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentripplanner/trip-details",
3
- "version": "6.0.0",
3
+ "version": "6.0.2-alpha.1",
4
4
  "description": "A component for displaying details about a trip planning itinerary",
5
5
  "main": "lib/index.js",
6
6
  "module": "esm/index.js",
@@ -11,7 +11,7 @@
11
11
  "license": "MIT",
12
12
  "private": false,
13
13
  "dependencies": {
14
- "@opentripplanner/core-utils": "^11.4.4",
14
+ "@opentripplanner/core-utils": "^12.0.0",
15
15
  "@styled-icons/fa-solid": "^10.34.0",
16
16
  "flat": "^5.0.2",
17
17
  "react-animate-height": "^3.0.4"
@@ -99,7 +99,6 @@ const FareTypeTable = ({
99
99
  }));
100
100
 
101
101
  const headerString = useGetHeaderString(headerKey);
102
-
103
102
  if (colsToRender.length) {
104
103
  return (
105
104
  <Table>
package/src/index.tsx CHANGED
@@ -90,8 +90,8 @@ export function TripDetails({
90
90
 
91
91
  if (leg.fareProducts) {
92
92
  leg.fareProducts.forEach(fp => {
93
- const mediumId = fp.product.medium?.id;
94
- const riderCategoryId = fp.product.riderCategory?.id;
93
+ const mediumId = fp.product?.medium?.id;
94
+ const riderCategoryId = fp.product?.riderCategory?.id;
95
95
  if (
96
96
  !prev.fareTypes.find(
97
97
  ft =>
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../node_modules/typescript/lib/lib.es6.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/@types/react/global.d.ts","../../node_modules/csstype/index.d.ts","../../node_modules/@types/prop-types/index.d.ts","../../node_modules/@types/scheduler/tracing.d.ts","../../node_modules/@types/react/index.d.ts","../../node_modules/@formatjs/ecma402-abstract/CanonicalizeLocaleList.d.ts","../../node_modules/@formatjs/ecma402-abstract/CanonicalizeTimeZoneName.d.ts","../../node_modules/@formatjs/ecma402-abstract/CoerceOptionsToObject.d.ts","../../node_modules/@formatjs/ecma402-abstract/GetNumberOption.d.ts","../../node_modules/@formatjs/ecma402-abstract/GetOption.d.ts","../../node_modules/@formatjs/ecma402-abstract/GetOptionsObject.d.ts","../../node_modules/@formatjs/ecma402-abstract/IsSanctionedSimpleUnitIdentifier.d.ts","../../node_modules/@formatjs/ecma402-abstract/IsValidTimeZoneName.d.ts","../../node_modules/@formatjs/ecma402-abstract/IsWellFormedCurrencyCode.d.ts","../../node_modules/@formatjs/ecma402-abstract/IsWellFormedUnitIdentifier.d.ts","../../node_modules/@formatjs/ecma402-abstract/types/core.d.ts","../../node_modules/@formatjs/ecma402-abstract/types/plural-rules.d.ts","../../node_modules/@formatjs/ecma402-abstract/types/number.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/ComputeExponent.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/ComputeExponentForMagnitude.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/CurrencyDigits.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/FormatNumericToParts.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/FormatNumericToString.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/InitializeNumberFormat.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/PartitionNumberPattern.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/SetNumberFormatDigitOptions.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/SetNumberFormatUnitOptions.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/ToRawFixed.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/ToRawPrecision.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/format_to_parts.d.ts","../../node_modules/@formatjs/ecma402-abstract/PartitionPattern.d.ts","../../node_modules/@formatjs/ecma402-abstract/SupportedLocales.d.ts","../../node_modules/@formatjs/ecma402-abstract/utils.d.ts","../../node_modules/@formatjs/ecma402-abstract/data.d.ts","../../node_modules/@formatjs/ecma402-abstract/types/relative-time.d.ts","../../node_modules/@formatjs/ecma402-abstract/types/date-time.d.ts","../../node_modules/@formatjs/ecma402-abstract/types/list.d.ts","../../node_modules/@formatjs/ecma402-abstract/types/displaynames.d.ts","../../node_modules/@formatjs/ecma402-abstract/262.d.ts","../../node_modules/@formatjs/ecma402-abstract/index.d.ts","../../node_modules/@formatjs/icu-skeleton-parser/date-time.d.ts","../../node_modules/@formatjs/icu-skeleton-parser/number.d.ts","../../node_modules/@formatjs/icu-skeleton-parser/index.d.ts","../../node_modules/@formatjs/icu-messageformat-parser/types.d.ts","../../node_modules/@formatjs/icu-messageformat-parser/error.d.ts","../../node_modules/@formatjs/icu-messageformat-parser/parser.d.ts","../../node_modules/@formatjs/icu-messageformat-parser/index.d.ts","../../node_modules/intl-messageformat/src/formatters.d.ts","../../node_modules/intl-messageformat/src/core.d.ts","../../node_modules/intl-messageformat/src/error.d.ts","../../node_modules/intl-messageformat/index.d.ts","../../node_modules/@formatjs/intl-listformat/index.d.ts","../../node_modules/@formatjs/intl-displaynames/index.d.ts","../../node_modules/@formatjs/intl/src/error.d.ts","../../node_modules/@formatjs/intl/src/utils.d.ts","../../node_modules/@formatjs/intl/src/types.d.ts","../../node_modules/@formatjs/intl/src/message.d.ts","../../node_modules/@formatjs/intl/src/dateTime.d.ts","../../node_modules/@formatjs/intl/src/displayName.d.ts","../../node_modules/@formatjs/intl/src/list.d.ts","../../node_modules/@formatjs/intl/src/plural.d.ts","../../node_modules/@formatjs/intl/src/relativeTime.d.ts","../../node_modules/@formatjs/intl/src/number.d.ts","../../node_modules/@formatjs/intl/src/create-intl.d.ts","../../node_modules/@formatjs/intl/index.d.ts","../../node_modules/react-intl/src/utils.d.ts","../../node_modules/react-intl/src/types.d.ts","../../node_modules/react-intl/src/components/injectIntl.d.ts","../../node_modules/react-intl/src/components/useIntl.d.ts","../../node_modules/react-intl/src/components/provider.d.ts","../../node_modules/react-intl/src/components/relative.d.ts","../../node_modules/react-intl/src/components/plural.d.ts","../../node_modules/react-intl/src/components/message.d.ts","../../node_modules/react-intl/src/components/dateTimeRange.d.ts","../../node_modules/react-intl/src/components/createFormattedComponent.d.ts","../../node_modules/react-intl/index.d.ts","../../node_modules/@types/hoist-non-react-statics/index.d.ts","../../node_modules/@types/styled-components/index.d.ts","../../node_modules/@styled-icons/styled-icon/index.d.ts","../types/lib/deprecated.d.ts","../types/lib/index.d.ts","../../node_modules/@styled-icons/boxicons-regular/Transfer/Transfer.d.ts","../core-utils/lib/itinerary.d.ts","../../node_modules/@types/flat/index.d.ts","./src/utils.tsx","./src/types.ts","./src/styled.ts","./src/fare-table.tsx","../core-utils/lib/map.d.ts","../core-utils/lib/route.d.ts","../core-utils/lib/storage.d.ts","../core-utils/lib/time.d.ts","../core-utils/lib/ui.d.ts","../../node_modules/@conveyal/lonlat/dist/index.d.ts","../../node_modules/graphql/version.d.ts","../../node_modules/graphql/jsutils/Maybe.d.ts","../../node_modules/graphql/language/source.d.ts","../../node_modules/graphql/jsutils/ObjMap.d.ts","../../node_modules/graphql/jsutils/Path.d.ts","../../node_modules/graphql/jsutils/PromiseOrValue.d.ts","../../node_modules/graphql/language/kinds.d.ts","../../node_modules/graphql/language/tokenKind.d.ts","../../node_modules/graphql/language/ast.d.ts","../../node_modules/graphql/language/location.d.ts","../../node_modules/graphql/error/GraphQLError.d.ts","../../node_modules/graphql/language/directiveLocation.d.ts","../../node_modules/graphql/type/directives.d.ts","../../node_modules/graphql/type/schema.d.ts","../../node_modules/graphql/type/definition.d.ts","../../node_modules/graphql/execution/execute.d.ts","../../node_modules/graphql/graphql.d.ts","../../node_modules/graphql/type/scalars.d.ts","../../node_modules/graphql/type/introspection.d.ts","../../node_modules/graphql/type/validate.d.ts","../../node_modules/graphql/type/assertName.d.ts","../../node_modules/graphql/type/index.d.ts","../../node_modules/graphql/language/printLocation.d.ts","../../node_modules/graphql/language/lexer.d.ts","../../node_modules/graphql/language/parser.d.ts","../../node_modules/graphql/language/printer.d.ts","../../node_modules/graphql/language/visitor.d.ts","../../node_modules/graphql/language/predicates.d.ts","../../node_modules/graphql/language/index.d.ts","../../node_modules/graphql/execution/subscribe.d.ts","../../node_modules/graphql/execution/values.d.ts","../../node_modules/graphql/execution/index.d.ts","../../node_modules/graphql/subscription/index.d.ts","../../node_modules/graphql/utilities/TypeInfo.d.ts","../../node_modules/graphql/validation/ValidationContext.d.ts","../../node_modules/graphql/validation/validate.d.ts","../../node_modules/graphql/validation/specifiedRules.d.ts","../../node_modules/graphql/validation/rules/ExecutableDefinitionsRule.d.ts","../../node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.d.ts","../../node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.d.ts","../../node_modules/graphql/validation/rules/KnownArgumentNamesRule.d.ts","../../node_modules/graphql/validation/rules/KnownDirectivesRule.d.ts","../../node_modules/graphql/validation/rules/KnownFragmentNamesRule.d.ts","../../node_modules/graphql/validation/rules/KnownTypeNamesRule.d.ts","../../node_modules/graphql/validation/rules/LoneAnonymousOperationRule.d.ts","../../node_modules/graphql/validation/rules/NoFragmentCyclesRule.d.ts","../../node_modules/graphql/validation/rules/NoUndefinedVariablesRule.d.ts","../../node_modules/graphql/validation/rules/NoUnusedFragmentsRule.d.ts","../../node_modules/graphql/validation/rules/NoUnusedVariablesRule.d.ts","../../node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.d.ts","../../node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.d.ts","../../node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.d.ts","../../node_modules/graphql/validation/rules/ScalarLeafsRule.d.ts","../../node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.d.ts","../../node_modules/graphql/validation/rules/UniqueArgumentNamesRule.d.ts","../../node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.d.ts","../../node_modules/graphql/validation/rules/UniqueFragmentNamesRule.d.ts","../../node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.d.ts","../../node_modules/graphql/validation/rules/UniqueOperationNamesRule.d.ts","../../node_modules/graphql/validation/rules/UniqueVariableNamesRule.d.ts","../../node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.d.ts","../../node_modules/graphql/validation/rules/VariablesAreInputTypesRule.d.ts","../../node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.d.ts","../../node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.d.ts","../../node_modules/graphql/validation/rules/UniqueOperationTypesRule.d.ts","../../node_modules/graphql/validation/rules/UniqueTypeNamesRule.d.ts","../../node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.d.ts","../../node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.d.ts","../../node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.d.ts","../../node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.d.ts","../../node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.d.ts","../../node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.d.ts","../../node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.d.ts","../../node_modules/graphql/validation/index.d.ts","../../node_modules/graphql/error/syntaxError.d.ts","../../node_modules/graphql/error/locatedError.d.ts","../../node_modules/graphql/error/index.d.ts","../../node_modules/graphql/utilities/getIntrospectionQuery.d.ts","../../node_modules/graphql/utilities/getOperationAST.d.ts","../../node_modules/graphql/utilities/getOperationRootType.d.ts","../../node_modules/graphql/utilities/introspectionFromSchema.d.ts","../../node_modules/graphql/utilities/buildClientSchema.d.ts","../../node_modules/graphql/utilities/buildASTSchema.d.ts","../../node_modules/graphql/utilities/extendSchema.d.ts","../../node_modules/graphql/utilities/lexicographicSortSchema.d.ts","../../node_modules/graphql/utilities/printSchema.d.ts","../../node_modules/graphql/utilities/typeFromAST.d.ts","../../node_modules/graphql/utilities/valueFromAST.d.ts","../../node_modules/graphql/utilities/valueFromASTUntyped.d.ts","../../node_modules/graphql/utilities/astFromValue.d.ts","../../node_modules/graphql/utilities/coerceInputValue.d.ts","../../node_modules/graphql/utilities/concatAST.d.ts","../../node_modules/graphql/utilities/separateOperations.d.ts","../../node_modules/graphql/utilities/stripIgnoredCharacters.d.ts","../../node_modules/graphql/utilities/typeComparators.d.ts","../../node_modules/graphql/utilities/assertValidName.d.ts","../../node_modules/graphql/utilities/findBreakingChanges.d.ts","../../node_modules/graphql/utilities/typedQueryDocumentNode.d.ts","../../node_modules/graphql/utilities/index.d.ts","../../node_modules/graphql/index.d.ts","../core-utils/lib/query-gen.d.ts","../core-utils/lib/suspense.d.ts","../core-utils/lib/index.d.ts","../../node_modules/@styled-icons/fa-solid/CalendarAlt/CalendarAlt.d.ts","../../node_modules/@styled-icons/fa-solid/Heartbeat/Heartbeat.d.ts","../../node_modules/@styled-icons/fa-solid/MoneyBillAlt/MoneyBillAlt.d.ts","../../node_modules/@styled-icons/fa-solid/Leaf/Leaf.d.ts","../../node_modules/@styled-icons/fa-solid/Route/Route.d.ts","../../node_modules/@styled-icons/fa-solid/QuestionCircle/QuestionCircle.d.ts","../../node_modules/@styled-icons/fa-solid/TimesCircle/TimesCircle.d.ts","../../node_modules/react-animate-height/dist/esm/index.d.ts","./src/trip-detail.tsx","./src/index.tsx","./src/__unpublished__/messages.d.ts","../../node_modules/@babel/types/lib/index.d.ts","../../node_modules/@types/babel__generator/index.d.ts","../../node_modules/@types/babel__core/node_modules/@babel/types/lib/index.d.ts","../../node_modules/@types/babel__core/node_modules/@babel/parser/typings/babel-parser.d.ts","../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../node_modules/@types/babel__template/index.d.ts","../../node_modules/@types/babel__traverse/index.d.ts","../../node_modules/@types/babel__core/index.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostic_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/util/types.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/ts3.6/base.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/base.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/connect/index.d.ts","../../node_modules/@types/body-parser/index.d.ts","../../node_modules/@types/chroma-js/index.d.ts","../../node_modules/@types/cookie/index.d.ts","../../node_modules/@types/cross-spawn/index.d.ts","../../node_modules/@types/detect-port/index.d.ts","../../node_modules/@types/doctrine/index.d.ts","../../node_modules/@types/ejs/index.d.ts","../../node_modules/@types/emscripten/index.d.ts","../../node_modules/@types/escodegen/index.d.ts","../../node_modules/@types/eslint/helpers.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/eslint/index.d.ts","../../node_modules/@types/eslint-scope/index.d.ts","../../node_modules/@types/send/node_modules/@types/mime/index.d.ts","../../node_modules/@types/send/index.d.ts","../../node_modules/@types/express-serve-static-core/node_modules/@types/qs/index.d.ts","../../node_modules/@types/range-parser/index.d.ts","../../node_modules/@types/express-serve-static-core/index.d.ts","../../node_modules/@types/http-errors/index.d.ts","../../node_modules/@types/mime/Mime.d.ts","../../node_modules/@types/mime/index.d.ts","../../node_modules/@types/serve-static/index.d.ts","../../node_modules/@types/express/node_modules/@types/qs/index.d.ts","../../node_modules/@types/express/index.d.ts","../../node_modules/@types/find-cache-dir/index.d.ts","../../node_modules/@types/fs-extra/index.d.ts","../../node_modules/@types/geojson/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/glob/index.d.ts","../../node_modules/@types/graceful-fs/index.d.ts","../../node_modules/@types/html-minifier-terser/index.d.ts","../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../node_modules/@types/istanbul-lib-report/index.d.ts","../../node_modules/@types/istanbul-reports/index.d.ts","../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../node_modules/@types/jest/index.d.ts","../../node_modules/@types/pixelmatch/index.d.ts","../../node_modules/ssim.js/dist/types.d.ts","../../node_modules/ssim.js/dist/index.d.ts","../../node_modules/@types/jest-image-snapshot/index.d.ts","../../node_modules/@types/jest-specific-snapshot/index.d.ts","../../node_modules/@types/json-stable-stringify/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/junit-report-builder/index.d.ts","../../node_modules/@types/lodash/common/common.d.ts","../../node_modules/@types/lodash/common/array.d.ts","../../node_modules/@types/lodash/common/collection.d.ts","../../node_modules/@types/lodash/common/date.d.ts","../../node_modules/@types/lodash/common/function.d.ts","../../node_modules/@types/lodash/common/lang.d.ts","../../node_modules/@types/lodash/common/math.d.ts","../../node_modules/@types/lodash/common/number.d.ts","../../node_modules/@types/lodash/common/object.d.ts","../../node_modules/@types/lodash/common/seq.d.ts","../../node_modules/@types/lodash/common/string.d.ts","../../node_modules/@types/lodash/common/util.d.ts","../../node_modules/@types/lodash/index.d.ts","../../node_modules/@types/mapbox-gl/index.d.ts","../../node_modules/@types/mapbox__point-geometry/index.d.ts","../../node_modules/@types/pbf/index.d.ts","../../node_modules/@types/mapbox__vector-tile/index.d.ts","../../node_modules/@types/mdx/types.d.ts","../../node_modules/@types/mdx/index.d.ts","../../node_modules/@types/mime-types/index.d.ts","../../node_modules/@types/minimist/index.d.ts","../../node_modules/@types/mute-stream/index.d.ts","../../node_modules/form-data/index.d.ts","../../node_modules/@types/node-fetch/externals.d.ts","../../node_modules/@types/node-fetch/index.d.ts","../../node_modules/@types/normalize-package-data/index.d.ts","../../node_modules/@types/parse-json/index.d.ts","../../node_modules/@types/pretty-hrtime/index.d.ts","../../node_modules/@types/qs/index.d.ts","../../node_modules/@types/resolve/index.d.ts","../../node_modules/@types/retry/index.d.ts","../../node_modules/@types/scheduler/index.d.ts","../../node_modules/@types/semver/classes/semver.d.ts","../../node_modules/@types/semver/functions/parse.d.ts","../../node_modules/@types/semver/functions/valid.d.ts","../../node_modules/@types/semver/functions/clean.d.ts","../../node_modules/@types/semver/functions/inc.d.ts","../../node_modules/@types/semver/functions/diff.d.ts","../../node_modules/@types/semver/functions/major.d.ts","../../node_modules/@types/semver/functions/minor.d.ts","../../node_modules/@types/semver/functions/patch.d.ts","../../node_modules/@types/semver/functions/prerelease.d.ts","../../node_modules/@types/semver/functions/compare.d.ts","../../node_modules/@types/semver/functions/rcompare.d.ts","../../node_modules/@types/semver/functions/compare-loose.d.ts","../../node_modules/@types/semver/functions/compare-build.d.ts","../../node_modules/@types/semver/functions/sort.d.ts","../../node_modules/@types/semver/functions/rsort.d.ts","../../node_modules/@types/semver/functions/gt.d.ts","../../node_modules/@types/semver/functions/lt.d.ts","../../node_modules/@types/semver/functions/eq.d.ts","../../node_modules/@types/semver/functions/neq.d.ts","../../node_modules/@types/semver/functions/gte.d.ts","../../node_modules/@types/semver/functions/lte.d.ts","../../node_modules/@types/semver/functions/cmp.d.ts","../../node_modules/@types/semver/functions/coerce.d.ts","../../node_modules/@types/semver/classes/comparator.d.ts","../../node_modules/@types/semver/classes/range.d.ts","../../node_modules/@types/semver/functions/satisfies.d.ts","../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../node_modules/@types/semver/ranges/min-version.d.ts","../../node_modules/@types/semver/ranges/valid.d.ts","../../node_modules/@types/semver/ranges/outside.d.ts","../../node_modules/@types/semver/ranges/gtr.d.ts","../../node_modules/@types/semver/ranges/ltr.d.ts","../../node_modules/@types/semver/ranges/intersects.d.ts","../../node_modules/@types/semver/ranges/simplify.d.ts","../../node_modules/@types/semver/ranges/subset.d.ts","../../node_modules/@types/semver/internals/identifiers.d.ts","../../node_modules/@types/semver/index.d.ts","../../node_modules/@types/stack-utils/index.d.ts","../../node_modules/@types/statuses/index.d.ts","../../node_modules/@types/throttle-debounce/index.d.ts","../../node_modules/@types/unist/index.d.ts","../../node_modules/@types/uuid/index.d.ts","../../node_modules/vfile-message/index.d.ts","../../node_modules/@types/vfile/index.d.ts","../../node_modules/@types/wait-on/index.d.ts","../../node_modules/@types/wrap-ansi/index.d.ts","../../node_modules/@types/ws/index.d.ts","../../node_modules/@types/yargs-parser/index.d.ts","../../node_modules/@types/yargs/index.d.ts","../../node_modules/@types/yauzl/index.d.ts"],"fileInfos":["721cec59c3fef87aaf480047d821fb758b3ec9482c4129a54631e6e25e432a31",{"version":"3ac1b83264055b28c0165688fda6dfcc39001e9e7828f649299101c23ad0a0c3","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06",{"version":"72704b10d97777e15f1a581b73f88273037ef752d2e50b72287bd0a90af64fe6","affectsGlobalScope":true},{"version":"dbb73d4d99be496175cb432c74c2615f78c76f4272f1d83cba11ee0ed6dbddf0","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},{"version":"ecf78e637f710f340ec08d5d92b3f31b134a46a4fcf2e758690d8c46ce62cba6","affectsGlobalScope":true},"4ee363f83d7be2202f34fcd84c44da71bf3a9329fee8a05f976f75083a52ea94","a7e32dcb90bf0c1b7a1e4ac89b0f7747cbcba25e7beddc1ebf17be1e161842ad","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"5a1b30146d105f86b15aaf11ff43af00c29972d18bc3b16c8b8f56aa47801733","affectsGlobalScope":true},"13f6a3df166c16f3dcf81a87c26d9803c7fd7895e7fcc71b7c149f52ee24b639","1ee5885d5027d5193ecacf31e8ed6b6f03a3a6de2e4fb37a3280b71e65915af1","494bf82a2bd0cf241e89fdb21dd46f273e530f49f6599a985b7852f7322fc192","0edc48b402f3efa10343c59746b269ec3cab88ea08be63d73014c78d372e94ab","ba9f6d4253a5b902ddb60345aead6f691b89292f9387068bf99d9928e839a9af","eabe0e0f52a2c58966cbbed77ea6b13ff3efdab453d411c88fbf91ba4964a5ff","257369022582c2220790c87a487fda57b264e1dcb16bb9ce34172345e7f933f3","5753b9cbd5ea496f68d4459b83a5091c0dbb33a896434d2f43c5f5b9e3f4ffa8","abbf59b2100d962d82f9c842c4a20cb5db35aee74175e5c942b361138870d8eb","f408d89ab81d183abcdaaf9961ebe9ef1a892064c5790b4b87af0b7d05a43240","eb974217eac7354c2ee28c68b1fefb3aebb5839c7da0dc8b2e1670eb1bb73fc3","20f33c814aaef326c0e3f2e37f627f8e3b22d85b0859a1b47c1013f1eaa0b628","4c32e274c22c133d96fa3bd1e66af0e213c88d37372598442247e1ea2b3f3616","b446fafdc7c077bec8f3117e200fd8e8606799ef212804a58bae3b7cd3ac353c","bfd64f97f7e12d92ad6c50caddd7a5e91080ccf15e887d4574646dda09b5b8d5","4475d3f490464dd09f29d5a590392ebc9f3026a79f2f0ba247f7b3f2acc01655","09eae5649c2133876c6c07137142b2786f858ef7f2269c24c2320dc950ab1866","f2061152503791189f5fcee1e6000e1db3601a60dba32011e6ee2c3a12f23510","03e162e0e48312346141962cf4dd2aa1569a58feff88a33ac579840d24c3d165","29f7e25ee9edb7ac875d3fea892e6328a439b55b6dd994431d55315dced635ae","a1e456a92e80e7884ed0bf9c83eac71e31a7ec949eb5982d36811154bed6fb1f","3a378f155a084b9722c89ffc3d2b2ab62f50603aa80fd5d5614ade949007a891","4a254ae095bd9e42bb24b0b539fa3ad0889089f0f56c7f8b63acf2adfd4ada66","ca32554db1a6962f85143e6e9216883c0e439408541d4379eac2b80aed60cb5f","64a89eb80302eca86236ef2f40dd6b914aa42f35a7384893e7fe864b6961695f","99bb361d32c05762ab4ac1d647f750eb2e280070e30011b5feff952327d07844","19a5ca90bcba89bd8fcb7e02c379ca017dce60050e1e7671bf45f68d921870cc","84747db6b80b4e5567c21a82cbaeda7a9810307ba4023ff5ffcd90e1f7713172","214c8b4c06c4858b93230b16745a7a480cef4524b0e7745ef64755ee9b81aaf6","dea3cf3a10d7caaededded8f0a794ce9f8b17da31ccbb8ee9159d7bd2fce42ac","51dc756ec3df8a7599ef0d16268cf7cd429d5d226ceb53cf8f85657a4ade6c29","4480de0ded16219521ccf012892091e5ec44863039c965ff1664f7f4799f4126","eeaf71356de97a805f3dfb0dd93a16196da7d2480955063a79216a8fd4f1414b","c38905d6fda359cf384b9306d6b9782a1b055e6670c7894b0ffda04c81b8e59a","6beedecf272c57713b780ee23040cf45adbfedb92f893b4be80ad11fe42c1cbe","3e873837e506db540c03f5e1069427b11ed7e1a016bd29c0d83fb4c4ea9d519f","b85018c97705258ff235ae9ac44d532ab3546eb5d0354123bd781e8bea3bdc18","4386eea018b5f6eadd8dc9dc407642369bea81dcaebe64dc30285e736b102343","69818b78af77862718c44e8236defa5fd318281de3ea1a8d43f3b350439589a4","cd41024509c20e761a3bd6ce8a976f1a79ae8193e1fdba46396744136d1b6bd0","81b6d7ff019d77399bdebae52a370011cea01943fc7c2016c3dc846839206df0","407bddb7f03e070e7969eb2bc19bf931cb76ddbe2761326b8ca1f0cccb6bd35b","1135099814b6525159e76fa51f295bf05942f0d9ef84c7030f0a7ad7563531f5","5cca0d064ddbcbde07a28b74038b3f5c6b9cd41d328fd927b060da5d3c59da7b","aa29954e994b2c4566ff98b0ca2313aeffcf60924aa140053efd916a15127c6a","4e799b631914398921cd8edda132320100399522cc3c8809d7c4dad89a697c5b","29dd54502be10cc940895ade56490b55cbc3624e20b2badeb2dc1c743c641ee2","64a5448ea756e5b0f2470d16f68cb2f30d0f606c491c4e6e9f56334e9ee41190","6fd49eaee0916183cccea31985df1f27b81a89eca283e64376c10926436d4fd1","248b709d3e86c12a409badb69a4f1ad132438b9189e00096668d097d8082d089",{"version":"7be0ff644833a7105ad4afa61705b1853e4cb6e52d86e449a7d9797f97a57263","affectsGlobalScope":true},"77cd04a35d49e967b0d566d44452671650a14915b9d7176fa89c5fa87e0e46fd","94d55aa0d00aea91bcd576f60105b6f14d2bc405bd13bf0564cfa76d11b69d48","33076a79792c4eb785364eaf2ef832bfd5bdde5b1f39022af3de577ce06f213e","7ac4a9ffbac175a1f93858b6732cf2e66bd4675989d45790107a621fdbe30cca","465cc5c7e96c60fb0bbd3e1d6aee28f9eb286480a3b1a91d27dc3933fceeb722","c5142d610c6b422c39912b14200a9919410e98deb2553c420086fc43635d761c","9badb3e1a92ed9644a5ef6f372d56316fc0e52ca3fed4c957c26b6714a76f9f4","7f7193422705cc4e69d4f6781da20ba3780719fc13592f3c6777866945049a64","ca2aec1a5ca037aa66b6291dbcd2cda26dc3f94e9bff08ad34e8050012017b2e","df3a3f23c1125459b7dc5186d2c314d7da4c56cf17c0c637d6f59b06856d7cb2","f3334e3fe73231bcd013653fbc8cc0fe08ea690afc41ccc497bfde0c7bb0e580","3e4ef6a498457322df6a2b212c740f3a8e909237ce159e56e3b2364ad949f58b","df5c276a5ae10d32421d2b3924035a71e074031e0a8d4649881782f926dd55a1","01b002cf26575fa47c3a33b200fee5a8300916ad9b94705d3cbc4fdfb0e75a51","b2fbd3ecedbc082d84e5ce8b52f69ea1b2284a256f945657e25fec32931e3f02","6a71a31f883062f6d471db722889637d64f0386788a74dada2e4fcda70cfef97","4fd8fd85ee70843365438aaa5c2faeec87d3f9f186a505b5831f06f0a2c5b237","d4a08b08f4a2ecf0407180e99c8201d724c64ce7ce6137d9ed3b9b6f0f61662e","9d137a1f88aed0f776de971bc319754673efd28097b31006948d2ed54146db29","516e2ded162ddc84294deb452dda9982b2a938e6df2d7f838ae0fd8b4ed38159","bfe1b52cf71aea9bf8815810cc5d9490fa9617313e3d3c2ee3809a28b80d0bb4",{"version":"6839e1779e1f61e0ed62b1ca3ff7e74dc70479a5455077a38434d0e404103c28","affectsGlobalScope":true},"a4ce8cb63b46ff55db10c4bdd3007240a42ba71c03f159ea7e6517aef9a8013c","d721892ce2795a30a7985bb3c939747e68d6c6c8f8890eaf28bef85062f883b4","b79cf70334ad9ec3303785c6bc49f90881e4f4445e4bd13703e067a485fc83f5","8a237d3bc8b7d9d4aa2f03d3ada1c230493177df302d91f9da46d69b730f0d9c","51daf50db51401ef7d6a4f8514ef74e510152c5d4789d8a152700e080538b82c","d9890ea8f1da57be3c2e2d3627b787cd4b4a463fd1747c823a0de24b240c8fe5","c8c1acc43535783084cfc0b43f7fc8cf91bccc854991f02d13de39ae0a49097d","a4d3961d2597be8c7e1d6416bf3aa8c4f7c4471fda38849d0adf3712cd7aa71b","882afda18dcf7b03b13d8c607347492052ebacf3e11c3d4d64b221e635683153","dd51c8dbbe3ad46a2dc004b34e0dfe544885c777f73f6c8321fe75ba1e9978dd","1dd55f033c2cef7bd9d60472df068b2387205ae1cfdce77f07dbda6fae38cbe5","13d814efd808002fe2486fb15c9ff8f0a0e5a4552efa7455008ac3dce8294607","1e9704378dc57075033c705776320e7122c7c27853f503649d56f5582863ddfc","f9a9c9cc5c67d1be3179f1a6372e9b34d1f79c367e528566d846e9a77503d255","f265d21a700d82acb5b56b1b1f9bd7f53761c92038fe199d9c4ae1cca93754e2","17b984497972e22bcde81e57083484ddb1a9ecff70093669f92c09f19b762f2d","78647004e18e4c16b8a2e8345fca9267573d1c5a29e11ddfee71858fd077ef6e","0804044cd0488cb7212ddbc1d0f8e1a5bd32970335dbfc613052304a1b0318f9","b725acb041d2a18fde8f46c48a1408418489c4aa222f559b1ef47bf267cb4be0","85084ae98c1d319e38ef99b1216d3372a9afd7a368022c01c3351b339d52cb58","898ec2410fae172e0a9416448b0838bed286322a5c0c8959e8e39400cd4c5697","692345a43bac37c507fa7065c554258435ab821bbe4fb44b513a70063e932b45","cddd50d7bd9d7fddda91a576db9f61655d1a55e2d870f154485812f6e39d4c15","0539583b089247b73a21eb4a5f7e43208a129df6300d6b829dc1039b79b6c8c4","7aba43bc7764fcd02232382c780c3e99ef8dbfdac3c58605a0b3781fab3d8044","522edc786ed48304671b935cf7d3ed63acc6636ab9888c6e130b97a6aea92b46","1e1ed5600d80406a10428e349af8b6f09949cd5054043ea8588903e8f9e8d705","de21641eb8edcbc08dd0db4ee70eea907cd07fe72267340b5571c92647f10a77","a53039ba614075aeb702271701981babbd0d4f4dcbf319ddee4c08fb8196cc7a","6758f7b72fa4d38f4f4b865516d3d031795c947a45cc24f2cfba43c91446d678","da679a5bb46df3c6d84f637f09e6689d6c2d07e907ea16adc161e4529a4954d6","dc1a664c33f6ddd2791569999db2b3a476e52c5eeb5474768ffa542b136d78c0","bdf7abbd7df4f29b3e0728684c790e80590b69d92ed8d3bf8e66d4bd713941fe","8decb32fc5d44b403b46c3bb4741188df4fbc3c66d6c65669000c5c9cd506523","4beaf337ee755b8c6115ff8a17e22ceab986b588722a52c776b8834af64e0f38","c26dd198f2793bbdcc55103823a2767d6223a7fdb92486c18b86deaf63208354","93551b302a808f226f0846ad8012354f2d53d6dedc33b540d6ca69836781a574","f0ff1c010d5046af3874d3b4df746c6f3921e4b3fbdec61dee0792fc0cb36ccd","778b684ebc6b006fcffeab77d25b34bf6e400100e0ec0c76056e165c6399ab05","463851fa993af55fb0296e0d6afa27407ef91bf6917098dd665aba1200d250c7","67c6de7a9c490bda48eb401bea93904b6bbfc60e47427e887e6a3da6195540be","be8f369f8d7e887eab87a3e4e41f1afcf61bf06056801383152aa83bda1f6a72","352bfb5f3a9d8a9c2464ad2dc0b2dc56a8212650a541fb550739c286dd341de1","a5aae636d9afdacb22d98e4242487436d8296e5a345348325ccc68481fe1b690","d007c769e33e72e51286b816d82cd7c3a280cba714e7f958691155068bd7150a","764150c107451d2fd5b6de305cff0a9dcecf799e08e6f14b5a6748724db46d8a","b04cf223c338c09285010f5308b980ee6d8bfa203824ed2537516f15e92e8c43","4b387f208d1e468193a45a51005b1ed5b666010fc22a15dc1baf4234078b636e","70441eda704feffd132be0c1541f2c7f6bbaafce25cb9b54b181e26af3068e79","d1addb12403afea87a1603121396261a45190886c486c88e1a5d456be17c2049","15d43873064dc8787ca1e4c39149be59183c404d48a8cd5a0ea019bb5fdf8d58","ea4b5d319625203a5a96897b057fddf6017d0f9a902c16060466fe69cc007243","3d06897c536b4aad2b2b015d529270439f2cadd89ca2ff7bd8898ee84898dd88","ab01d8fcb89fae8eda22075153053fefac69f7d9571a389632099e7a53f1922d","bac0ec1f4c61abc7c54ccebb0f739acb0cdbc22b1b19c91854dc142019492961","566b0806f9016fa067b7fecf3951fcc295c30127e5141223393bde16ad04aa4a","8e801abfeda45b1b93e599750a0a8d25074d30d4cc01e3563e56c0ff70edeb68","902997f91b09620835afd88e292eb217fbd55d01706b82b9a014ff408f357559","a3727a926e697919fb59407938bd8573964b3bf543413b685996a47df5645863","83f36c0792d352f641a213ee547d21ea02084a148355aa26b6ef82c4f61c1280","dce7d69c17a438554c11bbf930dec2bee5b62184c0494d74da336daee088ab69","1e8f2cda9735002728017933c54ccea7ebee94b9c68a59a4aac1c9a58aa7da7d","e327a2b222cf9e5c93d7c1ed6468ece2e7b9d738e5da04897f1a99f49d42cca1","65165246b59654ec4e1501dd87927a0ef95d57359709e00e95d1154ad8443bc7","f1bacba19e2fa2eb26c499e36b5ab93d6764f2dba44be3816f12d2bc9ac9a35b","bce38da5fd851520d0cb4d1e6c3c04968cec2faa674ed321c118e97e59872edc","3398f46037f21fb6c33560ceca257259bd6d2ea03737179b61ea9e17cbe07455","6e14fc6c27cb2cb203fe1727bb3a923588f0be8c2604673ad9f879182548daca","12b9bcf8395d33837f301a8e6d545a24dfff80db9e32f8e8e6cf4b11671bb442","04295cc38689e32a4ea194c954ea6604e6afb6f1c102104f74737cb8cf744422","7418f434c136734b23f634e711cf44613ca4c74e63a5ae7429acaee46c7024c8","27d40290b7caba1c04468f2b53cf7112f247f8acdd7c20589cd7decf9f762ad0","2608b8b83639baf3f07316df29202eead703102f1a7e32f74a1b18cf1eee54b5","c93657567a39bd589effe89e863aaadbc339675fca6805ae4d97eafbcce0a05d","909d5db5b3b19f03dfb4a8f1d00cf41d2f679857c28775faf1f10794cbbe9db9","e4504bffce13574bab83ab900b843590d85a0fd38faab7eff83d84ec55de4aff","8ab707f3c833fc1e8a51106b8746c8bc0ce125083ea6200ad881625ae35ce11e","730ddc2386276ac66312edbcc60853fedbb1608a99cb0b1ff82ebf26911dba1f","c1b3fa201aa037110c43c05ea97800eb66fea3f2ecc5f07c6fd47f2b6b5b21d2","636b44188dc6eb326fd566085e6c1c6035b71f839d62c343c299a35888c6f0a9","3b2105bf9823b53c269cabb38011c5a71360c8daabc618fec03102c9514d230c","f96e63eb56e736304c3aef6c745b9fe93db235ddd1fec10b45319c479de1a432","acb4f3cee79f38ceba975e7ee3114eb5cd96ccc02742b0a4c7478b4619f87cd6","cfc85d17c1493b6217bad9052a8edc332d1fde81a919228edab33c14aa762939","eebda441c4486c26de7a8a7343ebbc361d2b0109abff34c2471e45e34a93020a","727b4b8eb62dd98fa4e3a0937172c1a0041eb715b9071c3de96dad597deddcab","708e2a347a1b9868ccdb48f3e43647c6eccec47b8591b220afcafc9e7eeb3784","6bb598e2d45a170f302f113a5b68e518c8d7661ae3b59baf076be9120afa4813","c28e058db8fed2c81d324546f53d2a7aaefff380cbe70f924276dbad89acd7d1","ebe8f07bb402102c5a764b0f8e34bd92d6f50bd7ac61a2452e76b80e02f9bb4b","826a98cb79deab45ccc4e5a8b90fa64510b2169781a7cbb83c4a0a8867f4cc58","618189f94a473b7fdc5cb5ba8b94d146a0d58834cd77cd24d56995f41643ccd5","5baadaca408128671536b3cb77fea44330e169ada70ce50b902c8d992fe64cf1","a4cc469f3561ea3edc57e091f4c9dcaf7485a70d3836be23a6945db46f0acd0b","91b0965538a5eaafa8c09cf9f62b46d6125aa1b3c0e0629dce871f5f41413f90","2978e33a00b4b5fb98337c5e473ab7337030b2f69d1480eccef0290814af0d51","ba71e9777cb5460e3278f0934fd6354041cb25853feca542312807ce1f18e611","608dbaf8c8bb64f4024013e73d7107c16dba4664999a8c6e58f3e71545e48f66","61937cefd7f4d6fa76013d33d5a3c5f9b0fc382e90da34790764a0d17d6277fb","af7db74826f455bfef6a55a188eb6659fd85fdc16f720a89a515c48724ee4c42","d6ce98a960f1b99a72de771fb0ba773cb202c656b8483f22d47d01d68f59ea86","2a47dc4a362214f31689870f809c7d62024afb4297a37b22cb86f679c4d04088","42d907ac511459d7c4828ee4f3f81cc331a08dc98d7b3cb98e3ff5797c095d2e","63d010bff70619e0cdf7900e954a7e188d3175461182f887b869c312a77ecfbd","1452816d619e636de512ca98546aafb9a48382d570af1473f0432a9178c4b1ff","9e3e3932fe16b9288ec8c948048aef4edf1295b09a5412630d63f4a42265370e","8bdba132259883bac06056f7bacd29a4dcf07e3f14ce89edb022fe9b78dcf9b3","5a5406107d9949d83e1225273bcee1f559bb5588942907d923165d83251a0e37","ca0ca4ca5ad4772161ee2a99741d616fea780d777549ba9f05f4a24493ab44e1","e7ee7be996db0d7cce41a85e4cae3a5fc86cf26501ad94e0a20f8b6c1c55b2d4","72263ae386d6a49392a03bde2f88660625da1eca5df8d95120d8ccf507483d20","b498375d015f01585269588b6221008aae6f0c0dc53ead8796ace64bdfcf62ea","c37aa3657fa4d1e7d22565ae609b1370c6b92bafb8c92b914403d45f0e610ddc","34534c0ead52cc753bdfdd486430ef67f615ace54a4c0e5a3652b4116af84d6d","a1079b54643537f75fa4f4bb963d787a302bddbe3a6001c4b0a524b746e6a9de","7fc9b18b6aafa8a1fc1441670c6c9da63e3d7942c7f451300c48bafd988545e9","2cd153888f05c7c8baa8998795568749638bb996f396110d8025070eb3e43db2","6334bbd2020b6c4a3788d8572c16808f2c5bd25e2a2a6bfbe66d12cb57d930ca","2b6c4df33927646821cf29b5226c1f4fe508b3bc2dfd8b44990552b4b80bb963","0f45bc35aa17950b1198b3db89c3103736a925f3977086cfce73eca8cb725563","343207da98112e392e81971c3941a051ac4fb6659436efc44bfa7b3a353d75f4","573f44d54725af32c1c805f969cae9e59f525df24403861a54daffe1f182ff35","5d90c7c541342fd6e3638425729a999e8dc0b3977a761ac6f58b1f46c060545b","3d271456988cb89ce51fc89e926bff197c426f97e8b7fd1bd8f6479eda4b2db1","563c1fcde02255200d959c93e6b2756d4a662ffa9583af66fc98681a83ac2cbf","e6ea9da1ac670e1821f071e516717f29d87aeb19f87f695ed9b6496a91d8957b","8cf7aaafe018cce608f7a802f1b83b87478292d7b33e5098ed36280a257e3c83","5ab8bd6d0955bbdf528e33ca5e99f94428ef2bd4a9794e172eb4668062025b16","ebef3924f6ff568dd942f484d963616da1904c3928803e3f89acf55c092bed67","48270f2ef65915134e0459c517a3271486a99b451209f7a4c16c62f52c9b6b1b","98f40132aab59240e3daa408377a6f779aa81f4340f4451959cd2eba3750e456","b25c5f2970d06c729f464c0aeaa64b1a5b5f1355aa93554bb5f9c199b8624b1e","3078727fed04c123165efdb42deeac5dceaa42ac62216ca13cb809dc7e13415f","b4f76b34637d79cefad486127115fed843762c69512d7101b7096e1293699679","8670878e030b88a469db43b36ef90ffa208e74faf249416feeb8fbb6b646b4a9","3051751533eee92572241b3cef28333212401408c4e7aa21718714b793c0f4ed","3b043cf9a81854a72963fdb57d1884fc4da1cf5be69b5e0a4c5b751e58cb6d88","069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9","c7bdc99177a2a94d25fb13722adaaf5b3291bf70b4d1b27584ba189dd3889ba3",{"version":"41a44aa1929121f5c3124733b5ca9c59717a092b899b3771cc983939ae99eeb2","affectsGlobalScope":true},"e23424b97418eca3226fd24de079f1203eb70360622e4e093af2aff14d4be6ec","a473cf45c3d9809518f8af913312139d9f4db6887dc554e0d06d0f4e52722e6b","297f4ea4e4a5161a6627bc65c83040a91e0792e92bdc4764e24650831cc9867c","04eaa93bd75f937f9184dcb95a7983800c5770cf8ddd8ac0f3734dc02f5b20ef",{"version":"c8155caf28fc7b0a564156a5df28ad8a844a3bd32d331d148d8f3ce88025c870","affectsGlobalScope":true},"45ac321f2e15d268fd74a90ddaa6467dcaaff2c5b13f95b4b85831520fb7a491","5375c30f03b01e610f7370e40ccf3ade1d96de99e9a9a9a0cb0f96fc98aefb71","797a9d37eb1f76143311c3f0a186ce5c0d8735e94c0ca08ff8712a876c9b4f9e","5cc0a492da3602510b8f5ed1852b1e0390002780d8758fbc8c0cd023ca7085f8","ec7dafafe751a5121f8f1c80201ebe7e7238c47e6329280a73c4d1ca4bb7fa28","64debeb10e4b7ae4ec9e89bfb4e04c6101ab98c3cc806d14e5488607cfec2753",{"version":"2866a528b2708aa272ec3eaafd3c980abb23aec1ef831cfc5eb2186b98c37ce5","affectsGlobalScope":true},{"version":"a5782d6cea81fe43d2db7ed41e789458c933ab3ab60602f7b5b14c4da3370496","affectsGlobalScope":true},"bd30510d2d803f453e10604277088a46327f5f0b6aa2b957306c458d7428f8f7","214cf066391a5a651001ebcee2c21ee4d45e8124579d271c59d7c2343bb9d29a","d28c8598067b15c7643558b936e68caefe5d171d0e629e19e2aa6ca870bb4b00","15543feaed3ce6b96bc0508f3e3f8b8f729fae62d0609bddacd483145e71c594","13257840c0850d4ebd7c2b17604a9e006f752de76c2400ebc752bc465c330452","42176966283d3835c34278b9b5c0f470d484c0c0c6a55c20a2c916a1ce69b6e8","0cff7901aedfe78e314f7d44088f07e2afa1b6e4f0473a4169b8456ca2fb245d","6ea59cf5479f3fad5db2caa4513d8d06d6cfee8d8df69e7a040c9b5b7f25f39c","69640cc2e76dad52daeb9914e6b70c5c9a5591a3a65190a2d3ea432cf0015e16","3ec1e108d587a5661ec790db607f482605ba9f3830e118ce578e3ffa3c42e22b","2e37dc691cb5511f49be0f8ba0df3259aa0b453b0098b436e478e60c06567ae0",{"version":"dd3f82b87fa256e7c5a66c9b8ddcc9b53275b3531c10a769722c5103a30a97e9","affectsGlobalScope":true},"7f77304372efe3c9967e5f9ea2061f1b4bf41dc3cda3c83cdd676f2e5af6b7e6","992c6f6be16c0a1d2eec13ece33adeea2c747ba27fcd078353a8f4bb5b4fea58","f6ea38ddcee37ec1bebde700e3a4d85040bf2d239600c877ecefd9b265066b24","a6b0abdb67d63ebe964ba5fee31bc3daf10c12eecd46b24d778426010c04c67e","1a63584d6605d1d5b5fd5c4fa2dc2fa5a2134aa775fcfd95fbdb705971c9ca29","fd2298fba0640e7295e7bd545e2dfbfcccbb00c27019e501c87965a02bbdebf6","4fd3c4debadce3e9ab9dec3eb45f7f5e2e3d4ad65cf975a6d938d883cfb25a50","f49709e8c096b05aca0674d39f471aa05261de7c756df9abdf4a53ed0fa98901","baca27d1de400e027cdc70217ca73e414002baef5798aa24a921097c20066fa1","75b9229192e6da08f6e06daa2b9243c251e14f179dfcc9cc9bf02dd70eabeb48","7df562288f949945cf69c21cd912100c2afedeeb7cdb219085f7f4b46cb7dde4","9d16690485ff1eb4f6fc57aebe237728fd8e03130c460919da3a35f4d9bd97f5","dcc6910d95a3625fd2b0487fda055988e46ab46c357a1b3618c27b4a8dd739c9","f4149f1aa299474c7040a35fe8f8ac2ad078cc1b190415adc1fff3ed52d490ea","3730099ed008776216268a97771de31753ef71e0a7d0ec650f588cba2a06ce44","8d649dbc429d7139a1d9a14ea2bf8af1dc089e0a879447539587463d4b6c248c","60c9e27816ec8ac8df7240598bb086e95b47edfb454c5cbf4003c812e0ed6e39","0431a29ecc5bb615e6d6d1709941bdf16e708f760099d017f5408a1e68e2d248","4926467de88a92a4fc9971d8c6f21b91eca1c0e7fc2a46cc4638ab9440c73875",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"4e0a4d84b15692ea8669fe4f3d05a4f204567906b1347da7a58b75f45bae48d3","1288f8ee930c03fd535824f8fe852375ec7181d73e4c1f445b82b414c95c5bbe","b3593bd345ebea5e4d0a894c03251a3774b34df3d6db57075c18e089a599ba76","e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b","30368d3789ec56ef3006c5f2115bd00faa21471aed6cbe6fec54a5683e5497ed","104c67f0da1bdf0d94865419247e20eded83ce7f9911a1aa75fc675c077ca66e","cc0d0b339f31ce0ab3b7a5b714d8e578ce698f1e13d7f8c60bfb766baeb1d35c","fae40de985385b22f775c1bea02959b251abddaa1cb168ee6c4f00d79ccfd8ef","1748c03e7a7d118f7f6648c709507971eb0d416f489958492c5ae625de445184","c269a12e83c5ffc0332b1f245008e4e621e483dd2f8b9b77fc6a664fcde4969d","72dff7d18139f0d579db7e4b904fb39f5740423f656edc1f84e4baa936b1fac0","febcc45f9517827496659c229a21b058831eef4cf9b71b77fd9a364ae12c3b9e","f2a60d253f7206372203b736144906bf135762100a2b3d1b415776ebf6575d07",{"version":"fa4546e9b67dbdcc0fa8d8653c6b89d49b9e7b637b3340bea78107ca161595fa","affectsGlobalScope":true},"9dffc5c0859e5aeba5e40b079d2f5e8047bdff91d0b3477d77b6fb66ee76c99d",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"ee7d8894904b465b072be0d2e4b45cf6b887cdba16a467645c4e200982ece7ea","f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","044851e9685b94a0c56bfd7f499b8be4c281e7dc024d1a715a5f9a4598bbf337","1f68ab0e055994eb337b67aa87d2a15e0200951e9664959b3866ee6f6b11a0fe","d3f2d715f57df3f04bf7b16dde01dec10366f64fce44503c92b8f78f614c1769","b78cd10245a90e27e62d0558564f5d9a16576294eee724a59ae21b91f9269e4a","b94dbee2ff37d83eb578d3154289afa878f749101bd124172beece3d80a68178","2f5747b1508ccf83fad0c251ba1e5da2f5a30b78b09ffa1cfaf633045160afed",{"version":"a5562ab0448c81180ef220ff104441a4d67187a2259e6008397e7531a821f0e7","affectsGlobalScope":true},"b71c603a539078a5e3a039b20f2b0a0d1708967530cf97dec8850a9ca45baa2b","d2a38ad7bb4676e7fd5d058a08105d81ac232c363ee56be0b401fc277d50dbb1","2ac2e08e0d0ed266849cb9da521c3be170a8bc111d25eeeb668c7dbf0ac4171a","34118be360cdd3381bbebbfd4b093c394460c8fc5df40688d58f45d86ab1448b","b94dbee2ff37d83eb578d3154289afa878f749101bd124172beece3d80a68178","5c45abf1e13e4463eacfd5dedda06855da8748a6a6cb3334f582b52e219acc04","19f1159e1fa24300e2eaf72cb53f0815f5879ec53cad3c606802f0c55f0917e9","6435575b4feae200831d37df9f871de6e695c64d3148611fe1b4d714d648ea24","8c2e6e491e1a08855b8bf70820184ff66ae0d43f7cf0311fc680e6d860af211c","95c22bc19835e28e2e524a4bb8898eb5f2107b640d7279a6d3aade261916bbf2","725b884357ba84171341a8e4cc08edf11417854fd069842ca6d22afb2e340e45","afe73051ff6a03a9565cbd8ebb0e956ee3df5e913ad5c1ded64218aabfa3dcb5","ee65fe452abe1309389c5f50710f24114e08a302d40708101c4aa950a2a7d044","de18acda71730bac52f4b256ce7511bb56cc21f6f114c59c46782eff2f632857","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","905c3e8f7ddaa6c391b60c05b2f4c3931d7127ad717a080359db3df510b7bdab","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","561eca7a381b96d6ccac6e4061e6d2ae53f5bc44203f3fd9f5b26864c32ae6e9","62ea38627e3ebab429f7616812a9394d327c2bc271003dfba985de9b4137369f","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"516a426e3960379f310107635b8f3a7e8c307c6c665080b128039d9299ec4087","affectsGlobalScope":true},"f30350dd37c3f3c11f47adb7ce4e7a4928f578f4ae8a3197e0c8a0811da46b92","948a49768a6f616ae03f7ce6ad074a0bf0cf1d139409041e0d441d037c49aabd","58729ebab0d9f2f97c1f976204c3541a1ea865811ecbeac421fbd887eb3f82e2",{"version":"8464afde15907211a1cd86c498b8c3e2ae016e6f4c6632f1a13ce7cb84804c05","affectsGlobalScope":true},{"version":"743fdf92d466daa9fe8d8719aff5c5f2c4aa7f3280e7e0b2f25aa887f45c9868","affectsGlobalScope":true},"626520302b2c8880e9eaa3a6a12022cc8b577a32e4d903aef85e3dd275063da4","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","54060f716fdbd7ac1008ac85256a400722332917837d1c0d6fdb7c9e8fa8b1cb","b8442e9db28157344d1bc5d8a5a256f1692de213f0c0ddeb84359834015a008c","458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","da2b6356b84a40111aaecb18304ea4e4fcb43d70efb1c13ca7d7a906445ee0d3","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","6f294731b495c65ecf46a5694f0082954b961cf05463bea823f8014098eaffa0","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","68a0d0c508e1b6d8d23a519a8a0a3303dc5baa4849ca049f21e5bad41945e3fc","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","b03afe4bec768ae333582915146f48b161e567a81b5ebc31c4d78af089770ac9","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9","4f6a12044ee6f458db11964153830abbc499e73d065c51c329ec97407f4b13dd","a49c26a7bad73494e987a795709e298223800407fa4e5c40c28539f752eb32ad","e86cd9c6c99834f8591ed72f08e4ca31570296f081206d0168f58f032cec5b58","2a856615ecd0af49997dfbb38cf94fd787d529062a2e96ce26b84432e61d785d","ab438f22fa7748112b6b9744b992ab6049d2fa6f46f011c145ff9c90e533856a","45b6a651b5e502cdfa93dc2f23779752def4ada323ebcfc34e4a4d22e9589971","54f1d17f9f484650cd49b53d9a6ba75593955a9ead093628888a37407b6ecd51","169cc96316cacf8b489aaab4ac6bcef7b33e8779a8902bce57c737b4aa372d16","e437d83044ba17246a861aa9691aa14223ff4a9d6f338ab1269c41c758586a88","dcefc29f25daf56cd69c0a3d3d19f51938efe1e6a15391950be43a76222ee3ed","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","4340936f4e937c452ae783514e7c7bbb7fc06d0c97993ff4865370d0962bb9cf","5fc6e6b8232254d80ed6b802372dba7f426f0a596f5fe26b7773acfdc8232926","c9ad058b2cc9ce6dc2ed92960d6d009e8c04bef46d3f5312283debca6869f613","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","b91aaad5f9c3f5dca5e8245d5f6464bdc63a77ba4453bb3e2d0c93959cddb13c","98437d5a640b67c41534f0de2dcb64c75433dcdff54ff8f8432e613663619a2e","5aca5a3bc07d2e16b6824a76c30378d6fb1b92e915d854315e1d1bd2d00974c9","199f9ead0daf25ae4c5632e3d1f42570af59685294a38123eef457407e13f365","3169db033165677f1d414baf0c82ba27801089ca1b66d97af464512a47df31b5","cf3d384d082b933d987c4e2fe7bfb8710adfd9dc8155190056ed6695a25a559e","9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","c2576a4083232b0e2d9bd06875dd43d371dee2e090325a9eac0133fd5650c1cb","4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","f40ac11d8859092d20f953aae14ba967282c3bb056431a37fced1866ec7a2681","cc11e9e79d4746cc59e0e17473a59d6f104692fd0eeea1bdb2e206eabed83b03","b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","7d8ddf0f021c53099e34ee831a06c394d50371816caa98684812f089b4c6b3d4","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","1f4ae755492a669b317903a6b1664cb7af3fe0c3d1eec6447f4e95a80616d15a","4e22b9ea2805fec5f3c120146a690e5604a3117dbdee648c85393f58422eec16","1320ee42b30487cceb6da9f230354fc34826111f76bf12f0ad76c717c12625b0","7d2b7fe4adb76d8253f20e4dbdce044f1cdfab4902ec33c3604585f553883f7d","a937bfb110176509a5fd6308b823e795525e7af8a12f1833f6567da6953ed035","6f56706c6828d0299f46f8b1a79ecae0757b91b48e63baf6f0c5292d02037129","2667c74200427135a2ff0a5f4f7cb6044bf483318a5c30e5d9eccdbfe372a529","24112d1a55250f4da7f9edb9dabeac8e3badebdf4a55b421fc7b8ca5ccc03133","77c5c7f8578d139c74102a29384f5f4f0792a12d819ddcdcaf8307185ff2d45d","3bdd93ec24853e61bfa4c63ebaa425ff3e474156e87a47d90122e1d8cc717c1f","1a81627b04dd2feab19e26d3df04e79f50d5dae42b9b5f9181d23dc820c9f048","b2d70a269840a9528db473ac7565442434333a05c1f66801a7a672e82beb903e"],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"jsx":2,"module":1,"noEmitOnError":false,"outDir":"./lib","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"target":2},"fileIdsList":[[241],[50],[38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71],[48],[48,49],[48,50],[76],[76,78],[76,77],[72,75],[73,74],[72],[86,87,88,89,90,91,92,93,94,95,96],[88],[72,88],[84,88],[79,83,88],[72,79,83,84,85,86,87],[111],[37,110],[242,243,244,246,247],[243],[241,245],[266,300,301],[266,300],[253,300],[312,314],[311,312,313],[263,266,300,317,318,319],[302,318,320,324],[264,300],[263,300,330],[37],[334],[335],[344,345,347],[344],[341,343],[337,338],[337,338,339,340],[342],[353,355,356,357,358,359,360,361,362,363,364,365],[353,354,356,357,358,359,360,361,362,363,364,365],[354,355,356,357,358,359,360,361,362,363,364,365],[353,354,355,357,358,359,360,361,362,363,364,365],[353,354,355,356,358,359,360,361,362,363,364,365],[353,354,355,356,357,359,360,361,362,363,364,365],[353,354,355,356,357,358,360,361,362,363,364,365],[353,354,355,356,357,358,359,361,362,363,364,365],[353,354,355,356,357,358,359,360,362,363,364,365],[353,354,355,356,357,358,359,360,361,363,364,365],[353,354,355,356,357,358,359,360,361,362,364,365],[353,354,355,356,357,358,359,360,361,362,363,365],[353,354,355,356,357,358,359,360,361,362,363,364],[329],[329,367,368],[370,371],[323],[322],[280,300],[266,288,300,375,376],[298],[297,298],[263,264,271,280],[253,263,271],[289],[257,264,272],[280,285],[260,263,271],[261],[260],[263],[263,265,280,288],[263,264],[271,280,288],[263,264,266,271,280,285,288],[266,285,288],[299],[288],[260,263,280],[273],[251],[287],[278,289,292],[263,281],[280],[283],[271],[249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296],[277],[290],[257,263,265,274,280,288,292],[300],[33,34,35,36],[385,424],[385,409,424],[424],[385],[385,410,424],[385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423],[410,424],[264,280,300,316],[266,300,321,323],[34,37,109],[300,428,430],[285,300],[263,266,268,280,285,288,294,300],[435],[263,280,300],[266,280,300],[128,129,135,136],[137,201,202],[128,135,137],[129,137],[128,130,131,132,135,137,140,141],[131,142,156,157],[128,135,140,141,142],[128,130,135,137,139,140,141],[128,129,140,141,142],[127,143,148,155,158,159,200,203,225],[128],[129,133,134],[129,133,134,135,136,138,149,150,151,152,153,154],[129,134,135],[129],[128,129,134,135,137,150],[135],[129,135,136],[133,135],[142,156],[128,130,131,132,135,140],[128,135,138,141],[131,139,140,141,144,145,146,147],[141],[128,130,135,137,139,141],[137,140],[128,135,139,140,141,153],[137],[128,135,141],[129,135,140,151],[140,204],[137,141],[135,140],[140],[128,138],[128,135],[135,140,141],[160,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224],[140,141],[130,135],[128,130,135,141],[128,130,135],[128,135,137,139,140,141,153,160],[161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199],[153,161],[161],[128,135,137,140,160,161],[80,81,82],[79,80],[72,79],[37,72,79,84,85,97,99,100,101,102,103,104,105,106,107],[37,84,97,99],[37,72,97],[37,99],[37,83,97],[37,97],[37,97,99],[99],[37,97,98],[37,83,99],[346],[428],[115,121,122,123,124,125,227,228],[113],[113,126,226],[37,108,110,113,114,115,116,117,118,119,240],[37,108,113,116,117,118,119,120,229,230,231,232,233,234,238,240],[110],[37,108,119,235,236,237],[37,108],[37,108,111,112]],"referencedMap":[[245,1],[51,2],[52,2],[54,2],[55,2],[56,2],[57,2],[58,2],[59,2],[60,2],[61,2],[62,2],[72,3],[70,4],[69,4],[50,5],[49,6],[67,5],[77,7],[79,8],[78,9],[76,10],[75,11],[74,12],[85,12],[84,12],[97,13],[96,14],[90,15],[91,14],[86,14],[92,16],[89,17],[95,14],[93,15],[94,14],[88,18],[87,15],[114,19],[230,19],[231,19],[233,19],[232,19],[235,19],[234,19],[236,19],[111,20],[248,21],[244,22],[242,1],[246,23],[247,1],[302,24],[301,25],[305,26],[315,27],[314,28],[320,29],[326,30],[328,31],[331,32],[332,31],[109,33],[335,34],[336,35],[348,36],[349,37],[344,38],[339,39],[341,40],[340,39],[343,41],[354,42],[355,43],[353,44],[356,45],[357,46],[358,47],[359,48],[360,49],[361,50],[362,51],[363,52],[364,53],[365,54],[366,55],[369,56],[371,57],[322,58],[323,59],[374,60],[377,61],[249,62],[299,63],[253,64],[254,65],[255,66],[256,67],[257,68],[258,69],[260,70],[261,71],[262,72],[263,72],[264,73],[265,74],[266,75],[267,76],[268,77],[300,78],[269,72],[270,79],[271,80],[273,81],[274,82],[275,83],[278,72],[279,84],[280,85],[281,86],[284,87],[285,88],[297,89],[287,88],[288,90],[289,91],[291,86],[293,92],[294,86],[345,93],[37,94],[409,95],[410,96],[385,97],[388,97],[407,95],[408,95],[398,95],[397,98],[395,95],[390,95],[403,95],[401,95],[405,95],[389,95],[402,95],[406,95],[391,95],[392,95],[404,95],[386,95],[393,95],[394,95],[396,95],[400,95],[411,99],[399,95],[387,95],[424,100],[418,99],[420,101],[419,99],[412,99],[413,99],[415,99],[417,99],[421,101],[422,101],[414,101],[416,101],[317,102],[324,103],[110,104],[431,105],[432,106],[434,107],[436,108],[437,109],[375,110],[137,111],[203,112],[202,113],[201,114],[142,115],[158,116],[156,117],[157,118],[143,119],[226,120],[131,121],[135,122],[155,123],[150,124],[136,125],[151,126],[154,127],[149,128],[152,127],[153,129],[159,130],[141,131],[139,132],[148,133],[145,134],[144,134],[140,135],[146,136],[160,137],[222,138],[216,139],[209,140],[208,141],[217,142],[218,127],[210,143],[223,144],[204,145],[205,146],[206,147],[225,148],[207,141],[211,144],[212,149],[219,150],[220,125],[221,149],[213,147],[224,127],[214,151],[215,152],[161,153],[200,154],[164,155],[165,155],[166,155],[167,155],[168,155],[169,155],[170,155],[171,155],[190,155],[172,155],[173,155],[174,155],[175,155],[176,155],[177,155],[197,155],[178,155],[179,155],[180,155],[195,155],[181,155],[196,155],[182,155],[193,155],[194,155],[183,155],[184,155],[185,155],[191,155],[192,155],[186,155],[187,155],[188,155],[189,155],[198,155],[199,155],[163,156],[162,157],[83,158],[81,159],[80,160],[237,33],[108,161],[107,162],[106,163],[100,164],[105,165],[104,166],[102,167],[103,163],[101,168],[99,169],[98,170],[347,171],[430,172],[229,173],[115,174],[121,174],[227,175],[122,174],[228,33],[124,174],[120,176],[239,177],[119,178],[238,179],[118,174],[117,180],[112,33],[113,181]],"exportedModulesMap":[[245,1],[51,2],[52,2],[54,2],[55,2],[56,2],[57,2],[58,2],[59,2],[60,2],[61,2],[62,2],[72,3],[70,4],[69,4],[50,5],[49,6],[67,5],[77,7],[79,8],[78,9],[76,10],[75,11],[74,12],[85,12],[84,12],[97,13],[96,14],[90,15],[91,14],[86,14],[92,16],[89,17],[95,14],[93,15],[94,14],[88,18],[87,15],[114,19],[230,19],[231,19],[233,19],[232,19],[235,19],[234,19],[236,19],[111,20],[248,21],[244,22],[242,1],[246,23],[247,1],[302,24],[301,25],[305,26],[315,27],[314,28],[320,29],[326,30],[328,31],[331,32],[332,31],[109,33],[335,34],[336,35],[348,36],[349,37],[344,38],[339,39],[341,40],[340,39],[343,41],[354,42],[355,43],[353,44],[356,45],[357,46],[358,47],[359,48],[360,49],[361,50],[362,51],[363,52],[364,53],[365,54],[366,55],[369,56],[371,57],[322,58],[323,59],[374,60],[377,61],[249,62],[299,63],[253,64],[254,65],[255,66],[256,67],[257,68],[258,69],[260,70],[261,71],[262,72],[263,72],[264,73],[265,74],[266,75],[267,76],[268,77],[300,78],[269,72],[270,79],[271,80],[273,81],[274,82],[275,83],[278,72],[279,84],[280,85],[281,86],[284,87],[285,88],[297,89],[287,88],[288,90],[289,91],[291,86],[293,92],[294,86],[345,93],[37,94],[409,95],[410,96],[385,97],[388,97],[407,95],[408,95],[398,95],[397,98],[395,95],[390,95],[403,95],[401,95],[405,95],[389,95],[402,95],[406,95],[391,95],[392,95],[404,95],[386,95],[393,95],[394,95],[396,95],[400,95],[411,99],[399,95],[387,95],[424,100],[418,99],[420,101],[419,99],[412,99],[413,99],[415,99],[417,99],[421,101],[422,101],[414,101],[416,101],[317,102],[324,103],[110,104],[431,105],[432,106],[434,107],[436,108],[437,109],[375,110],[137,111],[203,112],[202,113],[201,114],[142,115],[158,116],[156,117],[157,118],[143,119],[226,120],[131,121],[135,122],[155,123],[150,124],[136,125],[151,126],[154,127],[149,128],[152,127],[153,129],[159,130],[141,131],[139,132],[148,133],[145,134],[144,134],[140,135],[146,136],[160,137],[222,138],[216,139],[209,140],[208,141],[217,142],[218,127],[210,143],[223,144],[204,145],[205,146],[206,147],[225,148],[207,141],[211,144],[212,149],[219,150],[220,125],[221,149],[213,147],[224,127],[214,151],[215,152],[161,153],[200,154],[164,155],[165,155],[166,155],[167,155],[168,155],[169,155],[170,155],[171,155],[190,155],[172,155],[173,155],[174,155],[175,155],[176,155],[177,155],[197,155],[178,155],[179,155],[180,155],[195,155],[181,155],[196,155],[182,155],[193,155],[194,155],[183,155],[184,155],[185,155],[191,155],[192,155],[186,155],[187,155],[188,155],[189,155],[198,155],[199,155],[163,156],[162,157],[83,158],[81,159],[80,160],[237,33],[108,161],[107,162],[106,163],[100,164],[105,165],[104,166],[102,167],[103,163],[101,168],[99,169],[98,170],[347,171],[430,172],[229,173],[115,174],[121,174],[227,175],[122,174],[228,33],[124,174],[120,176],[239,177],[119,178],[238,179],[118,174],[117,180],[112,33],[113,181]],"semanticDiagnosticsPerFile":[245,241,126,71,38,39,40,41,42,43,44,45,46,47,51,52,53,54,55,56,57,58,59,60,61,62,63,64,66,72,48,68,70,69,50,49,67,65,77,79,78,76,73,75,74,85,84,97,96,90,91,86,92,89,95,93,94,88,87,114,230,231,233,232,235,234,236,111,248,244,243,242,246,247,302,303,301,304,305,306,307,308,309,310,315,311,314,312,320,318,326,325,327,116,328,329,331,332,109,333,321,334,335,336,348,349,344,337,339,341,340,338,343,342,313,350,351,352,354,355,353,356,357,358,359,360,361,362,363,364,365,366,367,369,371,370,372,322,323,330,373,374,376,377,298,249,251,299,252,253,254,255,256,257,258,259,260,261,262,263,264,265,250,295,266,267,268,300,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,297,287,288,289,290,291,292,296,293,294,378,379,368,345,380,35,381,319,33,37,382,383,384,36,409,410,385,388,407,408,398,397,395,390,403,401,405,389,402,406,391,392,404,386,393,394,396,400,411,399,387,424,423,418,420,419,412,413,415,417,421,422,414,416,317,316,324,425,426,110,427,428,429,431,432,433,434,435,436,437,34,375,137,203,202,201,142,158,156,157,143,226,128,130,131,132,135,138,155,133,150,136,151,154,149,152,129,134,153,159,147,141,139,148,145,144,140,146,160,222,216,209,208,217,218,210,223,204,205,206,225,207,211,212,219,220,221,213,224,214,215,161,200,164,165,166,167,168,169,170,171,190,172,173,174,175,176,177,197,178,179,180,195,181,196,182,193,194,183,184,185,191,192,186,187,188,189,198,199,163,162,127,83,81,82,80,237,108,107,106,100,105,104,102,103,101,99,98,347,346,7,8,12,11,3,13,14,15,16,17,18,19,20,4,5,24,21,22,23,25,26,27,6,28,29,30,31,2,1,32,10,9,430,229,115,121,227,122,123,228,124,125,240,120,239,119,238,118,117,112,113]},"version":"4.6.4"}
1
+ {"program":{"fileNames":["../../node_modules/typescript/lib/lib.es6.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/@types/react/global.d.ts","../../node_modules/csstype/index.d.ts","../../node_modules/@types/prop-types/index.d.ts","../../node_modules/@types/scheduler/tracing.d.ts","../../node_modules/@types/react/index.d.ts","../../node_modules/@formatjs/ecma402-abstract/CanonicalizeLocaleList.d.ts","../../node_modules/@formatjs/ecma402-abstract/CanonicalizeTimeZoneName.d.ts","../../node_modules/@formatjs/ecma402-abstract/CoerceOptionsToObject.d.ts","../../node_modules/@formatjs/ecma402-abstract/GetNumberOption.d.ts","../../node_modules/@formatjs/ecma402-abstract/GetOption.d.ts","../../node_modules/@formatjs/ecma402-abstract/GetOptionsObject.d.ts","../../node_modules/@formatjs/ecma402-abstract/IsSanctionedSimpleUnitIdentifier.d.ts","../../node_modules/@formatjs/ecma402-abstract/IsValidTimeZoneName.d.ts","../../node_modules/@formatjs/ecma402-abstract/IsWellFormedCurrencyCode.d.ts","../../node_modules/@formatjs/ecma402-abstract/IsWellFormedUnitIdentifier.d.ts","../../node_modules/@formatjs/ecma402-abstract/types/core.d.ts","../../node_modules/@formatjs/ecma402-abstract/types/plural-rules.d.ts","../../node_modules/@formatjs/ecma402-abstract/types/number.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/ComputeExponent.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/ComputeExponentForMagnitude.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/CurrencyDigits.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/FormatNumericToParts.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/FormatNumericToString.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/InitializeNumberFormat.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/PartitionNumberPattern.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/SetNumberFormatDigitOptions.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/SetNumberFormatUnitOptions.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/ToRawFixed.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/ToRawPrecision.d.ts","../../node_modules/@formatjs/ecma402-abstract/NumberFormat/format_to_parts.d.ts","../../node_modules/@formatjs/ecma402-abstract/PartitionPattern.d.ts","../../node_modules/@formatjs/ecma402-abstract/SupportedLocales.d.ts","../../node_modules/@formatjs/ecma402-abstract/utils.d.ts","../../node_modules/@formatjs/ecma402-abstract/data.d.ts","../../node_modules/@formatjs/ecma402-abstract/types/relative-time.d.ts","../../node_modules/@formatjs/ecma402-abstract/types/date-time.d.ts","../../node_modules/@formatjs/ecma402-abstract/types/list.d.ts","../../node_modules/@formatjs/ecma402-abstract/types/displaynames.d.ts","../../node_modules/@formatjs/ecma402-abstract/262.d.ts","../../node_modules/@formatjs/ecma402-abstract/index.d.ts","../../node_modules/@formatjs/icu-skeleton-parser/date-time.d.ts","../../node_modules/@formatjs/icu-skeleton-parser/number.d.ts","../../node_modules/@formatjs/icu-skeleton-parser/index.d.ts","../../node_modules/@formatjs/icu-messageformat-parser/types.d.ts","../../node_modules/@formatjs/icu-messageformat-parser/error.d.ts","../../node_modules/@formatjs/icu-messageformat-parser/parser.d.ts","../../node_modules/@formatjs/icu-messageformat-parser/index.d.ts","../../node_modules/intl-messageformat/src/formatters.d.ts","../../node_modules/intl-messageformat/src/core.d.ts","../../node_modules/intl-messageformat/src/error.d.ts","../../node_modules/intl-messageformat/index.d.ts","../../node_modules/@formatjs/intl-listformat/index.d.ts","../../node_modules/@formatjs/intl-displaynames/index.d.ts","../../node_modules/@formatjs/intl/src/error.d.ts","../../node_modules/@formatjs/intl/src/utils.d.ts","../../node_modules/@formatjs/intl/src/types.d.ts","../../node_modules/@formatjs/intl/src/message.d.ts","../../node_modules/@formatjs/intl/src/dateTime.d.ts","../../node_modules/@formatjs/intl/src/displayName.d.ts","../../node_modules/@formatjs/intl/src/list.d.ts","../../node_modules/@formatjs/intl/src/plural.d.ts","../../node_modules/@formatjs/intl/src/relativeTime.d.ts","../../node_modules/@formatjs/intl/src/number.d.ts","../../node_modules/@formatjs/intl/src/create-intl.d.ts","../../node_modules/@formatjs/intl/index.d.ts","../../node_modules/react-intl/src/utils.d.ts","../../node_modules/react-intl/src/types.d.ts","../../node_modules/react-intl/src/components/injectIntl.d.ts","../../node_modules/react-intl/src/components/useIntl.d.ts","../../node_modules/react-intl/src/components/provider.d.ts","../../node_modules/react-intl/src/components/relative.d.ts","../../node_modules/react-intl/src/components/plural.d.ts","../../node_modules/react-intl/src/components/message.d.ts","../../node_modules/react-intl/src/components/dateTimeRange.d.ts","../../node_modules/react-intl/src/components/createFormattedComponent.d.ts","../../node_modules/react-intl/index.d.ts","../../node_modules/@types/hoist-non-react-statics/index.d.ts","../../node_modules/@types/styled-components/index.d.ts","../../node_modules/@styled-icons/styled-icon/index.d.ts","./node_modules/@opentripplanner/types/lib/deprecated.d.ts","./node_modules/@opentripplanner/types/lib/index.d.ts","../../node_modules/@styled-icons/boxicons-regular/Transfer/Transfer.d.ts","../core-utils/node_modules/@opentripplanner/types/lib/index.d.ts","../core-utils/lib/itinerary.d.ts","../../node_modules/@types/flat/index.d.ts","./src/utils.tsx","./src/types.ts","./src/styled.ts","./src/fare-table.tsx","../core-utils/lib/map.d.ts","../core-utils/lib/route.d.ts","../core-utils/lib/storage.d.ts","../core-utils/lib/time.d.ts","../core-utils/lib/ui.d.ts","../../node_modules/@conveyal/lonlat/dist/index.d.ts","../../node_modules/graphql/version.d.ts","../../node_modules/graphql/jsutils/Maybe.d.ts","../../node_modules/graphql/language/source.d.ts","../../node_modules/graphql/jsutils/ObjMap.d.ts","../../node_modules/graphql/jsutils/Path.d.ts","../../node_modules/graphql/jsutils/PromiseOrValue.d.ts","../../node_modules/graphql/language/kinds.d.ts","../../node_modules/graphql/language/tokenKind.d.ts","../../node_modules/graphql/language/ast.d.ts","../../node_modules/graphql/language/location.d.ts","../../node_modules/graphql/error/GraphQLError.d.ts","../../node_modules/graphql/language/directiveLocation.d.ts","../../node_modules/graphql/type/directives.d.ts","../../node_modules/graphql/type/schema.d.ts","../../node_modules/graphql/type/definition.d.ts","../../node_modules/graphql/execution/execute.d.ts","../../node_modules/graphql/graphql.d.ts","../../node_modules/graphql/type/scalars.d.ts","../../node_modules/graphql/type/introspection.d.ts","../../node_modules/graphql/type/validate.d.ts","../../node_modules/graphql/type/assertName.d.ts","../../node_modules/graphql/type/index.d.ts","../../node_modules/graphql/language/printLocation.d.ts","../../node_modules/graphql/language/lexer.d.ts","../../node_modules/graphql/language/parser.d.ts","../../node_modules/graphql/language/printer.d.ts","../../node_modules/graphql/language/visitor.d.ts","../../node_modules/graphql/language/predicates.d.ts","../../node_modules/graphql/language/index.d.ts","../../node_modules/graphql/execution/subscribe.d.ts","../../node_modules/graphql/execution/values.d.ts","../../node_modules/graphql/execution/index.d.ts","../../node_modules/graphql/subscription/index.d.ts","../../node_modules/graphql/utilities/TypeInfo.d.ts","../../node_modules/graphql/validation/ValidationContext.d.ts","../../node_modules/graphql/validation/validate.d.ts","../../node_modules/graphql/validation/specifiedRules.d.ts","../../node_modules/graphql/validation/rules/ExecutableDefinitionsRule.d.ts","../../node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.d.ts","../../node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.d.ts","../../node_modules/graphql/validation/rules/KnownArgumentNamesRule.d.ts","../../node_modules/graphql/validation/rules/KnownDirectivesRule.d.ts","../../node_modules/graphql/validation/rules/KnownFragmentNamesRule.d.ts","../../node_modules/graphql/validation/rules/KnownTypeNamesRule.d.ts","../../node_modules/graphql/validation/rules/LoneAnonymousOperationRule.d.ts","../../node_modules/graphql/validation/rules/NoFragmentCyclesRule.d.ts","../../node_modules/graphql/validation/rules/NoUndefinedVariablesRule.d.ts","../../node_modules/graphql/validation/rules/NoUnusedFragmentsRule.d.ts","../../node_modules/graphql/validation/rules/NoUnusedVariablesRule.d.ts","../../node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.d.ts","../../node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.d.ts","../../node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.d.ts","../../node_modules/graphql/validation/rules/ScalarLeafsRule.d.ts","../../node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.d.ts","../../node_modules/graphql/validation/rules/UniqueArgumentNamesRule.d.ts","../../node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.d.ts","../../node_modules/graphql/validation/rules/UniqueFragmentNamesRule.d.ts","../../node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.d.ts","../../node_modules/graphql/validation/rules/UniqueOperationNamesRule.d.ts","../../node_modules/graphql/validation/rules/UniqueVariableNamesRule.d.ts","../../node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.d.ts","../../node_modules/graphql/validation/rules/VariablesAreInputTypesRule.d.ts","../../node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.d.ts","../../node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.d.ts","../../node_modules/graphql/validation/rules/UniqueOperationTypesRule.d.ts","../../node_modules/graphql/validation/rules/UniqueTypeNamesRule.d.ts","../../node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.d.ts","../../node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.d.ts","../../node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.d.ts","../../node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.d.ts","../../node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.d.ts","../../node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.d.ts","../../node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.d.ts","../../node_modules/graphql/validation/index.d.ts","../../node_modules/graphql/error/syntaxError.d.ts","../../node_modules/graphql/error/locatedError.d.ts","../../node_modules/graphql/error/index.d.ts","../../node_modules/graphql/utilities/getIntrospectionQuery.d.ts","../../node_modules/graphql/utilities/getOperationAST.d.ts","../../node_modules/graphql/utilities/getOperationRootType.d.ts","../../node_modules/graphql/utilities/introspectionFromSchema.d.ts","../../node_modules/graphql/utilities/buildClientSchema.d.ts","../../node_modules/graphql/utilities/buildASTSchema.d.ts","../../node_modules/graphql/utilities/extendSchema.d.ts","../../node_modules/graphql/utilities/lexicographicSortSchema.d.ts","../../node_modules/graphql/utilities/printSchema.d.ts","../../node_modules/graphql/utilities/typeFromAST.d.ts","../../node_modules/graphql/utilities/valueFromAST.d.ts","../../node_modules/graphql/utilities/valueFromASTUntyped.d.ts","../../node_modules/graphql/utilities/astFromValue.d.ts","../../node_modules/graphql/utilities/coerceInputValue.d.ts","../../node_modules/graphql/utilities/concatAST.d.ts","../../node_modules/graphql/utilities/separateOperations.d.ts","../../node_modules/graphql/utilities/stripIgnoredCharacters.d.ts","../../node_modules/graphql/utilities/typeComparators.d.ts","../../node_modules/graphql/utilities/assertValidName.d.ts","../../node_modules/graphql/utilities/findBreakingChanges.d.ts","../../node_modules/graphql/utilities/typedQueryDocumentNode.d.ts","../../node_modules/graphql/utilities/index.d.ts","../../node_modules/graphql/index.d.ts","../core-utils/lib/query-gen.d.ts","../core-utils/lib/suspense.d.ts","../core-utils/lib/index.d.ts","../../node_modules/@styled-icons/fa-solid/CalendarAlt/CalendarAlt.d.ts","../../node_modules/@styled-icons/fa-solid/Heartbeat/Heartbeat.d.ts","../../node_modules/@styled-icons/fa-solid/MoneyBillAlt/MoneyBillAlt.d.ts","../../node_modules/@styled-icons/fa-solid/Leaf/Leaf.d.ts","../../node_modules/@styled-icons/fa-solid/Route/Route.d.ts","../../node_modules/@styled-icons/fa-solid/QuestionCircle/QuestionCircle.d.ts","../../node_modules/@styled-icons/fa-solid/TimesCircle/TimesCircle.d.ts","../../node_modules/react-animate-height/dist/esm/index.d.ts","./src/trip-detail.tsx","./src/index.tsx","./src/__unpublished__/messages.d.ts","../../node_modules/@babel/types/lib/index.d.ts","../../node_modules/@types/babel__generator/index.d.ts","../../node_modules/@types/babel__core/node_modules/@babel/types/lib/index.d.ts","../../node_modules/@types/babel__core/node_modules/@babel/parser/typings/babel-parser.d.ts","../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../node_modules/@types/babel__template/index.d.ts","../../node_modules/@types/babel__traverse/index.d.ts","../../node_modules/@types/babel__core/index.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostic_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/util/types.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/ts3.6/base.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/base.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/connect/index.d.ts","../../node_modules/@types/body-parser/index.d.ts","../../node_modules/@types/chroma-js/index.d.ts","../../node_modules/@types/cookie/index.d.ts","../../node_modules/@types/cross-spawn/index.d.ts","../../node_modules/@types/detect-port/index.d.ts","../../node_modules/@types/doctrine/index.d.ts","../../node_modules/@types/ejs/index.d.ts","../../node_modules/@types/emscripten/index.d.ts","../../node_modules/@types/escodegen/index.d.ts","../../node_modules/@types/eslint/helpers.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/eslint/index.d.ts","../../node_modules/@types/eslint-scope/index.d.ts","../../node_modules/@types/send/node_modules/@types/mime/index.d.ts","../../node_modules/@types/send/index.d.ts","../../node_modules/@types/express-serve-static-core/node_modules/@types/qs/index.d.ts","../../node_modules/@types/range-parser/index.d.ts","../../node_modules/@types/express-serve-static-core/index.d.ts","../../node_modules/@types/http-errors/index.d.ts","../../node_modules/@types/mime/Mime.d.ts","../../node_modules/@types/mime/index.d.ts","../../node_modules/@types/serve-static/index.d.ts","../../node_modules/@types/express/node_modules/@types/qs/index.d.ts","../../node_modules/@types/express/index.d.ts","../../node_modules/@types/find-cache-dir/index.d.ts","../../node_modules/@types/fs-extra/index.d.ts","../../node_modules/@types/geojson/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/glob/index.d.ts","../../node_modules/@types/graceful-fs/index.d.ts","../../node_modules/@types/html-minifier-terser/index.d.ts","../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../node_modules/@types/istanbul-lib-report/index.d.ts","../../node_modules/@types/istanbul-reports/index.d.ts","../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../node_modules/@types/jest/index.d.ts","../../node_modules/@types/pixelmatch/index.d.ts","../../node_modules/ssim.js/dist/types.d.ts","../../node_modules/ssim.js/dist/index.d.ts","../../node_modules/@types/jest-image-snapshot/index.d.ts","../../node_modules/@types/jest-specific-snapshot/index.d.ts","../../node_modules/@types/json-stable-stringify/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/junit-report-builder/index.d.ts","../../node_modules/@types/lodash/common/common.d.ts","../../node_modules/@types/lodash/common/array.d.ts","../../node_modules/@types/lodash/common/collection.d.ts","../../node_modules/@types/lodash/common/date.d.ts","../../node_modules/@types/lodash/common/function.d.ts","../../node_modules/@types/lodash/common/lang.d.ts","../../node_modules/@types/lodash/common/math.d.ts","../../node_modules/@types/lodash/common/number.d.ts","../../node_modules/@types/lodash/common/object.d.ts","../../node_modules/@types/lodash/common/seq.d.ts","../../node_modules/@types/lodash/common/string.d.ts","../../node_modules/@types/lodash/common/util.d.ts","../../node_modules/@types/lodash/index.d.ts","../../node_modules/@types/mapbox-gl/index.d.ts","../../node_modules/@types/mapbox__point-geometry/index.d.ts","../../node_modules/@types/pbf/index.d.ts","../../node_modules/@types/mapbox__vector-tile/index.d.ts","../../node_modules/@types/mdx/types.d.ts","../../node_modules/@types/mdx/index.d.ts","../../node_modules/@types/mime-types/index.d.ts","../../node_modules/@types/minimist/index.d.ts","../../node_modules/@types/mute-stream/index.d.ts","../../node_modules/form-data/index.d.ts","../../node_modules/@types/node-fetch/externals.d.ts","../../node_modules/@types/node-fetch/index.d.ts","../../node_modules/@types/normalize-package-data/index.d.ts","../../node_modules/@types/parse-json/index.d.ts","../../node_modules/@types/pretty-hrtime/index.d.ts","../../node_modules/@types/qs/index.d.ts","../../node_modules/@types/resolve/index.d.ts","../../node_modules/@types/retry/index.d.ts","../../node_modules/@types/scheduler/index.d.ts","../../node_modules/@types/semver/classes/semver.d.ts","../../node_modules/@types/semver/functions/parse.d.ts","../../node_modules/@types/semver/functions/valid.d.ts","../../node_modules/@types/semver/functions/clean.d.ts","../../node_modules/@types/semver/functions/inc.d.ts","../../node_modules/@types/semver/functions/diff.d.ts","../../node_modules/@types/semver/functions/major.d.ts","../../node_modules/@types/semver/functions/minor.d.ts","../../node_modules/@types/semver/functions/patch.d.ts","../../node_modules/@types/semver/functions/prerelease.d.ts","../../node_modules/@types/semver/functions/compare.d.ts","../../node_modules/@types/semver/functions/rcompare.d.ts","../../node_modules/@types/semver/functions/compare-loose.d.ts","../../node_modules/@types/semver/functions/compare-build.d.ts","../../node_modules/@types/semver/functions/sort.d.ts","../../node_modules/@types/semver/functions/rsort.d.ts","../../node_modules/@types/semver/functions/gt.d.ts","../../node_modules/@types/semver/functions/lt.d.ts","../../node_modules/@types/semver/functions/eq.d.ts","../../node_modules/@types/semver/functions/neq.d.ts","../../node_modules/@types/semver/functions/gte.d.ts","../../node_modules/@types/semver/functions/lte.d.ts","../../node_modules/@types/semver/functions/cmp.d.ts","../../node_modules/@types/semver/functions/coerce.d.ts","../../node_modules/@types/semver/classes/comparator.d.ts","../../node_modules/@types/semver/classes/range.d.ts","../../node_modules/@types/semver/functions/satisfies.d.ts","../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../node_modules/@types/semver/ranges/min-version.d.ts","../../node_modules/@types/semver/ranges/valid.d.ts","../../node_modules/@types/semver/ranges/outside.d.ts","../../node_modules/@types/semver/ranges/gtr.d.ts","../../node_modules/@types/semver/ranges/ltr.d.ts","../../node_modules/@types/semver/ranges/intersects.d.ts","../../node_modules/@types/semver/ranges/simplify.d.ts","../../node_modules/@types/semver/ranges/subset.d.ts","../../node_modules/@types/semver/internals/identifiers.d.ts","../../node_modules/@types/semver/index.d.ts","../../node_modules/@types/stack-utils/index.d.ts","../../node_modules/@types/statuses/index.d.ts","../../node_modules/@types/throttle-debounce/index.d.ts","../../node_modules/@types/unist/index.d.ts","../../node_modules/@types/uuid/index.d.ts","../../node_modules/vfile-message/index.d.ts","../../node_modules/@types/vfile/index.d.ts","../../node_modules/@types/wait-on/index.d.ts","../../node_modules/@types/wrap-ansi/index.d.ts","../../node_modules/@types/ws/index.d.ts","../../node_modules/@types/yargs-parser/index.d.ts","../../node_modules/@types/yargs/index.d.ts","../../node_modules/@types/yauzl/index.d.ts"],"fileInfos":["721cec59c3fef87aaf480047d821fb758b3ec9482c4129a54631e6e25e432a31",{"version":"3ac1b83264055b28c0165688fda6dfcc39001e9e7828f649299101c23ad0a0c3","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06",{"version":"72704b10d97777e15f1a581b73f88273037ef752d2e50b72287bd0a90af64fe6","affectsGlobalScope":true},{"version":"dbb73d4d99be496175cb432c74c2615f78c76f4272f1d83cba11ee0ed6dbddf0","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},{"version":"ecf78e637f710f340ec08d5d92b3f31b134a46a4fcf2e758690d8c46ce62cba6","affectsGlobalScope":true},"4ee363f83d7be2202f34fcd84c44da71bf3a9329fee8a05f976f75083a52ea94","a7e32dcb90bf0c1b7a1e4ac89b0f7747cbcba25e7beddc1ebf17be1e161842ad","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"5a1b30146d105f86b15aaf11ff43af00c29972d18bc3b16c8b8f56aa47801733","affectsGlobalScope":true},"13f6a3df166c16f3dcf81a87c26d9803c7fd7895e7fcc71b7c149f52ee24b639","1ee5885d5027d5193ecacf31e8ed6b6f03a3a6de2e4fb37a3280b71e65915af1","494bf82a2bd0cf241e89fdb21dd46f273e530f49f6599a985b7852f7322fc192","0edc48b402f3efa10343c59746b269ec3cab88ea08be63d73014c78d372e94ab","ba9f6d4253a5b902ddb60345aead6f691b89292f9387068bf99d9928e839a9af","eabe0e0f52a2c58966cbbed77ea6b13ff3efdab453d411c88fbf91ba4964a5ff","257369022582c2220790c87a487fda57b264e1dcb16bb9ce34172345e7f933f3","5753b9cbd5ea496f68d4459b83a5091c0dbb33a896434d2f43c5f5b9e3f4ffa8","abbf59b2100d962d82f9c842c4a20cb5db35aee74175e5c942b361138870d8eb","f408d89ab81d183abcdaaf9961ebe9ef1a892064c5790b4b87af0b7d05a43240","eb974217eac7354c2ee28c68b1fefb3aebb5839c7da0dc8b2e1670eb1bb73fc3","20f33c814aaef326c0e3f2e37f627f8e3b22d85b0859a1b47c1013f1eaa0b628","4c32e274c22c133d96fa3bd1e66af0e213c88d37372598442247e1ea2b3f3616","b446fafdc7c077bec8f3117e200fd8e8606799ef212804a58bae3b7cd3ac353c","bfd64f97f7e12d92ad6c50caddd7a5e91080ccf15e887d4574646dda09b5b8d5","4475d3f490464dd09f29d5a590392ebc9f3026a79f2f0ba247f7b3f2acc01655","09eae5649c2133876c6c07137142b2786f858ef7f2269c24c2320dc950ab1866","f2061152503791189f5fcee1e6000e1db3601a60dba32011e6ee2c3a12f23510","03e162e0e48312346141962cf4dd2aa1569a58feff88a33ac579840d24c3d165","29f7e25ee9edb7ac875d3fea892e6328a439b55b6dd994431d55315dced635ae","a1e456a92e80e7884ed0bf9c83eac71e31a7ec949eb5982d36811154bed6fb1f","3a378f155a084b9722c89ffc3d2b2ab62f50603aa80fd5d5614ade949007a891","4a254ae095bd9e42bb24b0b539fa3ad0889089f0f56c7f8b63acf2adfd4ada66","ca32554db1a6962f85143e6e9216883c0e439408541d4379eac2b80aed60cb5f","64a89eb80302eca86236ef2f40dd6b914aa42f35a7384893e7fe864b6961695f","99bb361d32c05762ab4ac1d647f750eb2e280070e30011b5feff952327d07844","19a5ca90bcba89bd8fcb7e02c379ca017dce60050e1e7671bf45f68d921870cc","84747db6b80b4e5567c21a82cbaeda7a9810307ba4023ff5ffcd90e1f7713172","214c8b4c06c4858b93230b16745a7a480cef4524b0e7745ef64755ee9b81aaf6","dea3cf3a10d7caaededded8f0a794ce9f8b17da31ccbb8ee9159d7bd2fce42ac","51dc756ec3df8a7599ef0d16268cf7cd429d5d226ceb53cf8f85657a4ade6c29","4480de0ded16219521ccf012892091e5ec44863039c965ff1664f7f4799f4126","eeaf71356de97a805f3dfb0dd93a16196da7d2480955063a79216a8fd4f1414b","c38905d6fda359cf384b9306d6b9782a1b055e6670c7894b0ffda04c81b8e59a","6beedecf272c57713b780ee23040cf45adbfedb92f893b4be80ad11fe42c1cbe","3e873837e506db540c03f5e1069427b11ed7e1a016bd29c0d83fb4c4ea9d519f","b85018c97705258ff235ae9ac44d532ab3546eb5d0354123bd781e8bea3bdc18","4386eea018b5f6eadd8dc9dc407642369bea81dcaebe64dc30285e736b102343","69818b78af77862718c44e8236defa5fd318281de3ea1a8d43f3b350439589a4","cd41024509c20e761a3bd6ce8a976f1a79ae8193e1fdba46396744136d1b6bd0","81b6d7ff019d77399bdebae52a370011cea01943fc7c2016c3dc846839206df0","407bddb7f03e070e7969eb2bc19bf931cb76ddbe2761326b8ca1f0cccb6bd35b","1135099814b6525159e76fa51f295bf05942f0d9ef84c7030f0a7ad7563531f5","5cca0d064ddbcbde07a28b74038b3f5c6b9cd41d328fd927b060da5d3c59da7b","aa29954e994b2c4566ff98b0ca2313aeffcf60924aa140053efd916a15127c6a","4e799b631914398921cd8edda132320100399522cc3c8809d7c4dad89a697c5b","29dd54502be10cc940895ade56490b55cbc3624e20b2badeb2dc1c743c641ee2","64a5448ea756e5b0f2470d16f68cb2f30d0f606c491c4e6e9f56334e9ee41190","6fd49eaee0916183cccea31985df1f27b81a89eca283e64376c10926436d4fd1","248b709d3e86c12a409badb69a4f1ad132438b9189e00096668d097d8082d089",{"version":"7be0ff644833a7105ad4afa61705b1853e4cb6e52d86e449a7d9797f97a57263","affectsGlobalScope":true},"77cd04a35d49e967b0d566d44452671650a14915b9d7176fa89c5fa87e0e46fd","94d55aa0d00aea91bcd576f60105b6f14d2bc405bd13bf0564cfa76d11b69d48","33076a79792c4eb785364eaf2ef832bfd5bdde5b1f39022af3de577ce06f213e","7ac4a9ffbac175a1f93858b6732cf2e66bd4675989d45790107a621fdbe30cca","465cc5c7e96c60fb0bbd3e1d6aee28f9eb286480a3b1a91d27dc3933fceeb722","c5142d610c6b422c39912b14200a9919410e98deb2553c420086fc43635d761c","9badb3e1a92ed9644a5ef6f372d56316fc0e52ca3fed4c957c26b6714a76f9f4","7f7193422705cc4e69d4f6781da20ba3780719fc13592f3c6777866945049a64","ca2aec1a5ca037aa66b6291dbcd2cda26dc3f94e9bff08ad34e8050012017b2e","df3a3f23c1125459b7dc5186d2c314d7da4c56cf17c0c637d6f59b06856d7cb2","f3334e3fe73231bcd013653fbc8cc0fe08ea690afc41ccc497bfde0c7bb0e580","3e4ef6a498457322df6a2b212c740f3a8e909237ce159e56e3b2364ad949f58b","df5c276a5ae10d32421d2b3924035a71e074031e0a8d4649881782f926dd55a1","01b002cf26575fa47c3a33b200fee5a8300916ad9b94705d3cbc4fdfb0e75a51","b2fbd3ecedbc082d84e5ce8b52f69ea1b2284a256f945657e25fec32931e3f02","6a71a31f883062f6d471db722889637d64f0386788a74dada2e4fcda70cfef97","4fd8fd85ee70843365438aaa5c2faeec87d3f9f186a505b5831f06f0a2c5b237","d4a08b08f4a2ecf0407180e99c8201d724c64ce7ce6137d9ed3b9b6f0f61662e","9d137a1f88aed0f776de971bc319754673efd28097b31006948d2ed54146db29","516e2ded162ddc84294deb452dda9982b2a938e6df2d7f838ae0fd8b4ed38159","bfe1b52cf71aea9bf8815810cc5d9490fa9617313e3d3c2ee3809a28b80d0bb4",{"version":"6839e1779e1f61e0ed62b1ca3ff7e74dc70479a5455077a38434d0e404103c28","affectsGlobalScope":true},"a4ce8cb63b46ff55db10c4bdd3007240a42ba71c03f159ea7e6517aef9a8013c","d721892ce2795a30a7985bb3c939747e68d6c6c8f8890eaf28bef85062f883b4","b79cf70334ad9ec3303785c6bc49f90881e4f4445e4bd13703e067a485fc83f5","8a237d3bc8b7d9d4aa2f03d3ada1c230493177df302d91f9da46d69b730f0d9c","b79cf70334ad9ec3303785c6bc49f90881e4f4445e4bd13703e067a485fc83f5","51daf50db51401ef7d6a4f8514ef74e510152c5d4789d8a152700e080538b82c","d9890ea8f1da57be3c2e2d3627b787cd4b4a463fd1747c823a0de24b240c8fe5","c8c1acc43535783084cfc0b43f7fc8cf91bccc854991f02d13de39ae0a49097d","a4d3961d2597be8c7e1d6416bf3aa8c4f7c4471fda38849d0adf3712cd7aa71b","882afda18dcf7b03b13d8c607347492052ebacf3e11c3d4d64b221e635683153","86d35dddd505aa1528dda2cd71f632e96ad45293e4a8f248a6a725aed08e4aec","1dd55f033c2cef7bd9d60472df068b2387205ae1cfdce77f07dbda6fae38cbe5","13d814efd808002fe2486fb15c9ff8f0a0e5a4552efa7455008ac3dce8294607","1e9704378dc57075033c705776320e7122c7c27853f503649d56f5582863ddfc","f9a9c9cc5c67d1be3179f1a6372e9b34d1f79c367e528566d846e9a77503d255","f265d21a700d82acb5b56b1b1f9bd7f53761c92038fe199d9c4ae1cca93754e2","17b984497972e22bcde81e57083484ddb1a9ecff70093669f92c09f19b762f2d","78647004e18e4c16b8a2e8345fca9267573d1c5a29e11ddfee71858fd077ef6e","0804044cd0488cb7212ddbc1d0f8e1a5bd32970335dbfc613052304a1b0318f9","b725acb041d2a18fde8f46c48a1408418489c4aa222f559b1ef47bf267cb4be0","85084ae98c1d319e38ef99b1216d3372a9afd7a368022c01c3351b339d52cb58","898ec2410fae172e0a9416448b0838bed286322a5c0c8959e8e39400cd4c5697","692345a43bac37c507fa7065c554258435ab821bbe4fb44b513a70063e932b45","cddd50d7bd9d7fddda91a576db9f61655d1a55e2d870f154485812f6e39d4c15","0539583b089247b73a21eb4a5f7e43208a129df6300d6b829dc1039b79b6c8c4","7aba43bc7764fcd02232382c780c3e99ef8dbfdac3c58605a0b3781fab3d8044","522edc786ed48304671b935cf7d3ed63acc6636ab9888c6e130b97a6aea92b46","1e1ed5600d80406a10428e349af8b6f09949cd5054043ea8588903e8f9e8d705","de21641eb8edcbc08dd0db4ee70eea907cd07fe72267340b5571c92647f10a77","a53039ba614075aeb702271701981babbd0d4f4dcbf319ddee4c08fb8196cc7a","6758f7b72fa4d38f4f4b865516d3d031795c947a45cc24f2cfba43c91446d678","da679a5bb46df3c6d84f637f09e6689d6c2d07e907ea16adc161e4529a4954d6","dc1a664c33f6ddd2791569999db2b3a476e52c5eeb5474768ffa542b136d78c0","bdf7abbd7df4f29b3e0728684c790e80590b69d92ed8d3bf8e66d4bd713941fe","8decb32fc5d44b403b46c3bb4741188df4fbc3c66d6c65669000c5c9cd506523","4beaf337ee755b8c6115ff8a17e22ceab986b588722a52c776b8834af64e0f38","c26dd198f2793bbdcc55103823a2767d6223a7fdb92486c18b86deaf63208354","93551b302a808f226f0846ad8012354f2d53d6dedc33b540d6ca69836781a574","f0ff1c010d5046af3874d3b4df746c6f3921e4b3fbdec61dee0792fc0cb36ccd","778b684ebc6b006fcffeab77d25b34bf6e400100e0ec0c76056e165c6399ab05","463851fa993af55fb0296e0d6afa27407ef91bf6917098dd665aba1200d250c7","67c6de7a9c490bda48eb401bea93904b6bbfc60e47427e887e6a3da6195540be","be8f369f8d7e887eab87a3e4e41f1afcf61bf06056801383152aa83bda1f6a72","352bfb5f3a9d8a9c2464ad2dc0b2dc56a8212650a541fb550739c286dd341de1","a5aae636d9afdacb22d98e4242487436d8296e5a345348325ccc68481fe1b690","d007c769e33e72e51286b816d82cd7c3a280cba714e7f958691155068bd7150a","764150c107451d2fd5b6de305cff0a9dcecf799e08e6f14b5a6748724db46d8a","b04cf223c338c09285010f5308b980ee6d8bfa203824ed2537516f15e92e8c43","4b387f208d1e468193a45a51005b1ed5b666010fc22a15dc1baf4234078b636e","70441eda704feffd132be0c1541f2c7f6bbaafce25cb9b54b181e26af3068e79","d1addb12403afea87a1603121396261a45190886c486c88e1a5d456be17c2049","15d43873064dc8787ca1e4c39149be59183c404d48a8cd5a0ea019bb5fdf8d58","ea4b5d319625203a5a96897b057fddf6017d0f9a902c16060466fe69cc007243","3d06897c536b4aad2b2b015d529270439f2cadd89ca2ff7bd8898ee84898dd88","ab01d8fcb89fae8eda22075153053fefac69f7d9571a389632099e7a53f1922d","bac0ec1f4c61abc7c54ccebb0f739acb0cdbc22b1b19c91854dc142019492961","566b0806f9016fa067b7fecf3951fcc295c30127e5141223393bde16ad04aa4a","8e801abfeda45b1b93e599750a0a8d25074d30d4cc01e3563e56c0ff70edeb68","902997f91b09620835afd88e292eb217fbd55d01706b82b9a014ff408f357559","a3727a926e697919fb59407938bd8573964b3bf543413b685996a47df5645863","83f36c0792d352f641a213ee547d21ea02084a148355aa26b6ef82c4f61c1280","dce7d69c17a438554c11bbf930dec2bee5b62184c0494d74da336daee088ab69","1e8f2cda9735002728017933c54ccea7ebee94b9c68a59a4aac1c9a58aa7da7d","e327a2b222cf9e5c93d7c1ed6468ece2e7b9d738e5da04897f1a99f49d42cca1","65165246b59654ec4e1501dd87927a0ef95d57359709e00e95d1154ad8443bc7","f1bacba19e2fa2eb26c499e36b5ab93d6764f2dba44be3816f12d2bc9ac9a35b","bce38da5fd851520d0cb4d1e6c3c04968cec2faa674ed321c118e97e59872edc","3398f46037f21fb6c33560ceca257259bd6d2ea03737179b61ea9e17cbe07455","6e14fc6c27cb2cb203fe1727bb3a923588f0be8c2604673ad9f879182548daca","12b9bcf8395d33837f301a8e6d545a24dfff80db9e32f8e8e6cf4b11671bb442","04295cc38689e32a4ea194c954ea6604e6afb6f1c102104f74737cb8cf744422","7418f434c136734b23f634e711cf44613ca4c74e63a5ae7429acaee46c7024c8","27d40290b7caba1c04468f2b53cf7112f247f8acdd7c20589cd7decf9f762ad0","2608b8b83639baf3f07316df29202eead703102f1a7e32f74a1b18cf1eee54b5","c93657567a39bd589effe89e863aaadbc339675fca6805ae4d97eafbcce0a05d","909d5db5b3b19f03dfb4a8f1d00cf41d2f679857c28775faf1f10794cbbe9db9","e4504bffce13574bab83ab900b843590d85a0fd38faab7eff83d84ec55de4aff","8ab707f3c833fc1e8a51106b8746c8bc0ce125083ea6200ad881625ae35ce11e","730ddc2386276ac66312edbcc60853fedbb1608a99cb0b1ff82ebf26911dba1f","c1b3fa201aa037110c43c05ea97800eb66fea3f2ecc5f07c6fd47f2b6b5b21d2","636b44188dc6eb326fd566085e6c1c6035b71f839d62c343c299a35888c6f0a9","3b2105bf9823b53c269cabb38011c5a71360c8daabc618fec03102c9514d230c","f96e63eb56e736304c3aef6c745b9fe93db235ddd1fec10b45319c479de1a432","acb4f3cee79f38ceba975e7ee3114eb5cd96ccc02742b0a4c7478b4619f87cd6","cfc85d17c1493b6217bad9052a8edc332d1fde81a919228edab33c14aa762939","eebda441c4486c26de7a8a7343ebbc361d2b0109abff34c2471e45e34a93020a","727b4b8eb62dd98fa4e3a0937172c1a0041eb715b9071c3de96dad597deddcab","708e2a347a1b9868ccdb48f3e43647c6eccec47b8591b220afcafc9e7eeb3784","6bb598e2d45a170f302f113a5b68e518c8d7661ae3b59baf076be9120afa4813","c28e058db8fed2c81d324546f53d2a7aaefff380cbe70f924276dbad89acd7d1","ebe8f07bb402102c5a764b0f8e34bd92d6f50bd7ac61a2452e76b80e02f9bb4b","826a98cb79deab45ccc4e5a8b90fa64510b2169781a7cbb83c4a0a8867f4cc58","618189f94a473b7fdc5cb5ba8b94d146a0d58834cd77cd24d56995f41643ccd5","5baadaca408128671536b3cb77fea44330e169ada70ce50b902c8d992fe64cf1","a4cc469f3561ea3edc57e091f4c9dcaf7485a70d3836be23a6945db46f0acd0b","91b0965538a5eaafa8c09cf9f62b46d6125aa1b3c0e0629dce871f5f41413f90","2978e33a00b4b5fb98337c5e473ab7337030b2f69d1480eccef0290814af0d51","ba71e9777cb5460e3278f0934fd6354041cb25853feca542312807ce1f18e611","608dbaf8c8bb64f4024013e73d7107c16dba4664999a8c6e58f3e71545e48f66","61937cefd7f4d6fa76013d33d5a3c5f9b0fc382e90da34790764a0d17d6277fb","af7db74826f455bfef6a55a188eb6659fd85fdc16f720a89a515c48724ee4c42","d6ce98a960f1b99a72de771fb0ba773cb202c656b8483f22d47d01d68f59ea86","2a47dc4a362214f31689870f809c7d62024afb4297a37b22cb86f679c4d04088","42d907ac511459d7c4828ee4f3f81cc331a08dc98d7b3cb98e3ff5797c095d2e","63d010bff70619e0cdf7900e954a7e188d3175461182f887b869c312a77ecfbd","1452816d619e636de512ca98546aafb9a48382d570af1473f0432a9178c4b1ff","9e3e3932fe16b9288ec8c948048aef4edf1295b09a5412630d63f4a42265370e","8bdba132259883bac06056f7bacd29a4dcf07e3f14ce89edb022fe9b78dcf9b3","5a5406107d9949d83e1225273bcee1f559bb5588942907d923165d83251a0e37","ca0ca4ca5ad4772161ee2a99741d616fea780d777549ba9f05f4a24493ab44e1","e7ee7be996db0d7cce41a85e4cae3a5fc86cf26501ad94e0a20f8b6c1c55b2d4","72263ae386d6a49392a03bde2f88660625da1eca5df8d95120d8ccf507483d20","b498375d015f01585269588b6221008aae6f0c0dc53ead8796ace64bdfcf62ea","c37aa3657fa4d1e7d22565ae609b1370c6b92bafb8c92b914403d45f0e610ddc","34534c0ead52cc753bdfdd486430ef67f615ace54a4c0e5a3652b4116af84d6d","a1079b54643537f75fa4f4bb963d787a302bddbe3a6001c4b0a524b746e6a9de","7fc9b18b6aafa8a1fc1441670c6c9da63e3d7942c7f451300c48bafd988545e9","48aac3e1b89bed00177a5b21e70737d15dc55d3170f996accaf247ff104d7f67","6334bbd2020b6c4a3788d8572c16808f2c5bd25e2a2a6bfbe66d12cb57d930ca","2b6c4df33927646821cf29b5226c1f4fe508b3bc2dfd8b44990552b4b80bb963","0f45bc35aa17950b1198b3db89c3103736a925f3977086cfce73eca8cb725563","343207da98112e392e81971c3941a051ac4fb6659436efc44bfa7b3a353d75f4","573f44d54725af32c1c805f969cae9e59f525df24403861a54daffe1f182ff35","5d90c7c541342fd6e3638425729a999e8dc0b3977a761ac6f58b1f46c060545b","3d271456988cb89ce51fc89e926bff197c426f97e8b7fd1bd8f6479eda4b2db1","563c1fcde02255200d959c93e6b2756d4a662ffa9583af66fc98681a83ac2cbf","e6ea9da1ac670e1821f071e516717f29d87aeb19f87f695ed9b6496a91d8957b","8cf7aaafe018cce608f7a802f1b83b87478292d7b33e5098ed36280a257e3c83","5ab8bd6d0955bbdf528e33ca5e99f94428ef2bd4a9794e172eb4668062025b16","e883f19829d5762f36a8b2168a46efd2c880f1d397c4d5789200ff7d54ab88d0","48270f2ef65915134e0459c517a3271486a99b451209f7a4c16c62f52c9b6b1b","98f40132aab59240e3daa408377a6f779aa81f4340f4451959cd2eba3750e456","b25c5f2970d06c729f464c0aeaa64b1a5b5f1355aa93554bb5f9c199b8624b1e","3078727fed04c123165efdb42deeac5dceaa42ac62216ca13cb809dc7e13415f","b4f76b34637d79cefad486127115fed843762c69512d7101b7096e1293699679","8670878e030b88a469db43b36ef90ffa208e74faf249416feeb8fbb6b646b4a9","3051751533eee92572241b3cef28333212401408c4e7aa21718714b793c0f4ed","3b043cf9a81854a72963fdb57d1884fc4da1cf5be69b5e0a4c5b751e58cb6d88","069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9","c7bdc99177a2a94d25fb13722adaaf5b3291bf70b4d1b27584ba189dd3889ba3",{"version":"41a44aa1929121f5c3124733b5ca9c59717a092b899b3771cc983939ae99eeb2","affectsGlobalScope":true},"e23424b97418eca3226fd24de079f1203eb70360622e4e093af2aff14d4be6ec","a473cf45c3d9809518f8af913312139d9f4db6887dc554e0d06d0f4e52722e6b","297f4ea4e4a5161a6627bc65c83040a91e0792e92bdc4764e24650831cc9867c","04eaa93bd75f937f9184dcb95a7983800c5770cf8ddd8ac0f3734dc02f5b20ef",{"version":"c8155caf28fc7b0a564156a5df28ad8a844a3bd32d331d148d8f3ce88025c870","affectsGlobalScope":true},"45ac321f2e15d268fd74a90ddaa6467dcaaff2c5b13f95b4b85831520fb7a491","5375c30f03b01e610f7370e40ccf3ade1d96de99e9a9a9a0cb0f96fc98aefb71","797a9d37eb1f76143311c3f0a186ce5c0d8735e94c0ca08ff8712a876c9b4f9e","5cc0a492da3602510b8f5ed1852b1e0390002780d8758fbc8c0cd023ca7085f8","ec7dafafe751a5121f8f1c80201ebe7e7238c47e6329280a73c4d1ca4bb7fa28","64debeb10e4b7ae4ec9e89bfb4e04c6101ab98c3cc806d14e5488607cfec2753",{"version":"2866a528b2708aa272ec3eaafd3c980abb23aec1ef831cfc5eb2186b98c37ce5","affectsGlobalScope":true},{"version":"a5782d6cea81fe43d2db7ed41e789458c933ab3ab60602f7b5b14c4da3370496","affectsGlobalScope":true},"bd30510d2d803f453e10604277088a46327f5f0b6aa2b957306c458d7428f8f7","214cf066391a5a651001ebcee2c21ee4d45e8124579d271c59d7c2343bb9d29a","d28c8598067b15c7643558b936e68caefe5d171d0e629e19e2aa6ca870bb4b00","15543feaed3ce6b96bc0508f3e3f8b8f729fae62d0609bddacd483145e71c594","13257840c0850d4ebd7c2b17604a9e006f752de76c2400ebc752bc465c330452","42176966283d3835c34278b9b5c0f470d484c0c0c6a55c20a2c916a1ce69b6e8","0cff7901aedfe78e314f7d44088f07e2afa1b6e4f0473a4169b8456ca2fb245d","6ea59cf5479f3fad5db2caa4513d8d06d6cfee8d8df69e7a040c9b5b7f25f39c","69640cc2e76dad52daeb9914e6b70c5c9a5591a3a65190a2d3ea432cf0015e16","3ec1e108d587a5661ec790db607f482605ba9f3830e118ce578e3ffa3c42e22b","2e37dc691cb5511f49be0f8ba0df3259aa0b453b0098b436e478e60c06567ae0",{"version":"dd3f82b87fa256e7c5a66c9b8ddcc9b53275b3531c10a769722c5103a30a97e9","affectsGlobalScope":true},"7f77304372efe3c9967e5f9ea2061f1b4bf41dc3cda3c83cdd676f2e5af6b7e6","992c6f6be16c0a1d2eec13ece33adeea2c747ba27fcd078353a8f4bb5b4fea58","f6ea38ddcee37ec1bebde700e3a4d85040bf2d239600c877ecefd9b265066b24","a6b0abdb67d63ebe964ba5fee31bc3daf10c12eecd46b24d778426010c04c67e","1a63584d6605d1d5b5fd5c4fa2dc2fa5a2134aa775fcfd95fbdb705971c9ca29","fd2298fba0640e7295e7bd545e2dfbfcccbb00c27019e501c87965a02bbdebf6","4fd3c4debadce3e9ab9dec3eb45f7f5e2e3d4ad65cf975a6d938d883cfb25a50","f49709e8c096b05aca0674d39f471aa05261de7c756df9abdf4a53ed0fa98901","baca27d1de400e027cdc70217ca73e414002baef5798aa24a921097c20066fa1","75b9229192e6da08f6e06daa2b9243c251e14f179dfcc9cc9bf02dd70eabeb48","7df562288f949945cf69c21cd912100c2afedeeb7cdb219085f7f4b46cb7dde4","9d16690485ff1eb4f6fc57aebe237728fd8e03130c460919da3a35f4d9bd97f5","dcc6910d95a3625fd2b0487fda055988e46ab46c357a1b3618c27b4a8dd739c9","f4149f1aa299474c7040a35fe8f8ac2ad078cc1b190415adc1fff3ed52d490ea","3730099ed008776216268a97771de31753ef71e0a7d0ec650f588cba2a06ce44","8d649dbc429d7139a1d9a14ea2bf8af1dc089e0a879447539587463d4b6c248c","60c9e27816ec8ac8df7240598bb086e95b47edfb454c5cbf4003c812e0ed6e39","0431a29ecc5bb615e6d6d1709941bdf16e708f760099d017f5408a1e68e2d248","4926467de88a92a4fc9971d8c6f21b91eca1c0e7fc2a46cc4638ab9440c73875",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"4e0a4d84b15692ea8669fe4f3d05a4f204567906b1347da7a58b75f45bae48d3","1288f8ee930c03fd535824f8fe852375ec7181d73e4c1f445b82b414c95c5bbe","b3593bd345ebea5e4d0a894c03251a3774b34df3d6db57075c18e089a599ba76","e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b","30368d3789ec56ef3006c5f2115bd00faa21471aed6cbe6fec54a5683e5497ed","104c67f0da1bdf0d94865419247e20eded83ce7f9911a1aa75fc675c077ca66e","cc0d0b339f31ce0ab3b7a5b714d8e578ce698f1e13d7f8c60bfb766baeb1d35c","fae40de985385b22f775c1bea02959b251abddaa1cb168ee6c4f00d79ccfd8ef","1748c03e7a7d118f7f6648c709507971eb0d416f489958492c5ae625de445184","c269a12e83c5ffc0332b1f245008e4e621e483dd2f8b9b77fc6a664fcde4969d","72dff7d18139f0d579db7e4b904fb39f5740423f656edc1f84e4baa936b1fac0","febcc45f9517827496659c229a21b058831eef4cf9b71b77fd9a364ae12c3b9e","f2a60d253f7206372203b736144906bf135762100a2b3d1b415776ebf6575d07",{"version":"fa4546e9b67dbdcc0fa8d8653c6b89d49b9e7b637b3340bea78107ca161595fa","affectsGlobalScope":true},"9dffc5c0859e5aeba5e40b079d2f5e8047bdff91d0b3477d77b6fb66ee76c99d",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"ee7d8894904b465b072be0d2e4b45cf6b887cdba16a467645c4e200982ece7ea","f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","044851e9685b94a0c56bfd7f499b8be4c281e7dc024d1a715a5f9a4598bbf337","1f68ab0e055994eb337b67aa87d2a15e0200951e9664959b3866ee6f6b11a0fe","d3f2d715f57df3f04bf7b16dde01dec10366f64fce44503c92b8f78f614c1769","b78cd10245a90e27e62d0558564f5d9a16576294eee724a59ae21b91f9269e4a","b94dbee2ff37d83eb578d3154289afa878f749101bd124172beece3d80a68178","2f5747b1508ccf83fad0c251ba1e5da2f5a30b78b09ffa1cfaf633045160afed",{"version":"a5562ab0448c81180ef220ff104441a4d67187a2259e6008397e7531a821f0e7","affectsGlobalScope":true},"b71c603a539078a5e3a039b20f2b0a0d1708967530cf97dec8850a9ca45baa2b","d2a38ad7bb4676e7fd5d058a08105d81ac232c363ee56be0b401fc277d50dbb1","2ac2e08e0d0ed266849cb9da521c3be170a8bc111d25eeeb668c7dbf0ac4171a","34118be360cdd3381bbebbfd4b093c394460c8fc5df40688d58f45d86ab1448b","b94dbee2ff37d83eb578d3154289afa878f749101bd124172beece3d80a68178","5c45abf1e13e4463eacfd5dedda06855da8748a6a6cb3334f582b52e219acc04","19f1159e1fa24300e2eaf72cb53f0815f5879ec53cad3c606802f0c55f0917e9","6435575b4feae200831d37df9f871de6e695c64d3148611fe1b4d714d648ea24","8c2e6e491e1a08855b8bf70820184ff66ae0d43f7cf0311fc680e6d860af211c","95c22bc19835e28e2e524a4bb8898eb5f2107b640d7279a6d3aade261916bbf2","725b884357ba84171341a8e4cc08edf11417854fd069842ca6d22afb2e340e45","afe73051ff6a03a9565cbd8ebb0e956ee3df5e913ad5c1ded64218aabfa3dcb5","ee65fe452abe1309389c5f50710f24114e08a302d40708101c4aa950a2a7d044","de18acda71730bac52f4b256ce7511bb56cc21f6f114c59c46782eff2f632857","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","905c3e8f7ddaa6c391b60c05b2f4c3931d7127ad717a080359db3df510b7bdab","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","561eca7a381b96d6ccac6e4061e6d2ae53f5bc44203f3fd9f5b26864c32ae6e9","62ea38627e3ebab429f7616812a9394d327c2bc271003dfba985de9b4137369f","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"516a426e3960379f310107635b8f3a7e8c307c6c665080b128039d9299ec4087","affectsGlobalScope":true},"f30350dd37c3f3c11f47adb7ce4e7a4928f578f4ae8a3197e0c8a0811da46b92","948a49768a6f616ae03f7ce6ad074a0bf0cf1d139409041e0d441d037c49aabd","58729ebab0d9f2f97c1f976204c3541a1ea865811ecbeac421fbd887eb3f82e2",{"version":"8464afde15907211a1cd86c498b8c3e2ae016e6f4c6632f1a13ce7cb84804c05","affectsGlobalScope":true},{"version":"743fdf92d466daa9fe8d8719aff5c5f2c4aa7f3280e7e0b2f25aa887f45c9868","affectsGlobalScope":true},"626520302b2c8880e9eaa3a6a12022cc8b577a32e4d903aef85e3dd275063da4","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","54060f716fdbd7ac1008ac85256a400722332917837d1c0d6fdb7c9e8fa8b1cb","b8442e9db28157344d1bc5d8a5a256f1692de213f0c0ddeb84359834015a008c","458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","da2b6356b84a40111aaecb18304ea4e4fcb43d70efb1c13ca7d7a906445ee0d3","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","6f294731b495c65ecf46a5694f0082954b961cf05463bea823f8014098eaffa0","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","68a0d0c508e1b6d8d23a519a8a0a3303dc5baa4849ca049f21e5bad41945e3fc","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","b03afe4bec768ae333582915146f48b161e567a81b5ebc31c4d78af089770ac9","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9","4f6a12044ee6f458db11964153830abbc499e73d065c51c329ec97407f4b13dd","a49c26a7bad73494e987a795709e298223800407fa4e5c40c28539f752eb32ad","e86cd9c6c99834f8591ed72f08e4ca31570296f081206d0168f58f032cec5b58","2a856615ecd0af49997dfbb38cf94fd787d529062a2e96ce26b84432e61d785d","ab438f22fa7748112b6b9744b992ab6049d2fa6f46f011c145ff9c90e533856a","45b6a651b5e502cdfa93dc2f23779752def4ada323ebcfc34e4a4d22e9589971","54f1d17f9f484650cd49b53d9a6ba75593955a9ead093628888a37407b6ecd51","169cc96316cacf8b489aaab4ac6bcef7b33e8779a8902bce57c737b4aa372d16","e437d83044ba17246a861aa9691aa14223ff4a9d6f338ab1269c41c758586a88","dcefc29f25daf56cd69c0a3d3d19f51938efe1e6a15391950be43a76222ee3ed","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","4340936f4e937c452ae783514e7c7bbb7fc06d0c97993ff4865370d0962bb9cf","5fc6e6b8232254d80ed6b802372dba7f426f0a596f5fe26b7773acfdc8232926","c9ad058b2cc9ce6dc2ed92960d6d009e8c04bef46d3f5312283debca6869f613","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","b91aaad5f9c3f5dca5e8245d5f6464bdc63a77ba4453bb3e2d0c93959cddb13c","98437d5a640b67c41534f0de2dcb64c75433dcdff54ff8f8432e613663619a2e","5aca5a3bc07d2e16b6824a76c30378d6fb1b92e915d854315e1d1bd2d00974c9","199f9ead0daf25ae4c5632e3d1f42570af59685294a38123eef457407e13f365","3169db033165677f1d414baf0c82ba27801089ca1b66d97af464512a47df31b5","cf3d384d082b933d987c4e2fe7bfb8710adfd9dc8155190056ed6695a25a559e","9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","c2576a4083232b0e2d9bd06875dd43d371dee2e090325a9eac0133fd5650c1cb","4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","f40ac11d8859092d20f953aae14ba967282c3bb056431a37fced1866ec7a2681","cc11e9e79d4746cc59e0e17473a59d6f104692fd0eeea1bdb2e206eabed83b03","b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","7d8ddf0f021c53099e34ee831a06c394d50371816caa98684812f089b4c6b3d4","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","1f4ae755492a669b317903a6b1664cb7af3fe0c3d1eec6447f4e95a80616d15a","4e22b9ea2805fec5f3c120146a690e5604a3117dbdee648c85393f58422eec16","1320ee42b30487cceb6da9f230354fc34826111f76bf12f0ad76c717c12625b0","7d2b7fe4adb76d8253f20e4dbdce044f1cdfab4902ec33c3604585f553883f7d","a937bfb110176509a5fd6308b823e795525e7af8a12f1833f6567da6953ed035","6f56706c6828d0299f46f8b1a79ecae0757b91b48e63baf6f0c5292d02037129","2667c74200427135a2ff0a5f4f7cb6044bf483318a5c30e5d9eccdbfe372a529","24112d1a55250f4da7f9edb9dabeac8e3badebdf4a55b421fc7b8ca5ccc03133","77c5c7f8578d139c74102a29384f5f4f0792a12d819ddcdcaf8307185ff2d45d","3bdd93ec24853e61bfa4c63ebaa425ff3e474156e87a47d90122e1d8cc717c1f","1a81627b04dd2feab19e26d3df04e79f50d5dae42b9b5f9181d23dc820c9f048","b2d70a269840a9528db473ac7565442434333a05c1f66801a7a672e82beb903e"],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"jsx":2,"module":1,"noEmitOnError":false,"outDir":"./lib","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"target":2},"fileIdsList":[[242],[50],[38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71],[48],[48,49],[48,50],[76],[76,78],[76,77],[72,75],[73,74],[72],[86,87,88,89,90,91,92,93,94,95,96],[88],[72,88],[84,88],[79,83,88],[72,79,83,84,85,86,87],[111],[37,110],[243,244,245,247,248],[244],[242,246],[267,301,302],[267,301],[254,301],[313,315],[312,313,314],[264,267,301,318,319,320],[303,319,321,325],[265,301],[264,301,331],[37],[335],[336],[345,346,348],[345],[342,344],[338,339],[338,339,340,341],[343],[354,356,357,358,359,360,361,362,363,364,365,366],[354,355,357,358,359,360,361,362,363,364,365,366],[355,356,357,358,359,360,361,362,363,364,365,366],[354,355,356,358,359,360,361,362,363,364,365,366],[354,355,356,357,359,360,361,362,363,364,365,366],[354,355,356,357,358,360,361,362,363,364,365,366],[354,355,356,357,358,359,361,362,363,364,365,366],[354,355,356,357,358,359,360,362,363,364,365,366],[354,355,356,357,358,359,360,361,363,364,365,366],[354,355,356,357,358,359,360,361,362,364,365,366],[354,355,356,357,358,359,360,361,362,363,365,366],[354,355,356,357,358,359,360,361,362,363,364,366],[354,355,356,357,358,359,360,361,362,363,364,365],[330],[330,368,369],[371,372],[324],[323],[281,301],[267,289,301,376,377],[299],[298,299],[264,265,272,281],[254,264,272],[290],[258,265,273],[281,286],[261,264,272],[262],[261],[264],[264,266,281,289],[264,265],[272,281,289],[264,265,267,272,281,286,289],[267,286,289],[300],[289],[261,264,281],[274],[252],[288],[279,290,293],[264,282],[281],[284],[272],[250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297],[278],[291],[258,264,266,275,281,289,293],[301],[33,34,35,36],[386,425],[386,410,425],[425],[386],[386,411,425],[386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424],[411,425],[265,281,301,317],[267,301,322,324],[34,37,109],[301,429,431],[286,301],[264,267,269,281,286,289,295,301],[436],[264,281,301],[267,281,301],[129,130,136,137],[138,202,203],[129,136,138],[130,138],[129,131,132,133,136,138,141,142],[132,143,157,158],[129,136,141,142,143],[129,131,136,138,140,141,142],[129,130,141,142,143],[128,144,149,156,159,160,201,204,226],[129],[130,134,135],[130,134,135,136,137,139,150,151,152,153,154,155],[130,135,136],[130],[129,130,135,136,138,151],[136],[130,136,137],[134,136],[143,157],[129,131,132,133,136,141],[129,136,139,142],[132,140,141,142,145,146,147,148],[142],[129,131,136,138,140,142],[138,141],[129,136,140,141,142,154],[138],[129,136,142],[130,136,141,152],[141,205],[138,142],[136,141],[141],[129,139],[129,136],[136,141,142],[161,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225],[141,142],[131,136],[129,131,136,142],[129,131,136],[129,136,138,140,141,142,154,161],[162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200],[154,162],[162],[129,136,138,141,161,162],[80,81,82],[79,80],[72,79],[37,72,79,84,85,97,99,100,101,102,103,104,105,106,107],[37,84,97,99],[37,72,97],[37,99],[37,83,97],[37,97],[37,97,99],[99],[37,97,98],[37,83,99],[347],[429],[116,122,123,124,125,126,228,229],[113],[113,127,227],[37,108,111,112],[37,108,110,113,114,116,117,118,119,120,241],[37,108,113,117,118,119,120,121,230,231,232,233,234,235,239,241],[110],[37,108,120,236,237,238],[37,108]],"referencedMap":[[246,1],[51,2],[52,2],[54,2],[55,2],[56,2],[57,2],[58,2],[59,2],[60,2],[61,2],[62,2],[72,3],[70,4],[69,4],[50,5],[49,6],[67,5],[77,7],[79,8],[78,9],[76,10],[75,11],[74,12],[85,12],[84,12],[97,13],[96,14],[90,15],[91,14],[86,14],[92,16],[89,17],[95,14],[93,15],[94,14],[88,18],[87,15],[114,19],[231,19],[232,19],[234,19],[233,19],[236,19],[235,19],[237,19],[111,20],[249,21],[245,22],[243,1],[247,23],[248,1],[303,24],[302,25],[306,26],[316,27],[315,28],[321,29],[327,30],[329,31],[332,32],[333,31],[109,33],[336,34],[337,35],[349,36],[350,37],[345,38],[340,39],[342,40],[341,39],[344,41],[355,42],[356,43],[354,44],[357,45],[358,46],[359,47],[360,48],[361,49],[362,50],[363,51],[364,52],[365,53],[366,54],[367,55],[370,56],[372,57],[323,58],[324,59],[375,60],[378,61],[250,62],[300,63],[254,64],[255,65],[256,66],[257,67],[258,68],[259,69],[261,70],[262,71],[263,72],[264,72],[265,73],[266,74],[267,75],[268,76],[269,77],[301,78],[270,72],[271,79],[272,80],[274,81],[275,82],[276,83],[279,72],[280,84],[281,85],[282,86],[285,87],[286,88],[298,89],[288,88],[289,90],[290,91],[292,86],[294,92],[295,86],[346,93],[37,94],[410,95],[411,96],[386,97],[389,97],[408,95],[409,95],[399,95],[398,98],[396,95],[391,95],[404,95],[402,95],[406,95],[390,95],[403,95],[407,95],[392,95],[393,95],[405,95],[387,95],[394,95],[395,95],[397,95],[401,95],[412,99],[400,95],[388,95],[425,100],[419,99],[421,101],[420,99],[413,99],[414,99],[416,99],[418,99],[422,101],[423,101],[415,101],[417,101],[318,102],[325,103],[110,104],[432,105],[433,106],[435,107],[437,108],[438,109],[376,110],[138,111],[204,112],[203,113],[202,114],[143,115],[159,116],[157,117],[158,118],[144,119],[227,120],[132,121],[136,122],[156,123],[151,124],[137,125],[152,126],[155,127],[150,128],[153,127],[154,129],[160,130],[142,131],[140,132],[149,133],[146,134],[145,134],[141,135],[147,136],[161,137],[223,138],[217,139],[210,140],[209,141],[218,142],[219,127],[211,143],[224,144],[205,145],[206,146],[207,147],[226,148],[208,141],[212,144],[213,149],[220,150],[221,125],[222,149],[214,147],[225,127],[215,151],[216,152],[162,153],[201,154],[165,155],[166,155],[167,155],[168,155],[169,155],[170,155],[171,155],[172,155],[191,155],[173,155],[174,155],[175,155],[176,155],[177,155],[178,155],[198,155],[179,155],[180,155],[181,155],[196,155],[182,155],[197,155],[183,155],[194,155],[195,155],[184,155],[185,155],[186,155],[192,155],[193,155],[187,155],[188,155],[189,155],[190,155],[199,155],[200,155],[164,156],[163,157],[83,158],[81,159],[80,160],[238,33],[108,161],[107,162],[106,163],[100,164],[105,165],[104,166],[102,167],[103,163],[101,168],[99,169],[98,170],[348,171],[431,172],[230,173],[116,174],[122,174],[228,175],[123,174],[229,33],[125,174],[115,176],[112,33],[113,176],[121,177],[240,178],[120,179],[239,180],[119,174],[118,181]],"exportedModulesMap":[[246,1],[51,2],[52,2],[54,2],[55,2],[56,2],[57,2],[58,2],[59,2],[60,2],[61,2],[62,2],[72,3],[70,4],[69,4],[50,5],[49,6],[67,5],[77,7],[79,8],[78,9],[76,10],[75,11],[74,12],[85,12],[84,12],[97,13],[96,14],[90,15],[91,14],[86,14],[92,16],[89,17],[95,14],[93,15],[94,14],[88,18],[87,15],[114,19],[231,19],[232,19],[234,19],[233,19],[236,19],[235,19],[237,19],[111,20],[249,21],[245,22],[243,1],[247,23],[248,1],[303,24],[302,25],[306,26],[316,27],[315,28],[321,29],[327,30],[329,31],[332,32],[333,31],[109,33],[336,34],[337,35],[349,36],[350,37],[345,38],[340,39],[342,40],[341,39],[344,41],[355,42],[356,43],[354,44],[357,45],[358,46],[359,47],[360,48],[361,49],[362,50],[363,51],[364,52],[365,53],[366,54],[367,55],[370,56],[372,57],[323,58],[324,59],[375,60],[378,61],[250,62],[300,63],[254,64],[255,65],[256,66],[257,67],[258,68],[259,69],[261,70],[262,71],[263,72],[264,72],[265,73],[266,74],[267,75],[268,76],[269,77],[301,78],[270,72],[271,79],[272,80],[274,81],[275,82],[276,83],[279,72],[280,84],[281,85],[282,86],[285,87],[286,88],[298,89],[288,88],[289,90],[290,91],[292,86],[294,92],[295,86],[346,93],[37,94],[410,95],[411,96],[386,97],[389,97],[408,95],[409,95],[399,95],[398,98],[396,95],[391,95],[404,95],[402,95],[406,95],[390,95],[403,95],[407,95],[392,95],[393,95],[405,95],[387,95],[394,95],[395,95],[397,95],[401,95],[412,99],[400,95],[388,95],[425,100],[419,99],[421,101],[420,99],[413,99],[414,99],[416,99],[418,99],[422,101],[423,101],[415,101],[417,101],[318,102],[325,103],[110,104],[432,105],[433,106],[435,107],[437,108],[438,109],[376,110],[138,111],[204,112],[203,113],[202,114],[143,115],[159,116],[157,117],[158,118],[144,119],[227,120],[132,121],[136,122],[156,123],[151,124],[137,125],[152,126],[155,127],[150,128],[153,127],[154,129],[160,130],[142,131],[140,132],[149,133],[146,134],[145,134],[141,135],[147,136],[161,137],[223,138],[217,139],[210,140],[209,141],[218,142],[219,127],[211,143],[224,144],[205,145],[206,146],[207,147],[226,148],[208,141],[212,144],[213,149],[220,150],[221,125],[222,149],[214,147],[225,127],[215,151],[216,152],[162,153],[201,154],[165,155],[166,155],[167,155],[168,155],[169,155],[170,155],[171,155],[172,155],[191,155],[173,155],[174,155],[175,155],[176,155],[177,155],[178,155],[198,155],[179,155],[180,155],[181,155],[196,155],[182,155],[197,155],[183,155],[194,155],[195,155],[184,155],[185,155],[186,155],[192,155],[193,155],[187,155],[188,155],[189,155],[190,155],[199,155],[200,155],[164,156],[163,157],[83,158],[81,159],[80,160],[238,33],[108,161],[107,162],[106,163],[100,164],[105,165],[104,166],[102,167],[103,163],[101,168],[99,169],[98,170],[348,171],[431,172],[230,173],[116,174],[122,174],[228,175],[123,174],[229,33],[125,174],[115,176],[112,33],[113,176],[121,177],[240,178],[120,179],[239,180],[119,174],[118,181]],"semanticDiagnosticsPerFile":[246,242,127,71,38,39,40,41,42,43,44,45,46,47,51,52,53,54,55,56,57,58,59,60,61,62,63,64,66,72,48,68,70,69,50,49,67,65,77,79,78,76,73,75,74,85,84,97,96,90,91,86,92,89,95,93,94,88,87,114,231,232,234,233,236,235,237,111,249,245,244,243,247,248,303,304,302,305,306,307,308,309,310,311,316,312,315,313,321,319,327,326,328,117,329,330,332,333,109,334,322,335,336,337,349,350,345,338,340,342,341,339,344,343,314,351,352,353,355,356,354,357,358,359,360,361,362,363,364,365,366,367,368,370,372,371,373,323,324,331,374,375,377,378,299,250,252,300,253,254,255,256,257,258,259,260,261,262,263,264,265,266,251,296,267,268,269,301,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,298,288,289,290,291,292,293,297,294,295,379,380,369,346,381,35,382,320,33,37,383,384,385,36,410,411,386,389,408,409,399,398,396,391,404,402,406,390,403,407,392,393,405,387,394,395,397,401,412,400,388,425,424,419,421,420,413,414,416,418,422,423,415,417,318,317,325,426,427,110,428,429,430,432,433,434,435,436,437,438,34,376,138,204,203,202,143,159,157,158,144,227,129,131,132,133,136,139,156,134,151,137,152,155,150,153,130,135,154,160,148,142,140,149,146,145,141,147,161,223,217,210,209,218,219,211,224,205,206,207,226,208,212,213,220,221,222,214,225,215,216,162,201,165,166,167,168,169,170,171,172,191,173,174,175,176,177,178,198,179,180,181,196,182,197,183,194,195,184,185,186,192,193,187,188,189,190,199,200,164,163,128,83,81,82,80,238,108,107,106,100,105,104,102,103,101,99,98,348,347,7,8,12,11,3,13,14,15,16,17,18,19,20,4,5,24,21,22,23,25,26,27,6,28,29,30,31,2,1,32,10,9,431,230,116,122,228,123,124,229,125,126,115,112,113,241,121,240,120,239,119,118]},"version":"4.6.4"}