From 510c4816eaf3a560b0f7eaafa1334c258b7f15fd Mon Sep 17 00:00:00 2001 From: loboda4450 Date: Sat, 7 Jan 2023 14:29:32 +0100 Subject: [PATCH 01/19] publishing preparation --- api/__init__.py | 1 + setup.py | 21 ++++++++++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/api/__init__.py b/api/__init__.py index e69de29..7cc2721 100644 --- a/api/__init__.py +++ b/api/__init__.py @@ -0,0 +1 @@ +from .api import Inpost diff --git a/setup.py b/setup.py index a2bad49..72c83d9 100644 --- a/setup.py +++ b/setup.py @@ -1,12 +1,27 @@ from setuptools import find_packages, setup +VERSION = '0.0.1' +DESCRIPTION = 'Asynchronous InPost library' +LONG_DESCRIPTION = 'Asynchronous InPost package allowing you to manage existing incoming parcels without mobile app' + setup( name='inpost-python', packages=find_packages(), - version='0.0.1', - description='InPost API written in python', + version=VERSION, + description=DESCRIPTION, + long_description=LONG_DESCRIPTION, author='loboda4450, mrkazik99', author_email='loboda4450@gmail.com, mrkazik99@gmail.com', - + maintainer='loboda4450', + maintainer_email='loboda4450@gmail.com', + keywords=['inpost', 'carrier', 'lockers'], + url='https://github.com/IFOSSA/inpost-python', license='LGPL 2.1', + classifiers=[ + "Programming Language :: Python :: 3.10", + "Framework :: aiohttp", + "Intended Audience :: Developers", + "Operating System :: Microsoft :: Windows", + "Operating System :: POSIX :: Linux", + ] ) From 20c029f567402c1a7e313f453c7de9d8fb17f763 Mon Sep 17 00:00:00 2001 From: loboda4450 Date: Wed, 11 Jan 2023 17:17:58 +0100 Subject: [PATCH 02/19] cleanup, refactors, publish ready --- {api => inpost}/__init__.py | 0 {api => inpost}/api.py | 6 ++--- inpost/static/__init__.py | 12 ++++++++++ {static => inpost/static}/endpoints.py | 0 {static => inpost/static}/exceptions.py | 0 {static => inpost/static}/headers.py | 0 {static => inpost/static}/parcels.py | 2 +- {static => inpost/static}/statuses.py | 0 pyproject.toml | 29 +++++++++++++++++++++++++ requirements.txt | 2 +- setup.py | 27 ----------------------- static/__init__.py | 0 12 files changed, 45 insertions(+), 33 deletions(-) rename {api => inpost}/__init__.py (100%) rename {api => inpost}/api.py (98%) create mode 100644 inpost/static/__init__.py rename {static => inpost/static}/endpoints.py (100%) rename {static => inpost/static}/exceptions.py (100%) rename {static => inpost/static}/headers.py (100%) rename {static => inpost/static}/parcels.py (99%) rename {static => inpost/static}/statuses.py (100%) create mode 100644 pyproject.toml delete mode 100644 setup.py delete mode 100644 static/__init__.py diff --git a/api/__init__.py b/inpost/__init__.py similarity index 100% rename from api/__init__.py rename to inpost/__init__.py diff --git a/api/api.py b/inpost/api.py similarity index 98% rename from api/api.py rename to inpost/api.py index 28a513a..31d5827 100644 --- a/api/api.py +++ b/inpost/api.py @@ -1,9 +1,7 @@ from aiohttp import ClientSession +from typing import Optional, Union, List -from static.endpoints import * -from static.headers import appjson -from static.exceptions import * -from static.parcels import * +from inpost.static import * class Inpost: diff --git a/inpost/static/__init__.py b/inpost/static/__init__.py new file mode 100644 index 0000000..b0b2b5e --- /dev/null +++ b/inpost/static/__init__.py @@ -0,0 +1,12 @@ +from .parcels import Parcel, Receiver, Sender, PickupPoint, MultiCompartment, Operations, EventLog, SharedTo, \ + QRCode, CompartmentLocation, CompartmentProperties +from .headers import appjson +from .statuses import ParcelCarrierSize, ParcelLockerSize, ParcelDeliveryType, ParcelShipmentType, \ + ParcelAdditionalInsurance, ParcelType, ParcelOwnership, CompartmentExpectedStatus, CompartmentActualStatus, \ + ParcelServiceName, ParcelStatus +from .exceptions import UnidentifiedParcelError, ParcelTypeError, NotAuthenticatedError, ReAuthenticationError, \ + PhoneNumberError, SmsCodeConfirmationError, RefreshTokenException, UnidentifiedAPIError, UserLocationError, \ + UnidentifiedError +from .endpoints import login, send_sms_code, confirm_sms_code, refresh_token, parcels, parcel, collect, \ + compartment_open, compartment_status, terminate_collect_session, friends, shared, sent, returns, parcel_prices, \ + tickets, logout diff --git a/static/endpoints.py b/inpost/static/endpoints.py similarity index 100% rename from static/endpoints.py rename to inpost/static/endpoints.py diff --git a/static/exceptions.py b/inpost/static/exceptions.py similarity index 100% rename from static/exceptions.py rename to inpost/static/exceptions.py diff --git a/static/headers.py b/inpost/static/headers.py similarity index 100% rename from static/headers.py rename to inpost/static/headers.py diff --git a/static/parcels.py b/inpost/static/parcels.py similarity index 99% rename from static/parcels.py rename to inpost/static/parcels.py index bfe1bfd..e60a5d4 100644 --- a/static/parcels.py +++ b/inpost/static/parcels.py @@ -5,7 +5,7 @@ import qrcode from arrow import get, arrow -from static.statuses import * +from inpost.static.statuses import * class Parcel: diff --git a/static/statuses.py b/inpost/static/statuses.py similarity index 100% rename from static/statuses.py rename to inpost/static/statuses.py diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..c214308 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,29 @@ +[tool.poetry] +name = "inpost" +version = "0.0.1" +description = "Asynchronous InPost package allowing you to manage existing incoming parcels without mobile app" +authors = ["loboda4450 , MrKazik99 "] +maintainers = ["loboda4450 "] +repository = "https://github.com/IFOSSA/inpost-python" +readme = "README.md" +packages = [ + {include = 'inpost'}, + {include = 'inpost/static'} + ] +classifiers = [ + "Programming Language :: Python :: 3.10", + "Framework :: aiohttp", + "Intended Audience :: Developers", + "Operating System :: Microsoft :: Windows", + "Operating System :: POSIX :: Linux", + ] + +[tool.poetry.dependencies] +python = "^3.10" +aiohttp = "^3.8.1" +arrow = "^1.2.3" +qrcode = "^7.3.1" + +[build-system] +reqires = ["poetry-core"] +build-backend = "poetry.core.masonry.api" diff --git a/requirements.txt b/requirements.txt index 3e7d0aa..cb858ab 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ aiohttp~=3.8.1 -setuptools~=57.0.0 +setuptools==65.6.3 arrow~=1.2.3 PyYAML~=6.0 Telethon~=1.26.0 diff --git a/setup.py b/setup.py deleted file mode 100644 index 72c83d9..0000000 --- a/setup.py +++ /dev/null @@ -1,27 +0,0 @@ -from setuptools import find_packages, setup - -VERSION = '0.0.1' -DESCRIPTION = 'Asynchronous InPost library' -LONG_DESCRIPTION = 'Asynchronous InPost package allowing you to manage existing incoming parcels without mobile app' - -setup( - name='inpost-python', - packages=find_packages(), - version=VERSION, - description=DESCRIPTION, - long_description=LONG_DESCRIPTION, - author='loboda4450, mrkazik99', - author_email='loboda4450@gmail.com, mrkazik99@gmail.com', - maintainer='loboda4450', - maintainer_email='loboda4450@gmail.com', - keywords=['inpost', 'carrier', 'lockers'], - url='https://github.com/IFOSSA/inpost-python', - license='LGPL 2.1', - classifiers=[ - "Programming Language :: Python :: 3.10", - "Framework :: aiohttp", - "Intended Audience :: Developers", - "Operating System :: Microsoft :: Windows", - "Operating System :: POSIX :: Linux", - ] -) diff --git a/static/__init__.py b/static/__init__.py deleted file mode 100644 index e69de29..0000000 From b54d25e5a7ae498e3d4da527c4fdc4e58eef9357 Mon Sep 17 00:00:00 2001 From: loboda4450 Date: Wed, 11 Jan 2023 17:54:02 +0100 Subject: [PATCH 03/19] refactor to "Optional" and "Union" python 3.10 syntax --- inpost/api.py | 22 +++++++++++----------- inpost/static/parcels.py | 18 +++++++++--------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/inpost/api.py b/inpost/api.py index 31d5827..c425131 100644 --- a/inpost/api.py +++ b/inpost/api.py @@ -1,5 +1,5 @@ from aiohttp import ClientSession -from typing import Optional, Union, List +from typing import List from inpost.static import * @@ -16,7 +16,7 @@ def __init__(self, phone_number: str): def __repr__(self): return f'Username: {self.phone_number}\nToken: {self.auth_token}' - async def send_sms_code(self) -> Optional[bool]: + async def send_sms_code(self) -> bool | None: async with await self.sess.post(url=send_sms_code, json={ 'phoneNumber': f'{self.phone_number}' @@ -26,7 +26,7 @@ async def send_sms_code(self) -> Optional[bool]: else: raise PhoneNumberError(reason=phone) - async def confirm_sms_code(self, sms_code: str) -> Optional[bool]: + async def confirm_sms_code(self, sms_code: str) -> bool | None: async with await self.sess.post(url=confirm_sms_code, headers=appjson, json={ @@ -43,7 +43,7 @@ async def confirm_sms_code(self, sms_code: str) -> Optional[bool]: else: raise SmsCodeConfirmationError(reason=confirmation) - async def refresh_token(self) -> Optional[bool]: + async def refresh_token(self) -> bool | None: if not self.auth_token: raise NotAuthenticatedError(reason='Authentication token missing') @@ -66,7 +66,7 @@ async def refresh_token(self) -> Optional[bool]: else: raise RefreshTokenException(reason=confirmation) - async def logout(self) -> Optional[bool]: + async def logout(self) -> bool | None: if not self.auth_token: raise NotAuthenticatedError(reason='Not logged in') @@ -88,7 +88,7 @@ async def disconnect(self) -> bool: return False - async def get_parcel(self, shipment_number: Union[int, str], parse=False) -> Union[dict, Parcel]: + async def get_parcel(self, shipment_number: int| str, parse=False) -> dict| Parcel: if not self.auth_token: raise NotAuthenticatedError(reason='Not logged in') @@ -103,11 +103,11 @@ async def get_parcel(self, shipment_number: Union[int, str], parse=False) -> Uni async def get_parcels(self, parcel_type: ParcelType = ParcelType.TRACKED, - status: Optional[Union[ParcelStatus, List[ParcelStatus]]] = None, - pickup_point: Optional[Union[str, List[str]]] = None, - shipment_type: Optional[Union[ParcelShipmentType, List[ParcelShipmentType]]] = None, - parcel_size: Optional[Union[ParcelLockerSize, ParcelCarrierSize]] = None, - parse: bool = False) -> Union[List[dict], List[Parcel]]: + status: ParcelStatus | List[ParcelStatus] | None = None, + pickup_point: str | List[str] | None = None, + shipment_type: ParcelShipmentType | List[ParcelShipmentType] | None = None, + parcel_size: ParcelLockerSize | ParcelCarrierSize | None = None, + parse: bool = False) -> List[dict] | List[Parcel]: if not self.auth_token: raise NotAuthenticatedError(reason='Not logged in') diff --git a/inpost/static/parcels.py b/inpost/static/parcels.py index e60a5d4..e98347f 100644 --- a/inpost/static/parcels.py +++ b/inpost/static/parcels.py @@ -1,6 +1,6 @@ import random from io import BytesIO -from typing import List, Optional, Tuple, Union +from typing import List, Tuple import qrcode from arrow import get, arrow @@ -12,16 +12,16 @@ class Parcel: def __init__(self, parcel_data: dict): self.shipment_number: str = parcel_data['shipmentNumber'] self.shipment_type: ParcelShipmentType = ParcelShipmentType[parcel_data['shipmentType']] - self._open_code: Optional[str] = parcel_data['openCode'] if 'openCode' in parcel_data else None - self._qr_code: Optional[QRCode] = QRCode(parcel_data['qrCode']) if 'qrCode' in parcel_data else None - self.stored_date: Optional[arrow] = get(parcel_data['storedDate']) if 'storedDate' in parcel_data else None - self.pickup_date: Optional[arrow] = get(parcel_data['pickUpDate']) if 'pickUpDate' in parcel_data else None - self.parcel_size: Union[ParcelLockerSize, ParcelCarrierSize] = ParcelLockerSize[parcel_data['parcelSize']] \ + self._open_code: str | None = parcel_data['openCode'] if 'openCode' in parcel_data else None + self._qr_code: QRCode | None = QRCode(parcel_data['qrCode']) if 'qrCode' in parcel_data else None + self.stored_date: arrow | None = get(parcel_data['storedDate']) if 'storedDate' in parcel_data else None + self.pickup_date: arrow | None = get(parcel_data['pickUpDate']) if 'pickUpDate' in parcel_data else None + self.parcel_size: ParcelLockerSize | ParcelCarrierSize = ParcelLockerSize[parcel_data['parcelSize']] \ if self.shipment_type == ParcelShipmentType.parcel else ParcelCarrierSize[parcel_data['parcelSize']] self.receiver: Receiver = Receiver(receiver_data=parcel_data['receiver']) self.sender: Sender = Sender(sender_data=parcel_data['sender']) self.pickup_point: PickupPoint = PickupPoint(pickuppoint_data=parcel_data['pickUpPoint']) - self.multi_compartment: Optional[MultiCompartment] = MultiCompartment(parcel_data['multiCompartment']) \ + self.multi_compartment: MultiCompartment | None = MultiCompartment(parcel_data['multiCompartment']) \ if 'multiCompartment' in parcel_data else None self.is_end_off_week_collection: bool = parcel_data['endOfWeekCollection'] self.operations: Operations = Operations(operations_data=parcel_data['operations']) @@ -134,7 +134,7 @@ def location(self) -> Tuple[float, float]: class MultiCompartment: def __init__(self, multicompartment_data): self.uuid = multicompartment_data['uuid'] - self.shipment_numbers: Optional[List['str']] = multicompartment_data['shipmentNumbers'] \ + self.shipment_numbers: List[str] | None = multicompartment_data['shipmentNumbers'] \ if 'shipmentNumbers' in multicompartment_data else None self.presentation: bool = multicompartment_data['presentation'] self.collected: bool = multicompartment_data['collected'] @@ -143,7 +143,7 @@ def __init__(self, multicompartment_data): class Operations: def __init__(self, operations_data): self.manual_archive: bool = operations_data['manualArchive'] - self.auto_archivable_since: Optional[arrow] = get( + self.auto_archivable_since: arrow | None = get( operations_data['autoArchivableSince']) if 'autoArchivableSince' in operations_data else None self.delete: bool = operations_data['delete'] self.collect: bool = operations_data['collect'] From e3bb2a6e95c93bb34628bf54da9773c8b7e1e089 Mon Sep 17 00:00:00 2001 From: loboda4450 Date: Wed, 11 Jan 2023 17:54:17 +0100 Subject: [PATCH 04/19] Exceptions rework --- inpost/static/exceptions.py | 52 +++++++++++++++---------------------- 1 file changed, 21 insertions(+), 31 deletions(-) diff --git a/inpost/static/exceptions.py b/inpost/static/exceptions.py index 2c7dbad..53a35eb 100644 --- a/inpost/static/exceptions.py +++ b/inpost/static/exceptions.py @@ -1,26 +1,24 @@ # ----------------- Parcels ----------------- # -from typing import Optional, Any +from typing import Any class UnidentifiedParcelError(Exception): def __init__(self, reason): super().__init__(reason) - self.msg: str = Optional[str] - self.reason: Any = Optional[Any] + self.reason: Any = reason @property - def stack(self): + def stacktrace(self): return self.reason class ParcelTypeError(Exception): def __init__(self, reason): super().__init__(reason) - self.msg: str = Optional[str] - self.reason: Any = Optional[Any] + self.reason: Any = reason @property - def stack(self): + def stacktrace(self): return self.reason @@ -28,66 +26,60 @@ def stack(self): class NotAuthenticatedError(Exception): def __init__(self, reason): super().__init__(reason) - self.msg: str = Optional[str] - self.reason: Any = Optional[Any] + self.reason: Any = reason @property - def stack(self): + def stacktrace(self): return self.reason class ReAuthenticationError(Exception): def __init__(self, reason): super().__init__(reason) - self.msg: str = Optional[str] - self.reason: Any = Optional[Any] + self.reason: Any = reason @property - def stack(self): + def stacktrace(self): return self.reason class PhoneNumberError(Exception): def __init__(self, reason): super().__init__(reason) - self.msg: str = Optional[str] - self.reason: Any = Optional[Any] + self.reason: Any = reason @property - def stack(self): + def stacktrace(self): return self.reason class SmsCodeConfirmationError(Exception): def __init__(self, reason): super().__init__(reason) - self.msg: str = Optional[str] - self.reason: Any = Optional[Any] + self.reason: Any = reason @property - def stack(self): + def stacktrace(self): return self.reason class RefreshTokenException(Exception): def __init__(self, reason): super().__init__(reason) - self.msg: str = Optional[str] - self.reason: Any = Optional[Any] + self.reason: Any = reason @property - def stack(self): + def stacktrace(self): return self.reason class UnidentifiedAPIError(Exception): def __init__(self, reason): super().__init__(reason) - self.msg: str = Optional[str] - self.reason: Any = Optional[Any] + self.reason: Any = reason @property - def stack(self): + def stacktrace(self): return self.reason @@ -95,20 +87,18 @@ def stack(self): class UserLocationError(Exception): def __init__(self, reason): super().__init__(reason) - self.msg: str = Optional[str] - self.reason: Any = Optional[Any] + self.reason: Any = reason @property - def stack(self): + def stacktrace(self): return self.reason class UnidentifiedError(Exception): def __init__(self, reason): super().__init__(reason) - self.msg: str = Optional[str] - self.reason: Any = Optional[Any] + self.reason: Any = reason @property - def stack(self): + def stacktrace(self): return self.reason From 5150ff358ab65fc7c7cc67e72371b2886359ad75 Mon Sep 17 00:00:00 2001 From: loboda4450 Date: Wed, 11 Jan 2023 18:14:46 +0100 Subject: [PATCH 05/19] cleanup in requirements.txt and typo fix in pyproject.toml --- pyproject.toml | 2 +- requirements.txt | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c214308..a765c54 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,5 +25,5 @@ arrow = "^1.2.3" qrcode = "^7.3.1" [build-system] -reqires = ["poetry-core"] +requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" diff --git a/requirements.txt b/requirements.txt index cb858ab..d723606 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,3 @@ aiohttp~=3.8.1 -setuptools==65.6.3 arrow~=1.2.3 -PyYAML~=6.0 -Telethon~=1.26.0 - qrcode~=7.3.1 \ No newline at end of file From c9532635f90886cc32bf0d5a5fa0d3d0a3bbd64c Mon Sep 17 00:00:00 2001 From: loboda4450 Date: Wed, 11 Jan 2023 18:43:22 +0100 Subject: [PATCH 06/19] Inpost initialization doesn't require phone number --- inpost/api.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/inpost/api.py b/inpost/api.py index c425131..7e93bc3 100644 --- a/inpost/api.py +++ b/inpost/api.py @@ -5,8 +5,8 @@ class Inpost: - def __init__(self, phone_number: str): - self.phone_number: str = phone_number + def __init__(self): + self.phone_number: str | None = None self.sms_code: str | None = None self.auth_token: str | None = None self.refr_token: str | None = None @@ -14,7 +14,11 @@ def __init__(self, phone_number: str): self.parcel: Parcel | None = None def __repr__(self): - return f'Username: {self.phone_number}\nToken: {self.auth_token}' + return f'Phone number: {self.phone_number}\nToken: {self.auth_token}' + + async def set_phone_number(self, phone_number: str) -> bool | None: + self.phone_number = phone_number + return True async def send_sms_code(self) -> bool | None: async with await self.sess.post(url=send_sms_code, @@ -44,9 +48,6 @@ async def confirm_sms_code(self, sms_code: str) -> bool | None: raise SmsCodeConfirmationError(reason=confirmation) async def refresh_token(self) -> bool | None: - if not self.auth_token: - raise NotAuthenticatedError(reason='Authentication token missing') - if not self.refr_token: raise NotAuthenticatedError(reason='Refresh token missing') @@ -88,7 +89,7 @@ async def disconnect(self) -> bool: return False - async def get_parcel(self, shipment_number: int| str, parse=False) -> dict| Parcel: + async def get_parcel(self, shipment_number: int | str, parse=False) -> dict | Parcel: if not self.auth_token: raise NotAuthenticatedError(reason='Not logged in') From 294dcd36d0ee89d9b14aa6b7ce7896385388bc37 Mon Sep 17 00:00:00 2001 From: loboda4450 Date: Thu, 12 Jan 2023 23:05:57 +0100 Subject: [PATCH 07/19] added missing requirements --- pyproject.toml | 2 ++ requirements.txt | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a765c54..23db50f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,8 @@ python = "^3.10" aiohttp = "^3.8.1" arrow = "^1.2.3" qrcode = "^7.3.1" +Pillow = "^9.4.0" + [build-system] requires = ["poetry-core"] diff --git a/requirements.txt b/requirements.txt index d723606..358123f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ aiohttp~=3.8.1 arrow~=1.2.3 -qrcode~=7.3.1 \ No newline at end of file +qrcode~=7.3.1 +Pillow==9.4.0 From 4e7a9d9b951d44f73b2d2e294130d614674ec7ec Mon Sep 17 00:00:00 2001 From: loboda4450 Date: Fri, 13 Jan 2023 02:48:37 +0100 Subject: [PATCH 08/19] fixed courier problems --- inpost/static/parcels.py | 48 +++++++++++++++++++++++++++------------ inpost/static/statuses.py | 6 +++-- 2 files changed, 38 insertions(+), 16 deletions(-) diff --git a/inpost/static/parcels.py b/inpost/static/parcels.py index e98347f..c2284e5 100644 --- a/inpost/static/parcels.py +++ b/inpost/static/parcels.py @@ -20,7 +20,8 @@ def __init__(self, parcel_data: dict): if self.shipment_type == ParcelShipmentType.parcel else ParcelCarrierSize[parcel_data['parcelSize']] self.receiver: Receiver = Receiver(receiver_data=parcel_data['receiver']) self.sender: Sender = Sender(sender_data=parcel_data['sender']) - self.pickup_point: PickupPoint = PickupPoint(pickuppoint_data=parcel_data['pickUpPoint']) + self.pickup_point: PickupPoint = PickupPoint(pickuppoint_data=parcel_data['pickUpPoint']) \ + if 'pickUpPoint' in parcel_data else None self.multi_compartment: MultiCompartment | None = MultiCompartment(parcel_data['multiCompartment']) \ if 'multiCompartment' in parcel_data else None self.is_end_off_week_collection: bool = parcel_data['endOfWeekCollection'] @@ -40,35 +41,51 @@ def __str__(self): @property def open_code(self): - return self._open_code + if self.shipment_type == ParcelShipmentType.parcel: + return self._open_code + + return None @property def generate_qr_image(self): - return self._qr_code.qr_image + if self.shipment_type == ParcelShipmentType.parcel: + return self._qr_code.qr_image + + return None @property def compartment_properties(self): - return self._compartment_properties + if self.shipment_type == ParcelShipmentType.parcel: + return self._compartment_properties + + return None @compartment_properties.setter def compartment_properties(self, compartmentproperties_data: dict): - self._compartment_properties = CompartmentProperties(compartmentproperties_data=compartmentproperties_data) + if self.shipment_type == ParcelShipmentType.parcel: + self._compartment_properties = CompartmentProperties(compartmentproperties_data=compartmentproperties_data) @property def compartment_location(self): - return self._compartment_properties.location + if self.shipment_type == ParcelShipmentType.parcel: + return self._compartment_properties.location + + return None @compartment_location.setter def compartment_location(self, location_data): - self._compartment_properties.location = location_data + if self.shipment_type == ParcelShipmentType.parcel: + self._compartment_properties.location = location_data @property def compartment_status(self): - return self._compartment_properties.status + if self.shipment_type == ParcelShipmentType.parcel: + return self._compartment_properties.status @compartment_status.setter def compartment_status(self, status): - self._compartment_properties.status = status + if self.shipment_type == ParcelShipmentType.parcel: + self._compartment_properties.status = status @property def compartment_open_data(self): @@ -80,11 +97,14 @@ def compartment_open_data(self): @property def mocked_location(self): - return { - 'latitude': round(self.pickup_point.latitude + random.uniform(-0.00005, 0.00005), 6), - 'longitude': round(self.pickup_point.longitude + random.uniform(-0.00005, 0.00005), 6), - 'accuracy': round(random.uniform(1, 4), 1) - } + if self.shipment_type == ParcelShipmentType.parcel: + return { + 'latitude': round(self.pickup_point.latitude + random.uniform(-0.00005, 0.00005), 6), + 'longitude': round(self.pickup_point.longitude + random.uniform(-0.00005, 0.00005), 6), + 'accuracy': round(random.uniform(1, 4), 1) + } + + return None class Receiver: diff --git a/inpost/static/statuses.py b/inpost/static/statuses.py index 510d553..e4758f7 100644 --- a/inpost/static/statuses.py +++ b/inpost/static/statuses.py @@ -26,6 +26,7 @@ class ParcelCarrierSize(ParcelBase): B = '19x38x64' C = '41x38x64' D = '50x50x80' + OTHER = 'UNKNOWN' class ParcelLockerSize(ParcelBase): @@ -36,13 +37,13 @@ class ParcelLockerSize(ParcelBase): class ParcelDeliveryType(ParcelBase): parcel_locker = 'Paczkomat' - carrier = 'Kurier' + courier = 'Kurier' parcel_point = 'PaczkoPunkt' class ParcelShipmentType(ParcelBase): parcel = 'Paczkomat' - carrier = 'Kurier' + courier = 'Kurier' parcel_point = 'PaczkoPunkt' @@ -70,6 +71,7 @@ class ParcelStatus(ParcelBase): ADOPTED_AT_SORTING_CENTER = 'Przyjęta w sortowni' SENT_FROM_SOURCE_BRANCH = 'Wysłana z oddziału' OUT_FOR_DELIVERY = 'Wydana do doręczenia' + OUT_FOR_DELIVERY_TO_ADDRESS = 'Gotowa do doręczenia' READY_TO_PICKUP = 'Gotowa do odbioru' DELIVERED = 'Doręczona' From 92a86d14fdcd19d5361e7c818364e8926d1bc869 Mon Sep 17 00:00:00 2001 From: loboda4450 Date: Fri, 13 Jan 2023 02:49:27 +0100 Subject: [PATCH 09/19] 0.0.2 pre-alpha status --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 23db50f..bcbf33a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,8 +1,8 @@ [tool.poetry] name = "inpost" -version = "0.0.1" +version = "0.0.2" description = "Asynchronous InPost package allowing you to manage existing incoming parcels without mobile app" -authors = ["loboda4450 , MrKazik99 "] +authors = ["loboda4450 ", "MrKazik99 "] maintainers = ["loboda4450 "] repository = "https://github.com/IFOSSA/inpost-python" readme = "README.md" @@ -16,6 +16,7 @@ classifiers = [ "Intended Audience :: Developers", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", + "Development Status :: 2 - Pre-Alpha" ] [tool.poetry.dependencies] From 82813fc73bb9e1c53a9465e2b33294b8901fcd1f Mon Sep 17 00:00:00 2001 From: loboda4450 Date: Fri, 13 Jan 2023 19:07:42 +0100 Subject: [PATCH 10/19] added new ParcelStatus entries, handling unexpected data (temporary) --- inpost/static/statuses.py | 69 +++++++++++++++++++++++++++++++++++---- 1 file changed, 62 insertions(+), 7 deletions(-) diff --git a/inpost/static/statuses.py b/inpost/static/statuses.py index e4758f7..5204cd8 100644 --- a/inpost/static/statuses.py +++ b/inpost/static/statuses.py @@ -1,7 +1,21 @@ -from enum import Enum +from enum import Enum, EnumMeta -class ParcelBase(Enum): +class Meta(EnumMeta): # temporary handler for unexpected keys in enums + def __getitem__(cls, item): + try: + return super().__getitem__(item) + except KeyError as error: + return cls.UNKNOWN + + def __getattr__(cls, item): + try: + return super().__getattribute__(item) + except KeyError as error: + return cls.UNKNOWN + + +class ParcelBase(Enum, metaclass=Meta): def __gt__(self, other): ... @@ -22,32 +36,38 @@ def __eq__(self, other): class ParcelCarrierSize(ParcelBase): + UNKNOWN = 'UNKNOWN DATA' A = '8x38x64' B = '19x38x64' C = '41x38x64' D = '50x50x80' - OTHER = 'UNKNOWN' + OTHER = 'UNKNOWN DIMENSIONS' +# @add_invalid class ParcelLockerSize(ParcelBase): + UNKNOWN = 'UNKNOWN DATA' A = '8x38x64' B = '19x38x64' C = '41x38x64' class ParcelDeliveryType(ParcelBase): + UNKNOWN = 'UNKNOWN DATA' parcel_locker = 'Paczkomat' courier = 'Kurier' parcel_point = 'PaczkoPunkt' class ParcelShipmentType(ParcelBase): + UNKNOWN = 'UNKNOWN DATA' parcel = 'Paczkomat' courier = 'Kurier' parcel_point = 'PaczkoPunkt' class ParcelAdditionalInsurance(ParcelBase): + UNKNOWN = 'UNKNOWN DATA' UNINSURANCED = 1 ONE = 2 # UPTO 5000 TWO = 3 # UPTO 10000 @@ -55,44 +75,79 @@ class ParcelAdditionalInsurance(ParcelBase): class ParcelType(ParcelBase): + UNKNOWN = 'UNKNOWN DATA' TRACKED = 'Przychodzące' SENT = 'Wysłane' RETURNS = 'Zwroty' class ParcelStatus(ParcelBase): + UNKNOWN = 'UNKNOWN DATA' + CREATED = 'Utworzona' # TODO: translate from app + OFFERS_PREPARED = 'Oferty przygotowane' # TODO: translate from app + OFFER_SELECTED = 'Oferta wybrana' # TODO: translate from app CONFIRMED = 'Potwierdzona' - COLLECTED_FROM_SENDER = 'Odebrana od nadawcy' + READY_TO_PICKUP_FROM_POK = 'Gotowa do odbioru w PaczkoPunkcie' + OVERSIZED = 'Gabaryt' DISPATCHED_BY_SENDER_TO_POK = 'Nadana w PaczkoPunkcie' DISPATCHED_BY_SENDER = 'Nadana w paczkomacie' + COLLECTED_FROM_SENDER = 'Odebrana od nadawcy' TAKEN_BY_COURIER = 'Odebrana przez Kuriera' - TAKEN_BY_COURIER_FROM_POK = 'Odebrana z PaczkoPunktu nadawczego' ADOPTED_AT_SOURCE_BRANCH = 'Przyjęta w oddziale' - ADOPTED_AT_SORTING_CENTER = 'Przyjęta w sortowni' SENT_FROM_SOURCE_BRANCH = 'Wysłana z oddziału' + READDRESSED = 'Zmiana punktu dostawy' # TODO: translate from app OUT_FOR_DELIVERY = 'Wydana do doręczenia' - OUT_FOR_DELIVERY_TO_ADDRESS = 'Gotowa do doręczenia' READY_TO_PICKUP = 'Gotowa do odbioru' + PICKUP_REMINDER_SENT = 'Wysłano przypomnienie o odbiorze' # TODO: translate from app + PICKUP_TIME_EXPIRED = 'Upłynął czas odbioru' # TODO: translate from app + AVIZO = 'Awizo' # TODO: translate from app + TAKEN_BY_COURIER_FROM_POK = 'Odebrana z PaczkoPunktu nadawczego' + REJECTED_BY_RECEIVER = 'Odrzucona przez odbiorcę' # TODO: translate from app + UNDELIVERED = 'Nie dostarczona' # TODO: translate from app + DELAY_IN_DELIVERY = 'Opóźnienie w dostarczeniu' # TODO: translate from app + RETURNED_TO_SENDER = 'Zwrócona do nadawcy' # TODO: translate from app + READY_TO_PICKUP_FROM_BRANCH = 'Gotowa do odbioru z oddziału' # TODO: translate from app DELIVERED = 'Doręczona' + CANCELED = 'Anulowana' # TODO: translate from app + CLAIMED = 'Przejęta' # TODO: translate from app + STACK_IN_CUSTOMER_SERVICE_POINT = 'Umieszczona w punkcie obsługi klienta' # TODO: translate from app + STACK_PARCEL_PICKUP_TIME_EXPIRED = 'Upłynął czas odbioru' # TODO: translate from app + UNSTACK_FROM_CUSTOMER_SERVICE_POINT = '?' # TODO: translate from app + COURIER_AVIZO_IN_CUSTOMER_SERVICE_POINT = 'Przekazana do punktu obsługi klienta' # TODO: translate from app + TAKEN_BY_COURIER_FROM_CUSTOMER_SERVICE_POINT = 'Odebrana przez kuriera z punktu obsługi klienta' # TODO: translate from app + STACK_IN_BOX_MACHINE = 'Paczka w paczkomacie' # TODO: translate from app + STACK_PARCEL_IN_BOX_MACHINE_PICKUP_TIME_EXPIRED = 'Upłynął czas odbioru z paczkomatu' # TODO: translate from app + UNSTACK_FROM_BOX_MACHINE = 'Odebrana z paczkomatu' # TODO: translate from app + ADOPTED_AT_SORTING_CENTER = 'Przyjęta w sortowni' + OUT_FOR_DELIVERY_TO_ADDRESS = 'Gotowa do doręczenia' + PICKUP_REMINDER_SENT_ADDRESS = 'Wysłano przypomnienie o odbiorze' # TODO: translate from app + UNDELIVERED_WRONG_ADDRESS = 'Nie dostarczono z powodu złego adresu' # TODO: translate from app + UNDELIVERED_COD_CASH_RECEIVER = 'Nie dostarczono z powodu nieopłacenia' # TODO: translate from app + REDIRECT_TO_BOX = 'Przekierowana do paczkomatu' # TODO: translate from app + CANCELED_REDIRECT_TO_BOX = 'Anulowano przekierowanie do paczkomatu' # TODO: translate from app class ParcelOwnership(ParcelBase): + UNKNOWN = 'UNKNOWN DATA' FRIEND = 'Zaprzyjaźniona' OWN = 'Własna' # both are the same, only for being clear class CompartmentExpectedStatus(ParcelBase): + UNKNOWN = 'UNKNOWN DATA' OPENED = 'Otwarta' CLOSED = 'Zamknięta' class CompartmentActualStatus(ParcelBase): + UNKNOWN = 'UNKNOWN DATA' OPENED = 'Otwarta' CLOSED = 'Zamknięta' class ParcelServiceName(ParcelBase): + UNKNOWN = 'UNKNOWN DATA' ALLEGRO_PARCEL = 1 ALLEGRO_PARCEL_SMART = 2 ALLEGRO_LETTER = 3 From a3c477f8265d84a6abffef9a492324832e4c0232 Mon Sep 17 00:00:00 2001 From: loboda4450 Date: Fri, 13 Jan 2023 20:34:35 +0100 Subject: [PATCH 11/19] added logging functionality to api.py --- inpost/api.py | 71 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 69 insertions(+), 2 deletions(-) diff --git a/inpost/api.py b/inpost/api.py index 7e93bc3..aa4288b 100644 --- a/inpost/api.py +++ b/inpost/api.py @@ -1,5 +1,6 @@ from aiohttp import ClientSession from typing import List +import logging from inpost.static import * @@ -12,25 +13,39 @@ def __init__(self): self.refr_token: str | None = None self.sess: ClientSession = ClientSession() self.parcel: Parcel | None = None + self._log: logging.Logger | None = None def __repr__(self): return f'Phone number: {self.phone_number}\nToken: {self.auth_token}' async def set_phone_number(self, phone_number: str) -> bool | None: + self._log = logging.getLogger(f'inpost.{phone_number}') + self._log.setLevel(level=logging.DEBUG) + self._log.info(f'initializing inpost object with phone number {phone_number}') self.phone_number = phone_number return True async def send_sms_code(self) -> bool | None: + if not self.phone_number: # can't log it cuz if there's no phone number no logger initialized @shrug + raise PhoneNumberError('Phone number missing') + + self._log.info(f'sending sms code') async with await self.sess.post(url=send_sms_code, json={ 'phoneNumber': f'{self.phone_number}' }) as phone: if phone.status == 200: + self._log.debug(f'sms code sent') return True else: + self._log.error(f'could not sent sms code') raise PhoneNumberError(reason=phone) async def confirm_sms_code(self, sms_code: str) -> bool | None: + if not self.phone_number: # can't log it cuz if there's no phone number no logger initialized @shrug + raise PhoneNumberError('Phone number missing') + + self._log.info(f'confirming sms code') async with await self.sess.post(url=confirm_sms_code, headers=appjson, json={ @@ -43,12 +58,17 @@ async def confirm_sms_code(self, sms_code: str) -> bool | None: self.sms_code = sms_code self.refr_token = resp['refreshToken'] self.auth_token = resp['authToken'] + self._log.debug(f'sms code confirmed') return True else: + self._log.error(f'could not confirm sms code') raise SmsCodeConfirmationError(reason=confirmation) async def refresh_token(self) -> bool | None: + self._log.info(f'refreshing token') + if not self.refr_token: + self._log.error(f'refresh token missing') raise NotAuthenticatedError(reason='Refresh token missing') async with await self.sess.post(url=refresh_token, @@ -60,15 +80,21 @@ async def refresh_token(self) -> bool | None: if confirmation.status == 200: resp = await confirmation.json() if resp['reauthenticationRequired']: + self._log.error(f'could not reauthenticate') raise ReAuthenticationError(reason='You need to log in again!') self.auth_token = resp['authToken'] + self._log.debug(f'token refreshed') return True else: + self._log.error(f'error: {confirmation}') raise RefreshTokenException(reason=confirmation) async def logout(self) -> bool | None: + self._log.info(f'logging out') + if not self.auth_token: + self._log.error(f'authorization token missing') raise NotAuthenticatedError(reason='Not logged in') async with await self.sess.post(url=logout, @@ -83,23 +109,30 @@ async def logout(self) -> bool | None: raise UnidentifiedAPIError(reason=resp) async def disconnect(self) -> bool: + self._log.info(f'disconnecting') if await self.logout(): await self.sess.close() + self._log.debug(f'refreshing disconnected') return True return False async def get_parcel(self, shipment_number: int | str, parse=False) -> dict | Parcel: + self._log.info(f'getting parcel with shipment number: {shipment_number}') + if not self.auth_token: + self._log.error(f'authorization token missing') raise NotAuthenticatedError(reason='Not logged in') async with await self.sess.get(url=f"{parcel}{shipment_number}", headers={'Authorization': self.auth_token}, ) as resp: if resp.status == 200: + self._log.debug(f'parcel with shipment number {shipment_number} received') return await resp.json() if not parse else Parcel(await resp.json()) else: + self._log.error(f'could not get parcel with shipment number {shipment_number}') raise UnidentifiedAPIError(reason=resp) async def get_parcels(self, @@ -109,10 +142,13 @@ async def get_parcels(self, shipment_type: ParcelShipmentType | List[ParcelShipmentType] | None = None, parcel_size: ParcelLockerSize | ParcelCarrierSize | None = None, parse: bool = False) -> List[dict] | List[Parcel]: + self._log.info('getting parcels') if not self.auth_token: + self._log.error(f'authorization token missing') raise NotAuthenticatedError(reason='Not logged in') if not isinstance(parcel_type, ParcelType): + self._log.error(f'wrong parcel type {parcel_type}') raise ParcelTypeError(reason=f'Unknown parcel type: {parcel_type}') match parcel_type: @@ -123,12 +159,14 @@ async def get_parcels(self, case ParcelType.RETURNS: url = returns case _: + self._log.error(f'wrong parcel type {parcel_type}') raise ParcelTypeError(reason=f'Unknown parcel type: {parcel_type}') async with await self.sess.get(url=url, headers={'Authorization': self.auth_token}, ) as resp: if resp.status == 200: + self._log.debug(f'received {parcel_type} parcels') _parcels = (await resp.json())['parcels'] if status is not None: @@ -166,12 +204,14 @@ async def get_parcels(self, return _parcels if not parse else [Parcel(parcel_data=data) for data in _parcels] else: + self._log.error(f'could not get parcels') raise UnidentifiedAPIError(reason=resp) async def collect_compartment_properties(self, shipment_number: str | None = None, parcel_obj: Parcel | None = None, location: dict | None = None) -> bool: - + self._log.info(f'collecting compartment properties for {shipment_number}') if shipment_number is not None and parcel_obj is None: + self._log.debug(f'parcel_obj not provided, getting from shipment number {shipment_number}') parcel_obj = await self.get_parcel(shipment_number=shipment_number, parse=True) async with await self.sess.post(url=collect, @@ -181,11 +221,13 @@ async def collect_compartment_properties(self, shipment_number: str | None = Non 'geoPoint': location if location is not None else parcel_obj.mocked_location }) as collect_resp: if collect_resp.status == 200: + self._log.debug(f'collected compartment properties for {shipment_number}') parcel_obj.compartment_properties = await collect_resp.json() self.parcel = parcel_obj return True else: + self._log.error(f'could not collect compartment properties for {shipment_number}') raise UnidentifiedAPIError(reason=collect_resp) async def open_compartment(self): @@ -195,14 +237,18 @@ async def open_compartment(self): 'sessionUuid': self.parcel.compartment_properties.session_uuid }) as compartment_open_resp: if compartment_open_resp.status == 200: + self._log.debug(f'opened comaprtment for {self.parcel.shipment_number}') self.parcel.compartment_properties.location = await compartment_open_resp.json() return True else: + self._log.error(f'could not open compartment for {self.parcel.shipment_number}') raise UnidentifiedAPIError(reason=compartment_open_resp) async def check_compartment_status(self, expected_status: CompartmentExpectedStatus = CompartmentExpectedStatus.OPENED): + self._log.info(f'checking compartment status for {self.parcel.shipment_number}') + async with await self.sess.post(url=compartment_status, headers={'Authorization': self.auth_token}, json={ @@ -210,23 +256,31 @@ async def check_compartment_status(self, 'expectedStatus': expected_status.name }) as compartment_status_resp: if compartment_status_resp.status == 200: + self._log.debug(f'checked compartment status for {self.parcel.shipment_number}') return CompartmentExpectedStatus[(await compartment_status_resp.json())['status']] == expected_status else: + self._log.error(f'could not check compartment status for {self.parcel.shipment_number}') raise UnidentifiedAPIError(reason=compartment_status_resp) async def terminate_collect_session(self): + self._log.info(f'terminating collect session for {self.parcel.shipment_number}') + async with await self.sess.post(url=terminate_collect_session, headers={'Authorization': self.auth_token}, json={ 'sessionUuid': self.parcel.compartment_properties.session_uuid }) as terminate_resp: if terminate_resp.status == 200: + self._log.debug(f'terminated collect session for {self.parcel.shipment_number}') return True else: + self._log.error(f'could not terminate collect session for {self.parcel.shipment_number}') raise UnidentifiedAPIError(reason=terminate_resp) async def collect(self, shipment_number: str | None = None, parcel_obj: Parcel | None = None, location: dict | None = None) -> bool: + self._log.info(f'collecing parcel with shipment number {self.parcel.shipment_number}') + if shipment_number is not None and parcel_obj is None: parcel_obj = await self.get_parcel(shipment_number=shipment_number, parse=True) @@ -238,6 +292,8 @@ async def collect(self, shipment_number: str | None = None, parcel_obj: Parcel | return False async def close_compartment(self) -> bool: + self._log.info(f'closing compartment for {self.parcel.shipment_number}') + if await self.check_compartment_status(expected_status=CompartmentExpectedStatus.CLOSED): if await self.terminate_collect_session(): return True @@ -245,6 +301,17 @@ async def close_compartment(self) -> bool: return False async def get_prices(self) -> dict: + self._log.info(f'getting parcel prices') + + if not self.auth_token: + self._log.debug(f'authorization token missing') + raise NotAuthenticatedError(reason='Not logged in') + async with await self.sess.get(url=parcel_prices, headers={'Authorization': self.auth_token}) as resp: - return await resp.json() + if resp.status == 200: + self._log.debug(f'got parcel prices') + return await resp.json() + + else: + raise UnidentifiedAPIError(reason=resp) From ed75df28bb91827423ef99799924eedd6e156d91 Mon Sep 17 00:00:00 2001 From: loboda4450 Date: Fri, 13 Jan 2023 22:25:59 +0100 Subject: [PATCH 12/19] added logging support, version 0.0.3, logging unexpected data --- inpost/api.py | 6 +- inpost/static/parcels.py | 167 ++++++++++++++++++++++++++++++++------- pyproject.toml | 2 +- 3 files changed, 141 insertions(+), 34 deletions(-) diff --git a/inpost/api.py b/inpost/api.py index aa4288b..14d7ed5 100644 --- a/inpost/api.py +++ b/inpost/api.py @@ -19,7 +19,7 @@ def __repr__(self): return f'Phone number: {self.phone_number}\nToken: {self.auth_token}' async def set_phone_number(self, phone_number: str) -> bool | None: - self._log = logging.getLogger(f'inpost.{phone_number}') + self._log = logging.getLogger(f'{__class__.__name__}.{phone_number}') self._log.setLevel(level=logging.DEBUG) self._log.info(f'initializing inpost object with phone number {phone_number}') self.phone_number = phone_number @@ -129,7 +129,7 @@ async def get_parcel(self, shipment_number: int | str, parse=False) -> dict | Pa ) as resp: if resp.status == 200: self._log.debug(f'parcel with shipment number {shipment_number} received') - return await resp.json() if not parse else Parcel(await resp.json()) + return await resp.json() if not parse else Parcel(await resp.json(), logger=self._log) else: self._log.error(f'could not get parcel with shipment number {shipment_number}') @@ -201,7 +201,7 @@ async def get_parcels(self, _parcels = (_parcel for _parcel in _parcels if ParcelLockerSize[_parcel['parcelSize']] in parcel_size) - return _parcels if not parse else [Parcel(parcel_data=data) for data in _parcels] + return _parcels if not parse else [Parcel(parcel_data=data, logger=self._log) for data in _parcels] else: self._log.error(f'could not get parcels') diff --git a/inpost/static/parcels.py b/inpost/static/parcels.py index c2284e5..a49eac3 100644 --- a/inpost/static/parcels.py +++ b/inpost/static/parcels.py @@ -1,3 +1,4 @@ +import logging import random from io import BytesIO from typing import List, Tuple @@ -9,121 +10,186 @@ class Parcel: - def __init__(self, parcel_data: dict): + def __init__(self, parcel_data: dict, logger: logging.Logger): self.shipment_number: str = parcel_data['shipmentNumber'] + self._log: logging.Logger = logger.getChild(f'{__class__.__name__}.{self.shipment_number}') self.shipment_type: ParcelShipmentType = ParcelShipmentType[parcel_data['shipmentType']] self._open_code: str | None = parcel_data['openCode'] if 'openCode' in parcel_data else None - self._qr_code: QRCode | None = QRCode(parcel_data['qrCode']) if 'qrCode' in parcel_data else None + self._qr_code: QRCode | None = QRCode(qrcode_data=parcel_data['qrCode'], logger=self._log) \ + if 'qrCode' in parcel_data else None self.stored_date: arrow | None = get(parcel_data['storedDate']) if 'storedDate' in parcel_data else None self.pickup_date: arrow | None = get(parcel_data['pickUpDate']) if 'pickUpDate' in parcel_data else None self.parcel_size: ParcelLockerSize | ParcelCarrierSize = ParcelLockerSize[parcel_data['parcelSize']] \ if self.shipment_type == ParcelShipmentType.parcel else ParcelCarrierSize[parcel_data['parcelSize']] - self.receiver: Receiver = Receiver(receiver_data=parcel_data['receiver']) - self.sender: Sender = Sender(sender_data=parcel_data['sender']) - self.pickup_point: PickupPoint = PickupPoint(pickuppoint_data=parcel_data['pickUpPoint']) \ + self.receiver: Receiver = Receiver(receiver_data=parcel_data['receiver'], logger=self._log) + self.sender: Sender = Sender(sender_data=parcel_data['sender'], logger=self._log) + self.pickup_point: PickupPoint = PickupPoint(pickuppoint_data=parcel_data['pickUpPoint'], logger=self._log) \ if 'pickUpPoint' in parcel_data else None - self.multi_compartment: MultiCompartment | None = MultiCompartment(parcel_data['multiCompartment']) \ - if 'multiCompartment' in parcel_data else None + self.multi_compartment: MultiCompartment | None = \ + MultiCompartment(parcel_data['multiCompartment'], logger=self._log) \ + if 'multiCompartment' in parcel_data else None self.is_end_off_week_collection: bool = parcel_data['endOfWeekCollection'] - self.operations: Operations = Operations(operations_data=parcel_data['operations']) + self.operations: Operations = Operations(operations_data=parcel_data['operations'], logger=self._log) self.status: ParcelStatus = ParcelStatus[parcel_data['status']] - self.event_log: List[EventLog] = [EventLog(eventlog_data=event) for event in parcel_data['eventLog']] + self.event_log: List[EventLog] = [EventLog(eventlog_data=event, logger=self._log) + for event in parcel_data['eventLog']] self.avizo_transaction_status: str = parcel_data['avizoTransactionStatus'] - self.shared_to: List[SharedTo] = [SharedTo(sharedto_data=person) for person in parcel_data['sharedTo']] + self.shared_to: List[SharedTo] = [SharedTo(sharedto_data=person, logger=self._log) + for person in parcel_data['sharedTo']] self.ownership_status: ParcelOwnership = ParcelOwnership[parcel_data['ownershipStatus']] self._compartment_properties: CompartmentProperties | None = None + self._log.debug(f'created parcel with shipment number {self.shipment_number}') + + # log all unexpected things so you can make an issue @github + if self.shipment_type == ParcelShipmentType.UNKNOWN: + self._log.debug(f'unexpected shipment_type: {parcel_data["shipmentType"]}') + + if self.parcel_size == ParcelCarrierSize.UNKNOWN or self.parcel_size == ParcelLockerSize.UNKNOWN: + self._log.debug(f'unexpected parcel_size: {parcel_data["parcelSize"]}') + + if self.status == ParcelStatus.UNKNOWN: + self._log.debug(f'unexpected parcel status: {parcel_data["status"]}') + + if self.ownership_status: + self._log.debug(f'unexpected ownership status: {parcel_data["ownershipStatus"]}') + def __str__(self): - return f"Shipment number: {self.shipment_number}\n" \ + return f"Sender: {str(self.sender)}\n" \ + f"Shipment number: {self.shipment_number}\n" \ f"Status: {self.status}\n" \ - f"Pickup point: {self.pickup_point}\n" \ - f"Sender: {str(self.sender)}" + f"Pickup point: {self.pickup_point}" @property def open_code(self): + self._log.debug('getting open code') if self.shipment_type == ParcelShipmentType.parcel: + self._log.debug('got open code') return self._open_code + self._log.debug('wrong ParcelShipmentType') return None @property def generate_qr_image(self): + self._log.debug('generating qr image') if self.shipment_type == ParcelShipmentType.parcel: + self._log.debug('got qr image') return self._qr_code.qr_image + self._log.debug('wrong ParcelShipmentType') return None @property def compartment_properties(self): + self._log.debug('getting comparment properties') if self.shipment_type == ParcelShipmentType.parcel: + self._log.debug('got compartment properties') return self._compartment_properties + self._log.debug('wrong ParcelShipmentType') return None @compartment_properties.setter def compartment_properties(self, compartmentproperties_data: dict): + self._log.debug(f'setting compartment properties with {compartmentproperties_data}') if self.shipment_type == ParcelShipmentType.parcel: - self._compartment_properties = CompartmentProperties(compartmentproperties_data=compartmentproperties_data) + self._log.debug('compartment properties set') + self._compartment_properties = CompartmentProperties(compartmentproperties_data=compartmentproperties_data, + logger=self._log) + + self._log.debug('wrong ParcelShipmentType') @property def compartment_location(self): + self._log.debug('getting compartment location') if self.shipment_type == ParcelShipmentType.parcel: + self._log.debug('got compartment location') return self._compartment_properties.location + self._log.debug('wrong ParcelShipmentType') return None @compartment_location.setter def compartment_location(self, location_data): + self._log.debug('setting compartment location') if self.shipment_type == ParcelShipmentType.parcel: + self._log.debug('compartment location set') self._compartment_properties.location = location_data + self._log.debug('wrong ParcelShipmentType') + @property def compartment_status(self): + self._log.debug('getting compartment status') if self.shipment_type == ParcelShipmentType.parcel: + self._log.debug('got compartment status') return self._compartment_properties.status + self._log.debug('wrong ParcelShipmentType') + return None + @compartment_status.setter def compartment_status(self, status): + self._log.debug('setting compartment status') if self.shipment_type == ParcelShipmentType.parcel: + self._log.debug('compartment status set') self._compartment_properties.status = status + self._log.debug('wrong ParcelShipmentType') + @property def compartment_open_data(self): - return { - 'shipmentNumber': self.shipment_number, - 'openCode': self._open_code, - 'receiverPhoneNumber': self.receiver.phone_number - } + self._log.debug('getting compartment open data') + if self.shipment_type == ParcelShipmentType.parcel: + self._log.debug('got compartment open data') + return { + 'shipmentNumber': self.shipment_number, + 'openCode': self._open_code, + 'receiverPhoneNumber': self.receiver.phone_number + } + + self._log.debug('wrong ParcelShipmentType') + return None @property def mocked_location(self): + self._log.debug('getting mocked location') if self.shipment_type == ParcelShipmentType.parcel: + self._log.debug('got mocked location') return { 'latitude': round(self.pickup_point.latitude + random.uniform(-0.00005, 0.00005), 6), 'longitude': round(self.pickup_point.longitude + random.uniform(-0.00005, 0.00005), 6), 'accuracy': round(random.uniform(1, 4), 1) } + self._log.debug('wrong ParcelShipmentType') return None class Receiver: - def __init__(self, receiver_data: dict): + def __init__(self, receiver_data: dict, logger: logging.Logger): self.email: str = receiver_data['email'] self.phone_number: str = receiver_data['phoneNumber'] self.name: str = receiver_data['name'] + self._log: logging.Logger = logger.getChild(__class__.__name__) + + self._log.debug('created') class Sender: - def __init__(self, sender_data: dict): + def __init__(self, sender_data: dict, logger: logging.Logger): self.sender_name: str = sender_data['name'] + self._log: logging.Logger = logger.getChild(__class__.__name__) + + self._log.debug('created') def __str__(self): return self.sender_name class PickupPoint: - def __init__(self, pickuppoint_data): + def __init__(self, pickuppoint_data: dict, logger: logging.Logger): self.name: str = pickuppoint_data['name'] self.latitude: float = pickuppoint_data['location']['latitude'] self.longitude: float = pickuppoint_data['location']['longitude'] @@ -143,25 +209,35 @@ def __init__(self, pickuppoint_data): self.easy_access_zone: bool = pickuppoint_data['easyAccessZone'] self.air_sensor: bool = pickuppoint_data['airSensor'] + self._log: logging.Logger = logger.getChild(__class__.__name__) + self._log.debug('created') + + if ParcelDeliveryType.UNKNOWN in self.type: + self._log.debug(f'unknown delivery type: {pickuppoint_data["type"]}') + def __str__(self): return self.name @property def location(self) -> Tuple[float, float]: + self._log.debug('getting location') return self.latitude, self.longitude class MultiCompartment: - def __init__(self, multicompartment_data): + def __init__(self, multicompartment_data: dict, logger: logging.Logger): self.uuid = multicompartment_data['uuid'] self.shipment_numbers: List[str] | None = multicompartment_data['shipmentNumbers'] \ if 'shipmentNumbers' in multicompartment_data else None self.presentation: bool = multicompartment_data['presentation'] self.collected: bool = multicompartment_data['collected'] + self._log: logging.Logger = logger.getChild(__class__.__name__) + self._log.debug('created') + class Operations: - def __init__(self, operations_data): + def __init__(self, operations_data: dict, logger: logging.Logger): self.manual_archive: bool = operations_data['manualArchive'] self.auto_archivable_since: arrow | None = get( operations_data['autoArchivableSince']) if 'autoArchivableSince' in operations_data else None @@ -176,27 +252,43 @@ def __init__(self, operations_data): self.can_share_open_code: bool = operations_data['canShareOpenCode'] self.can_share_parcel: bool = operations_data['canShareParcel'] + self._log: logging.Logger = logger.getChild(__class__.__name__) + self._log.debug('created') + class EventLog: - def __init__(self, eventlog_data: dict): + def __init__(self, eventlog_data: dict, logger: logging.Logger): self.type: str = eventlog_data['type'] self.name: ParcelStatus = ParcelStatus[eventlog_data['name']] self.date: arrow = get(eventlog_data['date']) + self._log: logging.Logger = logger.getChild(__class__.__name__) + self._log.debug('created') + + if self.name == ParcelStatus.UNKNOWN: + self._log.debug(f'unknown parcel status: {eventlog_data["name"]}') + class SharedTo: - def __init__(self, sharedto_data): + def __init__(self, sharedto_data: dict, logger: logging.Logger): self.uuid: str = sharedto_data['uuid'] self.name: str = sharedto_data['name'] self.phone_number = sharedto_data['phoneNumber'] + self._log: logging.Logger = logger.getChild(__class__.__name__) + self._log.debug('created') + class QRCode: - def __init__(self, qrcode_data: str): + def __init__(self, qrcode_data: str, logger: logging.Logger): self._qr_code = qrcode_data + self._log: logging.Logger = logger.getChild(__class__.__name__) + self._log.debug('created') + @property def qr_image(self) -> BytesIO: + self._log.debug('generating qr image') qr = qrcode.QRCode( version=3, error_correction=qrcode.constants.ERROR_CORRECT_H, @@ -212,11 +304,12 @@ def qr_image(self) -> BytesIO: bio.name = 'qr.png' img1.save(bio, 'PNG') bio.seek(0) + self._log.debug('generated qr image') return bio class CompartmentLocation: - def __init__(self, compartmentlocation_data: dict): + def __init__(self, compartmentlocation_data: dict, logger: logging.Logger): self.name: str = compartmentlocation_data['compartment']['name'] self.side: str = compartmentlocation_data['compartment']['location']['side'] self.column: str = compartmentlocation_data['compartment']['location']['column'] @@ -225,31 +318,45 @@ def __init__(self, compartmentlocation_data: dict): self.action_time: int = compartmentlocation_data['actionTime'] self.confirm_action_time: int = compartmentlocation_data['confirmActionTime'] + self._log: logging.Logger = logger.getChild(__class__.__name__) + self._log.debug('created') + class CompartmentProperties: - def __init__(self, compartmentproperties_data: dict): + def __init__(self, compartmentproperties_data: dict, logger: logging.Logger): self._session_uuid: str = compartmentproperties_data['sessionUuid'] self._session_expiration_time: int = compartmentproperties_data['sessionExpirationTime'] self._location: CompartmentLocation | None = None self._status: CompartmentActualStatus | None = None + self._log: logging.Logger = logger.getChild(__class__.__name__) + self._log.debug('created') + @property def session_uuid(self): + self._log.debug('getting session uuid') return self._session_uuid @property def location(self): + self._log.debug('getting location') return self._location @location.setter def location(self, location_data: dict): - self._location = CompartmentLocation(location_data) + self._log.debug('setting location') + self._location = CompartmentLocation(location_data, self._log) @property def status(self): + self._log.debug('getting status') return self._status @status.setter def status(self, status_data: str | CompartmentActualStatus): + self._log.debug('setting status') self._status = status_data if isinstance(status_data, CompartmentActualStatus) \ else CompartmentActualStatus[status_data] + + if self._status == CompartmentActualStatus.UNKNOWN and isinstance(status_data, str): + self._log.debug(f'unexpected compartment actual status: {status_data}') diff --git a/pyproject.toml b/pyproject.toml index bcbf33a..47efb0b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "inpost" -version = "0.0.2" +version = "0.0.3" description = "Asynchronous InPost package allowing you to manage existing incoming parcels without mobile app" authors = ["loboda4450 ", "MrKazik99 "] maintainers = ["loboda4450 "] From 56e06e2fec00abd242b68d713e31f273b77b256d Mon Sep 17 00:00:00 2001 From: loboda4450 Date: Fri, 13 Jan 2023 22:42:53 +0100 Subject: [PATCH 13/19] missing ownership status fix --- inpost/static/parcels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inpost/static/parcels.py b/inpost/static/parcels.py index a49eac3..3b45dd9 100644 --- a/inpost/static/parcels.py +++ b/inpost/static/parcels.py @@ -51,7 +51,7 @@ def __init__(self, parcel_data: dict, logger: logging.Logger): if self.status == ParcelStatus.UNKNOWN: self._log.debug(f'unexpected parcel status: {parcel_data["status"]}') - if self.ownership_status: + if self.ownership_status == ParcelOwnership.UNKNOWN: self._log.debug(f'unexpected ownership status: {parcel_data["ownershipStatus"]}') def __str__(self): From be23687a4248d7a2f14092bda6a546e0a1112209 Mon Sep 17 00:00:00 2001 From: loboda4450 Date: Sat, 14 Jan 2023 14:30:25 +0100 Subject: [PATCH 14/19] exceptions.py rework and docstrings --- inpost/static/exceptions.py | 115 +++++++++++++++--------------------- 1 file changed, 47 insertions(+), 68 deletions(-) diff --git a/inpost/static/exceptions.py b/inpost/static/exceptions.py index 53a35eb..0e37019 100644 --- a/inpost/static/exceptions.py +++ b/inpost/static/exceptions.py @@ -1,104 +1,83 @@ -# ----------------- Parcels ----------------- # from typing import Any +from statuses import ParcelType +from parcels import Parcel +from inpost.api import Inpost -class UnidentifiedParcelError(Exception): +# ------------------ Base ------------------- # +class BaseInpostError(Exception): + """Base exception to inherit from + :param reason: reason of :class:`BaseInpostError` happening + :type reason: typing.Any""" def __init__(self, reason): + """Constructor method""" super().__init__(reason) self.reason: Any = reason @property def stacktrace(self): + """Gets stacktrace of raised exception """ return self.reason -class ParcelTypeError(Exception): - def __init__(self, reason): - super().__init__(reason) - self.reason: Any = reason +# ----------------- Parcels ----------------- # - @property - def stacktrace(self): - return self.reason +class ParcelTypeError(BaseInpostError): + """Is raised when expected :class:`ParcelType` does not match with actual one""" + pass -# ----------------- API ----------------- # -class NotAuthenticatedError(Exception): - def __init__(self, reason): - super().__init__(reason) - self.reason: Any = reason +class UnidentifiedParcelError(BaseInpostError): + """Is raised when no other :class:`Parcel` error match""" + pass - @property - def stacktrace(self): - return self.reason +# ----------------- API ----------------- # +class NotAuthenticatedError(BaseInpostError): + """Is raised when `Inpost.auth_token` is missing""" + pass -class ReAuthenticationError(Exception): - def __init__(self, reason): - super().__init__(reason) - self.reason: Any = reason - @property - def stacktrace(self): - return self.reason +class ReAuthenticationError(BaseInpostError): + """Is raised when `Inpost.auth_token` has expired""" + pass -class PhoneNumberError(Exception): - def __init__(self, reason): - super().__init__(reason) - self.reason: Any = reason +class PhoneNumberError(BaseInpostError): + """Is raised when `Inpost.phone_number` is invalid or unexpected error connected with phone number occurs""" + pass - @property - def stacktrace(self): - return self.reason +class SmsCodeError(BaseInpostError): + """Is raised when `Inpost.sms_code` is invalid or unexpected sms_code occurs""" + pass -class SmsCodeConfirmationError(Exception): - def __init__(self, reason): - super().__init__(reason) - self.reason: Any = reason - @property - def stacktrace(self): - return self.reason +class RefreshTokenError(BaseInpostError): + """Is raised when `Inpost.refr_token` is invalid or unexpected error connected with refresh token occurs""" + pass -class RefreshTokenException(Exception): - def __init__(self, reason): - super().__init__(reason) - self.reason: Any = reason +class NotFoundError(BaseInpostError): + """Is raised when method from :class:`Inpost` returns 404 Not Found HTTP status code""" + pass - @property - def stacktrace(self): - return self.reason +class UnauthorizedError(BaseInpostError): + """Is raised when method from :class:`Inpost` returns 401 Unauthorized HTTP status code""" + pass -class UnidentifiedAPIError(Exception): - def __init__(self, reason): - super().__init__(reason) - self.reason: Any = reason - @property - def stacktrace(self): - return self.reason +class UnidentifiedAPIError(BaseInpostError): + """Is raised when no other API error match""" + pass # ----------------- Other ----------------- # -class UserLocationError(Exception): - def __init__(self, reason): - super().__init__(reason) - self.reason: Any = reason - - @property - def stacktrace(self): - return self.reason +class UserLocationError(BaseInpostError): + pass -class UnidentifiedError(Exception): - def __init__(self, reason): - super().__init__(reason) - self.reason: Any = reason - - @property - def stacktrace(self): - return self.reason +class UnidentifiedError(BaseInpostError): + """Is raised when no other error match""" + pass From e8bbdb4b023460c88e2ff8be1ec9a3b650e7d334 Mon Sep 17 00:00:00 2001 From: loboda4450 Date: Sat, 14 Jan 2023 14:31:36 +0100 Subject: [PATCH 15/19] rework most if..else statements to match..case (py3.10 syntax) --- inpost/api.py | 491 +++++++++++++++++++++++++++++--------- inpost/static/__init__.py | 4 +- 2 files changed, 374 insertions(+), 121 deletions(-) diff --git a/inpost/api.py b/inpost/api.py index 14d7ed5..5345ee1 100644 --- a/inpost/api.py +++ b/inpost/api.py @@ -19,11 +19,14 @@ def __repr__(self): return f'Phone number: {self.phone_number}\nToken: {self.auth_token}' async def set_phone_number(self, phone_number: str) -> bool | None: - self._log = logging.getLogger(f'{__class__.__name__}.{phone_number}') - self._log.setLevel(level=logging.DEBUG) - self._log.info(f'initializing inpost object with phone number {phone_number}') - self.phone_number = phone_number - return True + if len(phone_number) == 9 and phone_number.isdigit(): + self._log = logging.getLogger(f'{__class__.__name__}.{phone_number}') + self._log.setLevel(level=logging.DEBUG) + self._log.info(f'initializing inpost object with phone number {phone_number}') + self.phone_number = phone_number + return True + + raise PhoneNumberError(f'Wrong phone number format: {phone_number} (should be 9 digits)') async def send_sms_code(self) -> bool | None: if not self.phone_number: # can't log it cuz if there's no phone number no logger initialized @shrug @@ -34,17 +37,35 @@ async def send_sms_code(self) -> bool | None: json={ 'phoneNumber': f'{self.phone_number}' }) as phone: - if phone.status == 200: - self._log.debug(f'sms code sent') - return True - else: - self._log.error(f'could not sent sms code') - raise PhoneNumberError(reason=phone) + match phone.status: + case 200: + self._log.debug(f'sms code sent') + return True + case 401: + self._log.error(f'could not send sms code, unauthorized') + raise UnauthorizedError(reason=phone) + case 404: + self._log.error(f'could not sent sms code, bad request') + raise NotFoundError(reason=phone) + case _: + self._log.error(f'could not sent sms code, unhandled status') + + raise SmsCodeError(reason=phone) + + # if phone.status == 200: + # self._log.debug(f'sms code sent') + # return True + # else: + # self._log.error(f'could not sent sms code') + # raise PhoneNumberError(reason=phone) async def confirm_sms_code(self, sms_code: str) -> bool | None: if not self.phone_number: # can't log it cuz if there's no phone number no logger initialized @shrug raise PhoneNumberError('Phone number missing') + if len(sms_code) != 6 or not sms_code.isdigit(): + raise SmsCodeError(reason=f'Wrong sms code format: {sms_code} (should be 6 digits)') + self._log.info(f'confirming sms code') async with await self.sess.post(url=confirm_sms_code, headers=appjson, @@ -53,23 +74,42 @@ async def confirm_sms_code(self, sms_code: str) -> bool | None: "smsCode": sms_code, "phoneOS": "Android" }) as confirmation: - if confirmation.status == 200: - resp = await confirmation.json() - self.sms_code = sms_code - self.refr_token = resp['refreshToken'] - self.auth_token = resp['authToken'] - self._log.debug(f'sms code confirmed') - return True - else: - self._log.error(f'could not confirm sms code') - raise SmsCodeConfirmationError(reason=confirmation) + match confirmation.status: + case 200: + resp = await confirmation.json() + self.sms_code = sms_code + self.refr_token = resp['refreshToken'] + self.auth_token = resp['authToken'] + self._log.debug(f'sms code confirmed') + return True + case 401: + self._log.error(f'could not confirm sms code, unauthorized') + raise UnauthorizedError(reason=confirmation) + case 404: + self._log.error(f'could not confirm sms code, bad request') + raise NotFoundError(reason=confirmation) + case _: + self._log.error(f'could not confirm sms code, unhandled status') + + raise SmsCodeError(reason=confirmation) + + # if confirmation.status == 200: + # resp = await confirmation.json() + # self.sms_code = sms_code + # self.refr_token = resp['refreshToken'] + # self.auth_token = resp['authToken'] + # self._log.debug(f'sms code confirmed') + # return True + # else: + # self._log.error(f'could not confirm sms code') + # raise SmsCodeConfirmationError(reason=confirmation) async def refresh_token(self) -> bool | None: self._log.info(f'refreshing token') if not self.refr_token: self._log.error(f'refresh token missing') - raise NotAuthenticatedError(reason='Refresh token missing') + raise RefreshTokenError(reason='Refresh token missing') async with await self.sess.post(url=refresh_token, headers=appjson, @@ -77,18 +117,39 @@ async def refresh_token(self) -> bool | None: "refreshToken": self.refr_token, "phoneOS": "Android" }) as confirmation: - if confirmation.status == 200: - resp = await confirmation.json() - if resp['reauthenticationRequired']: - self._log.error(f'could not reauthenticate') - raise ReAuthenticationError(reason='You need to log in again!') - self.auth_token = resp['authToken'] - self._log.debug(f'token refreshed') - return True - - else: - self._log.error(f'error: {confirmation}') - raise RefreshTokenException(reason=confirmation) + match confirmation.status: + case 200: + resp = await confirmation.json() + if resp['reauthenticationRequired']: + self._log.error(f'could not refresh token, log in again') + raise ReAuthenticationError(reason='You need to log in again!') + + self.auth_token = resp['authToken'] + self._log.debug(f'token refreshed') + return True + case 401: + self._log.error(f'could not refresh token, unauthorized') + raise UnauthorizedError(reason=confirmation) + case 404: + self._log.error(f'could not refresh token, bad request') + raise NotFoundError(reason=confirmation) + case _: + self._log.error(f'could not refresh token, unhandled status') + + raise RefreshTokenError(reason=confirmation) + + # if confirmation.status == 200: + # resp = await confirmation.json() + # if resp['reauthenticationRequired']: + # self._log.error(f'could not refresh token, log in again') + # raise ReAuthenticationError(reason='You need to log in again!') + # self.auth_token = resp['authToken'] + # self._log.debug(f'token refreshed') + # return True + # + # else: + # self._log.error(f'could not refresh token') + # raise RefreshTokenException(reason=confirmation) async def logout(self) -> bool | None: self._log.info(f'logging out') @@ -99,22 +160,48 @@ async def logout(self) -> bool | None: async with await self.sess.post(url=logout, headers={'Authorization': self.auth_token}) as resp: - if resp.status == 200: - self.phone_number = None - self.refr_token = None - self.auth_token = None - self.sms_code = None - return True - else: - raise UnidentifiedAPIError(reason=resp) + match resp.status: + case 200: + self.phone_number = None + self.refr_token = None + self.auth_token = None + self.sms_code = None + self._log.debug('logged out') + return True + case 401: + self._log.error('could not log out, unauthorized') + raise UnauthorizedError(reason=resp) + case 404: + self._log.error('could not log out, bad request') + raise NotFoundError(reason=resp) + case _: + self._log.error('could not log out, unhandled status') + + raise UnidentifiedAPIError(reason=resp) + + # if resp.status == 200: + # self.phone_number = None + # self.refr_token = None + # self.auth_token = None + # self.sms_code = None + # self._log.debug('logged out') + # return True + # else: + # self._log.error('could not log out') + # raise UnidentifiedAPIError(reason=resp) async def disconnect(self) -> bool: self._log.info(f'disconnecting') + if not self.auth_token: + self._log.error(f'authorization token missing') + raise NotAuthenticatedError(reason='Not logged in') + if await self.logout(): await self.sess.close() - self._log.debug(f'refreshing disconnected') + self._log.debug(f'disconnected') return True + self._log.error('could not disconnect') return False async def get_parcel(self, shipment_number: int | str, parse=False) -> dict | Parcel: @@ -127,13 +214,27 @@ async def get_parcel(self, shipment_number: int | str, parse=False) -> dict | Pa async with await self.sess.get(url=f"{parcel}{shipment_number}", headers={'Authorization': self.auth_token}, ) as resp: - if resp.status == 200: - self._log.debug(f'parcel with shipment number {shipment_number} received') - return await resp.json() if not parse else Parcel(await resp.json(), logger=self._log) - - else: - self._log.error(f'could not get parcel with shipment number {shipment_number}') - raise UnidentifiedAPIError(reason=resp) + match resp.status: + case 200: + self._log.debug(f'parcel with shipment number {shipment_number} received') + return await resp.json() if not parse else Parcel(await resp.json(), logger=self._log) + case 401: + self._log.error(f'could not get parcel with shipment number {shipment_number}, unauthorized') + raise UnauthorizedError(reason=resp) + case 404: + self._log.error(f'could not get parcel with shipment number {shipment_number}, bad request') + raise NotFoundError(reason=resp) + case _: + self._log.error(f'could not get parcel with shipment number {shipment_number}, unhandled status') + + raise UnidentifiedAPIError(reason=resp) + # if resp.status == 200: + # self._log.debug(f'parcel with shipment number {shipment_number} received') + # return await resp.json() if not parse else Parcel(await resp.json(), logger=self._log) + # + # else: + # self._log.error(f'could not get parcel with shipment number {shipment_number}') + # raise UnidentifiedAPIError(reason=resp) async def get_parcels(self, parcel_type: ParcelType = ParcelType.TRACKED, @@ -143,6 +244,7 @@ async def get_parcels(self, parcel_size: ParcelLockerSize | ParcelCarrierSize | None = None, parse: bool = False) -> List[dict] | List[Parcel]: self._log.info('getting parcels') + if not self.auth_token: self._log.error(f'authorization token missing') raise NotAuthenticatedError(reason='Not logged in') @@ -153,10 +255,13 @@ async def get_parcels(self, match parcel_type: case ParcelType.TRACKED: + self._log.debug(f'getting parcel type {parcel_type}') url = parcels case ParcelType.SENT: + self._log.debug(f'getting parcel type {parcel_type}') url = sent case ParcelType.RETURNS: + self._log.debug(f'getting parcel type {parcel_type}') url = returns case _: self._log.error(f'wrong parcel type {parcel_type}') @@ -165,51 +270,101 @@ async def get_parcels(self, async with await self.sess.get(url=url, headers={'Authorization': self.auth_token}, ) as resp: - if resp.status == 200: - self._log.debug(f'received {parcel_type} parcels') - _parcels = (await resp.json())['parcels'] - - if status is not None: - if isinstance(status, ParcelStatus): - status = [status] - - _parcels = (_parcel for _parcel in _parcels if ParcelStatus[_parcel['status']] in status) + match resp.status: + case 200: + self._log.debug(f'received {parcel_type} parcels') + _parcels = (await resp.json())['parcels'] - if pickup_point is not None: - if isinstance(pickup_point, str): - pickup_point = [pickup_point] + if status is not None: + if isinstance(status, ParcelStatus): + status = [status] - _parcels = (_parcel for _parcel in _parcels if _parcel['pickUpPoint']['name'] in pickup_point) + _parcels = (_parcel for _parcel in _parcels if ParcelStatus[_parcel['status']] in status) - if shipment_type is not None: - if isinstance(shipment_type, ParcelShipmentType): - shipment_type = [shipment_type] + if pickup_point is not None: + if isinstance(pickup_point, str): + pickup_point = [pickup_point] - _parcels = (_parcel for _parcel in _parcels if - ParcelShipmentType[_parcel['shipmentType']] in shipment_type) + _parcels = (_parcel for _parcel in _parcels if _parcel['pickUpPoint']['name'] in pickup_point) - if parcel_size is not None: - if isinstance(parcel_size, ParcelCarrierSize): - parcel_size = [parcel_size] + if shipment_type is not None: + if isinstance(shipment_type, ParcelShipmentType): + shipment_type = [shipment_type] _parcels = (_parcel for _parcel in _parcels if - ParcelCarrierSize[_parcel['parcelSize']] in parcel_size) - - if isinstance(parcel_size, ParcelLockerSize): - parcel_size = [parcel_size] - - _parcels = (_parcel for _parcel in _parcels if - ParcelLockerSize[_parcel['parcelSize']] in parcel_size) - - return _parcels if not parse else [Parcel(parcel_data=data, logger=self._log) for data in _parcels] - - else: - self._log.error(f'could not get parcels') - raise UnidentifiedAPIError(reason=resp) + ParcelShipmentType[_parcel['shipmentType']] in shipment_type) + + if parcel_size is not None: + if isinstance(parcel_size, ParcelCarrierSize): + parcel_size = [parcel_size] + + _parcels = (_parcel for _parcel in _parcels if + ParcelCarrierSize[_parcel['parcelSize']] in parcel_size) + + if isinstance(parcel_size, ParcelLockerSize): + parcel_size = [parcel_size] + + _parcels = (_parcel for _parcel in _parcels if + ParcelLockerSize[_parcel['parcelSize']] in parcel_size) + + return _parcels if not parse else [Parcel(parcel_data=data, logger=self._log) for data in _parcels] + case 401: + self._log.error(f'could not get parcels, unauthorized') + raise UnauthorizedError(reason=resp) + case 404: + self._log.error(f'could not get parcels, bad request') + raise NotFoundError(reason=resp) + case _: + self._log.error(f'could not get parcels, unhandled status') + + raise UnidentifiedAPIError(reason=resp) + + # if resp.status == 200: + # self._log.debug(f'received {parcel_type} parcels') + # _parcels = (await resp.json())['parcels'] + # + # if status is not None: + # if isinstance(status, ParcelStatus): + # status = [status] + # + # _parcels = (_parcel for _parcel in _parcels if ParcelStatus[_parcel['status']] in status) + # + # if pickup_point is not None: + # if isinstance(pickup_point, str): + # pickup_point = [pickup_point] + # + # _parcels = (_parcel for _parcel in _parcels if _parcel['pickUpPoint']['name'] in pickup_point) + # + # if shipment_type is not None: + # if isinstance(shipment_type, ParcelShipmentType): + # shipment_type = [shipment_type] + # + # _parcels = (_parcel for _parcel in _parcels if + # ParcelShipmentType[_parcel['shipmentType']] in shipment_type) + # + # if parcel_size is not None: + # if isinstance(parcel_size, ParcelCarrierSize): + # parcel_size = [parcel_size] + # + # _parcels = (_parcel for _parcel in _parcels if + # ParcelCarrierSize[_parcel['parcelSize']] in parcel_size) + # + # if isinstance(parcel_size, ParcelLockerSize): + # parcel_size = [parcel_size] + # + # _parcels = (_parcel for _parcel in _parcels if + # ParcelLockerSize[_parcel['parcelSize']] in parcel_size) + # + # return _parcels if not parse else [Parcel(parcel_data=data, logger=self._log) for data in _parcels] + # + # else: + # self._log.error(f'could not get parcels') + # raise UnidentifiedAPIError(reason=resp) async def collect_compartment_properties(self, shipment_number: str | None = None, parcel_obj: Parcel | None = None, location: dict | None = None) -> bool: self._log.info(f'collecting compartment properties for {shipment_number}') + if shipment_number is not None and parcel_obj is None: self._log.debug(f'parcel_obj not provided, getting from shipment number {shipment_number}') parcel_obj = await self.get_parcel(shipment_number=shipment_number, parse=True) @@ -220,67 +375,149 @@ async def collect_compartment_properties(self, shipment_number: str | None = Non 'parcel': parcel_obj.compartment_open_data, 'geoPoint': location if location is not None else parcel_obj.mocked_location }) as collect_resp: - if collect_resp.status == 200: - self._log.debug(f'collected compartment properties for {shipment_number}') - parcel_obj.compartment_properties = await collect_resp.json() - self.parcel = parcel_obj - return True - - else: - self._log.error(f'could not collect compartment properties for {shipment_number}') - raise UnidentifiedAPIError(reason=collect_resp) + match collect_resp.status: + case 200: + self._log.debug(f'collected compartment properties for {shipment_number}') + parcel_obj.compartment_properties = await collect_resp.json() + self.parcel = parcel_obj + return True + case 401: + self._log.error(f'could not collect compartment properties for {shipment_number}, unauthorized') + raise UnauthorizedError(reason=collect_resp) + case 404: + self._log.error(f'could not collect compartment properties for {shipment_number}, bad request') + raise NotFoundError(reason=collect_resp) + case _: + self._log.error(f'could not collect compartment properties for {shipment_number}, unhandled status') + + raise UnidentifiedAPIError(reason=collect_resp) + + # if collect_resp.status == 200: + # self._log.debug(f'collected compartment properties for {shipment_number}') + # parcel_obj.compartment_properties = await collect_resp.json() + # self.parcel = parcel_obj + # return True + # + # else: + # self._log.error(f'could not collect compartment properties for {shipment_number}') + # raise UnidentifiedAPIError(reason=collect_resp) async def open_compartment(self): + self._log.info(f'opening compartment for {self.parcel.shipment_number}') + + if not self.auth_token: + self._log.debug(f'authorization token missing') + raise NotAuthenticatedError(reason='Not logged in') + async with await self.sess.post(url=compartment_open, headers={'Authorization': self.auth_token}, json={ 'sessionUuid': self.parcel.compartment_properties.session_uuid }) as compartment_open_resp: - if compartment_open_resp.status == 200: - self._log.debug(f'opened comaprtment for {self.parcel.shipment_number}') - self.parcel.compartment_properties.location = await compartment_open_resp.json() - return True - - else: - self._log.error(f'could not open compartment for {self.parcel.shipment_number}') - raise UnidentifiedAPIError(reason=compartment_open_resp) + match compartment_open_resp.status: + case 200: + self._log.debug(f'opened comaprtment for {self.parcel.shipment_number}') + self.parcel.compartment_properties.location = await compartment_open_resp.json() + return True + case 401: + self._log.error(f'could not open compartment for {self.parcel.shipment_number}, unauthorized') + raise UnauthorizedError(reason=compartment_open_resp) + case 404: + self._log.error(f'could not open compartment for {self.parcel.shipment_number}, bad request') + raise NotFoundError(reason=compartment_open_resp) + case _: + self._log.error(f'could not open compartment for {self.parcel.shipment_number}, unhandled status') + + raise UnidentifiedAPIError(reason=compartment_open_resp) + + # if compartment_open_resp.status == 200: + # self._log.debug(f'opened comaprtment for {self.parcel.shipment_number}') + # self.parcel.compartment_properties.location = await compartment_open_resp.json() + # return True + # + # else: + # self._log.error(f'could not open compartment for {self.parcel.shipment_number}') + # raise UnidentifiedAPIError(reason=compartment_open_resp) async def check_compartment_status(self, expected_status: CompartmentExpectedStatus = CompartmentExpectedStatus.OPENED): self._log.info(f'checking compartment status for {self.parcel.shipment_number}') + if not self.auth_token: + self._log.debug(f'authorization token missing') + raise NotAuthenticatedError(reason='Not logged in') + async with await self.sess.post(url=compartment_status, headers={'Authorization': self.auth_token}, json={ 'sessionUuid': self.parcel.compartment_properties.session_uuid, 'expectedStatus': expected_status.name }) as compartment_status_resp: - if compartment_status_resp.status == 200: - self._log.debug(f'checked compartment status for {self.parcel.shipment_number}') - return CompartmentExpectedStatus[(await compartment_status_resp.json())['status']] == expected_status - else: - self._log.error(f'could not check compartment status for {self.parcel.shipment_number}') - raise UnidentifiedAPIError(reason=compartment_status_resp) + match compartment_status_resp.status: + case 200: + self._log.debug(f'checked compartment status for {self.parcel.shipment_number}') + return CompartmentExpectedStatus[ + (await compartment_status_resp.json())['status']] == expected_status + case 401: + self._log.error(f'could not check compartment status for {self.parcel.shipment_number}, unauthorized') + raise UnauthorizedError(reason=compartment_status_resp) + case 404: + self._log.error(f'could not check compartment status for {self.parcel.shipment_number}, bad request') + raise NotFoundError(reason=compartment_status_resp) + case _: + self._log.error(f'could not check compartment status for {self.parcel.shipment_number}, unhandled status') + + raise UnidentifiedAPIError(reason=compartment_status_resp) + + # if compartment_status_resp.status == 200: + # self._log.debug(f'checked compartment status for {self.parcel.shipment_number}') + # return CompartmentExpectedStatus[(await compartment_status_resp.json())['status']] == expected_status + # else: + # self._log.error(f'could not check compartment status for {self.parcel.shipment_number}') + # raise UnidentifiedAPIError(reason=compartment_status_resp) async def terminate_collect_session(self): self._log.info(f'terminating collect session for {self.parcel.shipment_number}') + if not self.auth_token: + self._log.debug(f'authorization token missing') + raise NotAuthenticatedError(reason='Not logged in') + async with await self.sess.post(url=terminate_collect_session, headers={'Authorization': self.auth_token}, json={ 'sessionUuid': self.parcel.compartment_properties.session_uuid }) as terminate_resp: - if terminate_resp.status == 200: - self._log.debug(f'terminated collect session for {self.parcel.shipment_number}') - return True - else: - self._log.error(f'could not terminate collect session for {self.parcel.shipment_number}') - raise UnidentifiedAPIError(reason=terminate_resp) + match terminate_resp.status: + case 200: + self._log.debug(f'terminated collect session for {self.parcel.shipment_number}') + return True + case 401: + self._log.error(f'could not terminate collect session for {self.parcel.shipment_number}, unauthorized') + raise UnauthorizedError(reason=terminate_resp) + case 404: + self._log.error(f'could not terminate collect session for {self.parcel.shipment_number}, bad request') + raise NotFoundError(reason=terminate_resp) + case _: + self._log.error(f'could not terminate collect session for {self.parcel.shipment_number}, unhandled status') + + raise UnidentifiedAPIError(reason=terminate_resp) + + # if terminate_resp.status == 200: + # self._log.debug(f'terminated collect session for {self.parcel.shipment_number}') + # return True + # else: + # self._log.error(f'could not terminate collect session for {self.parcel.shipment_number}') + # raise UnidentifiedAPIError(reason=terminate_resp) async def collect(self, shipment_number: str | None = None, parcel_obj: Parcel | None = None, location: dict | None = None) -> bool: self._log.info(f'collecing parcel with shipment number {self.parcel.shipment_number}') + if not self.auth_token: + self._log.error(f'authorization token missing') + raise NotAuthenticatedError(reason='Not logged in') + if shipment_number is not None and parcel_obj is None: parcel_obj = await self.get_parcel(shipment_number=shipment_number, parse=True) @@ -309,9 +546,25 @@ async def get_prices(self) -> dict: async with await self.sess.get(url=parcel_prices, headers={'Authorization': self.auth_token}) as resp: - if resp.status == 200: - self._log.debug(f'got parcel prices') - return await resp.json() - - else: - raise UnidentifiedAPIError(reason=resp) + match resp.status: + case 200: + self._log.debug(f'got parcel prices') + return await resp.json() + case 401: + self._log.error('could not get parcel prices, unauthorized') + raise UnauthorizedError(reason=resp) + case 404: + self._log.error('could not get parcel prices, bad request') + raise NotFoundError(reason=resp) + case _: + self._log.error('could not get parcel prices, unhandled status') + + raise UnidentifiedAPIError(reason=resp) + + # if resp.status == 200: + # self._log.debug(f'got parcel prices') + # return await resp.json() + # + # else: + # self._log.error('could not get parcel prices') + # raise UnidentifiedAPIError(reason=resp) diff --git a/inpost/static/__init__.py b/inpost/static/__init__.py index b0b2b5e..129b79f 100644 --- a/inpost/static/__init__.py +++ b/inpost/static/__init__.py @@ -5,8 +5,8 @@ ParcelAdditionalInsurance, ParcelType, ParcelOwnership, CompartmentExpectedStatus, CompartmentActualStatus, \ ParcelServiceName, ParcelStatus from .exceptions import UnidentifiedParcelError, ParcelTypeError, NotAuthenticatedError, ReAuthenticationError, \ - PhoneNumberError, SmsCodeConfirmationError, RefreshTokenException, UnidentifiedAPIError, UserLocationError, \ - UnidentifiedError + PhoneNumberError, SmsCodeError, RefreshTokenError, UnidentifiedAPIError, UserLocationError, \ + UnidentifiedError, NotFoundError, UnauthorizedError from .endpoints import login, send_sms_code, confirm_sms_code, refresh_token, parcels, parcel, collect, \ compartment_open, compartment_status, terminate_collect_session, friends, shared, sent, returns, parcel_prices, \ tickets, logout From 1e8a8ea3c1e789ba9471a6840a02b9ef45a79739 Mon Sep 17 00:00:00 2001 From: loboda4450 Date: Sun, 15 Jan 2023 18:45:12 +0100 Subject: [PATCH 16/19] base docstrings, new exceptions, cleanups --- inpost/api.py | 233 ++++++++++++++++++++++++++++++++---- inpost/static/__init__.py | 4 +- inpost/static/exceptions.py | 18 ++- inpost/static/parcels.py | 186 +++++++++++++++++++++++----- inpost/static/statuses.py | 31 ++++- 5 files changed, 402 insertions(+), 70 deletions(-) diff --git a/inpost/api.py b/inpost/api.py index 5345ee1..7ed6102 100644 --- a/inpost/api.py +++ b/inpost/api.py @@ -6,7 +6,10 @@ class Inpost: + """Python representation of an Inpost app. Essentially implements methods to manage all incoming parcels""" + def __init__(self): + """Constructor method""" self.phone_number: str | None = None self.sms_code: str | None = None self.auth_token: str | None = None @@ -18,7 +21,28 @@ def __init__(self): def __repr__(self): return f'Phone number: {self.phone_number}\nToken: {self.auth_token}' - async def set_phone_number(self, phone_number: str) -> bool | None: + @classmethod + async def from_phone_number(cls, phone_number: str | int): + """`Classmethod` to initialize :class:`Inpost` object with phone number + :param phone_number: User's Inpost phone number + :type phone_number: str, int""" + if isinstance(phone_number, int): + phone_number = str(phone_number) + inp = cls() + await inp.set_phone_number(phone_number=phone_number) + inp._log.info(f'initialized by from_phone_number') + return inp + + async def set_phone_number(self, phone_number: str | int) -> bool: + """Set :class:`Inpost` phone number required for verification + :param phone_number: User's Inpost phone number + :type phone_number: str, int + :return: True if `Inpost.phone_number` is set + :rtype: bool + :raises PhoneNumberError: Wrong phone number format""" + if isinstance(phone_number, int): + phone_number = str(phone_number) + if len(phone_number) == 9 and phone_number.isdigit(): self._log = logging.getLogger(f'{__class__.__name__}.{phone_number}') self._log.setLevel(level=logging.DEBUG) @@ -28,7 +52,15 @@ async def set_phone_number(self, phone_number: str) -> bool | None: raise PhoneNumberError(f'Wrong phone number format: {phone_number} (should be 9 digits)') - async def send_sms_code(self) -> bool | None: + async def send_sms_code(self) -> bool: + """Sends sms code to `Inpost.phone_number` + :return: True if sms code sent + :rtype: bool + :raises PhoneNumberError: Missing phone number + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected things happened + """ if not self.phone_number: # can't log it cuz if there's no phone number no logger initialized @shrug raise PhoneNumberError('Phone number missing') @@ -45,12 +77,12 @@ async def send_sms_code(self) -> bool | None: self._log.error(f'could not send sms code, unauthorized') raise UnauthorizedError(reason=phone) case 404: - self._log.error(f'could not sent sms code, bad request') + self._log.error(f'could not send sms code, not found') raise NotFoundError(reason=phone) case _: - self._log.error(f'could not sent sms code, unhandled status') + self._log.error(f'could not send sms code, unhandled status') - raise SmsCodeError(reason=phone) + raise UnidentifiedAPIError(reason=phone) # if phone.status == 200: # self._log.debug(f'sms code sent') @@ -59,10 +91,23 @@ async def send_sms_code(self) -> bool | None: # self._log.error(f'could not sent sms code') # raise PhoneNumberError(reason=phone) - async def confirm_sms_code(self, sms_code: str) -> bool | None: + async def confirm_sms_code(self, sms_code: str | int) -> bool: + """Confirms sms code sent to `Inpost.phone_number` and fetches tokens + :param sms_code: sms code sent to `Inpost.phone_number` device + :type sms_code: str, int + :return: True if sms code gets confirmed and tokens fetched + :rtype: bool + :raises SmsCodeError: Wrong sms code format + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened + """ if not self.phone_number: # can't log it cuz if there's no phone number no logger initialized @shrug raise PhoneNumberError('Phone number missing') + if isinstance(sms_code, int): + sms_code = str(sms_code) + if len(sms_code) != 6 or not sms_code.isdigit(): raise SmsCodeError(reason=f'Wrong sms code format: {sms_code} (should be 6 digits)') @@ -86,12 +131,12 @@ async def confirm_sms_code(self, sms_code: str) -> bool | None: self._log.error(f'could not confirm sms code, unauthorized') raise UnauthorizedError(reason=confirmation) case 404: - self._log.error(f'could not confirm sms code, bad request') + self._log.error(f'could not confirm sms code, not found') raise NotFoundError(reason=confirmation) case _: self._log.error(f'could not confirm sms code, unhandled status') - raise SmsCodeError(reason=confirmation) + raise UnidentifiedAPIError(reason=confirmation) # if confirmation.status == 200: # resp = await confirmation.json() @@ -104,7 +149,15 @@ async def confirm_sms_code(self, sms_code: str) -> bool | None: # self._log.error(f'could not confirm sms code') # raise SmsCodeConfirmationError(reason=confirmation) - async def refresh_token(self) -> bool | None: + async def refresh_token(self) -> bool: + """Refreshes authorization token using refresh token + :return: True if `Inpost.auth_token` gets refreshed + :rtype: bool + :raises RefreshTokenError: Missing refresh token + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened + """ self._log.info(f'refreshing token') if not self.refr_token: @@ -131,12 +184,12 @@ async def refresh_token(self) -> bool | None: self._log.error(f'could not refresh token, unauthorized') raise UnauthorizedError(reason=confirmation) case 404: - self._log.error(f'could not refresh token, bad request') + self._log.error(f'could not refresh token, not found') raise NotFoundError(reason=confirmation) case _: self._log.error(f'could not refresh token, unhandled status') - raise RefreshTokenError(reason=confirmation) + raise UnidentifiedAPIError(reason=confirmation) # if confirmation.status == 200: # resp = await confirmation.json() @@ -151,7 +204,14 @@ async def refresh_token(self) -> bool | None: # self._log.error(f'could not refresh token') # raise RefreshTokenException(reason=confirmation) - async def logout(self) -> bool | None: + async def logout(self) -> bool: + """Logouts user from inpost api service + :return: True if the user is logged out + :rtype: bool + :raises NotAuthenticatedError: User not authenticated in inpost service + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened""" self._log.info(f'logging out') if not self.auth_token: @@ -172,7 +232,7 @@ async def logout(self) -> bool | None: self._log.error('could not log out, unauthorized') raise UnauthorizedError(reason=resp) case 404: - self._log.error('could not log out, bad request') + self._log.error('could not log out, not found') raise NotFoundError(reason=resp) case _: self._log.error('could not log out, unhandled status') @@ -191,6 +251,9 @@ async def logout(self) -> bool | None: # raise UnidentifiedAPIError(reason=resp) async def disconnect(self) -> bool: + """Simplified method to logout and close user's session + :return: True if user is logged out and session is closed else False + :raises NotAuthenticatedError: User not authenticated in inpost service""" self._log.info(f'disconnecting') if not self.auth_token: self._log.error(f'authorization token missing') @@ -205,6 +268,17 @@ async def disconnect(self) -> bool: return False async def get_parcel(self, shipment_number: int | str, parse=False) -> dict | Parcel: + """Fetches single parcel from provided shipment number + :param shipment_number: Parcel's shipment number + :type shipment_number: int, str + :param parse: if set to True method will return :class:`Parcel` else :class:`dict` + :type parse: bool + :return: fetched parcel data + :rtype: dict, Parcel + :raises NotAuthenticatedError: User not authenticated in inpost service + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened""" self._log.info(f'getting parcel with shipment number: {shipment_number}') if not self.auth_token: @@ -222,7 +296,7 @@ async def get_parcel(self, shipment_number: int | str, parse=False) -> dict | Pa self._log.error(f'could not get parcel with shipment number {shipment_number}, unauthorized') raise UnauthorizedError(reason=resp) case 404: - self._log.error(f'could not get parcel with shipment number {shipment_number}, bad request') + self._log.error(f'could not get parcel with shipment number {shipment_number}, not found') raise NotFoundError(reason=resp) case _: self._log.error(f'could not get parcel with shipment number {shipment_number}, unhandled status') @@ -243,6 +317,26 @@ async def get_parcels(self, shipment_type: ParcelShipmentType | List[ParcelShipmentType] | None = None, parcel_size: ParcelLockerSize | ParcelCarrierSize | None = None, parse: bool = False) -> List[dict] | List[Parcel]: + """Fetches all available parcels for set `Inpost.phone_number and optionally filters them` + :param parcel_type: Parcel type (e.g. received, sent, returned) + :type parcel_type: ParcelType + :param status: status that each fetched parcels has to be in + :type status: ParcelStatus, list[ParcelStatus], None + :param pickup_point: Fetched parcels have to be picked from this pickup point (e.g. `GXO05M`) + :type pickup_point: str, list[str], None + :param shipment_type: Fetched parcels have to be shipped that way + :type shipment_type: ParcelShipmentType, list[ParcelShipmentType], None + :param parcel_size: Fetched parcels have to be this size + :type parcel_size: ParcelLockerSize, ParcelCarrierSize, None + :param parse: if set to True method will return list[:class:`Parcel`] else list[:class:`dict`] + :type parse: bool + :return: fetched parcels data + :rtype: list[dict], list[Parcel] + :raises NotAuthenticatedError: User not authenticated in inpost service + :raises ParcelTypeError: Unknown parcel type selected + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened""" self._log.info('getting parcels') if not self.auth_token: @@ -312,7 +406,7 @@ async def get_parcels(self, self._log.error(f'could not get parcels, unauthorized') raise UnauthorizedError(reason=resp) case 404: - self._log.error(f'could not get parcels, bad request') + self._log.error(f'could not get parcels, not found') raise NotFoundError(reason=resp) case _: self._log.error(f'could not get parcels, unhandled status') @@ -361,10 +455,35 @@ async def get_parcels(self, # self._log.error(f'could not get parcels') # raise UnidentifiedAPIError(reason=resp) - async def collect_compartment_properties(self, shipment_number: str | None = None, parcel_obj: Parcel | None = None, - location: dict | None = None) -> bool: + async def collect_compartment_properties(self, shipment_number: str | int | None = None, + parcel_obj: Parcel | None = None, location: dict | None = None) -> bool: + """Validates sent data and fetches required compartment properties for opening + :param shipment_number: Parcel's shipment number + :type shipment_number: int, str, None + :param parcel_obj: :class:`Parcel` object to obtain data from + :type parcel_obj: Parcel, None + :param location: Fetched parcels have to be picked from this pickup point (e.g. `GXO05M`) + :type location: dict, None + :return: fetched parcels data + :rtype: bool + :raises SingleParamError: Fields shipment_number and parcel_obj filled in but only one of them is required + :raises NotAuthenticatedError: User not authenticated in inpost service + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened + + .. warning:: you must fill in only one parameter - shipment_number or parcel_obj!""" + self._log.info(f'collecting compartment properties for {shipment_number}') + if shipment_number and parcel_obj: + self._log.error(f'shipment_number and parcel_obj filled in') + raise SingleParamError(reason='Fields shipment_number and parcel_obj filled in! Choose one!') + + if not self.auth_token: + self._log.error(f'authorization token missing') + raise NotAuthenticatedError(reason='Not logged in') + if shipment_number is not None and parcel_obj is None: self._log.debug(f'parcel_obj not provided, getting from shipment number {shipment_number}') parcel_obj = await self.get_parcel(shipment_number=shipment_number, parse=True) @@ -385,7 +504,7 @@ async def collect_compartment_properties(self, shipment_number: str | None = Non self._log.error(f'could not collect compartment properties for {shipment_number}, unauthorized') raise UnauthorizedError(reason=collect_resp) case 404: - self._log.error(f'could not collect compartment properties for {shipment_number}, bad request') + self._log.error(f'could not collect compartment properties for {shipment_number}, not found') raise NotFoundError(reason=collect_resp) case _: self._log.error(f'could not collect compartment properties for {shipment_number}, unhandled status') @@ -403,6 +522,13 @@ async def collect_compartment_properties(self, shipment_number: str | None = Non # raise UnidentifiedAPIError(reason=collect_resp) async def open_compartment(self): + """Opens compartment for `Inpost.parcel` object + :return: True if compartment gets opened + :rtype: bool + :raises NotAuthenticatedError: User not authenticated in inpost service + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened""" self._log.info(f'opening compartment for {self.parcel.shipment_number}') if not self.auth_token: @@ -423,7 +549,7 @@ async def open_compartment(self): self._log.error(f'could not open compartment for {self.parcel.shipment_number}, unauthorized') raise UnauthorizedError(reason=compartment_open_resp) case 404: - self._log.error(f'could not open compartment for {self.parcel.shipment_number}, bad request') + self._log.error(f'could not open compartment for {self.parcel.shipment_number}, not found') raise NotFoundError(reason=compartment_open_resp) case _: self._log.error(f'could not open compartment for {self.parcel.shipment_number}, unhandled status') @@ -441,12 +567,25 @@ async def open_compartment(self): async def check_compartment_status(self, expected_status: CompartmentExpectedStatus = CompartmentExpectedStatus.OPENED): + """Checks and compare compartment status (e.g. opened, closed) with expected status + :param expected_status: Compartment expected status + :type expected_status: CompartmentExpectedStatus + :return: True if actual status equals expected status else False + :rtype: bool + :raises NotAuthenticatedError: User not authenticated in inpost service + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened""" self._log.info(f'checking compartment status for {self.parcel.shipment_number}') if not self.auth_token: self._log.debug(f'authorization token missing') raise NotAuthenticatedError(reason='Not logged in') + if not self.parcel: + self._log.debug(f'parcel missing') + raise NoParcelError(reason='Parcel is not set') + async with await self.sess.post(url=compartment_status, headers={'Authorization': self.auth_token}, json={ @@ -459,13 +598,15 @@ async def check_compartment_status(self, return CompartmentExpectedStatus[ (await compartment_status_resp.json())['status']] == expected_status case 401: - self._log.error(f'could not check compartment status for {self.parcel.shipment_number}, unauthorized') + self._log.error( + f'could not check compartment status for {self.parcel.shipment_number}, unauthorized') raise UnauthorizedError(reason=compartment_status_resp) case 404: - self._log.error(f'could not check compartment status for {self.parcel.shipment_number}, bad request') + self._log.error(f'could not check compartment status for {self.parcel.shipment_number}, not found') raise NotFoundError(reason=compartment_status_resp) case _: - self._log.error(f'could not check compartment status for {self.parcel.shipment_number}, unhandled status') + self._log.error( + f'could not check compartment status for {self.parcel.shipment_number}, unhandled status') raise UnidentifiedAPIError(reason=compartment_status_resp) @@ -477,6 +618,13 @@ async def check_compartment_status(self, # raise UnidentifiedAPIError(reason=compartment_status_resp) async def terminate_collect_session(self): + """Terminates user session in inpost api service + :return: True if the user session is terminated + :rtype: bool + :raises NotAuthenticatedError: User not authenticated in inpost service + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened""" self._log.info(f'terminating collect session for {self.parcel.shipment_number}') if not self.auth_token: @@ -493,13 +641,15 @@ async def terminate_collect_session(self): self._log.debug(f'terminated collect session for {self.parcel.shipment_number}') return True case 401: - self._log.error(f'could not terminate collect session for {self.parcel.shipment_number}, unauthorized') + self._log.error( + f'could not terminate collect session for {self.parcel.shipment_number}, unauthorized') raise UnauthorizedError(reason=terminate_resp) case 404: - self._log.error(f'could not terminate collect session for {self.parcel.shipment_number}, bad request') + self._log.error(f'could not terminate collect session for {self.parcel.shipment_number}, not found') raise NotFoundError(reason=terminate_resp) case _: - self._log.error(f'could not terminate collect session for {self.parcel.shipment_number}, unhandled status') + self._log.error( + f'could not terminate collect session for {self.parcel.shipment_number}, unhandled status') raise UnidentifiedAPIError(reason=terminate_resp) @@ -512,8 +662,29 @@ async def terminate_collect_session(self): async def collect(self, shipment_number: str | None = None, parcel_obj: Parcel | None = None, location: dict | None = None) -> bool: + """Simplified method to open compartment + :param shipment_number: Parcel's shipment number + :type shipment_number: int, str, None + :param parcel_obj: :class:`Parcel` object to obtain data from + :type parcel_obj: Parcel, None + :param location: Fetched parcels have to be picked from this pickup point (e.g. `GXO05M`) + :type location: dict, None + :return: fetched parcels data + :rtype: bool + :raises SingleParamError: Fields shipment_number and parcel_obj filled in but only one of them is required + :raises NotAuthenticatedError: User not authenticated in inpost service + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened + + .. warning:: you must fill in only one parameter - shipment_number or parcel_obj!""" + self._log.info(f'collecing parcel with shipment number {self.parcel.shipment_number}') + if shipment_number and parcel_obj: + self._log.error(f'shipment_number and parcel_obj filled in') + raise SingleParamError(reason='Fields shipment_number and parcel_obj filled! Choose one!') + if not self.auth_token: self._log.error(f'authorization token missing') raise NotAuthenticatedError(reason='Not logged in') @@ -529,6 +700,9 @@ async def collect(self, shipment_number: str | None = None, parcel_obj: Parcel | return False async def close_compartment(self) -> bool: + """Checks whether actual compartment status and expected one matches then notifies inpost api that compartment is closed + :return: True if compartment status is closed and successfully terminates user's session else False + :rtype: bool""" self._log.info(f'closing compartment for {self.parcel.shipment_number}') if await self.check_compartment_status(expected_status=CompartmentExpectedStatus.CLOSED): @@ -538,6 +712,13 @@ async def close_compartment(self) -> bool: return False async def get_prices(self) -> dict: + """Fetches prices for inpost services + :return: :class:`dict` of prices for inpost services + :rtype: dict + :raises NotAuthenticatedError: User not authenticated in inpost service + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened""" self._log.info(f'getting parcel prices') if not self.auth_token: @@ -554,7 +735,7 @@ async def get_prices(self) -> dict: self._log.error('could not get parcel prices, unauthorized') raise UnauthorizedError(reason=resp) case 404: - self._log.error('could not get parcel prices, bad request') + self._log.error('could not get parcel prices, not found') raise NotFoundError(reason=resp) case _: self._log.error('could not get parcel prices, unhandled status') diff --git a/inpost/static/__init__.py b/inpost/static/__init__.py index 129b79f..6032d26 100644 --- a/inpost/static/__init__.py +++ b/inpost/static/__init__.py @@ -4,9 +4,9 @@ from .statuses import ParcelCarrierSize, ParcelLockerSize, ParcelDeliveryType, ParcelShipmentType, \ ParcelAdditionalInsurance, ParcelType, ParcelOwnership, CompartmentExpectedStatus, CompartmentActualStatus, \ ParcelServiceName, ParcelStatus -from .exceptions import UnidentifiedParcelError, ParcelTypeError, NotAuthenticatedError, ReAuthenticationError, \ +from .exceptions import NoParcelError, UnidentifiedParcelError, ParcelTypeError, NotAuthenticatedError, ReAuthenticationError, \ PhoneNumberError, SmsCodeError, RefreshTokenError, UnidentifiedAPIError, UserLocationError, \ - UnidentifiedError, NotFoundError, UnauthorizedError + UnidentifiedError, NotFoundError, UnauthorizedError, SingleParamError from .endpoints import login, send_sms_code, confirm_sms_code, refresh_token, parcels, parcel, collect, \ compartment_open, compartment_status, terminate_collect_session, friends, shared, sent, returns, parcel_prices, \ tickets, logout diff --git a/inpost/static/exceptions.py b/inpost/static/exceptions.py index 0e37019..bee04d0 100644 --- a/inpost/static/exceptions.py +++ b/inpost/static/exceptions.py @@ -1,14 +1,14 @@ from typing import Any -from statuses import ParcelType -from parcels import Parcel -from inpost.api import Inpost +from .statuses import ParcelType +from .parcels import Parcel # ------------------ Base ------------------- # class BaseInpostError(Exception): """Base exception to inherit from - :param reason: reason of :class:`BaseInpostError` happening + :param reason: reason of :exc:`BaseInpostError` happening :type reason: typing.Any""" + def __init__(self, reason): """Constructor method""" super().__init__(reason) @@ -27,6 +27,11 @@ class ParcelTypeError(BaseInpostError): pass +class NoParcelError(BaseInpostError): + """Is raised when no parcel is set in :class:`Parcel`""" + pass + + class UnidentifiedParcelError(BaseInpostError): """Is raised when no other :class:`Parcel` error match""" pass @@ -78,6 +83,11 @@ class UserLocationError(BaseInpostError): pass +class SingleParamError(BaseInpostError): + """Is raised when only one param must be filled in but got more""" + pass + + class UnidentifiedError(BaseInpostError): """Is raised when no other error match""" pass diff --git a/inpost/static/parcels.py b/inpost/static/parcels.py index 3b45dd9..8a2dfc3 100644 --- a/inpost/static/parcels.py +++ b/inpost/static/parcels.py @@ -10,7 +10,14 @@ class Parcel: + """Object representation of :class:`inpost.api.Inpost` compartment properties + :param parcel_data: :class:`dict` containing all `parcel data` + :type parcel_data: dict + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" + def __init__(self, parcel_data: dict, logger: logging.Logger): + """Constructor method""" self.shipment_number: str = parcel_data['shipmentNumber'] self._log: logging.Logger = logger.getChild(f'{__class__.__name__}.{self.shipment_number}') self.shipment_type: ParcelShipmentType = ParcelShipmentType[parcel_data['shipmentType']] @@ -25,9 +32,8 @@ def __init__(self, parcel_data: dict, logger: logging.Logger): self.sender: Sender = Sender(sender_data=parcel_data['sender'], logger=self._log) self.pickup_point: PickupPoint = PickupPoint(pickuppoint_data=parcel_data['pickUpPoint'], logger=self._log) \ if 'pickUpPoint' in parcel_data else None - self.multi_compartment: MultiCompartment | None = \ - MultiCompartment(parcel_data['multiCompartment'], logger=self._log) \ - if 'multiCompartment' in parcel_data else None + self.multi_compartment: MultiCompartment | None = MultiCompartment( + parcel_data['multiCompartment'], logger=self._log) if 'multiCompartment' in parcel_data else None self.is_end_off_week_collection: bool = parcel_data['endOfWeekCollection'] self.operations: Operations = Operations(operations_data=parcel_data['operations'], logger=self._log) self.status: ParcelStatus = ParcelStatus[parcel_data['status']] @@ -41,7 +47,7 @@ def __init__(self, parcel_data: dict, logger: logging.Logger): self._log.debug(f'created parcel with shipment number {self.shipment_number}') - # log all unexpected things so you can make an issue @github + # log all unexpected things, so you can make an issue @github if self.shipment_type == ParcelShipmentType.UNKNOWN: self._log.debug(f'unexpected shipment_type: {parcel_data["shipmentType"]}') @@ -61,7 +67,10 @@ def __str__(self): f"Pickup point: {self.pickup_point}" @property - def open_code(self): + def open_code(self) -> str | None: + """Returns an open code for :class:`Parcel` + :return: Open code for :class:`Parcel` + :rtype: str""" self._log.debug('getting open code') if self.shipment_type == ParcelShipmentType.parcel: self._log.debug('got open code') @@ -71,7 +80,10 @@ def open_code(self): return None @property - def generate_qr_image(self): + def generate_qr_image(self) -> BytesIO | None: + """Returns a QR image for :class:`Parcel` + :return: QR image for :class:`Parcel` + :rtype: BytesIO""" self._log.debug('generating qr image') if self.shipment_type == ParcelShipmentType.parcel: self._log.debug('got qr image') @@ -82,6 +94,9 @@ def generate_qr_image(self): @property def compartment_properties(self): + """Returns a compartment properties for :class:`Parcel` + :return: Compartment properties for :class:`Parcel` + :rtype: CompartmentProperties""" self._log.debug('getting comparment properties') if self.shipment_type == ParcelShipmentType.parcel: self._log.debug('got compartment properties') @@ -92,6 +107,9 @@ def compartment_properties(self): @compartment_properties.setter def compartment_properties(self, compartmentproperties_data: dict): + """Set compartment properties for :class:`Parcel` + :param compartmentproperties_data: :class:`dict` containing `compartment properties` data for :class:`Parcel` + :type compartmentproperties_data: CompartmentProperties""" self._log.debug(f'setting compartment properties with {compartmentproperties_data}') if self.shipment_type == ParcelShipmentType.parcel: self._log.debug('compartment properties set') @@ -102,6 +120,9 @@ def compartment_properties(self, compartmentproperties_data: dict): @property def compartment_location(self): + """Returns a compartment location for :class:`Parcel` + :return: Compartment location for :class:`Parcel` + :rtype: CompartmentLocation""" self._log.debug('getting compartment location') if self.shipment_type == ParcelShipmentType.parcel: self._log.debug('got compartment location') @@ -110,17 +131,23 @@ def compartment_location(self): self._log.debug('wrong ParcelShipmentType') return None - @compartment_location.setter - def compartment_location(self, location_data): - self._log.debug('setting compartment location') - if self.shipment_type == ParcelShipmentType.parcel: - self._log.debug('compartment location set') - self._compartment_properties.location = location_data - - self._log.debug('wrong ParcelShipmentType') + # @compartment_location.setter + # def compartment_location(self, location_data): + # """Set compartment location for :class:`Parcel` + # :param location_data: :class:`dict` containing `compartment properties` data for :class:`Parcel` + # :type location_data: CompartmentProperties""" + # self._log.debug('setting compartment location') + # if self.shipment_type == ParcelShipmentType.parcel: + # self._log.debug('compartment location set') + # self._compartment_properties.location = location_data + # + # self._log.debug('wrong ParcelShipmentType') @property - def compartment_status(self): + def compartment_status(self) -> CompartmentActualStatus | None: + """Returns a compartment status for :class:`Parcel` + :return: Compartment status for :class:`Parcel` + :rtype: CompartmentActualStatus""" self._log.debug('getting compartment status') if self.shipment_type == ParcelShipmentType.parcel: self._log.debug('got compartment status') @@ -129,17 +156,20 @@ def compartment_status(self): self._log.debug('wrong ParcelShipmentType') return None - @compartment_status.setter - def compartment_status(self, status): - self._log.debug('setting compartment status') - if self.shipment_type == ParcelShipmentType.parcel: - self._log.debug('compartment status set') - self._compartment_properties.status = status - - self._log.debug('wrong ParcelShipmentType') + # @compartment_status.setter + # def compartment_status(self, status): + # self._log.debug('setting compartment status') + # if self.shipment_type == ParcelShipmentType.parcel: + # self._log.debug('compartment status set') + # self._compartment_properties.status = status + # + # self._log.debug('wrong ParcelShipmentType') @property def compartment_open_data(self): + """Returns a compartment open data for :class:`Parcel` + :return: dict containing compartment open data for :class:`Parcel` + :rtype: dict""" self._log.debug('getting compartment open data') if self.shipment_type == ParcelShipmentType.parcel: self._log.debug('got compartment open data') @@ -154,6 +184,9 @@ def compartment_open_data(self): @property def mocked_location(self): + """Returns a mocked location for :class:`Parcel` + :return: dict containing mocked location for :class:`Parcel` + :rtype: dict""" self._log.debug('getting mocked location') if self.shipment_type == ParcelShipmentType.parcel: self._log.debug('got mocked location') @@ -168,7 +201,13 @@ def mocked_location(self): class Receiver: + """Object representation of :class:`Parcel` receiver + :param receiver_data: :class:`dict` containing `sender` data for :class:`Parcel` + :type receiver_data: dict + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" def __init__(self, receiver_data: dict, logger: logging.Logger): + """Constructor method""" self.email: str = receiver_data['email'] self.phone_number: str = receiver_data['phoneNumber'] self.name: str = receiver_data['name'] @@ -178,18 +217,32 @@ def __init__(self, receiver_data: dict, logger: logging.Logger): class Sender: + """Object representation of :class:`Parcel` sender + :param sender_data: :class:`dict` containing `sender` data for :class:`Parcel` + :type sender_data: dict + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" + def __init__(self, sender_data: dict, logger: logging.Logger): + """Constructor method""" self.sender_name: str = sender_data['name'] self._log: logging.Logger = logger.getChild(__class__.__name__) self._log.debug('created') - def __str__(self): + def __str__(self) -> str: return self.sender_name class PickupPoint: + """Object representation of :class:`Parcel` pickup point + :param pickuppoint_data: :class:`dict` containing `pickup point` data for :class:`Parcel` + :type pickuppoint_data: dict + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" + def __init__(self, pickuppoint_data: dict, logger: logging.Logger): + """Constructor method""" self.name: str = pickuppoint_data['name'] self.latitude: float = pickuppoint_data['location']['latitude'] self.longitude: float = pickuppoint_data['location']['longitude'] @@ -215,17 +268,27 @@ def __init__(self, pickuppoint_data: dict, logger: logging.Logger): if ParcelDeliveryType.UNKNOWN in self.type: self._log.debug(f'unknown delivery type: {pickuppoint_data["type"]}') - def __str__(self): + def __str__(self) -> str: return self.name @property def location(self) -> Tuple[float, float]: + """Returns a mocked location for :class:`PickupPoint` + :return: tuple containing location for :class:`PickupPoint` + :rtype: tuple""" self._log.debug('getting location') return self.latitude, self.longitude class MultiCompartment: + """Object representation of :class:`Parcel` `multicompartment` + :param multicompartment_data: :class:`dict` containing `multicompartment` data for :class:`Parcel` + :type multicompartment_data: dict + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" + def __init__(self, multicompartment_data: dict, logger: logging.Logger): + """Constructor method""" self.uuid = multicompartment_data['uuid'] self.shipment_numbers: List[str] | None = multicompartment_data['shipmentNumbers'] \ if 'shipmentNumbers' in multicompartment_data else None @@ -237,7 +300,14 @@ def __init__(self, multicompartment_data: dict, logger: logging.Logger): class Operations: + """Object representation of :class:`Parcel` `operations` + :param operations_data: :class:`dict` containing `operations` data for :class:`Parcel` + :type operations_data: dict + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" + def __init__(self, operations_data: dict, logger: logging.Logger): + """Constructor method""" self.manual_archive: bool = operations_data['manualArchive'] self.auto_archivable_since: arrow | None = get( operations_data['autoArchivableSince']) if 'autoArchivableSince' in operations_data else None @@ -257,7 +327,14 @@ def __init__(self, operations_data: dict, logger: logging.Logger): class EventLog: + """Object representation of :class:`Parcel` single eventlog + :param eventlog_data: :class:`dict` containing single `eventlog` data for :class:`Parcel` + :type eventlog_data: dict + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" + def __init__(self, eventlog_data: dict, logger: logging.Logger): + """Constructor method""" self.type: str = eventlog_data['type'] self.name: ParcelStatus = ParcelStatus[eventlog_data['name']] self.date: arrow = get(eventlog_data['date']) @@ -270,7 +347,14 @@ def __init__(self, eventlog_data: dict, logger: logging.Logger): class SharedTo: + """Object representation of :class:`Parcel` single shared to + :param sharedto_data: :class:`dict` containing `shared to` data for :class:`Parcel` + :type sharedto_data: dict + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" + def __init__(self, sharedto_data: dict, logger: logging.Logger): + """Constructor method""" self.uuid: str = sharedto_data['uuid'] self.name: str = sharedto_data['name'] self.phone_number = sharedto_data['phoneNumber'] @@ -280,7 +364,14 @@ def __init__(self, sharedto_data: dict, logger: logging.Logger): class QRCode: + """Object representation of :class:`Parcel` QRCode + :param qrcode_data: :class:`str` containing `qrcode` data for :class:`Parcel` + :type qrcode_data: str + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" + def __init__(self, qrcode_data: str, logger: logging.Logger): + """Constructor method""" self._qr_code = qrcode_data self._log: logging.Logger = logger.getChild(__class__.__name__) @@ -288,6 +379,9 @@ def __init__(self, qrcode_data: str, logger: logging.Logger): @property def qr_image(self) -> BytesIO: + """Returns a generated QR image for :class:`QRCode` + :return: tuple containing location for :class:`QRCode` + :rtype: BytesIO""" self._log.debug('generating qr image') qr = qrcode.QRCode( version=3, @@ -309,7 +403,14 @@ def qr_image(self) -> BytesIO: class CompartmentLocation: + """Object representation of :class:`CompartmentProperties` compartment location + :param compartmentlocation_data: :class:`dict` containing `compartment location` data for :class:`Parcel` + :type compartmentlocation_data: dict + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" + def __init__(self, compartmentlocation_data: dict, logger: logging.Logger): + """Constructor method""" self.name: str = compartmentlocation_data['compartment']['name'] self.side: str = compartmentlocation_data['compartment']['location']['side'] self.column: str = compartmentlocation_data['compartment']['location']['column'] @@ -323,7 +424,14 @@ def __init__(self, compartmentlocation_data: dict, logger: logging.Logger): class CompartmentProperties: + """Object representation of :class:`Parcel` compartment properties + :param compartmentproperties_data: :class:`dict` containing `compartment properties` data for :class:`Parcel` + :type compartmentproperties_data: dict + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" + def __init__(self, compartmentproperties_data: dict, logger: logging.Logger): + """Constructor method""" self._session_uuid: str = compartmentproperties_data['sessionUuid'] self._session_expiration_time: int = compartmentproperties_data['sessionExpirationTime'] self._location: CompartmentLocation | None = None @@ -334,29 +442,41 @@ def __init__(self, compartmentproperties_data: dict, logger: logging.Logger): @property def session_uuid(self): + """Returns a session unique identified for :class:`CompartmentProperties` + :return: string containing session unique identified for :class:`CompartmentProperties` + :rtype: str""" self._log.debug('getting session uuid') return self._session_uuid @property def location(self): + """Returns a compartment location for :class:`CompartmentProperties` + :return: compartment location for :class:`CompartmentProperties` + :rtype: str""" self._log.debug('getting location') return self._location @location.setter def location(self, location_data: dict): + """Set a compartment location for :class:`CompartmentProperties` + :param location_data: dict containing compartment location data for :class:`CompartmentProperties` + :type location_data: dict""" self._log.debug('setting location') self._location = CompartmentLocation(location_data, self._log) @property def status(self): + """Returns a compartment status for :class:`CompartmentProperties` + :return: compartment location for :class:`CompartmentProperties` + :rtype: CompartmentActualStatus""" self._log.debug('getting status') return self._status - @status.setter - def status(self, status_data: str | CompartmentActualStatus): - self._log.debug('setting status') - self._status = status_data if isinstance(status_data, CompartmentActualStatus) \ - else CompartmentActualStatus[status_data] - - if self._status == CompartmentActualStatus.UNKNOWN and isinstance(status_data, str): - self._log.debug(f'unexpected compartment actual status: {status_data}') + # @status.setter + # def status(self, status_data: str | CompartmentActualStatus): + # self._log.debug('setting status') + # self._status = status_data if isinstance(status_data, CompartmentActualStatus) \ + # else CompartmentActualStatus[status_data] + # + # if self._status == CompartmentActualStatus.UNKNOWN and isinstance(status_data, str): + # self._log.debug(f'unexpected compartment actual status: {status_data}') diff --git a/inpost/static/statuses.py b/inpost/static/statuses.py index 5204cd8..c98eb49 100644 --- a/inpost/static/statuses.py +++ b/inpost/static/statuses.py @@ -16,17 +16,30 @@ def __getattr__(cls, item): class ParcelBase(Enum, metaclass=Meta): + """Base :class:`Enum` class to derive from""" def __gt__(self, other): - ... + if isinstance(other, ParcelBase): + ... + + return False def __ge__(self, other): - ... + if isinstance(other, ParcelBase): + ... + + return False def __le__(self, other): - ... + if isinstance(other, ParcelBase): + ... + + return False def __lt__(self, other): - ... + if isinstance(other, ParcelBase): + ... + + return False def __eq__(self, other): if isinstance(other, ParcelBase): @@ -36,6 +49,7 @@ def __eq__(self, other): class ParcelCarrierSize(ParcelBase): + """:class:`Enum` that holds parcel size for carrier shipment type""" UNKNOWN = 'UNKNOWN DATA' A = '8x38x64' B = '19x38x64' @@ -44,8 +58,8 @@ class ParcelCarrierSize(ParcelBase): OTHER = 'UNKNOWN DIMENSIONS' -# @add_invalid class ParcelLockerSize(ParcelBase): + """:class:`Enum` that holds parcel size for parcel locker shipment type""" UNKNOWN = 'UNKNOWN DATA' A = '8x38x64' B = '19x38x64' @@ -53,6 +67,7 @@ class ParcelLockerSize(ParcelBase): class ParcelDeliveryType(ParcelBase): + """:class:`Enum` that holds parcel delivery types""" UNKNOWN = 'UNKNOWN DATA' parcel_locker = 'Paczkomat' courier = 'Kurier' @@ -60,6 +75,7 @@ class ParcelDeliveryType(ParcelBase): class ParcelShipmentType(ParcelBase): + """:class:`Enum` that holds parcel shipment types""" UNKNOWN = 'UNKNOWN DATA' parcel = 'Paczkomat' courier = 'Kurier' @@ -75,6 +91,7 @@ class ParcelAdditionalInsurance(ParcelBase): class ParcelType(ParcelBase): + """:class:`Enum` that holds parcel types""" UNKNOWN = 'UNKNOWN DATA' TRACKED = 'Przychodzące' SENT = 'Wysłane' @@ -82,6 +99,7 @@ class ParcelType(ParcelBase): class ParcelStatus(ParcelBase): + """:class:`Enum` that holds parcel statuses""" UNKNOWN = 'UNKNOWN DATA' CREATED = 'Utworzona' # TODO: translate from app OFFERS_PREPARED = 'Oferty przygotowane' # TODO: translate from app @@ -128,6 +146,7 @@ class ParcelStatus(ParcelBase): class ParcelOwnership(ParcelBase): + """:class:`Enum` that holds parcel ownership types""" UNKNOWN = 'UNKNOWN DATA' FRIEND = 'Zaprzyjaźniona' OWN = 'Własna' @@ -135,12 +154,14 @@ class ParcelOwnership(ParcelBase): # both are the same, only for being clear class CompartmentExpectedStatus(ParcelBase): + """:class:`Enum` that holds compartment expected statuses""" UNKNOWN = 'UNKNOWN DATA' OPENED = 'Otwarta' CLOSED = 'Zamknięta' class CompartmentActualStatus(ParcelBase): + """:class:`Enum` that holds compartment actual statuses""" UNKNOWN = 'UNKNOWN DATA' OPENED = 'Otwarta' CLOSED = 'Zamknięta' From f430d430c65f0457a8c54833e3af97d0c09be966 Mon Sep 17 00:00:00 2001 From: loboda4450 Date: Sun, 15 Jan 2023 18:45:22 +0100 Subject: [PATCH 17/19] version 0.0.4 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 47efb0b..6917e9c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "inpost" -version = "0.0.3" +version = "0.0.4" description = "Asynchronous InPost package allowing you to manage existing incoming parcels without mobile app" authors = ["loboda4450 ", "MrKazik99 "] maintainers = ["loboda4450 "] From 69c74561d5f54e19eecca740b40a6524b33b1227 Mon Sep 17 00:00:00 2001 From: loboda4450 Date: Mon, 16 Jan 2023 00:28:08 +0100 Subject: [PATCH 18/19] docs improvement --- inpost/api.py | 63 +++++++++++++++++++++++-------------- inpost/static/exceptions.py | 5 +-- inpost/static/parcels.py | 51 ++++++++++++++++++++++-------- 3 files changed, 81 insertions(+), 38 deletions(-) diff --git a/inpost/api.py b/inpost/api.py index 7ed6102..f79ff6b 100644 --- a/inpost/api.py +++ b/inpost/api.py @@ -24,8 +24,9 @@ def __repr__(self): @classmethod async def from_phone_number(cls, phone_number: str | int): """`Classmethod` to initialize :class:`Inpost` object with phone number + :param phone_number: User's Inpost phone number - :type phone_number: str, int""" + :type phone_number: str | int""" if isinstance(phone_number, int): phone_number = str(phone_number) inp = cls() @@ -35,8 +36,9 @@ async def from_phone_number(cls, phone_number: str | int): async def set_phone_number(self, phone_number: str | int) -> bool: """Set :class:`Inpost` phone number required for verification + :param phone_number: User's Inpost phone number - :type phone_number: str, int + :type phone_number: str | int :return: True if `Inpost.phone_number` is set :rtype: bool :raises PhoneNumberError: Wrong phone number format""" @@ -54,6 +56,7 @@ async def set_phone_number(self, phone_number: str | int) -> bool: async def send_sms_code(self) -> bool: """Sends sms code to `Inpost.phone_number` + :return: True if sms code sent :rtype: bool :raises PhoneNumberError: Missing phone number @@ -93,8 +96,9 @@ async def send_sms_code(self) -> bool: async def confirm_sms_code(self, sms_code: str | int) -> bool: """Confirms sms code sent to `Inpost.phone_number` and fetches tokens - :param sms_code: sms code sent to `Inpost.phone_number` device - :type sms_code: str, int + + :param sms_code: sms code sent to Inpost.phone_number device + :type sms_code: str | int :return: True if sms code gets confirmed and tokens fetched :rtype: bool :raises SmsCodeError: Wrong sms code format @@ -102,6 +106,7 @@ async def confirm_sms_code(self, sms_code: str | int) -> bool: :raises NotFoundError: Phone number not found :raises UnidentifiedAPIError: Unexpected thing happened """ + if not self.phone_number: # can't log it cuz if there's no phone number no logger initialized @shrug raise PhoneNumberError('Phone number missing') @@ -151,7 +156,8 @@ async def confirm_sms_code(self, sms_code: str | int) -> bool: async def refresh_token(self) -> bool: """Refreshes authorization token using refresh token - :return: True if `Inpost.auth_token` gets refreshed + + :return: True if Inpost.auth_token gets refreshed :rtype: bool :raises RefreshTokenError: Missing refresh token :raises UnauthorizedError: Unauthorized access to inpost services, @@ -206,6 +212,7 @@ async def refresh_token(self) -> bool: async def logout(self) -> bool: """Logouts user from inpost api service + :return: True if the user is logged out :rtype: bool :raises NotAuthenticatedError: User not authenticated in inpost service @@ -252,6 +259,7 @@ async def logout(self) -> bool: async def disconnect(self) -> bool: """Simplified method to logout and close user's session + :return: True if user is logged out and session is closed else False :raises NotAuthenticatedError: User not authenticated in inpost service""" self._log.info(f'disconnecting') @@ -269,12 +277,13 @@ async def disconnect(self) -> bool: async def get_parcel(self, shipment_number: int | str, parse=False) -> dict | Parcel: """Fetches single parcel from provided shipment number + :param shipment_number: Parcel's shipment number - :type shipment_number: int, str + :type shipment_number: int | str :param parse: if set to True method will return :class:`Parcel` else :class:`dict` :type parse: bool - :return: fetched parcel data - :rtype: dict, Parcel + :return: Fetched parcel data + :rtype: dict | Parcel :raises NotAuthenticatedError: User not authenticated in inpost service :raises UnauthorizedError: Unauthorized access to inpost services, :raises NotFoundError: Phone number not found @@ -317,21 +326,22 @@ async def get_parcels(self, shipment_type: ParcelShipmentType | List[ParcelShipmentType] | None = None, parcel_size: ParcelLockerSize | ParcelCarrierSize | None = None, parse: bool = False) -> List[dict] | List[Parcel]: - """Fetches all available parcels for set `Inpost.phone_number and optionally filters them` + """Fetches all available parcels for set `Inpost.phone_number` and optionally filters them + :param parcel_type: Parcel type (e.g. received, sent, returned) :type parcel_type: ParcelType :param status: status that each fetched parcels has to be in - :type status: ParcelStatus, list[ParcelStatus], None + :type status: ParcelStatus | list[ParcelStatus] | None :param pickup_point: Fetched parcels have to be picked from this pickup point (e.g. `GXO05M`) - :type pickup_point: str, list[str], None + :type pickup_point: str | list[str] | None :param shipment_type: Fetched parcels have to be shipped that way - :type shipment_type: ParcelShipmentType, list[ParcelShipmentType], None + :type shipment_type: ParcelShipmentType | list[ParcelShipmentType] | None :param parcel_size: Fetched parcels have to be this size - :type parcel_size: ParcelLockerSize, ParcelCarrierSize, None + :type parcel_size: ParcelLockerSize | ParcelCarrierSize | None :param parse: if set to True method will return list[:class:`Parcel`] else list[:class:`dict`] :type parse: bool :return: fetched parcels data - :rtype: list[dict], list[Parcel] + :rtype: list[dict] | list[Parcel] :raises NotAuthenticatedError: User not authenticated in inpost service :raises ParcelTypeError: Unknown parcel type selected :raises UnauthorizedError: Unauthorized access to inpost services, @@ -458,12 +468,13 @@ async def get_parcels(self, async def collect_compartment_properties(self, shipment_number: str | int | None = None, parcel_obj: Parcel | None = None, location: dict | None = None) -> bool: """Validates sent data and fetches required compartment properties for opening + :param shipment_number: Parcel's shipment number - :type shipment_number: int, str, None + :type shipment_number: int | str | None :param parcel_obj: :class:`Parcel` object to obtain data from - :type parcel_obj: Parcel, None + :type parcel_obj: Parcel | None :param location: Fetched parcels have to be picked from this pickup point (e.g. `GXO05M`) - :type location: dict, None + :type location: dict | None :return: fetched parcels data :rtype: bool :raises SingleParamError: Fields shipment_number and parcel_obj filled in but only one of them is required @@ -521,8 +532,9 @@ async def collect_compartment_properties(self, shipment_number: str | int | None # self._log.error(f'could not collect compartment properties for {shipment_number}') # raise UnidentifiedAPIError(reason=collect_resp) - async def open_compartment(self): + async def open_compartment(self) -> bool: """Opens compartment for `Inpost.parcel` object + :return: True if compartment gets opened :rtype: bool :raises NotAuthenticatedError: User not authenticated in inpost service @@ -566,8 +578,9 @@ async def open_compartment(self): # raise UnidentifiedAPIError(reason=compartment_open_resp) async def check_compartment_status(self, - expected_status: CompartmentExpectedStatus = CompartmentExpectedStatus.OPENED): + expected_status: CompartmentExpectedStatus = CompartmentExpectedStatus.OPENED) -> bool: """Checks and compare compartment status (e.g. opened, closed) with expected status + :param expected_status: Compartment expected status :type expected_status: CompartmentExpectedStatus :return: True if actual status equals expected status else False @@ -617,8 +630,9 @@ async def check_compartment_status(self, # self._log.error(f'could not check compartment status for {self.parcel.shipment_number}') # raise UnidentifiedAPIError(reason=compartment_status_resp) - async def terminate_collect_session(self): + async def terminate_collect_session(self) -> bool: """Terminates user session in inpost api service + :return: True if the user session is terminated :rtype: bool :raises NotAuthenticatedError: User not authenticated in inpost service @@ -663,12 +677,13 @@ async def terminate_collect_session(self): async def collect(self, shipment_number: str | None = None, parcel_obj: Parcel | None = None, location: dict | None = None) -> bool: """Simplified method to open compartment + :param shipment_number: Parcel's shipment number - :type shipment_number: int, str, None + :type shipment_number: int | str | None :param parcel_obj: :class:`Parcel` object to obtain data from - :type parcel_obj: Parcel, None + :type parcel_obj: Parcel | None :param location: Fetched parcels have to be picked from this pickup point (e.g. `GXO05M`) - :type location: dict, None + :type location: dict | None :return: fetched parcels data :rtype: bool :raises SingleParamError: Fields shipment_number and parcel_obj filled in but only one of them is required @@ -701,6 +716,7 @@ async def collect(self, shipment_number: str | None = None, parcel_obj: Parcel | async def close_compartment(self) -> bool: """Checks whether actual compartment status and expected one matches then notifies inpost api that compartment is closed + :return: True if compartment status is closed and successfully terminates user's session else False :rtype: bool""" self._log.info(f'closing compartment for {self.parcel.shipment_number}') @@ -713,6 +729,7 @@ async def close_compartment(self) -> bool: async def get_prices(self) -> dict: """Fetches prices for inpost services + :return: :class:`dict` of prices for inpost services :rtype: dict :raises NotAuthenticatedError: User not authenticated in inpost service diff --git a/inpost/static/exceptions.py b/inpost/static/exceptions.py index bee04d0..3eb41d7 100644 --- a/inpost/static/exceptions.py +++ b/inpost/static/exceptions.py @@ -6,7 +6,8 @@ # ------------------ Base ------------------- # class BaseInpostError(Exception): """Base exception to inherit from - :param reason: reason of :exc:`BaseInpostError` happening + + :param reason: reason of BaseInpostError happening :type reason: typing.Any""" def __init__(self, reason): @@ -16,7 +17,7 @@ def __init__(self, reason): @property def stacktrace(self): - """Gets stacktrace of raised exception """ + """Gets stacktrace of raised exception""" return self.reason diff --git a/inpost/static/parcels.py b/inpost/static/parcels.py index 8a2dfc3..8f8c00d 100644 --- a/inpost/static/parcels.py +++ b/inpost/static/parcels.py @@ -11,7 +11,8 @@ class Parcel: """Object representation of :class:`inpost.api.Inpost` compartment properties - :param parcel_data: :class:`dict` containing all `parcel data` + + :param parcel_data: :class:`dict` containing all parcel data :type parcel_data: dict :param logger: :class:`logging.Logger` parent instance :type logger: logging.Logger""" @@ -69,6 +70,7 @@ def __str__(self): @property def open_code(self) -> str | None: """Returns an open code for :class:`Parcel` + :return: Open code for :class:`Parcel` :rtype: str""" self._log.debug('getting open code') @@ -82,6 +84,7 @@ def open_code(self) -> str | None: @property def generate_qr_image(self) -> BytesIO | None: """Returns a QR image for :class:`Parcel` + :return: QR image for :class:`Parcel` :rtype: BytesIO""" self._log.debug('generating qr image') @@ -95,6 +98,7 @@ def generate_qr_image(self) -> BytesIO | None: @property def compartment_properties(self): """Returns a compartment properties for :class:`Parcel` + :return: Compartment properties for :class:`Parcel` :rtype: CompartmentProperties""" self._log.debug('getting comparment properties') @@ -108,7 +112,8 @@ def compartment_properties(self): @compartment_properties.setter def compartment_properties(self, compartmentproperties_data: dict): """Set compartment properties for :class:`Parcel` - :param compartmentproperties_data: :class:`dict` containing `compartment properties` data for :class:`Parcel` + + :param compartmentproperties_data: :class:`dict` containing compartment properties data for :class:`Parcel` :type compartmentproperties_data: CompartmentProperties""" self._log.debug(f'setting compartment properties with {compartmentproperties_data}') if self.shipment_type == ParcelShipmentType.parcel: @@ -121,6 +126,7 @@ def compartment_properties(self, compartmentproperties_data: dict): @property def compartment_location(self): """Returns a compartment location for :class:`Parcel` + :return: Compartment location for :class:`Parcel` :rtype: CompartmentLocation""" self._log.debug('getting compartment location') @@ -146,6 +152,7 @@ def compartment_location(self): @property def compartment_status(self) -> CompartmentActualStatus | None: """Returns a compartment status for :class:`Parcel` + :return: Compartment status for :class:`Parcel` :rtype: CompartmentActualStatus""" self._log.debug('getting compartment status') @@ -168,6 +175,7 @@ def compartment_status(self) -> CompartmentActualStatus | None: @property def compartment_open_data(self): """Returns a compartment open data for :class:`Parcel` + :return: dict containing compartment open data for :class:`Parcel` :rtype: dict""" self._log.debug('getting compartment open data') @@ -185,6 +193,7 @@ def compartment_open_data(self): @property def mocked_location(self): """Returns a mocked location for :class:`Parcel` + :return: dict containing mocked location for :class:`Parcel` :rtype: dict""" self._log.debug('getting mocked location') @@ -202,7 +211,8 @@ def mocked_location(self): class Receiver: """Object representation of :class:`Parcel` receiver - :param receiver_data: :class:`dict` containing `sender` data for :class:`Parcel` + + :param receiver_data: :class:`dict` containing sender data for :class:`Parcel` :type receiver_data: dict :param logger: :class:`logging.Logger` parent instance :type logger: logging.Logger""" @@ -218,7 +228,8 @@ def __init__(self, receiver_data: dict, logger: logging.Logger): class Sender: """Object representation of :class:`Parcel` sender - :param sender_data: :class:`dict` containing `sender` data for :class:`Parcel` + + :param sender_data: :class:`dict` containing sender data for :class:`Parcel` :type sender_data: dict :param logger: :class:`logging.Logger` parent instance :type logger: logging.Logger""" @@ -236,7 +247,8 @@ def __str__(self) -> str: class PickupPoint: """Object representation of :class:`Parcel` pickup point - :param pickuppoint_data: :class:`dict` containing `pickup point` data for :class:`Parcel` + + :param pickuppoint_data: :class:`dict` containing pickup point data for :class:`Parcel` :type pickuppoint_data: dict :param logger: :class:`logging.Logger` parent instance :type logger: logging.Logger""" @@ -274,6 +286,7 @@ def __str__(self) -> str: @property def location(self) -> Tuple[float, float]: """Returns a mocked location for :class:`PickupPoint` + :return: tuple containing location for :class:`PickupPoint` :rtype: tuple""" self._log.debug('getting location') @@ -282,7 +295,8 @@ def location(self) -> Tuple[float, float]: class MultiCompartment: """Object representation of :class:`Parcel` `multicompartment` - :param multicompartment_data: :class:`dict` containing `multicompartment` data for :class:`Parcel` + + :param multicompartment_data: :class:`dict` containing multicompartment data for :class:`Parcel` :type multicompartment_data: dict :param logger: :class:`logging.Logger` parent instance :type logger: logging.Logger""" @@ -301,7 +315,8 @@ def __init__(self, multicompartment_data: dict, logger: logging.Logger): class Operations: """Object representation of :class:`Parcel` `operations` - :param operations_data: :class:`dict` containing `operations` data for :class:`Parcel` + + :param operations_data: :class:`dict` containing operations data for :class:`Parcel` :type operations_data: dict :param logger: :class:`logging.Logger` parent instance :type logger: logging.Logger""" @@ -328,7 +343,8 @@ def __init__(self, operations_data: dict, logger: logging.Logger): class EventLog: """Object representation of :class:`Parcel` single eventlog - :param eventlog_data: :class:`dict` containing single `eventlog` data for :class:`Parcel` + + :param eventlog_data: :class:`dict` containing single eventlog data for :class:`Parcel` :type eventlog_data: dict :param logger: :class:`logging.Logger` parent instance :type logger: logging.Logger""" @@ -348,7 +364,8 @@ def __init__(self, eventlog_data: dict, logger: logging.Logger): class SharedTo: """Object representation of :class:`Parcel` single shared to - :param sharedto_data: :class:`dict` containing `shared to` data for :class:`Parcel` + + :param sharedto_data: :class:`dict` containing shared to data for :class:`Parcel` :type sharedto_data: dict :param logger: :class:`logging.Logger` parent instance :type logger: logging.Logger""" @@ -365,7 +382,8 @@ def __init__(self, sharedto_data: dict, logger: logging.Logger): class QRCode: """Object representation of :class:`Parcel` QRCode - :param qrcode_data: :class:`str` containing `qrcode` data for :class:`Parcel` + + :param qrcode_data: :class:`str` containing qrcode data for :class:`Parcel` :type qrcode_data: str :param logger: :class:`logging.Logger` parent instance :type logger: logging.Logger""" @@ -380,7 +398,8 @@ def __init__(self, qrcode_data: str, logger: logging.Logger): @property def qr_image(self) -> BytesIO: """Returns a generated QR image for :class:`QRCode` - :return: tuple containing location for :class:`QRCode` + + :return: QR Code image :rtype: BytesIO""" self._log.debug('generating qr image') qr = qrcode.QRCode( @@ -404,7 +423,8 @@ def qr_image(self) -> BytesIO: class CompartmentLocation: """Object representation of :class:`CompartmentProperties` compartment location - :param compartmentlocation_data: :class:`dict` containing `compartment location` data for :class:`Parcel` + + :param compartmentlocation_data: :class:`dict` containing compartment location data for :class:`Parcel` :type compartmentlocation_data: dict :param logger: :class:`logging.Logger` parent instance :type logger: logging.Logger""" @@ -425,7 +445,8 @@ def __init__(self, compartmentlocation_data: dict, logger: logging.Logger): class CompartmentProperties: """Object representation of :class:`Parcel` compartment properties - :param compartmentproperties_data: :class:`dict` containing `compartment properties` data for :class:`Parcel` + + :param compartmentproperties_data: :class:`dict` containing compartment properties data for :class:`Parcel` :type compartmentproperties_data: dict :param logger: :class:`logging.Logger` parent instance :type logger: logging.Logger""" @@ -443,6 +464,7 @@ def __init__(self, compartmentproperties_data: dict, logger: logging.Logger): @property def session_uuid(self): """Returns a session unique identified for :class:`CompartmentProperties` + :return: string containing session unique identified for :class:`CompartmentProperties` :rtype: str""" self._log.debug('getting session uuid') @@ -451,6 +473,7 @@ def session_uuid(self): @property def location(self): """Returns a compartment location for :class:`CompartmentProperties` + :return: compartment location for :class:`CompartmentProperties` :rtype: str""" self._log.debug('getting location') @@ -459,6 +482,7 @@ def location(self): @location.setter def location(self, location_data: dict): """Set a compartment location for :class:`CompartmentProperties` + :param location_data: dict containing compartment location data for :class:`CompartmentProperties` :type location_data: dict""" self._log.debug('setting location') @@ -467,6 +491,7 @@ def location(self, location_data: dict): @property def status(self): """Returns a compartment status for :class:`CompartmentProperties` + :return: compartment location for :class:`CompartmentProperties` :rtype: CompartmentActualStatus""" self._log.debug('getting status') From f0b29985ac203a793ceaef3785b935cb7a30a222 Mon Sep 17 00:00:00 2001 From: loboda4450 Date: Mon, 16 Jan 2023 00:29:19 +0100 Subject: [PATCH 19/19] generated sphinx-docs --- docs/Makefile | 20 + .../doctrees/CompartmentLocation.doctree | Bin 0 -> 6821 bytes .../doctrees/CompartmentProperties.doctree | Bin 0 -> 16630 bytes docs/build/doctrees/EventLog.doctree | Bin 0 -> 6568 bytes docs/build/doctrees/MultiCompartment.doctree | Bin 0 -> 6752 bytes docs/build/doctrees/Operations.doctree | Bin 0 -> 6614 bytes docs/build/doctrees/Parcel.doctree | Bin 0 -> 31053 bytes docs/build/doctrees/PickupPoint.doctree | Bin 0 -> 9738 bytes docs/build/doctrees/QRCode.doctree | Bin 0 -> 9182 bytes docs/build/doctrees/Receiver.doctree | Bin 0 -> 6568 bytes docs/build/doctrees/Sender.doctree | Bin 0 -> 6522 bytes docs/build/doctrees/SharedTo.doctree | Bin 0 -> 6568 bytes docs/build/doctrees/api.doctree | Bin 0 -> 147566 bytes docs/build/doctrees/environment.pickle | Bin 0 -> 126710 bytes docs/build/doctrees/exceptions.doctree | Bin 0 -> 23833 bytes .../generated/inpost.api.Inpost.doctree | Bin 0 -> 40023 bytes .../doctrees/generated/inpost.api.doctree | Bin 0 -> 4565 bytes ....static.exceptions.BaseInpostError.doctree | Bin 0 -> 5276 bytes ...st.static.exceptions.NoParcelError.doctree | Bin 0 -> 5082 bytes ...c.exceptions.NotAuthenticatedError.doctree | Bin 0 -> 4810 bytes ...st.static.exceptions.NotFoundError.doctree | Bin 0 -> 5172 bytes ....static.exceptions.ParcelTypeError.doctree | Bin 0 -> 5192 bytes ...static.exceptions.PhoneNumberError.doctree | Bin 0 -> 4871 bytes ...c.exceptions.ReAuthenticationError.doctree | Bin 0 -> 4812 bytes ...tatic.exceptions.RefreshTokenError.doctree | Bin 0 -> 4878 bytes ...static.exceptions.SingleParamError.doctree | Bin 0 -> 4625 bytes ...ost.static.exceptions.SmsCodeError.doctree | Bin 0 -> 4765 bytes ...tatic.exceptions.UnauthorizedError.doctree | Bin 0 -> 5230 bytes ...ic.exceptions.UnidentifiedAPIError.doctree | Bin 0 -> 4627 bytes ...tatic.exceptions.UnidentifiedError.doctree | Bin 0 -> 4586 bytes ...exceptions.UnidentifiedParcelError.doctree | Bin 0 -> 5242 bytes .../inpost.static.exceptions.doctree | Bin 0 -> 25166 bytes ...static.parcels.CompartmentLocation.doctree | Bin 0 -> 12919 bytes ...atic.parcels.CompartmentProperties.doctree | Bin 0 -> 20579 bytes .../inpost.static.parcels.EventLog.doctree | Bin 0 -> 12343 bytes ...st.static.parcels.MultiCompartment.doctree | Bin 0 -> 12852 bytes .../inpost.static.parcels.Operations.doctree | Bin 0 -> 12549 bytes .../inpost.static.parcels.Parcel.doctree | Bin 0 -> 27820 bytes .../inpost.static.parcels.PickupPoint.doctree | Bin 0 -> 15241 bytes .../inpost.static.parcels.QRCode.doctree | Bin 0 -> 14910 bytes .../inpost.static.parcels.Receiver.doctree | Bin 0 -> 12306 bytes .../inpost.static.parcels.Sender.doctree | Bin 0 -> 12214 bytes .../inpost.static.parcels.SharedTo.doctree | Bin 0 -> 12331 bytes .../generated/inpost.static.parcels.doctree | Bin 0 -> 5133 bytes docs/build/doctrees/index.doctree | Bin 0 -> 6047 bytes docs/build/doctrees/parcels.doctree | Bin 0 -> 2887 bytes docs/build/doctrees/static.doctree | Bin 0 -> 2921 bytes docs/build/doctrees/usage.doctree | Bin 0 -> 3001 bytes docs/build/html/.buildinfo | 4 + docs/build/html/.doctrees/environment.pickle | Bin 0 -> 11459 bytes docs/build/html/.doctrees/index.doctree | Bin 0 -> 4975 bytes docs/build/html/CompartmentLocation.html | 147 + docs/build/html/CompartmentProperties.html | 192 + docs/build/html/EventLog.html | 147 + docs/build/html/MultiCompartment.html | 147 + docs/build/html/Operations.html | 147 + docs/build/html/Parcel.html | 267 + docs/build/html/PickupPoint.html | 162 + docs/build/html/QRCode.html | 162 + docs/build/html/Receiver.html | 147 + docs/build/html/Sender.html | 147 + docs/build/html/SharedTo.html | 147 + docs/build/html/_modules/index.html | 107 + docs/build/html/_modules/inpost/api.html | 875 ++ .../html/_modules/inpost/static/parcels.html | 614 + .../html/_sources/CompartmentLocation.rst.txt | 9 + .../_sources/CompartmentProperties.rst.txt | 12 + docs/build/html/_sources/EventLog.rst.txt | 9 + .../html/_sources/MultiCompartment.rst.txt | 9 + docs/build/html/_sources/Operations.rst.txt | 9 + docs/build/html/_sources/Parcel.rst.txt | 24 + docs/build/html/_sources/PickupPoint.rst.txt | 10 + docs/build/html/_sources/QRCode.rst.txt | 10 + docs/build/html/_sources/Receiver.rst.txt | 8 + docs/build/html/_sources/Sender.rst.txt | 8 + docs/build/html/_sources/SharedTo.rst.txt | 9 + docs/build/html/_sources/api.rst.txt | 40 + docs/build/html/_sources/exceptions.rst.txt | 29 + docs/build/html/_sources/index.rst.txt | 44 + docs/build/html/_sources/parcels.rst.txt | 25 + docs/build/html/_sources/usage.rst.txt | 11 + .../_sphinx_javascript_frameworks_compat.js | 134 + docs/build/html/_static/alabaster.css | 701 + docs/build/html/_static/basic.css | 900 ++ docs/build/html/_static/custom.css | 1 + docs/build/html/_static/doctools.js | 156 + .../html/_static/documentation_options.js | 14 + docs/build/html/_static/file.png | Bin 0 -> 286 bytes docs/build/html/_static/jquery-3.6.0.js | 10881 ++++++++++++++++ docs/build/html/_static/jquery.js | 2 + docs/build/html/_static/language_data.js | 199 + docs/build/html/_static/minus.png | Bin 0 -> 90 bytes docs/build/html/_static/plus.png | Bin 0 -> 90 bytes docs/build/html/_static/pygments.css | 83 + docs/build/html/_static/searchtools.js | 566 + docs/build/html/_static/sphinx_highlight.js | 144 + docs/build/html/_static/underscore-1.13.1.js | 2042 +++ docs/build/html/_static/underscore.js | 6 + docs/build/html/api.html | 518 + docs/build/html/exceptions.html | 163 + docs/build/html/genindex.html | 357 + docs/build/html/index.html | 263 + docs/build/html/objects.inv | Bin 0 -> 876 bytes docs/build/html/parcels.html | 222 + docs/build/html/py-modindex.html | 130 + docs/build/html/search.html | 129 + docs/build/html/searchindex.js | 1 + docs/build/html/usage.html | 125 + docs/make.bat | 35 + docs/source/CompartmentLocation.rst | 9 + docs/source/CompartmentProperties.rst | 12 + docs/source/EventLog.rst | 9 + docs/source/MultiCompartment.rst | 9 + docs/source/Operations.rst | 9 + docs/source/Parcel.rst | 24 + docs/source/PickupPoint.rst | 10 + docs/source/QRCode.rst | 10 + docs/source/Receiver.rst | 8 + docs/source/Sender.rst | 8 + docs/source/SharedTo.rst | 9 + docs/source/api.rst | 40 + docs/source/conf.py | 37 + docs/source/exceptions.rst | 29 + docs/source/index.rst | 44 + docs/source/parcels.rst | 25 + docs/source/usage.rst | 11 + 126 files changed, 21773 insertions(+) create mode 100644 docs/Makefile create mode 100644 docs/build/doctrees/CompartmentLocation.doctree create mode 100644 docs/build/doctrees/CompartmentProperties.doctree create mode 100644 docs/build/doctrees/EventLog.doctree create mode 100644 docs/build/doctrees/MultiCompartment.doctree create mode 100644 docs/build/doctrees/Operations.doctree create mode 100644 docs/build/doctrees/Parcel.doctree create mode 100644 docs/build/doctrees/PickupPoint.doctree create mode 100644 docs/build/doctrees/QRCode.doctree create mode 100644 docs/build/doctrees/Receiver.doctree create mode 100644 docs/build/doctrees/Sender.doctree create mode 100644 docs/build/doctrees/SharedTo.doctree create mode 100644 docs/build/doctrees/api.doctree create mode 100644 docs/build/doctrees/environment.pickle create mode 100644 docs/build/doctrees/exceptions.doctree create mode 100644 docs/build/doctrees/generated/inpost.api.Inpost.doctree create mode 100644 docs/build/doctrees/generated/inpost.api.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.exceptions.BaseInpostError.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.exceptions.NoParcelError.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.exceptions.NotAuthenticatedError.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.exceptions.NotFoundError.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.exceptions.ParcelTypeError.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.exceptions.PhoneNumberError.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.exceptions.ReAuthenticationError.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.exceptions.RefreshTokenError.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.exceptions.SingleParamError.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.exceptions.SmsCodeError.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.exceptions.UnauthorizedError.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.exceptions.UnidentifiedAPIError.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.exceptions.UnidentifiedError.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.exceptions.UnidentifiedParcelError.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.exceptions.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.parcels.CompartmentLocation.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.parcels.CompartmentProperties.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.parcels.EventLog.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.parcels.MultiCompartment.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.parcels.Operations.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.parcels.Parcel.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.parcels.PickupPoint.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.parcels.QRCode.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.parcels.Receiver.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.parcels.Sender.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.parcels.SharedTo.doctree create mode 100644 docs/build/doctrees/generated/inpost.static.parcels.doctree create mode 100644 docs/build/doctrees/index.doctree create mode 100644 docs/build/doctrees/parcels.doctree create mode 100644 docs/build/doctrees/static.doctree create mode 100644 docs/build/doctrees/usage.doctree create mode 100644 docs/build/html/.buildinfo create mode 100644 docs/build/html/.doctrees/environment.pickle create mode 100644 docs/build/html/.doctrees/index.doctree create mode 100644 docs/build/html/CompartmentLocation.html create mode 100644 docs/build/html/CompartmentProperties.html create mode 100644 docs/build/html/EventLog.html create mode 100644 docs/build/html/MultiCompartment.html create mode 100644 docs/build/html/Operations.html create mode 100644 docs/build/html/Parcel.html create mode 100644 docs/build/html/PickupPoint.html create mode 100644 docs/build/html/QRCode.html create mode 100644 docs/build/html/Receiver.html create mode 100644 docs/build/html/Sender.html create mode 100644 docs/build/html/SharedTo.html create mode 100644 docs/build/html/_modules/index.html create mode 100644 docs/build/html/_modules/inpost/api.html create mode 100644 docs/build/html/_modules/inpost/static/parcels.html create mode 100644 docs/build/html/_sources/CompartmentLocation.rst.txt create mode 100644 docs/build/html/_sources/CompartmentProperties.rst.txt create mode 100644 docs/build/html/_sources/EventLog.rst.txt create mode 100644 docs/build/html/_sources/MultiCompartment.rst.txt create mode 100644 docs/build/html/_sources/Operations.rst.txt create mode 100644 docs/build/html/_sources/Parcel.rst.txt create mode 100644 docs/build/html/_sources/PickupPoint.rst.txt create mode 100644 docs/build/html/_sources/QRCode.rst.txt create mode 100644 docs/build/html/_sources/Receiver.rst.txt create mode 100644 docs/build/html/_sources/Sender.rst.txt create mode 100644 docs/build/html/_sources/SharedTo.rst.txt create mode 100644 docs/build/html/_sources/api.rst.txt create mode 100644 docs/build/html/_sources/exceptions.rst.txt create mode 100644 docs/build/html/_sources/index.rst.txt create mode 100644 docs/build/html/_sources/parcels.rst.txt create mode 100644 docs/build/html/_sources/usage.rst.txt create mode 100644 docs/build/html/_static/_sphinx_javascript_frameworks_compat.js create mode 100644 docs/build/html/_static/alabaster.css create mode 100644 docs/build/html/_static/basic.css create mode 100644 docs/build/html/_static/custom.css create mode 100644 docs/build/html/_static/doctools.js create mode 100644 docs/build/html/_static/documentation_options.js create mode 100644 docs/build/html/_static/file.png create mode 100644 docs/build/html/_static/jquery-3.6.0.js create mode 100644 docs/build/html/_static/jquery.js create mode 100644 docs/build/html/_static/language_data.js create mode 100644 docs/build/html/_static/minus.png create mode 100644 docs/build/html/_static/plus.png create mode 100644 docs/build/html/_static/pygments.css create mode 100644 docs/build/html/_static/searchtools.js create mode 100644 docs/build/html/_static/sphinx_highlight.js create mode 100644 docs/build/html/_static/underscore-1.13.1.js create mode 100644 docs/build/html/_static/underscore.js create mode 100644 docs/build/html/api.html create mode 100644 docs/build/html/exceptions.html create mode 100644 docs/build/html/genindex.html create mode 100644 docs/build/html/index.html create mode 100644 docs/build/html/objects.inv create mode 100644 docs/build/html/parcels.html create mode 100644 docs/build/html/py-modindex.html create mode 100644 docs/build/html/search.html create mode 100644 docs/build/html/searchindex.js create mode 100644 docs/build/html/usage.html create mode 100644 docs/make.bat create mode 100644 docs/source/CompartmentLocation.rst create mode 100644 docs/source/CompartmentProperties.rst create mode 100644 docs/source/EventLog.rst create mode 100644 docs/source/MultiCompartment.rst create mode 100644 docs/source/Operations.rst create mode 100644 docs/source/Parcel.rst create mode 100644 docs/source/PickupPoint.rst create mode 100644 docs/source/QRCode.rst create mode 100644 docs/source/Receiver.rst create mode 100644 docs/source/Sender.rst create mode 100644 docs/source/SharedTo.rst create mode 100644 docs/source/api.rst create mode 100644 docs/source/conf.py create mode 100644 docs/source/exceptions.rst create mode 100644 docs/source/index.rst create mode 100644 docs/source/parcels.rst create mode 100644 docs/source/usage.rst diff --git a/docs/Makefile b/docs/Makefile new file mode 100644 index 0000000..d0c3cbf --- /dev/null +++ b/docs/Makefile @@ -0,0 +1,20 @@ +# Minimal makefile for Sphinx documentation +# + +# You can set these variables from the command line, and also +# from the environment for the first two. +SPHINXOPTS ?= +SPHINXBUILD ?= sphinx-build +SOURCEDIR = source +BUILDDIR = build + +# Put it first so that "make" without argument is like "make help". +help: + @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) + +.PHONY: help Makefile + +# Catch-all target: route all unknown targets to Sphinx using the new +# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). +%: Makefile + @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) diff --git a/docs/build/doctrees/CompartmentLocation.doctree b/docs/build/doctrees/CompartmentLocation.doctree new file mode 100644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8F%BgTI<3Nhe-gT}5+@swyhm zT?wPjRn)stPr(3s8i~`!@+4S}X|$iZ@eOZ+KIfyBRU=O=1^L%$@>CN=CVSqAR$M1( zi8J;`HgfmO1yJ>;m-xYW8|Qhp4CZb!A3w0)eSS!$ zKNq)Aa%Vi8!mnc}>MC(BZw>m6rc}FZF`SyVuzb?rpk<*#j6R=saDt7>zC|s!!huV$ zp3riG7HmKR!(oDoINhlAbK7LRerQT>q`K_$8EmG#;n;BDZLq)`lsjGm5Tn<5!$A>> zZ=gaQb*(s_1hx;U8gm${-;%I)iSKoS3sm3DrzM=ge_@I^-0Z?R5mu)QF!(IqnPWMR9OdoNo2#`>jVGc|CgL;?ZlFlpiRsubA)vju8rHAe)jcjJyL7Td(TuT&gfaipu-jVK;$T)E#PRKmU^;_&jMtuFeM;B zy@nO~KGp(S$3`=CMzwzmntC#O01ktr`fxocK8A_N33IHeH1E%w#VYT21ItfsvZ_r& PhFP27P$7rRVpskLwJvjQ literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/EventLog.doctree b/docs/build/doctrees/EventLog.doctree new file mode 100644 index 0000000000000000000000000000000000000000..db907e9d49410694c7fb728bc23bc7ad352671aa GIT binary patch literal 6568 zcmc&&OOGT+5uV3(Pxm}}c4oaJ%ERZbW1J4Tx@sa@FIRHn#$gEetW*074p5DsH z$jFGuFCru3#mYCn`S_grPp(G+cf7Nr6TvnQrwfiU7 z>tlXDAs(%ubLeP#h`0i$06$xPb`;&*{7+5uk#yxmEYuxd|Te_ zaDT`;uJ3mv-|GbDLFf-)dem{ez>ma!a4t9|pl8(4`gJl}+hGJNZXGVfT|Or(j%Ty8 zl2f$5`1_zWe*#W<5`RzOZwG(7WC5HII!f;rYCKk1u<3aCpHyi_!W53x zhWjk$M!Si;HFct$Nl1A0NF-*=Kfw13laKf;Te(kVPy!VF|7MDAwNB`|&-1q^f+rs-1-}B_w8{$t!Ye`cYcb9EPlFB@%gkDmEKvxkZ{5AgIO9@gfkx~ZI?;hXQz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oMA2|ZS$~bcuI<7Dd3szEKiQ(nW$tg5=HLMp|bl2 z`uPR@{E>csS$zEpUuW*G)$ecUx2oSN-x-fqxm*?(xTLc?VvL&g9Z1wNRG-&}tyD(` zWBPFyof&?M*3QbNl|UV_F) zQ5~%x%Eo~C)JVch4FlA?3@@!=h{1~9#(?Z2441QE5_uS{(OZT(Jv58$YWhIsWc!%zk9P&L}h%nyoc0rEuf~8hw zCx`}JbPPr#qesBevlCrT;){keF0pi;;lv8dxP(N}vQ z?YmqIJ#5wxW)E3p3!WY<$sNSx&?wTgFd*ySoyjZlsV~eEgF6H6;Sce<-~|-=tML$x z4C9Ll@;Zj2uBx#f8eU+TnQM0}j;qna@#%bnmz4{#`X~u;0Z`Lhb+R)YI79RVmgDyk z1355k5>&)VZ;a0wQt*0#sk4!K)ki5}X4qpkQuq`qaE8v&ncT9#b!0F+Bs>HCdGrOT zWBsDs$U5u@RM`>To}s z%FPifb$1jQ()z`KI#kp^2m2xs^|$*j-8+B9Pb?cmrc0EV)WliLA3+CO&7*IA8|}E9D+O7d3USd<+3@G=PZ34Uu8+3u!`45Y%(xCtV literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/Parcel.doctree b/docs/build/doctrees/Parcel.doctree new file mode 100644 index 0000000000000000000000000000000000000000..3fd82d612afbeda5153e03e454589ad5c3cbb52f GIT binary patch literal 31053 zcmdU2dyHJwdG~8yws+Sywuv*W8A6QL#NKrvZIX@ShCphli2*}Um4*(pGk5pS^~}A) z%pLHyJe*c(F`UvynN~$jl}L$1AWjodQK_m*sHj9qBpMnaHEkr)MrqVY`6HFuAVn4Z zedlrSxo7Tk>}40kdheWjzVCeJd!65R@9a6}M*j4pD;xNKY`WXF8}8Y;YQ64yb*tNF z<8`mrYgw+}|6Kpjr~41}XW2xj`asv~b!t|hZ9tEj-DuW3mfOFl&!(um-)MH{B>h;| zs`(Ai4an^gd(zRf=MK!+`NS!ZeFp#3v_A;W09iV^+3 zy^~E;0uk-aY*b2iifw5&T&s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7M<;&Q+%oHd411 zd&}TAMVqkG!9n0_Ra-iPS#YXt(g;UUa{?d^T9O1{V(W!~r z&5G6Oc%6z}b?Z&513isU3fQ?Jx5JkzgZ7&=Ju6dT1;#3h_A z2aPo9*n|sb)tyDH%BHG4->Za8Y*PbHHCgYq+LgfZpjh6}z%g(gx7s9z)4T=Rb-QH# zu&Ld(dUdaYQxMT>2Xu_z0s{MHfbVK$}trX_F=Xi zlj$M^#5q^+8riL~)WCUsbjs&my22nhYmv^IgoTM)9VXv~Q%!@9aM7I{5j`!mgjL8 zANAw{pl8LmS}>0f^NgeY$bqBpgFdG^OErT%wS?@iQS9k~F1hR(t25WI{3SjH!hYWN zTTKi$;a3+CMRniqpB!g1@X1ys2+v>w^7za1Y)5wm50B4Q?8dU)#1H&;OVcCQ-`;Iu zOSZ~=J;Zevin@${79aUT5~dlvBVyUONGFJ2xFQaZX&^ZKia64dJI+oB z1=sSCRpB;uIuQ1uKHC*(r6U4(Gq^1UA4VyJaNaDsk5Qwzc9v+-so|e4o1kXeew;e- z8|Sm=S&!i9`DoJG7axL;IaMv?-cHn;kf`BZ5PJ#pKYR zIyv+eMu)!V=+HY$hhA(t^ccgTXB|B@se1$$aT4cL@bDoo6fG3^s-Mt>-Xi)TwBSLl zMXwn+8SlE=XbgH!L^w{UQ904B2!G`8j!%om9+Q{6vw>|zTB>9tL8PEupaD$ zrD^O&+5S1`_A~v{2r;bI2v(S?i;O4+46;+Cd0WuT{bF0gtu=dfBn5Aoa>>>@B~Y1b IMCm#A|8eb4%K!iX literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/PickupPoint.doctree b/docs/build/doctrees/PickupPoint.doctree new file mode 100644 index 0000000000000000000000000000000000000000..3ca4b853e0773854e06016eacf1eb1c3cb495e1a GIT binary patch literal 9738 zcmc&)OKc@a6&?TmY>z!NnXw3tCohV^Jck(@MIa$F3=tt3MUz+|32Y$h^y{wos@wg# zoBqt$5(!}uh@lpsG;1P-MSegAv0xd26p1YOZul$+NC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ow30p-qew!-UeO&D>Mw?z(J6EHon{@@%@V)B!?lbB_ zyJ*Ai+PM#KLtQ~NTvpF_O0Y26>?3REdelr8>o}=M)Z7oPo%=~D-YBgV%#@7RkuFOe Qs?|-q;k?uDb{D4qfAUy@*8l(j literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/exceptions.doctree b/docs/build/doctrees/exceptions.doctree new file mode 100644 index 0000000000000000000000000000000000000000..938ebeb160e8a2f15829fa0f0861354b0b110e1f GIT binary patch literal 23833 zcmcg!`;Q&hUH5CBws*aD>_+k<6IE&KG`pLINPufh9wdt6W-*TY3O09V@15P5yK`r5 z=V9-*GJ;f*Y;>BIWGX>amHtvFr3g~QLzPMq;vc9$sd!XCONBrJgh2F%3c=@l&OFXN z_ntHNUVAr^+r2aA`#s;s=X}n0Uf*Au`25_BJ^Vj5A9r0Z*jln%tsrbUamJ=wVKePG zL6W_do%`kNc6OG{ME0#XOrxfgu{{{kbUnWnIYD+KV{^6*=E?Iel3wKRce35 zoeA_TnG4gcI5iUKJ|gypL+6k@&6f3w^B{VuHJJ}&p-Lp`3rWMgmK#G*wOYy zWEs(8C-TJxcrQt(Gqxc8YQV>yCGxTFAK0^J7XLkK$Ic~=tLLLAjLt@m4b+_zC#*8Z zRuUrpt`m8QwH}3?+1ZuwijBqVD`J;oE3&=VX<4^iC$NIh!rHxD24YIJlQteh5iz!Lhb$Vt*Dh^?od zc*=r77T03Ec<0*J2BX#<>-@BjwsCja6kbKBkz-S3&9BD4_LCI0XY6};I(MQt$R-EnJbsf?qKzX zSfG)Gk(R^p#34L8E2|k&hgM!Jts%9D!HO}l6MZNIhxB8&*#0L}0?e5mdrz_vg=tsX zd#cJ}3R}X6JHj+XZh5W5%`VT8ayW8i(wf6Z{Wn-`|czl=W-~E@Akr!95Ti5e_ zhx)`$!f(`Us6fkI6_xP}KiaXqAaj3*P2pF9 zEhA(5X%==6zrn1&*YuL?4nKX%j)Lqi(zktH6kQp6P?s8%)fmRh(rkrKmDtgSlV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aD;LPy zpsuh(k<$&Mq~SX^9UmBBv##xzKPT9Nv*jU5yw74WXo5|&oV9cV)6G$@D{2`Ay^h_% zk(ney^2r@^!D4m9wPftHaz;_nJ~;($oD+I08w%-Dy(bi5c7%M05hxcS@;RUn`*yIA+8YjU z9hk9w=!MIUMNTt}T8)-N?b9#~^=4gRlXzc$9d05bUaNtXufcwW$1=4E zvYSq{GPHhlC(%tL#+>7wl)8k9z2y&=jxgpl4u z6U4i`^|I)bA$Z^}&=WSjU>z7Jh~X$vMVziFSLd6`WMI>Gt{6w%oj z4Mzby(bA50U0#4ufL4Ou(SS{h`Yhkh*wLP&q8Bp`L)&`!gL-XI8)qD!qJ!e^_WxkN zZT}bkCuTErn0oWkAb#R*>^_V>%KSVwp9|E;IPb4l5_jIFy6Rka!7g^6V!uI?<`|v) zvOCy3+BQf9uaCP!whI=QyvxL(UQ_M@jkbSC83 zEoFyg`0;ogM(;tsRtfUr2(e5tP6S>)BF3SaG~n7&w!)C#OO*8}s(9uN^C5jKI02J78r=H7?zlB7;o?XRy?%ENU0S&uj oAXrRTQen^GgXLik!h>GW^wSoBeuKJx&$fuIb7G_NAzfSgf6p*&&Hw-a literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/generated/inpost.api.Inpost.doctree b/docs/build/doctrees/generated/inpost.api.Inpost.doctree new file mode 100644 index 0000000000000000000000000000000000000000..1e1316359e3bcdf9de5c2f8846f6fd67f70e9284 GIT binary patch literal 40023 zcmeHQdyE`OdG~8yW3SitVdprXkG>q>F}8QP1439C-yQcLhmSqyds=cg;oIrzs;{cP$M5^<(N#~4JoD%$wy^(2Q-0gDoRw+4(Qw>`;m6T< z!>xxc!wKS##7Eu{UyiHMgr{Hf-O#HWakK?F>ZWBkJj034$I))e9$2(hyb-puhef@9!84X9PZ*5_`ZB$W%_;Msxy!uW+-@F<9-lGYmN8?y?xOEHGws#3 z=QhC%e}?z*czZQ4@dEAiXL$Q&mJP@7^uTC{JQ5$KJs%yr{vRo2wK+N$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YQ9v*Sq<2?zr@MgCkoLDX>uR~{M zJL9R$v={NmJSt9an6_Y1)ohqOJ_&&pO5t41CN)eW;KO{3<2n=!D4Jql&SLbmbcPC; zlqx9#4EpF&Dum*Q1lSPi%U;y*TJudU%2*LBuoQOrj!lnq8Ue#a$Y9m%aaDrriRVdybSJZr>L=j&N8@vmv}F(4siq zG>711>{aerDNtV3F3n9fO*ET$A{>hdKk#=wl0^M&6{BeLKFZK zhrU1==ELyL-+;1(5UVfp6w#TUZ|s{)83!)G9_fe42ppINhJ6YZDjzP*3u7X0B$@L@ zdO5i$z?pc+1Gw-MA_$JGeQ9p_n04WCeK6VQ9h$A#Hn=%q^5c4N0u)u1Yeo^vq0 zNuBQd{4RX_{JZ#1nHF_ZhNDS#;8KY<@lImLk+&X-cXP8-x1QZ@2epl*Ix)uekdw~l zIl1dSZXPlitQ`+!R1v~XeRZj`n%!F1u{Ar@F4|w%AMrNR6yR?y?^TYhm^MO)FLMeI zsM35HML-&uB8@bETJ}E$4xbjkfjgi^hhqU&1p>GOt4OlYy;XHv8*YV(ALRjYW=xM~ O?SO(^85dkl)B8V&di)mv literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/generated/inpost.static.exceptions.NoParcelError.doctree b/docs/build/doctrees/generated/inpost.static.exceptions.NoParcelError.doctree new file mode 100644 index 0000000000000000000000000000000000000000..7a79b7bf8ab979e9cb203265c22f227ad3d6e7de GIT binary patch literal 5082 zcmc&&TW=&s74~grJid(AUe*fAdYRQKS+Cfci4a1_yIO>RATU@Fit>V@PEB{sRNLKM zO;@!&euxy1f?}y&&^AImAbw1q5EA4OA%uA6PvkpQJv}|MYh#|Wl2=nzr>f5R&UY@= zpEQ2|_q$8>pV?8V2$M;l1wkSMt_rgrNI#ExqKlWslV2Af7l)>uu?r>h%;$w!f`l)^ zD9CtHd{~$ciR&;@{c?XxabJfrskV!TXo}W{#i3}Mh7NVaYfI+sFiEA-eWjTW{XU=g zJf-cbeV?Kza94eU%(#tfHr+`fj92&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zQEgFUM<($IE7$9yv)Kdy|pO;sP@r>Oxb`modGa6pnn;&G3lZ8Sf(0 z!n3&mD&xj-L;0XMF?wsgSXfy&;`GPF`Hnkxro(ji{rQE3&E^i-pa7HrL=kMlLnLC!IA>!H z!~=|1@ESFDGw#bQ@B&WRAJ@?P<-{}*JtI_AAQA>1TCPzzq2kzKxt88+%B+MS)pn4_ zsaFvXz}krrwJ%FpLywFX@)VhwK7QCQ8f6~10(+z%CL?fQni%#d zRj7QpAQ#3&-bgYRjr8r|tN>@?ArBD3mry}))Y&U@&xh2R$5Bfn58r90Q&MuS!wKTFSXcN#Ei;oMlH#bY2 zp`FHQqiR5X34IWOc#9_8@6(5f@zV$RPnkANQ*|RDyKtq%Lwswn>!?}J#k;xLu6xfO zw~cPZQk@v%W++Ifa!&91jFUqcz}xXqMin8f=+_n|E9v&!iS6mFcGKS6`N+4KrUZX) z@vL%X$!s8n_%f#iQJ76%MiGz(rYIw=AC&Vify1Z8FAxqWzX&YAsz3mDVU%+}3@uNH-&WtJUHv&p_WnOUoO#e%Laj>-j literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/generated/inpost.static.exceptions.NotAuthenticatedError.doctree b/docs/build/doctrees/generated/inpost.static.exceptions.NotAuthenticatedError.doctree new file mode 100644 index 0000000000000000000000000000000000000000..c7a7cff22e5d0b453ad695d569161c34f855dd64 GIT binary patch literal 4810 zcmc&&&x;(#72Y43-I@J0+EuhTSnG^2_O7sICIMs2N+_5l24|B!7~@MY?Vj$MsnT|L zb-Jpxvj-a|;NXS21a$~Gg#0NveYMS``)Wp z`*rINe?3^S|4dh>ltCV|L>JGB`@bo^EKW=(^DmXmvw#(51rh-l zQJAr$_`EQCB(6oI2Ic-u#R4s4Qg7!izQH#?FHU&Jw6xF>Yb=?8NK&cvKxto#V8EsU zOKH0roJ;*-t~o3bfv;Kkvn-QYL7JfG)~9Sr7QXWSZwlwrM(V=@UGRO=@oJa(y4ff_ zJvX-^k+9-CANgj>*E$oUTmvCOWL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g+lqGh#V=c+^iCUKQKFRMj-`U4-D3nV%}Ip_R(Pu=?jOTH>5rp5hiUR zLcWb>YCQx+_bIEuoMZwbMj{rv_~q?mvzM}TR_V!^9hw>Wu$_{_yvDUo)#-4EX*F<9 zuYt@aL%efH(i#9sPqP@|(FjKy^ZmDf_#W`w%f`WidYYN3f2UH9Wc7)%7c3hHrpNXS zr2UZVIKp8a?T?T}q2|R|+Z=(Du~(;OeN~n1`n9>Ot`hA}JuW6Z!Vmnt6-lE0j*4+v zd%w<+*9t)0v12#%A{qE4v_}EQ^&24YF5iH%g%G2S^tQezz?pc&LZt8&OyG=Z9C9~+)P=`zr9>Y7E`etNy|BME z`{iF2K-OsN%G$MAXUS7~qnoxXC&*t=5m${sa%fNc*@U4yq4Mv;C{Rn|uN9z8NH6j) z3v)0xOC5}zhPH7%KvOuT2S3C&Y0`Z^*+z~(Y2!a-Iy6mJ9SPZmYsKHh8``ep4tvBu z%FS*wdRE*LcXP(c!5c(79?7UCgcbeX!elMonbX**PPLm3=Jcc9 zW||88-9=sH%8J=S2?=CQ1)?z9fs7&`4NP&3Z2qL2e+C@BDLz3uprb=#0agV9xC84- gGB>?lPum!7izJBhkT^4;@NI=u?8>^}+M2=t0RItA3IG5A literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/generated/inpost.static.exceptions.NotFoundError.doctree b/docs/build/doctrees/generated/inpost.static.exceptions.NotFoundError.doctree new file mode 100644 index 0000000000000000000000000000000000000000..4213eddbc4090bd16cf0eb627eabe101eff76fd1 GIT binary patch literal 5172 zcmc&&&1)pb71!6yX!J2!$(C@~l{1c6OG|cU_OKYET{eUyOB}_*35zemw0pX1rdsOm z>U330ql3W-I9O1ZupL4UA%BcdArO2FA%xuXPx$w$dV0ENEk!w5FrusaRn>dH_j@1J zpEdsQ;PnObr?+IngLu++eLogHleu2?g_lJvR{6{P!Ef?U^F!TE-3uwQ)ML3`fP}|` z&`(*Mf1K+MiK`%#{bGGfGEW5}E|>ELZ}Qg1`5|x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pI?(d{DIa2dhCM=K5tq6C9=dyIp<&oEpohFKb7v`HD3?gaD}$2Ba{ zdS@hr0s^e^@_12i()B6MB4;uZX_RB8L;Y>ycp{=(nZ%ZN?FK(2zoo$<(O#Ue6S=d-a!&A&0}=*bi9>oJm#GIK3q@Ro|sy zcFFbr+?%;APLGN69lP&Lhw18j^%rxC^&PT70w@lMLfC{WPUyzt%pEfzj)J3?aL?7R zrOXql@A!-g2#%qf(TQ#%dPb<%KqT-TG;^b1LS?t(W=c4-DZLbcRGWSlB~D2^0Ba@! za4wDAkT%>hGe9?%St7QHaCZ${iw# ze8uzQRlN^RMot-?r2)l->Pp{{m$7mu4iCmW#1H&k2?bGqLq=$?oL^^%YYCuUGh;h+ zLgBduwEG@M!{ov7Hr{};fe@?DvILo#KC75-B}E>%0(*oP#3OKEnizH{Rmf~OCl^FS z-cYzU8tJRXSq{!bL*^rdFQEcwDAiYb*MroV!%#~?2Va12QKN4gU+C@P8xF`Cj%-@H z(#tG9r>`S=)ut1~FQ|yp5+FE~V;cZNoNXutYAIw@(8i~4A)n@Yr#4GHr<| zouMF|%2~auGgb~^0B=V_5tf87qOZ?QmeTFoj_v8GX3Z1Dpx2N> zJk(V1B-iVn2tyzZOi@N!KPu*50*BA@Um_gPgCnp2s{{e;fn_GCO|O^J#)s=c?1h<6 SoEcNxulbbhio9U^nf}+O+|lX) literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/generated/inpost.static.exceptions.ParcelTypeError.doctree b/docs/build/doctrees/generated/inpost.static.exceptions.ParcelTypeError.doctree new file mode 100644 index 0000000000000000000000000000000000000000..d49653c1a0941b62e26b269baacd04bb182b19e3 GIT binary patch literal 5192 zcmc&&&ub*d6_!?-8I697R$8yJ!7F zU7fD#)#zYw0uC0`C2WU~L&zWFQwRhfLkJ;v{}cIMRZmaPXtmxwSumoj`c>6?-}~N= z>Q5Vg`q67k_RnmqRD{W-&w?P40at}t3#6aNJkiCo;{NZ7Pl`j+&e*wrMRy{nN-U~Lo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xJ~ zHhdXHKpL2$jI@4Q&OZYVpB2AGIG~^+umGz90o;LACYhVwsHUwCH^Rh^@_;xqrnp}Z NDA|>H!Syu#{{v{q+-v{< literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/generated/inpost.static.exceptions.PhoneNumberError.doctree b/docs/build/doctrees/generated/inpost.static.exceptions.PhoneNumberError.doctree new file mode 100644 index 0000000000000000000000000000000000000000..383b5f937fa7719e12f33fb1e1744c92c30b3337 GIT binary patch literal 4871 zcmc&&TWjRV74~J??)IhI_GHY29dCMBHujKlcLE^<&oCjkg^d#v!m=-6(W<5DF4>Yw zsVdp+hlNdG!y4)(j6%pm$dAcW2!wqM`77Cne5XoMt9$HW1_Cj(QI$?ro%5aVTuPs{ z{`l42lKnG1mGLN@4*W1oMaWcP+Mx*Ygr&N8Q9S-_@o8~nI?}&VB9{Rx%n~F59>t+# zY4LGkx+JcnSPjbc>xuNIY)oWs8X1Nl1u_+9+o!|xEk$7C$2rxzI1P(Mi zFL~!p+`-q*bm8axTl~0z$MtLC;m{d6#ta*b$*xZbE2x`J`eNLF18ThuhXb8^2!Y@w zaE|b%OK&_C!H+tZa}<8Kh{cg)K0Nx^GL{zi>|#Gn1+jcCHq7^a{p?*0MxXQ#Yf}!N zKj}ZK4)j#!2kfL@i}eqmKZkQ{NbQ?Wy{af#4oH9QD0aq6yK3#-W(^C?a^D5kK0VEL z_^7#qKSvL=~$xBwy+Mi+V`(;r4UrBJf zY+117+=Y}#FtjscH7+ia66Hr?1UYa+@ocuer6 zGx&IdKzBxTtPu+q@TWG3?%xu>GxdJ=D)ri=p3|*OC)};pXSb@gXVpR)2DF;VI6`u2 zAiU;6$H7@eT`m0zNedLkr?+6TncH%|9?tCj>)rO6<@9B${{@Eq8TH{#s#lKr69iwp zj^H0&hN=-r&wNVCC_k{SFdO6mF``0I%+bNDB_hlzIX}FMrYKjIO9fvu?QtH*7AyYL zYH(Q3P=A&G9$a@p%XT0gX z@dv6e{YbH}f5lna|KtPL24qz9z0_9yPx_HU4!`u{DC`T_&r>$dU^dn;Y6$u`HFe{w zNb|m3+jndGA_#H`W6CVqTR5+g>Aq~b9}4$ukK&V%x!1znxyKjEKXx~ubwkRZ(As6w1)ZsN_3B1-tD12Qt7$8yH98;k@Vj+WK9)8z!@{h65lQR_XUO<Pw&_LyEWPPi$fUqbmwL3!3q(Q}4TUY=ax*MucE+QC_Nq1;CzcD!zWdBHYMEBZM)?HCb+3Gx0xL+M;3SyoXo)V1j4Hk` zT_n(4dx(A!LJFMC_4xSv$2I{!nt$n8et6tZ!obOowXqqxlyLi_H$%pa2vHL@{hC%y#UjliZ&$ARc18f~%XkFIgaD=!Gm} zxDuoR_4sFI4KXxEodF_I=%Ei8M^h>nT|d{tn@yRO2&CE$^Ca_X;sIDY5uqB$)Q@Sy zo}B@@sUr8!rZUCyP|lE)?^cD=kX`?OjGH(w3qr)_fpP9|O* zo^@?2uLCz`M_s4dpL#r+@EAYv_g*ZB`dcbNTj2dBM_elab>EKN(2GUjm(U&r9EBd$ zS-N-w$`(SbzQ{A=XZlj$N~_BQH(-wlqI3)nREc4aQiaM#3vy9HzqLHrX7r28m zd>aT6!q-rNGp2FKg8)(&9z!9CJ$%%_HG?kdUzpwUvjoT*k6l{3F{>=Sq^rJZyL5v1 z1r@;>8*8{YlWBP6Y@pYPX z&*z(n@$)wRDbt~8DsUuZU)(7E4({XjJu25T{(f$@o8GhAZ3mINP7-6>3jL{15!Fq?sh zV;~JoQAXB(T+Y7$4xbmlLO7szL|_3{1p>GO>r65?y;)CNA8tlz5a%IrW KdBHU^gZ~21R%6uw literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/generated/inpost.static.exceptions.ReAuthenticationError.doctree b/docs/build/doctrees/generated/inpost.static.exceptions.ReAuthenticationError.doctree new file mode 100644 index 0000000000000000000000000000000000000000..fb8b8d099e12a527d8e9773d99d0a43fe144a3c0 GIT binary patch literal 4812 zcmc&&&ub*d71oa(X+}S0R@$s^@X8ruY-#ao#s*`8cG+N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ctree b/docs/build/doctrees/generated/inpost.static.exceptions.SingleParamError.doctree new file mode 100644 index 0000000000000000000000000000000000000000..0e6e0bd688079f8530d12743b51bdecbe2682d70 GIT binary patch literal 4625 zcmc&&TWci871m{Eq|se+R&4Of8Dnf|@oL5oCIqe65Rw=YB_broFTpf5-8ECa>h9`v zRj+0q47S0+f_e#CA><+C$K)vlLjFba0}Ou6cdEL3F1uQG$wL-q>8d(abyZr0lxNyLvk$(opV<@BDcH4=Wf5{~mLL&|IEf0L z*-x$6A#oiis#on_Q#{nM%$n_@CE8-`Q+pyhrln(@@R=p^AkK2BbWdrfM z>is6pMhX8FD_Hu|qL789LvY5OkNKFCd!4OcS#L=@XV6<)v2Qv-W2jg)?aIDOb0>*2 zZZFFLGaF3nA|8|)xDXDjaiqxRwJ>2yVG`f1jHUi-Ju36*V8Ftwf)7ciG;5lTXvvCQ z@ut`k_rGEe$Kro5j>IZ!g|=aamUPXM0kdrVIAi56IZo~rNl>yLQG3#NHg$-Dw? zy+Xm@w=P!7fmkxFIE(mr#sl6t;(IVqybXZg!S7xCj`4dy#saS*b|#(xCg&7u_MY?3 z>$pR-FSTW*cwd~(;4yhcJUlvm&zSxUWAe!vVFh)wQCAMTuR*Q1;BcUG2O$tX2hIsr zc4#F~G5n~@VvfT17O^-fIDhx9c);gi`D z*c?5~^0j5N93e-3Ot+Q;J|{UVWIE$CIdirkh2#ZSym-nj?fp6SepCg;|CIz6%Z>$G z-d#wE6ti_26fN`JTNzbj_!5aJw)ySYo|sK=>=f|0yUjMK;?j*9^I1g2l}HG_Yzm)9 z5$N8Cjx%Dx0`bTt(Zd(S?^L}nU#8wVspoZDryFip>+=_?b>P%O8V0nQ7fFodG=p&4 zhmMD{j=DzrC6W#(iqBxdWHWcNa%8I{ z-Gar6N8M||v#!jN3I5|<=j(1-D%~CM?l4Xgh{RbJRk%Bnx|>QQ--^Wl+aXf|{OfiC z%*Gpm@K1p7m|_ed{KJEAI}d2X-)ppL^cHjEiCM`ffP0$87rYwDl*O49|2AuIyPo8* z|37Hc5PbDuEt9^i-EJrran0<(_lQ5MQSm#L!C<=gfgY} zTj9tz{R~gIn+dLCErPoF#EsR4svEsDTLsT$p@W1!<%zvmF&ly<&9G(m`8WnvXhKR= z3$;uu;)8O8>vpbLkpU}6APuLO>F5Hz2N`9*Hakcwr4D!&$_P^6Y^jH*KL9K6eSdy2 z;KYwWuq;Y=0h~!yWGu5QOFe%|%bjA)(Zb5Y5l@bmmrxM=xliV zW_LQ4ggST{t5`dV?gmk;*dQT8DlOOQfDjMO7K~8{0pEFoHI-O^YH7QyA4c=Q?F47yWrn0rF& zT%Gm%m{vXiuIb5Q)VJm?Nje1}8EBruJsR#<$NcHLAAATrcZy-Sa6HXSkAJT|9>L0p zvRAz5#as{F9SHlr&}o9pI+_g-MUfWvV%;2plWEX|XJbIsB;S}lHOVv^2O=Jc1V8Zi zP9ll=TPj7d41QN4t`&fK!;SqgNMy(=XpcgH@)yGKKHh+`gAlu~${hKb-p}q)T;+iq zut$b*HUtOi#Be~VLY0FBxi}^ACX)GRq=)MjUS>QU@CYG1feM0ijZ5x^kh%&u3P}>+ zsgLHHp08h<{pzs}vL-{H)^5xy&z{l)*sS|>g7^g$QD9;OhYmC=MjYu0Nq-+ofm#}W z003tLlacmXjy!Fqr}_vIQ<6I z>RfzOn(bMSxg)m2*gvd@C4PnivzGI^&dzu_SO5>F1DP}=aH8K?m~5mwb0>D{TivFE zx$}`@3r$J=?&4Y1%97bY+6ZMyNx_=UP@>aue>g$uSo?7`{|pFxWq*wjK+#1o0ZIj@ k`wN@wF*m*0Ogq1A##xw@5%FY1F58GG!Bx4yH!!{b0$r#I82|tP literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/generated/inpost.static.exceptions.SmsCodeError.doctree b/docs/build/doctrees/generated/inpost.static.exceptions.SmsCodeError.doctree new file mode 100644 index 0000000000000000000000000000000000000000..c1febf9de72fb7554513e6fba71b50abf820801e GIT binary patch literal 4765 zcmc&&&u=706<*sr_K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fp<$iLeNnx#QKz0-of zm7!LK-h7EYu!N~~0W*xzO9Pi>mTiFX2e#+E9^0zx=MQM@qV9NEO7{b&x(#fUGxk=XS0z&lxdB(DZMr|0yARS8 zrP!N5oJ4lJSsgLQk1gT2o%Tq}lI8e+6bd6#Yx^cKf8 zEaG}+B!of_$!af;7WF1wyy7f!CL@tXIc7T41t*RtBD&8>YOwgW|II|nao=XHFU#g!)%QGI+PG7k78fu zMwn@<6kRMCm4Bf-C{LMkSd5$vDWsfCje0-mneujb_N8M8;&35`_j-h+hv2G%YMyTRIB=8-yd81%L#khkzuW+VQdMN;@HvKG0oQik= z)=UK8TpGI}ZMbD-fNm_w{nM#Lvdk9_x^76_Lc$i3IrWu>C7yDg1~O2FqFat1NOu^L zA%&K$G9dT^y#Zq+Lcrc(z?wqL83iGXL-6j>6AnRdPxl;nn0E8w@^ySlsD_~EHboVf z6OTc}Fo;k}etBzOcM_I3R9_H_o&gLcIRW3HI|YY+jVqPN!@&U4vTv`+eUXj_xxP)3 zMgd4VibZgbf;(0*-@EtDL*Us-N8a4_G&9})JLUEWR+lJy#?pSk)X1EHupe+0g*dFO z+##aKS3Eyj)qCJ%yttJ7O?>k(?@_xR^LI17S@)jVZWH~D zp*k_f&QOq+a#rv9jFm$ez}wMKgcTu-=&N&+m2`V%$98$DS+p~=Kk{v=D8b*J->Z1D zpx2N>Jdsg?$o0A>!VpLUQqknK|d literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/generated/inpost.static.exceptions.UnidentifiedAPIError.doctree b/docs/build/doctrees/generated/inpost.static.exceptions.UnidentifiedAPIError.doctree new file mode 100644 index 0000000000000000000000000000000000000000..8724ede4a506793843eea9127979db28387e3a23 GIT binary patch literal 4627 zcmc&&-)kht5tdH3(yo4G17t9zqDZ2|8 zp6)qG4+l=b!GeAXHzDL9$sb_wYrg89nVsFcJ?@?&SeUM^?ymaktLkcf z+4)oVV8#8}J)H@eUJY3kr7GgOwB1OBMZ!~4J}dA4u6$aa*j~;qw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x$o2KfWBrs zeB9n4oTG?YzO-SRCltz$=+tt=<}}+%rZ-KKQ|AjRNnS9;if7Ey+MiG z?0B%{Rg%OBTvkD@mz!ko9G z_uwb0UxY%jxPQr6*3V>LYR-y2qbt9khC1SPQoWMyES&$kJ)G_IA(#FMm!49}z@>k9 zmu`=X8C_i7eUllIeLTtqWeNB)q`#({Z)N! zwyICMiLdOn+0A4HwW>s9)%Tsp)L%GvaGTB8Q{T-e{>nUQ3{xj%tJ89@gX&ceP_KGH zm+_)iRmVWKYyhEE9|8Wz_a3)H+H_z15v^S|J5gCspB6M-*;Xy_-I-ZeOl#cnXj%7~ z9&}td{>9d;eHs^ggHrYDKro2 zo)RZk3#umb+-wyrmxT@z_KYR=Y{hKwFlmMzv&W_aSfQ;bRjt%9otTZv369&j42uj{ zK?7wqg`}qobQ9#1{nG59Oq4ocStMgwLsVMG*rIx`=WL5-7wH=pf z9yG)QuudRQ^NK7?Xv1A60lJx@@XtiKVr47?bU)C#%cgksu%Nxtu_V&LGogfb6x|JC zp~6u@j#O55>xAHs%odzcNCDqVf;E*|Fcyhx*3AKZ;Sls#)Ndlfv|EgjZ{kVU3_;O7 z$|^7?n}CRkNQJgPzk6hMa+U`Gg&`Ls2iO)#Mj>pcV zhxK$gLKelE+p~3Z2u`L!lb($ORoi=Q?y9Ryhtq(I2~Y3`fA1ucsK2FBTzjqp zXhBb;MBYS(J{##hdSSttbi`t$@D)tpjAl(<1?0ZZyrmzE=EQdUAe+`|1h*ur%B4h`BAcBjKM) z#1b!|#H{tat!;_dg9nIkI+9640;l?o1!1Gzo7=HhpXwIv&+U&ITWBik_ZIi6W|qtb z%0?thDhk$YMlwl&E^x%v(fwg1e+~q`u)jbGpesT$0ZN6S`vaTmF(=+^#4c`|B8!qT TCZ0?vWE(LRxT+TT7H052o;d!t literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/generated/inpost.static.exceptions.UnidentifiedParcelError.doctree b/docs/build/doctrees/generated/inpost.static.exceptions.UnidentifiedParcelError.doctree new file mode 100644 index 0000000000000000000000000000000000000000..cd26ca033f001f3d99ef7408cf12f031d7639ab0 GIT binary patch literal 5242 zcmd5=&ub*d6_!?-8I697R@zoDFlL#A%u{-|A~CBs;8%C*0ZelWWk88>Q}GoeeZie zs-HCeBwt;ze`Z&uB1|TI76ge5xGKy>ApJb%i7uWN_kLG=QXHFh#x9l2GoKe`1rojp zqafo+@nK;)B(B3q^~?1w#eE&hq*^W-qA6M*7RRD(8amVwue~yFhe;}x?kml7==b@= z=P4~${of{GfMbNCkO%KFY##kQ%VbuNE~r|6k5A}~FQMVn!r9eK8LZHS*fVXfGFz;f zW@+u2S&zbm7iam9nN6m377lX_ln9lzFi?a*%a52+n8b4}LvgzkYfnABq*z2$O(MYHo2J6K}vy@h0GY3%|Sg9pQJ6YzAyuXe~Vk zT46GVSIxJUx$Gr;B${WsV7d67=+!`a@`4~a$Oev7gBq#Qs}lkchfl^`IqH6W_Pq`= z0J3!ii~kH_$9U7BH=YXNW1VMnWPf7`K*t$paQZ#VZPKx8b+9Cn6c%&AWPbR;!?!fJ zf6_gw3_E&szx!~yucuPx^OJ5R);)Uk2#&KccwpMqs-g@80Q@V*!ZT5tR~g}y)eJSO zT^E7}^fc4(eq95bqmEg#&0iUE9#r2R3VyX zW0Xgc#Y#Ldo1T`w2b{Gk#OLC{9|{yynkof|Z9fx-j%7IPPYAMF$oMkR^^RlOGN8=2 z$$R6BrK0Y=@Bcz|GZrcybT0)@x{2&cEqK;Fu?IZ)=v~_|eAMOCGIV36eNiRA+shW$ zve_4Pry?P5r#uNzGrS4Pc>N^13p+aMwM{Du!A};|WW|5VAZohP)wcUzeY<&P9Gi8! zr@4_{Q69YNIUme9j{yEJfc^LL=tA5bq52i(RXabd`_k~>ej z?Kx7-^1vKrYVo(wJCRlYL@Yd_j0>gzaIrA&^m@9c1%ICg%`}J>3+J(;N3FKc@xwF& zX+3s+YjtJCw2%O-)6NfQXfttb+)AWt2(Qg{`AGfV6cKO<}N2POZ0=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;T{y`tdvR}90*S1~bpSRK{rc5Ills7Jl zGkwlsTB^A$D!Z0(-AGlQ%Tl&Ky(LAdN|H%T2lbXXmJd2E$`y%`Y1|Bt30U%I28EA< zA(mBsnkQ)ND4WwFpDsg{tRi$KZ4s5BY$`Cq5Vxl&mOTjbD5_suKEHd`V^(=mbt2SD zW*%&Qja8GoK+liyfGb@ClIV2tuwP80fc6F+r<2FXcknbzci&V=N^fy1PTQItYI$CW zVnaiEb9R)?Qr)c^b(Bq97I$K_%u&f)7tvdX%4h@7J0e;P$KWl>MJqHFe%}dxF3xV$n;sJOC&wYoIYBq)Asv0R_@ZYpJ3wm)ASe?eavj?}gR ziR*aYhXQGKgKub_uPeGirB9fKDrwhP1t)@nv&lMwGmX?X!TW zSv~4>l?-(dEN`$-?BKg9?9&>GP^k-~>jtF$yr~-)k?tud(?qWWaL-;~Aeo(y)FbRr5sUQ{_ zCTcoVz8{t3*&`r&khT<%1AA#=3v_Uy{qTX~Y_4l`^ZP?u3@XREz&m)SoxyH4!>}7P zR#(v+tcW`470++4qH>FRat6>-35^ca6G9zRXkWhbu6rQQIlra#kf)ZM{HId#RD3~@ z-7x$W%LrS14($0=Gwe8+tO_%aUBpA_DYghqc9d*;W*4AIeeO0p5Nx5`V^cA$w&~!H zO3}z!#B3(OStL}Ri?FW)2Gxdh|wE3AZ+t`d~yFO z?7%kA<7t-L0tQmUaEMGr5H)-HSsenee#_OINGJ5P$pTF4WcCsZL9RGzuKW)~ Cc!S&k literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/generated/inpost.static.parcels.CompartmentProperties.doctree b/docs/build/doctrees/generated/inpost.static.parcels.CompartmentProperties.doctree new file mode 100644 index 0000000000000000000000000000000000000000..ff0e34784f7df90daf2d56c702aec8ddc174297e GIT binary patch literal 20579 zcmds9Ym6P&UEj66cXzMX>qqNNz+U$nC-q(G-EEx!;bI(8Hv@4j^_k!TMO9~TC{b;>bRO6J|D70YVI4Bw-)uE^|ZEcICj!qpV4dj z?DJ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v9#Noh5ZbyuB%q^I>U}@J2(j=qJX&344dg_TR|7_7U?7^2!$4|ruI-W@4L9rhGrDL z&K4281-^pgfeu~rfa9)#zrFg{DnBWHI$Nn|uIsppuG$?-b3tT66^F>#Q77=TP-Zxk zkS*tGav;pBkZZOm;HEgly-#N=a-G>Rnu7;I=^&AXIfd+qrP|#U&zyaTHv_gI33|-OBMa9AHX&aw%#1%5B3l zut%3*DILS34ThLVgyn3k4f+MPfXR4}e{t0aq$X;nY#SCPhl`<>=m~@1svo-U2plG8 z9kBc`ZVgLbA)?1gr64)j`JzJwdN{-U^s)17v9I;hv!gT_+yv5xyaRXA4ECVz`+cvq zzK&vVP27jI=D6MUke#HK909ace60ue_+ZBz%2yx$;G>}DqPyMBfv1ub{QG0@bgG_2 z_LkweF|VDs3p11;hkBX{sVjc#AsW5>K*oaEn8bfc?V z_@S#sXxmT77Ch`R^_3R_=(Ptzy@$VxSA~{rBhoInbzDo(2K$7*fy$hO=zR;@KKJC+mM0SFq|M$;RRc{c1Dkc*K$;$jdbDJtq?NP+tNBv;a#AhYq$<& zkDY9z)h$KC$#hG>HF3Dr3CT&IeLTA84Z><|3!Apb4r=yox;Tx^33CGdg(zYJv;pPt zu~n8XS>b|n97sX5e3(>-O^2>YdnsfmGNp9211|=&?c{~F9?~srXg*7Y;@NyZ`L1*L z<*|7xrf&#p#4GkZ{VeV_K61cEaKxSqJ;{zJA$5)0i5bWx zq8$_heD7^xdvvDhdvk?J>-kKx`FKFJUMsCUTh MMHYfwaj>=ae}8}eEC2ui literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/generated/inpost.static.parcels.EventLog.doctree b/docs/build/doctrees/generated/inpost.static.parcels.EventLog.doctree new file mode 100644 index 0000000000000000000000000000000000000000..10eeded25f5a0676346f50e50730755b3a11c84b GIT binary patch literal 12343 zcmc&)TWlOx8MYI9?cMkiCyiT3oNj50*Tt7MstQ^~DG;KnN^58-rKKt3*_rXqjAv)I zb4hI4lvWWCONU!Ks1#Iq;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4Am+cwomFCq%1^;(OWnO?22M~d6O>fz%J0^YNpcy1`@-tK&HYEo27nchrnyQ zs?i$v5OBLAGo8h$lX$V~vwKjxF5bgmoo0`U9F0iignTx?kAmNQh0>qh+}NX9MXmJnmik~zYB@H9z6-gfJ=soLBKwsASX<1N}>61+AMbS au<2-as1thHWC5miGJCOwAXgkV>;DHNNL@1k literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/generated/inpost.static.parcels.Operations.doctree b/docs/build/doctrees/generated/inpost.static.parcels.Operations.doctree new file mode 100644 index 0000000000000000000000000000000000000000..f9552df812b06026685750c11fc30428e2b3b337 GIT binary patch literal 12549 zcmc&)U2G&r5k8;owRg`y_meY37l(~PxOH;2lMqF)Iys0-kkAo_{E`q~#Z$XBjhZa5RySjkbrjrgja+jct;2UPdxAtMM%8y#zO>%ue#@_XZFYTapEj_ zcc-Vjy1MGC>gwuxdGZGz-+PGvvH759TJH9Ws_U+&8$rybbx(`Bh8xCj#Y?ZmSKv8zmJ_TbH zq*ttNxjiokSAtLtEp4TzVipj4tY`RW@Z2D#u^2k>l(9`b?PJ8NvEaJ`YP1mZ7^^DT zvdnQ-NmjGYCLGH(;`OMdvYHx(zSW9CNP$*8Zs`H7a7uI3AV4F2Pr7PX{F>IIUjEQh zwJqOhQ=f=Ug=&Xh#pb+u%A7H8Gsn$ErmmV^*I0EtuN8RiYHz3Kdp1NBtO^M%_jW=P zFTiK8D)?LN7%qvy(33vHrL^J)Sm*8M4@WKY5Sz4I-Po4IEHq$#3hOfOfH?2O|6TY$ zjsGQDBgEued}R$t$8tN+61ykYLcPJI0BsFc*wTLVVpi6}SdGkk%;j7#>*nncKbW2X z{Iouv8+bEEZGToPO^o;ZX*@iu-CaHz2TB~nd4q}|+0gJE3l2mQ z@XEogDFJpB_UA0fuyWBV?8 zxS#gPB~kEjPncTr+aUNB1o%!Sz`1k>5gSJW*j&IB@jgXG`k2e`;}J3(%;`VD!21~k zgAr#>j~zNRg7UBXWI&K3%6mc1UKm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i3E-DzVmqu{^=RDcG*9;#`GgT#7X4z)Wg#Eou46lZI#DWGJGgv<;6Ay}>}jUXDf9pdV#Z7>oz~7q>7#Yr1y5N zm|GeQE=lM@-_dun40es~`(3ZOw1i~3u!OGNS#;d>C0tTKC3y!>Qt`D8#N$I8<48Yt z!$)rcKWE&vR)##KB;;?5$kTU4q_SrEkVkPuLr{%vp%qXK@tKMSh8sI3`&5fs4={r)Ah{(1FM?>?T*?^;R?G_$T*h zOcmBh_bQzYpfjCSd`a*58|Z?r;iia-Y)=cN&MF%2mar7uH-&p>=ys(S*j#vH6qMCk z6F%)C+pgJ9()~<4<3SH08U|IV6X>2 nCK`-=N-BA0oXn-U)394suMJan*2x1*w#n^<9)h5_x4QWM6^3(r literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/generated/inpost.static.parcels.PickupPoint.doctree b/docs/build/doctrees/generated/inpost.static.parcels.PickupPoint.doctree new file mode 100644 index 0000000000000000000000000000000000000000..3cf28cec30a80fc2ee1a505653eafd3a624d2915 GIT binary patch literal 15241 zcmc&*TWsCPd6sPJNat9RFIj81^~yQ!X6vKGl9EkY6sN8?iL*!oXVuL%NjHtR6c0%q zlHwt`yx3Cr(gfS2HZbXBmqEHM(mv%S0n)q%LD9!N1VxeNr4P+RyFk(RA_*FxMZbTB zmmv>H9XZC@uq1Lg^Upv3eg669iwj?S?YHOnKXxYcP0KylQgz++bR$gIlJ05o#BihJ z&1B>s zVBP^dT8ep&b(MT!=1JB`*R#V;IhJcAJMlX<$y<{9&%xokdeo;26lXxsEA#WZ@Y^06t`Vq_p{IRX=(H7tSm>pjC*qMg#}+JCHx4993nrNF z#=^|YAm|hLc@jTY@UuaS1f2qlFKqzwSne2%Vpk{eaprF8m4W`#2T}+6D4YF zzR%n&XtQHp0tbNhDafEUh4lbmR_TipS|Dr`2PGN0CLuZSx#ajHIf|}E>aed{T6DGV zc;m4V4EwLq16H^7Dc-Qb#fv65!zWN(*CSCZ2{3!=3)h~AAb!LC6;6XI*R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2xWjoHr5oeqqgewLhN5aaoj*+hj7n{y~5Kq*Xt@>oocT!4c(jB zVl`xlcTmF#ikMvm)sH*oE)Lznga(fnLXu_i=q4RRh^bE+tx^TsM6a8GeGLbWNX>Z*HR5-w+p}He9c_8L^YplOuqh zN}%__o&fBaNBjDH_rC%3T=aId0(ff4z`r&DPqm{YvR8F)!_X;(A@m9!ezC-eVA&NLYF`*m*^6qpkfD6uXAO+D1U{WDAUAiClY{X9F zTB#bDHv`&E`a(HSx_*c5bJQrFtv{1@dI`ULR;Ol)O{f$9uJi^cJ z_yJ$Yj>>%GfRCcilnXt{j%XouP5Oxy$StBD6aswjcW}6p>-x$sC)@0E&Dzx(vmD`-O^uz&`Al mm@u^|x#lBjGw0?J)6wh@ck590Mi!vaC9@Y>2y(??XXC#Sb=55Z literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/generated/inpost.static.parcels.Receiver.doctree b/docs/build/doctrees/generated/inpost.static.parcels.Receiver.doctree new file mode 100644 index 0000000000000000000000000000000000000000..b165f0fb014b3587786c3812051818a2d14463a8 GIT binary patch literal 12306 zcmc&)U2Ggz6}Dr0?RESUr;S@koNj50*Cn>ws48d`r9h~vDy^ZRl$NH9XJ=-2W;{Ey zou9;}O=%SsV(IeN4k`r|o_L{B;T2VgM;;JDrO!N|z97K^0+mWgNPOqsx%0O_wnNlL z@$Sx@d(S=h-0%F{bI*$tKb*X0g#TmnLD#h0?KM@`T~9ZHm`&-P7Ih3aj9-mcUW%{8 zbyoG&%Yhg9nh~=R^w3Pp(S5^>pNZKVbq_5kSWCuF28I?|o|_IgC(MdD`Al3lt85~) zLdVFxVka%P>jmLj5UQc2t#wt*0%8{o&9E*ReoP}VaQty&n>gCD|I4x9xdKYG2y=l| zm2^qw7^@^J*vh)srSn_k7{ym{Q5F;AFd<`PrZO|N6DJD%4JJa@gj)AcQ}ov zp@|pZGgue=t+x%=@YT@JlRkqawB`p`<;nAhqNX{*CM;JswsQg&vNvzTs?6IV$~*9P z7yg#G&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a/docs/build/doctrees/generated/inpost.static.parcels.SharedTo.doctree b/docs/build/doctrees/generated/inpost.static.parcels.SharedTo.doctree new file mode 100644 index 0000000000000000000000000000000000000000..bec0b687a5bf18c0dcb96c632ca8815ad5bc6cc4 GIT binary patch literal 12331 zcmc&)TWlOx8Mb44?R9*Klg2G1PPeqh>k`{-R28&}QXo`SmDbP;rKKt3*_qirGoGE< z&Ly#FQ(8qpEFEs`pi)rbi5DsrUQva3_y~Gv%(QjSaH3};K1baH)ArZm@sqxx1*Yqy!`TF@u*qkmI;--Dzzl37 z_lln~ov!N#Ykr^xrnc5qF$;)2&Q#CPpKv1@iGkx!7~90rp8dZWNuDd9M2lbxysD&2 zVq?4#uVjOd+ooeg8(~xB(`pcSW-|;R0b22xsr$6LNzGP$AC34u;iw(?Yf2Bh*+Wy+ zwmhRneL_ANsBL-`v3Yia&9IYfj4g3xow*%j-FDrk?>g(S8>EM5#jau1zM_6Seh}4jMimhfM*S|YMRuQNHigXLJ~hk>$Hh(gTDXNd{1lj7OPOOIJ> zi$vAQM8#}qpJcx(*e~-wm7q1@HfzZEdwCdtQ^cQSZi=QD%-1*i@^w`3h0TFf1H-dT zn2eloPai~!Vz4LrnG($tJl2O`I!=g}^jawkYPK*ekyfcS6WPxOi;Ryty{hpBWb?X! z*-b(o#6mZ8v>@y;0;7#&cKpg_{ME1-yS+2M70>vDbfm!X04@LRV8U#(ua46~ewvaU zC&MRM9^o@x!_lF5$~N3mZd+nkun3z=y|ZP#J7o5}uc(5a?sinuiTI)J4x9%Xf}JiL zMr`>IDxgL6+C~t?)9}M+^1Fs+woEPB_>UKx@(w)B<<9AskHHkj8n*FfwGDHDU-xiDHe-bmV4@Lc&_h^~#e>H^^p{ zNfN1KHmU55bRa!vDBG-oCkOyh4Zk7`DD?t ztfVcf@=4o-Pgm`nz^x9Ep_9`hugLDXIi4%cQM9XdJ}&%*wD7RRtI`q|fCq?JE|EE5 zZQ-j&gYueO5ne-!czwS|8sJfk5uV0+0TW~fA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5$q>4!F zFj3R7<%d!In?3@f3#3v&4lE;s3UqM&`pA)GKG!w6*|iug26aeX;2pe^X7F2B5On>< z`Z}8ZHCgex=6daQ)B#aX!2o(HfziSC1lW!#w6ETI_q~wkoY&GyzsDCVR(YjmHaM)})%9|qI<2R?jWrDi%iQz!9a z*Jrn(lv%uoe>%$^5V;ePUYEuf$htp=Un}KQ@Wf literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/generated/inpost.static.parcels.doctree b/docs/build/doctrees/generated/inpost.static.parcels.doctree new file mode 100644 index 0000000000000000000000000000000000000000..6fe5bca44372913eeff70fa683df4a8ff2b29cac GIT binary patch literal 5133 zcmeHL-EJgD6}G+poALi8_&Q#2GWjA9Ll_}3m^*`n4vF#M$rB-DT@yaeiBN8%+ z3!YWaD!WVSMkcynuiwx-GE!yJU@wf8H3!gZ{pBZ~vuVN(ah9lKti``oT3GUL^GISg$#G^UWl(!gKx z?~aT$`LYouq1F)M_gWUF{?}$)=Cg-k7(Fleh;&N3VZt%Js>GgnS!|1k;*L19Zx4h@ z`5;khs8u$|CwZaX11NgneeLBFBk%&})B}IM!I)>f2n~;GodrDlg@$vloUN2Yv1Hd| z7W1nXiXLF`MK~iK0k|*Y?^XOA;qQbT12%RWnT-(y`=|yxIF?zEs<=#eFc*!J zTX7fb=cWov@m0}lIsPT`2!^t8phojs%>w%hLI59DLAL0I3&(h~OK+H#K-QGS99cHn z^dQ}Br%U9eC^Uo>Yj$_ek-q2CgB#+SKk(s)K6vMX&KJ%>d2F|EnqCfukrlf`Mjch$ zGoORHbCo8Kbskc#Y+{M##RabjsUN_~TQxi8kOs*df24OCHGE3D^CcKv?eIDuwP<{UO*ZLVZgNttrYAy^+0Wpt{T#V-k#C#lD zv{()rCg9i1->cjGwab@P*p4tcb^*r<2kkxQ3=m;?nMJ0&;nDJwsl_KPi`SoJF~4c? zceTY!Uy{M_TU`0*_Kn4FZgu3re~0`G$)atZ&!tft#D*dHO@_1wWJ#nazb=o%!d6)42t z6^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nz2> z`-c?ObdA<19W^aJ{_emm4pRO!wV>YNn}&|Rm+GZ)H5$H4$XJcdlj-C$s6FUJ{?IZE>4&B!ht#zRj)GGjj JQmC}k`VU_r^sWE^ literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/parcels.doctree b/docs/build/doctrees/parcels.doctree new file mode 100644 index 0000000000000000000000000000000000000000..0db09d30338efee3bfedc244ce6dd483def25236 GIT binary patch literal 2887 zcmZ8jTW=gS6i$=uE!k`?B?#08givWKnk+&*AcPR2fKbzhkXF1^mUqUxcH^-J+mmb_ zD#1gmM)F(D?}g7Zv$MO2w95GS_*}p9*?+hG{eE+${PWv3=R!@7XqqaWG8=q1)k%>t z<-+^$@SpHHJn%h3FRd<2!h&CcM#6>i`coV89+Btl2AVSeQ}HV~&BR`CrHf6VmASS0bu@oF(b zzTHG;xh_*fE6Qa=nc;&I z->xbh-i8z3J!1(I7tEBa_H(Av`g`+KBrG;{1e_`X)XjpeK^0$HczEFuQ zQZ^Q{%7y>Pf8sy$U-@tR34h8@_$fc*FPQIUbegi<@$lq7{Gr!0FQEuzOr#!#Yv1M~ zO@Z8Nzg1gp1YK2RBZjcU@rvIlfr{43E9h=u0OqwU_?P@^e!w50iR-|`5P0K@4e{G` z-wrPg&5=r=i#>|x59e4a?R;E}SYu<}LOSd3qNr|lG_wISYZW9*Gr-hxD2slZLE(?$ z*;{^)6ef-oX$Gi2lT?G`yOud8)C9b++YI{HXyt&I;M;#vS)eB~rr_HrzBgeiLPHzC zq?b|*prcui#b)J(!1j5BP`xaS#A*vABXRKJF5IK_`-bJ(I3n2vli_&PZ*VG` zWy|lfsX(n9b%mWNwR|gOqhbPggG*`@Y6T6$Xa-5o8Je(|RCwnHAcn#brV^b(EBIdF z#)sb?T7mDo%bSE5qYdFyr4r~t2T{

HYvdbMmkYRoL|sRqSY8Vq8uV6 zIe1k}18@5QEu1EEkzW-+)K*$#IcZRbs+Izf5i^S7nmF;>r39r_Huiol$}KBWO{Q7I z(+-=0hZ$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WV0Ka7ftsIkn@L zZ%Y+y{UlkirE+NF}3s>NZIF6Kkzit9} zBp?y_0vu?%!g1^q#?80%L>9>_6|G7!P7@aaoWYBdqJFR70%y$PlDi4CE(pu0kOY&H zX5~!r)*scg56CJPRZqM2dn|t)rxM?{`iKpno}T#wMDz=#uCDa19>kBtM4aVbH!irrSpR*wO0kujl+Sy=C7_D|2Tdt zj5SMs>ilRkb)~IQBH}9!XJEgQ#0qWnDyKIkl^#MtsX?-)lDJ3zHWZ@AL+z}N&o-= literal 0 HcmV?d00001 diff --git a/docs/build/doctrees/usage.doctree b/docs/build/doctrees/usage.doctree new file mode 100644 index 0000000000000000000000000000000000000000..a4eeab18af854443a90181c594c9c24583ad85cb GIT binary patch literal 3001 zcmbVOTWcIQ6i)1{ch_F8?c69NP954b3AMc`^r3`O3VkZ3rj)dAL1<^RD`hpKsV>g? zA<#YqV$fSu=&$H+?5DZyr58#U7Dh)$N9Xc=N9UK$Z-4AuD}R2^6kO!+@a15-U{R9_Jmt z#k()V6W;e7E39NoTfXz7p;H#30`_mbVDor!BYqny54H-5`)uF`zE4^Q`KI5h{W|wI zq{vw~cVp_eskK^+okcv+|4osa=xaBT)EEfy-N|WIef3gTEEZ#$%ru)s9p}52PUBYK zd;A_B@cVp|ANnsxTxDz|l^PqBkBZAet5*oxj6_~2V^4}p%dr7J&8YHkA58>8fUxxMNLc8Ie0o%f z;(1lVyZ(QiTtxHre~;!Xepp7)MH0%W%4l|_uuM})#!@A-<%n*79Nk>_UY4qH`tLU@ zzhM7+^Dn9O{dp#zn}SAq^a{-k(--*cOjKmdmG4QKPhCVg5U6sazyLqwV#+1{mQX#7 zIE^JbuY>9@f?{n={h&^K1q|BM_%HIMns38UjoYT?O9ne7EW^T5D_AqJxda=a_n&dr z5|SUsc&__l;&h}gX^A>$Bo$$O&oFC&BJ`evwwX+{$}P*&;J1FF(t)W>H{yHezCUF- zs%(`GSfmt0w=^rT*r~1|usy?ayIwjivD&pNA(7y57uR**m%a@C=0qu*E6bKP&#wF3 z*vWF2kvS@v1xSVleWf6Y%3^~wFnO<%Fv&^@c`Ym_O`E}u^?|zYocn=hh0>NtcEMyg z+wj|*%68fD2W&2oD@(02jZ(*VQZ{x|TsM48b&gy?Lo=E|(zhDGi$R5Veh9icOIV($ z6k5Ueot>O~abg6%@2_qWrnS<9(>#?-BhS&*#0I~ooL#ljDXj#5xVE!qg8%M^mC=O* z&C&a-8*3;1ehk1MOC0%;C6jg=)*#&}2(y9r#^2H`Q930lD*z5$BY=!^zXe)N5F^qd zQUVH2#60jVKcvnovJm+V0YvSlE-OfjI%KsJ2mns!R7Qh)r39(XO|1PwR2b$`MZkDy z?Xx-hJtNB}ONbN5S8TnxzBKB$j0;k3~6pke@ty_Brx7)RSb*e3UHAf6|x- zQ)$HOjOkOs?4-N{oF8$UNnF;qbPNimmWQ*RKLj8%(sHv6fK;O`||;EY*Zawmb-jIfLfNid1w z35iq6JAY8mQUI%*R6Xs=Z?gO%&N;qU^%9U5P!xG8Kn_bRo)d=Ngc;`mP61jL^BG{1 z#;N8Fy4{MjntULJwMo0!iWI`o1bH_KtM4aVbH!irsq_6PwU-6lj1z~x;;*h8e;B_N z9-JvZaejBXbfvA`L;wKM8Q8BRk)e%V<@B!e|)> mzUsoZjjV`wT5(yx9g!!}r4caGSi9{scDlML#Mjr2PyYk}#+@Dj literal 0 HcmV?d00001 diff --git a/docs/build/html/.buildinfo b/docs/build/html/.buildinfo new file mode 100644 index 0000000..08c27a5 --- /dev/null +++ b/docs/build/html/.buildinfo @@ -0,0 +1,4 @@ +# Sphinx build info version 1 +# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. +config: db4b46b5f1af7ec605f548c5cd3b2349 +tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/build/html/.doctrees/environment.pickle b/docs/build/html/.doctrees/environment.pickle new file mode 100644 index 0000000000000000000000000000000000000000..b8933f48318c2cd13fafe408ce218d57ba8ec889 GIT binary patch literal 11459 zcmcIq>yI5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C6>f?< z=5nxKg})At;cwy}6XsDEA*|v?ciqFh`V?J<0EQ%R)AcvdRi85adCVlst6m-pmb`Gj z9+St1XWlLpcv!bT!IB>51j6rQ zVEAA72kD2O;}cR3{|uiv-#?d+zmSi=l#jpW4^m2ru`ruSEU(N0QFt67C!{QVf3pn# z76ZZ`(m$T-Kk%)5q`3@>f2&#iGqVVPfDd_aGkP%Lzk&b-kjFO*1%w!NHJvgvQKj_05;2W}3zWuKo zI+94iCvBb3GorIe93dapGcd>20_dlmB|J9{(Tcn$@D;JgJpK9VqrVrzt0cT~kT)t6 zNmR8pEeAM8vpmiL{yn58EaU*yBj}si)<4!P{sG_0UieS=c%Tma`@;zT`7i>T(8}vl z#Ou0ozsu#U-1sV4`ODb+|BI#Q)h|NgR6kt9)N5wy`>f~6;|jmAo{h(4aa{P1aekx% zG9XNF6RPB57UaJ5k}+?j*K9krPv5}B zsb*uuJlP%E_(>i|%Vle3BdvI~N3SqAic$zV=`rY<<(EGB;jo9gLU<1w(UZ63mwhSDdLHtKpL-mbP-faSW45E=~J&iNk){8;@ zmTLDo($h{W0PA_jMIP`<6Ow`Tr{rA^$-{qb>qLpycr~)7?M#`UHNE3ma1AmI!3fjB zlAgD}2&7Rr)cq`Mq=Qp!A=^^2QeVKC$n;#$Z!T#PdXjJe9h1@Pvh3ZxwzMd;z)ab4`=o>t*Nd=BXMovV%i}xXa_(hxz`;V%U&1HfL zH*6SqPidZb=vjmLxWb{AUd7!rA)O}vhw9F9ih n0$%hA9%E4LGBOvf1h$~W(_}S{aa4L1=1FNK6=Ojyd+YxT%HM-H literal 0 HcmV?d00001 diff --git a/docs/build/html/.doctrees/index.doctree b/docs/build/html/.doctrees/index.doctree new file mode 100644 index 0000000000000000000000000000000000000000..068f5b4743dc27b53290d0b2a9bf7e545bbd2d9a GIT binary patch literal 4975 zcmds5+lnMf8Sa^$I`+9|XLQ*e%)Qv1?%k=XnOVi95k%G-ZEQhh7cYjKsLZH}=*rB< ziHPi}x)684k!cN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Xz_%7jFA!yPAqbrWUb zUx-pgvrzcxF`%`JWGWQ(>nj~g0_~r1#S4n=_#s!eWWqzrTed2PUP zN;Q98_TIMNa0ogXTkry5yITmzH&CF?hoI=5^(rtY8H0!skCEoTvwPQUr!@6#?uRcT z6yWA4bW-pgcel=AzR0vr)zM%8vFaD?bYIBvAUC(Hrn>+%eNe&xcz|XIKp8a1Soh>Xe<1-xdTqd{@gw15Acib z?%eFE8CvS8&-j={__+Q{Sn6-87@fWUB!gco80w}Q7ehZ10Vz9*I{`yI7y$Uf-(Y2D zLad%-DQYD9JA`Wy$~b_20ur8#z=0|-?AuVGvf+vzk1cs4K?-lQo#7-0XV83vaN!xQ zz$gl?b8{yUFv6y=q%Z#_l;imSkqD4x`(53q`2oyroVdvEEwg6%VLO3O)P^ z0NCT9h~~_2s;{gF=h~g69Xr*jZqfeI{_fWx8|iPY?p4m9T|_Ji(D;HdD5nE~*2H!A z$S1A$OZg|T+Ozz7@C)=B@G$&hp}>UVzkAZ+E7 H4g3EFi~@Q& literal 0 HcmV?d00001 diff --git a/docs/build/html/CompartmentLocation.html b/docs/build/html/CompartmentLocation.html new file mode 100644 index 0000000..5ab6733 --- /dev/null +++ b/docs/build/html/CompartmentLocation.html @@ -0,0 +1,147 @@ + + + + + + + + + CompartmentLocation — inpost-python 0.0.4 documentation + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

CompartmentLocation

+
+
+class inpost.static.parcels.CompartmentLocation[source]
+
+
+__init__(compartmentlocation_data: dict, logger: Logger)[source]
+

Constructor method

+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/build/html/CompartmentProperties.html b/docs/build/html/CompartmentProperties.html new file mode 100644 index 0000000..820c2a5 --- /dev/null +++ b/docs/build/html/CompartmentProperties.html @@ -0,0 +1,192 @@ + + + + + + + + + CompartmentProperties — inpost-python 0.0.4 documentation + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

CompartmentProperties

+
+
+class inpost.static.parcels.CompartmentProperties[source]
+
+
+__init__(compartmentproperties_data: dict, logger: Logger)[source]
+

Constructor method

+
+ +
+
+session_uuid()
+

Returns a session unique identified for CompartmentProperties

+
+
Returns:
+

string containing session unique identified for CompartmentProperties

+
+
Return type:
+

str

+
+
+
+ +
+
+location()
+

Returns a compartment location for CompartmentProperties

+
+
Returns:
+

compartment location for CompartmentProperties

+
+
Return type:
+

str

+
+
+
+ +
+
+status()
+

Returns a compartment status for CompartmentProperties

+
+
Returns:
+

compartment location for CompartmentProperties

+
+
Return type:
+

CompartmentActualStatus

+
+
+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/build/html/EventLog.html b/docs/build/html/EventLog.html new file mode 100644 index 0000000..75b45cc --- /dev/null +++ b/docs/build/html/EventLog.html @@ -0,0 +1,147 @@ + + + + + + + + + EventLog — inpost-python 0.0.4 documentation + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

EventLog

+
+
+class inpost.static.parcels.EventLog[source]
+
+
+__init__(eventlog_data: dict, logger: Logger)[source]
+

Constructor method

+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/build/html/MultiCompartment.html b/docs/build/html/MultiCompartment.html new file mode 100644 index 0000000..e3b6041 --- /dev/null +++ b/docs/build/html/MultiCompartment.html @@ -0,0 +1,147 @@ + + + + + + + + + MultiCompartment — inpost-python 0.0.4 documentation + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

MultiCompartment

+
+
+class inpost.static.parcels.MultiCompartment[source]
+
+
+__init__(multicompartment_data: dict, logger: Logger)[source]
+

Constructor method

+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/build/html/Operations.html b/docs/build/html/Operations.html new file mode 100644 index 0000000..c20ab78 --- /dev/null +++ b/docs/build/html/Operations.html @@ -0,0 +1,147 @@ + + + + + + + + + Operations — inpost-python 0.0.4 documentation + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

Operations

+
+
+class inpost.static.parcels.Operations[source]
+
+
+__init__(operations_data: dict, logger: Logger)[source]
+

Constructor method

+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/build/html/Parcel.html b/docs/build/html/Parcel.html new file mode 100644 index 0000000..c06c4eb --- /dev/null +++ b/docs/build/html/Parcel.html @@ -0,0 +1,267 @@ + + + + + + + + + Parcel — inpost-python 0.0.4 documentation + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

Parcel

+
+
+class inpost.static.parcels.Parcel[source]
+
+
+__init__(parcel_data: dict, logger: Logger)[source]
+

Constructor method

+
+ +
+
+open_code()
+

Returns an open code for Parcel

+
+
Returns:
+

Open code for Parcel

+
+
Return type:
+

str

+
+
+
+ +
+
+generate_qr_image()
+

Returns a QR image for Parcel

+
+
Returns:
+

QR image for Parcel

+
+
Return type:
+

BytesIO

+
+
+
+ +
+
+compartment_properties()
+

Returns a compartment properties for Parcel

+
+
Returns:
+

Compartment properties for Parcel

+
+
Return type:
+

CompartmentProperties

+
+
+
+ +
+
+compartment_properties()
+

Returns a compartment properties for Parcel

+
+
Returns:
+

Compartment properties for Parcel

+
+
Return type:
+

CompartmentProperties

+
+
+
+ +
+
+compartment_location()
+

Returns a compartment location for Parcel

+
+
Returns:
+

Compartment location for Parcel

+
+
Return type:
+

CompartmentLocation

+
+
+
+ +
+
+compartment_status()
+

Returns a compartment status for Parcel

+
+
Returns:
+

Compartment status for Parcel

+
+
Return type:
+

CompartmentActualStatus

+
+
+
+ +
+
+compartment_open_data()
+

Returns a compartment open data for Parcel

+
+
Returns:
+

dict containing compartment open data for Parcel

+
+
Return type:
+

dict

+
+
+
+ +
+
+mocked_location()
+

Returns a mocked location for Parcel

+
+
Returns:
+

dict containing mocked location for Parcel

+
+
Return type:
+

dict

+
+
+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/build/html/PickupPoint.html b/docs/build/html/PickupPoint.html new file mode 100644 index 0000000..8695fb5 --- /dev/null +++ b/docs/build/html/PickupPoint.html @@ -0,0 +1,162 @@ + + + + + + + + + PickupPoint — inpost-python 0.0.4 documentation + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

PickupPoint

+
+
+class inpost.static.parcels.PickupPoint[source]
+
+
+__init__(pickuppoint_data: dict, logger: Logger)[source]
+

Constructor method

+
+ +
+
+location()
+

Returns a mocked location for PickupPoint

+
+
Returns:
+

tuple containing location for PickupPoint

+
+
Return type:
+

tuple

+
+
+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/build/html/QRCode.html b/docs/build/html/QRCode.html new file mode 100644 index 0000000..644f79d --- /dev/null +++ b/docs/build/html/QRCode.html @@ -0,0 +1,162 @@ + + + + + + + + + QRCode — inpost-python 0.0.4 documentation + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

QRCode

+
+
+class inpost.static.parcels.QRCode[source]
+
+
+__init__(qrcode_data: str, logger: Logger)[source]
+

Constructor method

+
+ +
+
+qr_image()
+

Returns a generated QR image for QRCode

+
+
Returns:
+

QR Code image

+
+
Return type:
+

BytesIO

+
+
+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/build/html/Receiver.html b/docs/build/html/Receiver.html new file mode 100644 index 0000000..f10056b --- /dev/null +++ b/docs/build/html/Receiver.html @@ -0,0 +1,147 @@ + + + + + + + + + Receiver — inpost-python 0.0.4 documentation + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

Receiver

+
+
+class inpost.static.parcels.Receiver[source]
+
+
+__init__(receiver_data: dict, logger: Logger)[source]
+

Constructor method

+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/build/html/Sender.html b/docs/build/html/Sender.html new file mode 100644 index 0000000..bc6ef58 --- /dev/null +++ b/docs/build/html/Sender.html @@ -0,0 +1,147 @@ + + + + + + + + + Sender — inpost-python 0.0.4 documentation + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

Sender

+
+
+class inpost.static.parcels.Sender[source]
+
+
+__init__(sender_data: dict, logger: Logger)[source]
+

Constructor method

+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/build/html/SharedTo.html b/docs/build/html/SharedTo.html new file mode 100644 index 0000000..51ce7fd --- /dev/null +++ b/docs/build/html/SharedTo.html @@ -0,0 +1,147 @@ + + + + + + + + + SharedTo — inpost-python 0.0.4 documentation + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

SharedTo

+
+
+class inpost.static.parcels.SharedTo[source]
+
+
+__init__(sharedto_data: dict, logger: Logger)[source]
+

Constructor method

+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/build/html/_modules/index.html b/docs/build/html/_modules/index.html new file mode 100644 index 0000000..f2f4975 --- /dev/null +++ b/docs/build/html/_modules/index.html @@ -0,0 +1,107 @@ + + + + + + + + Overview: module code — inpost-python 0.0.4 documentation + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +

All modules for which code is available

+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/build/html/_modules/inpost/api.html b/docs/build/html/_modules/inpost/api.html new file mode 100644 index 0000000..fc8ff64 --- /dev/null +++ b/docs/build/html/_modules/inpost/api.html @@ -0,0 +1,875 @@ + + + + + + + + inpost.api — inpost-python 0.0.4 documentation + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +

Source code for inpost.api

+from aiohttp import ClientSession
+from typing import List
+import logging
+
+from inpost.static import *
+
+
+
[docs]class Inpost: + """Python representation of an Inpost app. Essentially implements methods to manage all incoming parcels""" + +
[docs] def __init__(self): + """Constructor method""" + self.phone_number: str | None = None + self.sms_code: str | None = None + self.auth_token: str | None = None + self.refr_token: str | None = None + self.sess: ClientSession = ClientSession() + self.parcel: Parcel | None = None + self._log: logging.Logger | None = None
+ + def __repr__(self): + return f'Phone number: {self.phone_number}\nToken: {self.auth_token}' + +
[docs] @classmethod + async def from_phone_number(cls, phone_number: str | int): + """`Classmethod` to initialize :class:`Inpost` object with phone number + + :param phone_number: User's Inpost phone number + :type phone_number: str | int""" + if isinstance(phone_number, int): + phone_number = str(phone_number) + inp = cls() + await inp.set_phone_number(phone_number=phone_number) + inp._log.info(f'initialized by from_phone_number') + return inp
+ +
[docs] async def set_phone_number(self, phone_number: str | int) -> bool: + """Set :class:`Inpost` phone number required for verification + + :param phone_number: User's Inpost phone number + :type phone_number: str | int + :return: True if `Inpost.phone_number` is set + :rtype: bool + :raises PhoneNumberError: Wrong phone number format""" + if isinstance(phone_number, int): + phone_number = str(phone_number) + + if len(phone_number) == 9 and phone_number.isdigit(): + self._log = logging.getLogger(f'{__class__.__name__}.{phone_number}') + self._log.setLevel(level=logging.DEBUG) + self._log.info(f'initializing inpost object with phone number {phone_number}') + self.phone_number = phone_number + return True + + raise PhoneNumberError(f'Wrong phone number format: {phone_number} (should be 9 digits)')
+ +
[docs] async def send_sms_code(self) -> bool: + """Sends sms code to `Inpost.phone_number` + + :return: True if sms code sent + :rtype: bool + :raises PhoneNumberError: Missing phone number + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected things happened + """ + if not self.phone_number: # can't log it cuz if there's no phone number no logger initialized @shrug + raise PhoneNumberError('Phone number missing') + + self._log.info(f'sending sms code') + async with await self.sess.post(url=send_sms_code, + json={ + 'phoneNumber': f'{self.phone_number}' + }) as phone: + match phone.status: + case 200: + self._log.debug(f'sms code sent') + return True + case 401: + self._log.error(f'could not send sms code, unauthorized') + raise UnauthorizedError(reason=phone) + case 404: + self._log.error(f'could not send sms code, not found') + raise NotFoundError(reason=phone) + case _: + self._log.error(f'could not send sms code, unhandled status') + + raise UnidentifiedAPIError(reason=phone)
+ + # if phone.status == 200: + # self._log.debug(f'sms code sent') + # return True + # else: + # self._log.error(f'could not sent sms code') + # raise PhoneNumberError(reason=phone) + +
[docs] async def confirm_sms_code(self, sms_code: str | int) -> bool: + """Confirms sms code sent to `Inpost.phone_number` and fetches tokens + + :param sms_code: sms code sent to Inpost.phone_number device + :type sms_code: str | int + :return: True if sms code gets confirmed and tokens fetched + :rtype: bool + :raises SmsCodeError: Wrong sms code format + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened + """ + + if not self.phone_number: # can't log it cuz if there's no phone number no logger initialized @shrug + raise PhoneNumberError('Phone number missing') + + if isinstance(sms_code, int): + sms_code = str(sms_code) + + if len(sms_code) != 6 or not sms_code.isdigit(): + raise SmsCodeError(reason=f'Wrong sms code format: {sms_code} (should be 6 digits)') + + self._log.info(f'confirming sms code') + async with await self.sess.post(url=confirm_sms_code, + headers=appjson, + json={ + "phoneNumber": self.phone_number, + "smsCode": sms_code, + "phoneOS": "Android" + }) as confirmation: + match confirmation.status: + case 200: + resp = await confirmation.json() + self.sms_code = sms_code + self.refr_token = resp['refreshToken'] + self.auth_token = resp['authToken'] + self._log.debug(f'sms code confirmed') + return True + case 401: + self._log.error(f'could not confirm sms code, unauthorized') + raise UnauthorizedError(reason=confirmation) + case 404: + self._log.error(f'could not confirm sms code, not found') + raise NotFoundError(reason=confirmation) + case _: + self._log.error(f'could not confirm sms code, unhandled status') + + raise UnidentifiedAPIError(reason=confirmation)
+ + # if confirmation.status == 200: + # resp = await confirmation.json() + # self.sms_code = sms_code + # self.refr_token = resp['refreshToken'] + # self.auth_token = resp['authToken'] + # self._log.debug(f'sms code confirmed') + # return True + # else: + # self._log.error(f'could not confirm sms code') + # raise SmsCodeConfirmationError(reason=confirmation) + +
[docs] async def refresh_token(self) -> bool: + """Refreshes authorization token using refresh token + + :return: True if Inpost.auth_token gets refreshed + :rtype: bool + :raises RefreshTokenError: Missing refresh token + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened + """ + self._log.info(f'refreshing token') + + if not self.refr_token: + self._log.error(f'refresh token missing') + raise RefreshTokenError(reason='Refresh token missing') + + async with await self.sess.post(url=refresh_token, + headers=appjson, + json={ + "refreshToken": self.refr_token, + "phoneOS": "Android" + }) as confirmation: + match confirmation.status: + case 200: + resp = await confirmation.json() + if resp['reauthenticationRequired']: + self._log.error(f'could not refresh token, log in again') + raise ReAuthenticationError(reason='You need to log in again!') + + self.auth_token = resp['authToken'] + self._log.debug(f'token refreshed') + return True + case 401: + self._log.error(f'could not refresh token, unauthorized') + raise UnauthorizedError(reason=confirmation) + case 404: + self._log.error(f'could not refresh token, not found') + raise NotFoundError(reason=confirmation) + case _: + self._log.error(f'could not refresh token, unhandled status') + + raise UnidentifiedAPIError(reason=confirmation)
+ + # if confirmation.status == 200: + # resp = await confirmation.json() + # if resp['reauthenticationRequired']: + # self._log.error(f'could not refresh token, log in again') + # raise ReAuthenticationError(reason='You need to log in again!') + # self.auth_token = resp['authToken'] + # self._log.debug(f'token refreshed') + # return True + # + # else: + # self._log.error(f'could not refresh token') + # raise RefreshTokenException(reason=confirmation) + +
[docs] async def logout(self) -> bool: + """Logouts user from inpost api service + + :return: True if the user is logged out + :rtype: bool + :raises NotAuthenticatedError: User not authenticated in inpost service + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened""" + self._log.info(f'logging out') + + if not self.auth_token: + self._log.error(f'authorization token missing') + raise NotAuthenticatedError(reason='Not logged in') + + async with await self.sess.post(url=logout, + headers={'Authorization': self.auth_token}) as resp: + match resp.status: + case 200: + self.phone_number = None + self.refr_token = None + self.auth_token = None + self.sms_code = None + self._log.debug('logged out') + return True + case 401: + self._log.error('could not log out, unauthorized') + raise UnauthorizedError(reason=resp) + case 404: + self._log.error('could not log out, not found') + raise NotFoundError(reason=resp) + case _: + self._log.error('could not log out, unhandled status') + + raise UnidentifiedAPIError(reason=resp)
+ + # if resp.status == 200: + # self.phone_number = None + # self.refr_token = None + # self.auth_token = None + # self.sms_code = None + # self._log.debug('logged out') + # return True + # else: + # self._log.error('could not log out') + # raise UnidentifiedAPIError(reason=resp) + +
[docs] async def disconnect(self) -> bool: + """Simplified method to logout and close user's session + + :return: True if user is logged out and session is closed else False + :raises NotAuthenticatedError: User not authenticated in inpost service""" + self._log.info(f'disconnecting') + if not self.auth_token: + self._log.error(f'authorization token missing') + raise NotAuthenticatedError(reason='Not logged in') + + if await self.logout(): + await self.sess.close() + self._log.debug(f'disconnected') + return True + + self._log.error('could not disconnect') + return False
+ +
[docs] async def get_parcel(self, shipment_number: int | str, parse=False) -> dict | Parcel: + """Fetches single parcel from provided shipment number + + :param shipment_number: Parcel's shipment number + :type shipment_number: int | str + :param parse: if set to True method will return :class:`Parcel` else :class:`dict` + :type parse: bool + :return: Fetched parcel data + :rtype: dict | Parcel + :raises NotAuthenticatedError: User not authenticated in inpost service + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened""" + self._log.info(f'getting parcel with shipment number: {shipment_number}') + + if not self.auth_token: + self._log.error(f'authorization token missing') + raise NotAuthenticatedError(reason='Not logged in') + + async with await self.sess.get(url=f"{parcel}{shipment_number}", + headers={'Authorization': self.auth_token}, + ) as resp: + match resp.status: + case 200: + self._log.debug(f'parcel with shipment number {shipment_number} received') + return await resp.json() if not parse else Parcel(await resp.json(), logger=self._log) + case 401: + self._log.error(f'could not get parcel with shipment number {shipment_number}, unauthorized') + raise UnauthorizedError(reason=resp) + case 404: + self._log.error(f'could not get parcel with shipment number {shipment_number}, not found') + raise NotFoundError(reason=resp) + case _: + self._log.error(f'could not get parcel with shipment number {shipment_number}, unhandled status') + + raise UnidentifiedAPIError(reason=resp)
+ # if resp.status == 200: + # self._log.debug(f'parcel with shipment number {shipment_number} received') + # return await resp.json() if not parse else Parcel(await resp.json(), logger=self._log) + # + # else: + # self._log.error(f'could not get parcel with shipment number {shipment_number}') + # raise UnidentifiedAPIError(reason=resp) + +
[docs] async def get_parcels(self, + parcel_type: ParcelType = ParcelType.TRACKED, + status: ParcelStatus | List[ParcelStatus] | None = None, + pickup_point: str | List[str] | None = None, + shipment_type: ParcelShipmentType | List[ParcelShipmentType] | None = None, + parcel_size: ParcelLockerSize | ParcelCarrierSize | None = None, + parse: bool = False) -> List[dict] | List[Parcel]: + """Fetches all available parcels for set `Inpost.phone_number` and optionally filters them + + :param parcel_type: Parcel type (e.g. received, sent, returned) + :type parcel_type: ParcelType + :param status: status that each fetched parcels has to be in + :type status: ParcelStatus | list[ParcelStatus] | None + :param pickup_point: Fetched parcels have to be picked from this pickup point (e.g. `GXO05M`) + :type pickup_point: str | list[str] | None + :param shipment_type: Fetched parcels have to be shipped that way + :type shipment_type: ParcelShipmentType | list[ParcelShipmentType] | None + :param parcel_size: Fetched parcels have to be this size + :type parcel_size: ParcelLockerSize | ParcelCarrierSize | None + :param parse: if set to True method will return list[:class:`Parcel`] else list[:class:`dict`] + :type parse: bool + :return: fetched parcels data + :rtype: list[dict] | list[Parcel] + :raises NotAuthenticatedError: User not authenticated in inpost service + :raises ParcelTypeError: Unknown parcel type selected + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened""" + self._log.info('getting parcels') + + if not self.auth_token: + self._log.error(f'authorization token missing') + raise NotAuthenticatedError(reason='Not logged in') + + if not isinstance(parcel_type, ParcelType): + self._log.error(f'wrong parcel type {parcel_type}') + raise ParcelTypeError(reason=f'Unknown parcel type: {parcel_type}') + + match parcel_type: + case ParcelType.TRACKED: + self._log.debug(f'getting parcel type {parcel_type}') + url = parcels + case ParcelType.SENT: + self._log.debug(f'getting parcel type {parcel_type}') + url = sent + case ParcelType.RETURNS: + self._log.debug(f'getting parcel type {parcel_type}') + url = returns + case _: + self._log.error(f'wrong parcel type {parcel_type}') + raise ParcelTypeError(reason=f'Unknown parcel type: {parcel_type}') + + async with await self.sess.get(url=url, + headers={'Authorization': self.auth_token}, + ) as resp: + match resp.status: + case 200: + self._log.debug(f'received {parcel_type} parcels') + _parcels = (await resp.json())['parcels'] + + if status is not None: + if isinstance(status, ParcelStatus): + status = [status] + + _parcels = (_parcel for _parcel in _parcels if ParcelStatus[_parcel['status']] in status) + + if pickup_point is not None: + if isinstance(pickup_point, str): + pickup_point = [pickup_point] + + _parcels = (_parcel for _parcel in _parcels if _parcel['pickUpPoint']['name'] in pickup_point) + + if shipment_type is not None: + if isinstance(shipment_type, ParcelShipmentType): + shipment_type = [shipment_type] + + _parcels = (_parcel for _parcel in _parcels if + ParcelShipmentType[_parcel['shipmentType']] in shipment_type) + + if parcel_size is not None: + if isinstance(parcel_size, ParcelCarrierSize): + parcel_size = [parcel_size] + + _parcels = (_parcel for _parcel in _parcels if + ParcelCarrierSize[_parcel['parcelSize']] in parcel_size) + + if isinstance(parcel_size, ParcelLockerSize): + parcel_size = [parcel_size] + + _parcels = (_parcel for _parcel in _parcels if + ParcelLockerSize[_parcel['parcelSize']] in parcel_size) + + return _parcels if not parse else [Parcel(parcel_data=data, logger=self._log) for data in _parcels] + case 401: + self._log.error(f'could not get parcels, unauthorized') + raise UnauthorizedError(reason=resp) + case 404: + self._log.error(f'could not get parcels, not found') + raise NotFoundError(reason=resp) + case _: + self._log.error(f'could not get parcels, unhandled status') + + raise UnidentifiedAPIError(reason=resp)
+ + # if resp.status == 200: + # self._log.debug(f'received {parcel_type} parcels') + # _parcels = (await resp.json())['parcels'] + # + # if status is not None: + # if isinstance(status, ParcelStatus): + # status = [status] + # + # _parcels = (_parcel for _parcel in _parcels if ParcelStatus[_parcel['status']] in status) + # + # if pickup_point is not None: + # if isinstance(pickup_point, str): + # pickup_point = [pickup_point] + # + # _parcels = (_parcel for _parcel in _parcels if _parcel['pickUpPoint']['name'] in pickup_point) + # + # if shipment_type is not None: + # if isinstance(shipment_type, ParcelShipmentType): + # shipment_type = [shipment_type] + # + # _parcels = (_parcel for _parcel in _parcels if + # ParcelShipmentType[_parcel['shipmentType']] in shipment_type) + # + # if parcel_size is not None: + # if isinstance(parcel_size, ParcelCarrierSize): + # parcel_size = [parcel_size] + # + # _parcels = (_parcel for _parcel in _parcels if + # ParcelCarrierSize[_parcel['parcelSize']] in parcel_size) + # + # if isinstance(parcel_size, ParcelLockerSize): + # parcel_size = [parcel_size] + # + # _parcels = (_parcel for _parcel in _parcels if + # ParcelLockerSize[_parcel['parcelSize']] in parcel_size) + # + # return _parcels if not parse else [Parcel(parcel_data=data, logger=self._log) for data in _parcels] + # + # else: + # self._log.error(f'could not get parcels') + # raise UnidentifiedAPIError(reason=resp) + +
[docs] async def collect_compartment_properties(self, shipment_number: str | int | None = None, + parcel_obj: Parcel | None = None, location: dict | None = None) -> bool: + """Validates sent data and fetches required compartment properties for opening + + :param shipment_number: Parcel's shipment number + :type shipment_number: int | str | None + :param parcel_obj: :class:`Parcel` object to obtain data from + :type parcel_obj: Parcel | None + :param location: Fetched parcels have to be picked from this pickup point (e.g. `GXO05M`) + :type location: dict | None + :return: fetched parcels data + :rtype: bool + :raises SingleParamError: Fields shipment_number and parcel_obj filled in but only one of them is required + :raises NotAuthenticatedError: User not authenticated in inpost service + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened + + .. warning:: you must fill in only one parameter - shipment_number or parcel_obj!""" + + self._log.info(f'collecting compartment properties for {shipment_number}') + + if shipment_number and parcel_obj: + self._log.error(f'shipment_number and parcel_obj filled in') + raise SingleParamError(reason='Fields shipment_number and parcel_obj filled in! Choose one!') + + if not self.auth_token: + self._log.error(f'authorization token missing') + raise NotAuthenticatedError(reason='Not logged in') + + if shipment_number is not None and parcel_obj is None: + self._log.debug(f'parcel_obj not provided, getting from shipment number {shipment_number}') + parcel_obj = await self.get_parcel(shipment_number=shipment_number, parse=True) + + async with await self.sess.post(url=collect, + headers={'Authorization': self.auth_token}, + json={ + 'parcel': parcel_obj.compartment_open_data, + 'geoPoint': location if location is not None else parcel_obj.mocked_location + }) as collect_resp: + match collect_resp.status: + case 200: + self._log.debug(f'collected compartment properties for {shipment_number}') + parcel_obj.compartment_properties = await collect_resp.json() + self.parcel = parcel_obj + return True + case 401: + self._log.error(f'could not collect compartment properties for {shipment_number}, unauthorized') + raise UnauthorizedError(reason=collect_resp) + case 404: + self._log.error(f'could not collect compartment properties for {shipment_number}, not found') + raise NotFoundError(reason=collect_resp) + case _: + self._log.error(f'could not collect compartment properties for {shipment_number}, unhandled status') + + raise UnidentifiedAPIError(reason=collect_resp)
+ + # if collect_resp.status == 200: + # self._log.debug(f'collected compartment properties for {shipment_number}') + # parcel_obj.compartment_properties = await collect_resp.json() + # self.parcel = parcel_obj + # return True + # + # else: + # self._log.error(f'could not collect compartment properties for {shipment_number}') + # raise UnidentifiedAPIError(reason=collect_resp) + +
[docs] async def open_compartment(self) -> bool: + """Opens compartment for `Inpost.parcel` object + + :return: True if compartment gets opened + :rtype: bool + :raises NotAuthenticatedError: User not authenticated in inpost service + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened""" + self._log.info(f'opening compartment for {self.parcel.shipment_number}') + + if not self.auth_token: + self._log.debug(f'authorization token missing') + raise NotAuthenticatedError(reason='Not logged in') + + async with await self.sess.post(url=compartment_open, + headers={'Authorization': self.auth_token}, + json={ + 'sessionUuid': self.parcel.compartment_properties.session_uuid + }) as compartment_open_resp: + match compartment_open_resp.status: + case 200: + self._log.debug(f'opened comaprtment for {self.parcel.shipment_number}') + self.parcel.compartment_properties.location = await compartment_open_resp.json() + return True + case 401: + self._log.error(f'could not open compartment for {self.parcel.shipment_number}, unauthorized') + raise UnauthorizedError(reason=compartment_open_resp) + case 404: + self._log.error(f'could not open compartment for {self.parcel.shipment_number}, not found') + raise NotFoundError(reason=compartment_open_resp) + case _: + self._log.error(f'could not open compartment for {self.parcel.shipment_number}, unhandled status') + + raise UnidentifiedAPIError(reason=compartment_open_resp)
+ + # if compartment_open_resp.status == 200: + # self._log.debug(f'opened comaprtment for {self.parcel.shipment_number}') + # self.parcel.compartment_properties.location = await compartment_open_resp.json() + # return True + # + # else: + # self._log.error(f'could not open compartment for {self.parcel.shipment_number}') + # raise UnidentifiedAPIError(reason=compartment_open_resp) + +
[docs] async def check_compartment_status(self, + expected_status: CompartmentExpectedStatus = CompartmentExpectedStatus.OPENED) -> bool: + """Checks and compare compartment status (e.g. opened, closed) with expected status + + :param expected_status: Compartment expected status + :type expected_status: CompartmentExpectedStatus + :return: True if actual status equals expected status else False + :rtype: bool + :raises NotAuthenticatedError: User not authenticated in inpost service + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened""" + self._log.info(f'checking compartment status for {self.parcel.shipment_number}') + + if not self.auth_token: + self._log.debug(f'authorization token missing') + raise NotAuthenticatedError(reason='Not logged in') + + if not self.parcel: + self._log.debug(f'parcel missing') + raise NoParcelError(reason='Parcel is not set') + + async with await self.sess.post(url=compartment_status, + headers={'Authorization': self.auth_token}, + json={ + 'sessionUuid': self.parcel.compartment_properties.session_uuid, + 'expectedStatus': expected_status.name + }) as compartment_status_resp: + match compartment_status_resp.status: + case 200: + self._log.debug(f'checked compartment status for {self.parcel.shipment_number}') + return CompartmentExpectedStatus[ + (await compartment_status_resp.json())['status']] == expected_status + case 401: + self._log.error( + f'could not check compartment status for {self.parcel.shipment_number}, unauthorized') + raise UnauthorizedError(reason=compartment_status_resp) + case 404: + self._log.error(f'could not check compartment status for {self.parcel.shipment_number}, not found') + raise NotFoundError(reason=compartment_status_resp) + case _: + self._log.error( + f'could not check compartment status for {self.parcel.shipment_number}, unhandled status') + + raise UnidentifiedAPIError(reason=compartment_status_resp)
+ + # if compartment_status_resp.status == 200: + # self._log.debug(f'checked compartment status for {self.parcel.shipment_number}') + # return CompartmentExpectedStatus[(await compartment_status_resp.json())['status']] == expected_status + # else: + # self._log.error(f'could not check compartment status for {self.parcel.shipment_number}') + # raise UnidentifiedAPIError(reason=compartment_status_resp) + +
[docs] async def terminate_collect_session(self) -> bool: + """Terminates user session in inpost api service + + :return: True if the user session is terminated + :rtype: bool + :raises NotAuthenticatedError: User not authenticated in inpost service + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened""" + self._log.info(f'terminating collect session for {self.parcel.shipment_number}') + + if not self.auth_token: + self._log.debug(f'authorization token missing') + raise NotAuthenticatedError(reason='Not logged in') + + async with await self.sess.post(url=terminate_collect_session, + headers={'Authorization': self.auth_token}, + json={ + 'sessionUuid': self.parcel.compartment_properties.session_uuid + }) as terminate_resp: + match terminate_resp.status: + case 200: + self._log.debug(f'terminated collect session for {self.parcel.shipment_number}') + return True + case 401: + self._log.error( + f'could not terminate collect session for {self.parcel.shipment_number}, unauthorized') + raise UnauthorizedError(reason=terminate_resp) + case 404: + self._log.error(f'could not terminate collect session for {self.parcel.shipment_number}, not found') + raise NotFoundError(reason=terminate_resp) + case _: + self._log.error( + f'could not terminate collect session for {self.parcel.shipment_number}, unhandled status') + + raise UnidentifiedAPIError(reason=terminate_resp)
+ + # if terminate_resp.status == 200: + # self._log.debug(f'terminated collect session for {self.parcel.shipment_number}') + # return True + # else: + # self._log.error(f'could not terminate collect session for {self.parcel.shipment_number}') + # raise UnidentifiedAPIError(reason=terminate_resp) + +
[docs] async def collect(self, shipment_number: str | None = None, parcel_obj: Parcel | None = None, + location: dict | None = None) -> bool: + """Simplified method to open compartment + + :param shipment_number: Parcel's shipment number + :type shipment_number: int | str | None + :param parcel_obj: :class:`Parcel` object to obtain data from + :type parcel_obj: Parcel | None + :param location: Fetched parcels have to be picked from this pickup point (e.g. `GXO05M`) + :type location: dict | None + :return: fetched parcels data + :rtype: bool + :raises SingleParamError: Fields shipment_number and parcel_obj filled in but only one of them is required + :raises NotAuthenticatedError: User not authenticated in inpost service + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened + + .. warning:: you must fill in only one parameter - shipment_number or parcel_obj!""" + + self._log.info(f'collecing parcel with shipment number {self.parcel.shipment_number}') + + if shipment_number and parcel_obj: + self._log.error(f'shipment_number and parcel_obj filled in') + raise SingleParamError(reason='Fields shipment_number and parcel_obj filled! Choose one!') + + if not self.auth_token: + self._log.error(f'authorization token missing') + raise NotAuthenticatedError(reason='Not logged in') + + if shipment_number is not None and parcel_obj is None: + parcel_obj = await self.get_parcel(shipment_number=shipment_number, parse=True) + + if await self.collect_compartment_properties(parcel_obj=parcel_obj, location=location): + if await self.open_compartment(): + if await self.check_compartment_status(): + return True + + return False
+ +
[docs] async def close_compartment(self) -> bool: + """Checks whether actual compartment status and expected one matches then notifies inpost api that compartment is closed + + :return: True if compartment status is closed and successfully terminates user's session else False + :rtype: bool""" + self._log.info(f'closing compartment for {self.parcel.shipment_number}') + + if await self.check_compartment_status(expected_status=CompartmentExpectedStatus.CLOSED): + if await self.terminate_collect_session(): + return True + + return False
+ +
[docs] async def get_prices(self) -> dict: + """Fetches prices for inpost services + + :return: :class:`dict` of prices for inpost services + :rtype: dict + :raises NotAuthenticatedError: User not authenticated in inpost service + :raises UnauthorizedError: Unauthorized access to inpost services, + :raises NotFoundError: Phone number not found + :raises UnidentifiedAPIError: Unexpected thing happened""" + self._log.info(f'getting parcel prices') + + if not self.auth_token: + self._log.debug(f'authorization token missing') + raise NotAuthenticatedError(reason='Not logged in') + + async with await self.sess.get(url=parcel_prices, + headers={'Authorization': self.auth_token}) as resp: + match resp.status: + case 200: + self._log.debug(f'got parcel prices') + return await resp.json() + case 401: + self._log.error('could not get parcel prices, unauthorized') + raise UnauthorizedError(reason=resp) + case 404: + self._log.error('could not get parcel prices, not found') + raise NotFoundError(reason=resp) + case _: + self._log.error('could not get parcel prices, unhandled status') + + raise UnidentifiedAPIError(reason=resp)
+ + # if resp.status == 200: + # self._log.debug(f'got parcel prices') + # return await resp.json() + # + # else: + # self._log.error('could not get parcel prices') + # raise UnidentifiedAPIError(reason=resp) +
+ +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/build/html/_modules/inpost/static/parcels.html b/docs/build/html/_modules/inpost/static/parcels.html new file mode 100644 index 0000000..5e6d93e --- /dev/null +++ b/docs/build/html/_modules/inpost/static/parcels.html @@ -0,0 +1,614 @@ + + + + + + + + inpost.static.parcels — inpost-python 0.0.4 documentation + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +

Source code for inpost.static.parcels

+import logging
+import random
+from io import BytesIO
+from typing import List, Tuple
+
+import qrcode
+from arrow import get, arrow
+
+from inpost.static.statuses import *
+
+
+
[docs]class Parcel: + """Object representation of :class:`inpost.api.Inpost` compartment properties + + :param parcel_data: :class:`dict` containing all parcel data + :type parcel_data: dict + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" + +
[docs] def __init__(self, parcel_data: dict, logger: logging.Logger): + """Constructor method""" + self.shipment_number: str = parcel_data['shipmentNumber'] + self._log: logging.Logger = logger.getChild(f'{__class__.__name__}.{self.shipment_number}') + self.shipment_type: ParcelShipmentType = ParcelShipmentType[parcel_data['shipmentType']] + self._open_code: str | None = parcel_data['openCode'] if 'openCode' in parcel_data else None + self._qr_code: QRCode | None = QRCode(qrcode_data=parcel_data['qrCode'], logger=self._log) \ + if 'qrCode' in parcel_data else None + self.stored_date: arrow | None = get(parcel_data['storedDate']) if 'storedDate' in parcel_data else None + self.pickup_date: arrow | None = get(parcel_data['pickUpDate']) if 'pickUpDate' in parcel_data else None + self.parcel_size: ParcelLockerSize | ParcelCarrierSize = ParcelLockerSize[parcel_data['parcelSize']] \ + if self.shipment_type == ParcelShipmentType.parcel else ParcelCarrierSize[parcel_data['parcelSize']] + self.receiver: Receiver = Receiver(receiver_data=parcel_data['receiver'], logger=self._log) + self.sender: Sender = Sender(sender_data=parcel_data['sender'], logger=self._log) + self.pickup_point: PickupPoint = PickupPoint(pickuppoint_data=parcel_data['pickUpPoint'], logger=self._log) \ + if 'pickUpPoint' in parcel_data else None + self.multi_compartment: MultiCompartment | None = MultiCompartment( + parcel_data['multiCompartment'], logger=self._log) if 'multiCompartment' in parcel_data else None + self.is_end_off_week_collection: bool = parcel_data['endOfWeekCollection'] + self.operations: Operations = Operations(operations_data=parcel_data['operations'], logger=self._log) + self.status: ParcelStatus = ParcelStatus[parcel_data['status']] + self.event_log: List[EventLog] = [EventLog(eventlog_data=event, logger=self._log) + for event in parcel_data['eventLog']] + self.avizo_transaction_status: str = parcel_data['avizoTransactionStatus'] + self.shared_to: List[SharedTo] = [SharedTo(sharedto_data=person, logger=self._log) + for person in parcel_data['sharedTo']] + self.ownership_status: ParcelOwnership = ParcelOwnership[parcel_data['ownershipStatus']] + self._compartment_properties: CompartmentProperties | None = None + + self._log.debug(f'created parcel with shipment number {self.shipment_number}') + + # log all unexpected things, so you can make an issue @github + if self.shipment_type == ParcelShipmentType.UNKNOWN: + self._log.debug(f'unexpected shipment_type: {parcel_data["shipmentType"]}') + + if self.parcel_size == ParcelCarrierSize.UNKNOWN or self.parcel_size == ParcelLockerSize.UNKNOWN: + self._log.debug(f'unexpected parcel_size: {parcel_data["parcelSize"]}') + + if self.status == ParcelStatus.UNKNOWN: + self._log.debug(f'unexpected parcel status: {parcel_data["status"]}') + + if self.ownership_status == ParcelOwnership.UNKNOWN: + self._log.debug(f'unexpected ownership status: {parcel_data["ownershipStatus"]}')
+ + def __str__(self): + return f"Sender: {str(self.sender)}\n" \ + f"Shipment number: {self.shipment_number}\n" \ + f"Status: {self.status}\n" \ + f"Pickup point: {self.pickup_point}" + + @property + def open_code(self) -> str | None: + """Returns an open code for :class:`Parcel` + + :return: Open code for :class:`Parcel` + :rtype: str""" + self._log.debug('getting open code') + if self.shipment_type == ParcelShipmentType.parcel: + self._log.debug('got open code') + return self._open_code + + self._log.debug('wrong ParcelShipmentType') + return None + + @property + def generate_qr_image(self) -> BytesIO | None: + """Returns a QR image for :class:`Parcel` + + :return: QR image for :class:`Parcel` + :rtype: BytesIO""" + self._log.debug('generating qr image') + if self.shipment_type == ParcelShipmentType.parcel: + self._log.debug('got qr image') + return self._qr_code.qr_image + + self._log.debug('wrong ParcelShipmentType') + return None + + @property + def compartment_properties(self): + """Returns a compartment properties for :class:`Parcel` + + :return: Compartment properties for :class:`Parcel` + :rtype: CompartmentProperties""" + self._log.debug('getting comparment properties') + if self.shipment_type == ParcelShipmentType.parcel: + self._log.debug('got compartment properties') + return self._compartment_properties + + self._log.debug('wrong ParcelShipmentType') + return None + + @compartment_properties.setter + def compartment_properties(self, compartmentproperties_data: dict): + """Set compartment properties for :class:`Parcel` + + :param compartmentproperties_data: :class:`dict` containing compartment properties data for :class:`Parcel` + :type compartmentproperties_data: CompartmentProperties""" + self._log.debug(f'setting compartment properties with {compartmentproperties_data}') + if self.shipment_type == ParcelShipmentType.parcel: + self._log.debug('compartment properties set') + self._compartment_properties = CompartmentProperties(compartmentproperties_data=compartmentproperties_data, + logger=self._log) + + self._log.debug('wrong ParcelShipmentType') + + @property + def compartment_location(self): + """Returns a compartment location for :class:`Parcel` + + :return: Compartment location for :class:`Parcel` + :rtype: CompartmentLocation""" + self._log.debug('getting compartment location') + if self.shipment_type == ParcelShipmentType.parcel: + self._log.debug('got compartment location') + return self._compartment_properties.location + + self._log.debug('wrong ParcelShipmentType') + return None + + # @compartment_location.setter + # def compartment_location(self, location_data): + # """Set compartment location for :class:`Parcel` + # :param location_data: :class:`dict` containing `compartment properties` data for :class:`Parcel` + # :type location_data: CompartmentProperties""" + # self._log.debug('setting compartment location') + # if self.shipment_type == ParcelShipmentType.parcel: + # self._log.debug('compartment location set') + # self._compartment_properties.location = location_data + # + # self._log.debug('wrong ParcelShipmentType') + + @property + def compartment_status(self) -> CompartmentActualStatus | None: + """Returns a compartment status for :class:`Parcel` + + :return: Compartment status for :class:`Parcel` + :rtype: CompartmentActualStatus""" + self._log.debug('getting compartment status') + if self.shipment_type == ParcelShipmentType.parcel: + self._log.debug('got compartment status') + return self._compartment_properties.status + + self._log.debug('wrong ParcelShipmentType') + return None + + # @compartment_status.setter + # def compartment_status(self, status): + # self._log.debug('setting compartment status') + # if self.shipment_type == ParcelShipmentType.parcel: + # self._log.debug('compartment status set') + # self._compartment_properties.status = status + # + # self._log.debug('wrong ParcelShipmentType') + + @property + def compartment_open_data(self): + """Returns a compartment open data for :class:`Parcel` + + :return: dict containing compartment open data for :class:`Parcel` + :rtype: dict""" + self._log.debug('getting compartment open data') + if self.shipment_type == ParcelShipmentType.parcel: + self._log.debug('got compartment open data') + return { + 'shipmentNumber': self.shipment_number, + 'openCode': self._open_code, + 'receiverPhoneNumber': self.receiver.phone_number + } + + self._log.debug('wrong ParcelShipmentType') + return None + + @property + def mocked_location(self): + """Returns a mocked location for :class:`Parcel` + + :return: dict containing mocked location for :class:`Parcel` + :rtype: dict""" + self._log.debug('getting mocked location') + if self.shipment_type == ParcelShipmentType.parcel: + self._log.debug('got mocked location') + return { + 'latitude': round(self.pickup_point.latitude + random.uniform(-0.00005, 0.00005), 6), + 'longitude': round(self.pickup_point.longitude + random.uniform(-0.00005, 0.00005), 6), + 'accuracy': round(random.uniform(1, 4), 1) + } + + self._log.debug('wrong ParcelShipmentType') + return None
+ + +
[docs]class Receiver: + """Object representation of :class:`Parcel` receiver + + :param receiver_data: :class:`dict` containing sender data for :class:`Parcel` + :type receiver_data: dict + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" +
[docs] def __init__(self, receiver_data: dict, logger: logging.Logger): + """Constructor method""" + self.email: str = receiver_data['email'] + self.phone_number: str = receiver_data['phoneNumber'] + self.name: str = receiver_data['name'] + self._log: logging.Logger = logger.getChild(__class__.__name__) + + self._log.debug('created')
+ + +
[docs]class Sender: + """Object representation of :class:`Parcel` sender + + :param sender_data: :class:`dict` containing sender data for :class:`Parcel` + :type sender_data: dict + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" + +
[docs] def __init__(self, sender_data: dict, logger: logging.Logger): + """Constructor method""" + self.sender_name: str = sender_data['name'] + self._log: logging.Logger = logger.getChild(__class__.__name__) + + self._log.debug('created')
+ + def __str__(self) -> str: + return self.sender_name
+ + +
[docs]class PickupPoint: + """Object representation of :class:`Parcel` pickup point + + :param pickuppoint_data: :class:`dict` containing pickup point data for :class:`Parcel` + :type pickuppoint_data: dict + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" + +
[docs] def __init__(self, pickuppoint_data: dict, logger: logging.Logger): + """Constructor method""" + self.name: str = pickuppoint_data['name'] + self.latitude: float = pickuppoint_data['location']['latitude'] + self.longitude: float = pickuppoint_data['location']['longitude'] + self.description: str = pickuppoint_data['locationDescription'] + self.opening_hours: str = pickuppoint_data['openingHours'] + self.post_code: str = pickuppoint_data['addressDetails']['postCode'] + self.city: str = pickuppoint_data['addressDetails']['city'] + self.province: str = pickuppoint_data['addressDetails']['province'] + self.street: str = pickuppoint_data['addressDetails']['street'] + self.building_number: str = pickuppoint_data['addressDetails']['buildingNumber'] + self.virtual: int = pickuppoint_data['virtual'] + self.point_type: str = pickuppoint_data['pointType'] + self.type: List[ParcelDeliveryType] = [ParcelDeliveryType[data] for data in pickuppoint_data['type']] + self.location_round_the_clock: bool = pickuppoint_data['location247'] + self.doubled: bool = pickuppoint_data['doubled'] + self.image_url: str = pickuppoint_data['imageUrl'] + self.easy_access_zone: bool = pickuppoint_data['easyAccessZone'] + self.air_sensor: bool = pickuppoint_data['airSensor'] + + self._log: logging.Logger = logger.getChild(__class__.__name__) + self._log.debug('created') + + if ParcelDeliveryType.UNKNOWN in self.type: + self._log.debug(f'unknown delivery type: {pickuppoint_data["type"]}')
+ + def __str__(self) -> str: + return self.name + + @property + def location(self) -> Tuple[float, float]: + """Returns a mocked location for :class:`PickupPoint` + + :return: tuple containing location for :class:`PickupPoint` + :rtype: tuple""" + self._log.debug('getting location') + return self.latitude, self.longitude
+ + +
[docs]class MultiCompartment: + """Object representation of :class:`Parcel` `multicompartment` + + :param multicompartment_data: :class:`dict` containing multicompartment data for :class:`Parcel` + :type multicompartment_data: dict + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" + +
[docs] def __init__(self, multicompartment_data: dict, logger: logging.Logger): + """Constructor method""" + self.uuid = multicompartment_data['uuid'] + self.shipment_numbers: List[str] | None = multicompartment_data['shipmentNumbers'] \ + if 'shipmentNumbers' in multicompartment_data else None + self.presentation: bool = multicompartment_data['presentation'] + self.collected: bool = multicompartment_data['collected'] + + self._log: logging.Logger = logger.getChild(__class__.__name__) + self._log.debug('created')
+ + +
[docs]class Operations: + """Object representation of :class:`Parcel` `operations` + + :param operations_data: :class:`dict` containing operations data for :class:`Parcel` + :type operations_data: dict + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" + +
[docs] def __init__(self, operations_data: dict, logger: logging.Logger): + """Constructor method""" + self.manual_archive: bool = operations_data['manualArchive'] + self.auto_archivable_since: arrow | None = get( + operations_data['autoArchivableSince']) if 'autoArchivableSince' in operations_data else None + self.delete: bool = operations_data['delete'] + self.collect: bool = operations_data['collect'] + self.expand_avizo: bool = operations_data['expandAvizo'] + self.highlight: bool = operations_data['highlight'] + self.refresh_until: arrow = get(operations_data['refreshUntil']) + self.request_easy_access_zone: str = operations_data['requestEasyAccessZone'] + self.is_voicebot: bool = operations_data['voicebot'] + self.can_share_to_observe: bool = operations_data['canShareToObserve'] + self.can_share_open_code: bool = operations_data['canShareOpenCode'] + self.can_share_parcel: bool = operations_data['canShareParcel'] + + self._log: logging.Logger = logger.getChild(__class__.__name__) + self._log.debug('created')
+ + +
[docs]class EventLog: + """Object representation of :class:`Parcel` single eventlog + + :param eventlog_data: :class:`dict` containing single eventlog data for :class:`Parcel` + :type eventlog_data: dict + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" + +
[docs] def __init__(self, eventlog_data: dict, logger: logging.Logger): + """Constructor method""" + self.type: str = eventlog_data['type'] + self.name: ParcelStatus = ParcelStatus[eventlog_data['name']] + self.date: arrow = get(eventlog_data['date']) + + self._log: logging.Logger = logger.getChild(__class__.__name__) + self._log.debug('created') + + if self.name == ParcelStatus.UNKNOWN: + self._log.debug(f'unknown parcel status: {eventlog_data["name"]}')
+ + +
[docs]class SharedTo: + """Object representation of :class:`Parcel` single shared to + + :param sharedto_data: :class:`dict` containing shared to data for :class:`Parcel` + :type sharedto_data: dict + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" + +
[docs] def __init__(self, sharedto_data: dict, logger: logging.Logger): + """Constructor method""" + self.uuid: str = sharedto_data['uuid'] + self.name: str = sharedto_data['name'] + self.phone_number = sharedto_data['phoneNumber'] + + self._log: logging.Logger = logger.getChild(__class__.__name__) + self._log.debug('created')
+ + +
[docs]class QRCode: + """Object representation of :class:`Parcel` QRCode + + :param qrcode_data: :class:`str` containing qrcode data for :class:`Parcel` + :type qrcode_data: str + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" + +
[docs] def __init__(self, qrcode_data: str, logger: logging.Logger): + """Constructor method""" + self._qr_code = qrcode_data + + self._log: logging.Logger = logger.getChild(__class__.__name__) + self._log.debug('created')
+ + @property + def qr_image(self) -> BytesIO: + """Returns a generated QR image for :class:`QRCode` + + :return: QR Code image + :rtype: BytesIO""" + self._log.debug('generating qr image') + qr = qrcode.QRCode( + version=3, + error_correction=qrcode.constants.ERROR_CORRECT_H, + box_size=20, + border=4, + mask_pattern=5 + ) + + qr.add_data(self._qr_code) + qr.make(fit=False) + img1 = qr.make_image(fill_color="black", back_color="white") + bio = BytesIO() + bio.name = 'qr.png' + img1.save(bio, 'PNG') + bio.seek(0) + self._log.debug('generated qr image') + return bio
+ + +
[docs]class CompartmentLocation: + """Object representation of :class:`CompartmentProperties` compartment location + + :param compartmentlocation_data: :class:`dict` containing compartment location data for :class:`Parcel` + :type compartmentlocation_data: dict + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" + +
[docs] def __init__(self, compartmentlocation_data: dict, logger: logging.Logger): + """Constructor method""" + self.name: str = compartmentlocation_data['compartment']['name'] + self.side: str = compartmentlocation_data['compartment']['location']['side'] + self.column: str = compartmentlocation_data['compartment']['location']['column'] + self.row: str = compartmentlocation_data['compartment']['location']['row'] + self.open_compartment_waiting_time: int = compartmentlocation_data['openCompartmentWaitingTime'] + self.action_time: int = compartmentlocation_data['actionTime'] + self.confirm_action_time: int = compartmentlocation_data['confirmActionTime'] + + self._log: logging.Logger = logger.getChild(__class__.__name__) + self._log.debug('created')
+ + +
[docs]class CompartmentProperties: + """Object representation of :class:`Parcel` compartment properties + + :param compartmentproperties_data: :class:`dict` containing compartment properties data for :class:`Parcel` + :type compartmentproperties_data: dict + :param logger: :class:`logging.Logger` parent instance + :type logger: logging.Logger""" + +
[docs] def __init__(self, compartmentproperties_data: dict, logger: logging.Logger): + """Constructor method""" + self._session_uuid: str = compartmentproperties_data['sessionUuid'] + self._session_expiration_time: int = compartmentproperties_data['sessionExpirationTime'] + self._location: CompartmentLocation | None = None + self._status: CompartmentActualStatus | None = None + + self._log: logging.Logger = logger.getChild(__class__.__name__) + self._log.debug('created')
+ + @property + def session_uuid(self): + """Returns a session unique identified for :class:`CompartmentProperties` + + :return: string containing session unique identified for :class:`CompartmentProperties` + :rtype: str""" + self._log.debug('getting session uuid') + return self._session_uuid + + @property + def location(self): + """Returns a compartment location for :class:`CompartmentProperties` + + :return: compartment location for :class:`CompartmentProperties` + :rtype: str""" + self._log.debug('getting location') + return self._location + + @location.setter + def location(self, location_data: dict): + """Set a compartment location for :class:`CompartmentProperties` + + :param location_data: dict containing compartment location data for :class:`CompartmentProperties` + :type location_data: dict""" + self._log.debug('setting location') + self._location = CompartmentLocation(location_data, self._log) + + @property + def status(self): + """Returns a compartment status for :class:`CompartmentProperties` + + :return: compartment location for :class:`CompartmentProperties` + :rtype: CompartmentActualStatus""" + self._log.debug('getting status') + return self._status
+ + # @status.setter + # def status(self, status_data: str | CompartmentActualStatus): + # self._log.debug('setting status') + # self._status = status_data if isinstance(status_data, CompartmentActualStatus) \ + # else CompartmentActualStatus[status_data] + # + # if self._status == CompartmentActualStatus.UNKNOWN and isinstance(status_data, str): + # self._log.debug(f'unexpected compartment actual status: {status_data}') +
+ +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/build/html/_sources/CompartmentLocation.rst.txt b/docs/build/html/_sources/CompartmentLocation.rst.txt new file mode 100644 index 0000000..58a1531 --- /dev/null +++ b/docs/build/html/_sources/CompartmentLocation.rst.txt @@ -0,0 +1,9 @@ +CompartmentLocation +==================== + +.. currentmodule:: inpost.static.parcels + +.. class:: CompartmentLocation + + .. automethod:: __init__ + diff --git a/docs/build/html/_sources/CompartmentProperties.rst.txt b/docs/build/html/_sources/CompartmentProperties.rst.txt new file mode 100644 index 0000000..641a46e --- /dev/null +++ b/docs/build/html/_sources/CompartmentProperties.rst.txt @@ -0,0 +1,12 @@ +CompartmentProperties +====================== + +.. currentmodule:: inpost.static.parcels + +.. class:: CompartmentProperties + + .. automethod:: __init__ + .. automethod:: session_uuid + .. automethod:: location + .. automethod:: status + diff --git a/docs/build/html/_sources/EventLog.rst.txt b/docs/build/html/_sources/EventLog.rst.txt new file mode 100644 index 0000000..121413c --- /dev/null +++ b/docs/build/html/_sources/EventLog.rst.txt @@ -0,0 +1,9 @@ +EventLog +================= + +.. currentmodule:: inpost.static.parcels + +.. class:: EventLog + + .. automethod:: __init__ + diff --git a/docs/build/html/_sources/MultiCompartment.rst.txt b/docs/build/html/_sources/MultiCompartment.rst.txt new file mode 100644 index 0000000..ef17eb8 --- /dev/null +++ b/docs/build/html/_sources/MultiCompartment.rst.txt @@ -0,0 +1,9 @@ +MultiCompartment +================= + +.. currentmodule:: inpost.static.parcels + +.. class:: MultiCompartment + + .. automethod:: __init__ + diff --git a/docs/build/html/_sources/Operations.rst.txt b/docs/build/html/_sources/Operations.rst.txt new file mode 100644 index 0000000..845ba54 --- /dev/null +++ b/docs/build/html/_sources/Operations.rst.txt @@ -0,0 +1,9 @@ +Operations +============ + +.. currentmodule:: inpost.static.parcels + +.. class:: Operations + + .. automethod:: __init__ + diff --git a/docs/build/html/_sources/Parcel.rst.txt b/docs/build/html/_sources/Parcel.rst.txt new file mode 100644 index 0000000..9489894 --- /dev/null +++ b/docs/build/html/_sources/Parcel.rst.txt @@ -0,0 +1,24 @@ +Parcel +======== + +.. currentmodule:: inpost.static.parcels + +.. class:: Parcel + + .. automethod:: __init__ + + .. automethod:: open_code + + .. automethod:: generate_qr_image + + .. automethod:: compartment_properties + + .. automethod:: compartment_properties + + .. automethod:: compartment_location + + .. automethod:: compartment_status + + .. automethod:: compartment_open_data + + .. automethod:: mocked_location diff --git a/docs/build/html/_sources/PickupPoint.rst.txt b/docs/build/html/_sources/PickupPoint.rst.txt new file mode 100644 index 0000000..fd90402 --- /dev/null +++ b/docs/build/html/_sources/PickupPoint.rst.txt @@ -0,0 +1,10 @@ +PickupPoint +============ + +.. currentmodule:: inpost.static.parcels + +.. class:: PickupPoint + + .. automethod:: __init__ + + .. automethod:: location diff --git a/docs/build/html/_sources/QRCode.rst.txt b/docs/build/html/_sources/QRCode.rst.txt new file mode 100644 index 0000000..a8b7396 --- /dev/null +++ b/docs/build/html/_sources/QRCode.rst.txt @@ -0,0 +1,10 @@ +QRCode +================= + +.. currentmodule:: inpost.static.parcels + +.. class:: QRCode + + .. automethod:: __init__ + .. automethod:: qr_image + diff --git a/docs/build/html/_sources/Receiver.rst.txt b/docs/build/html/_sources/Receiver.rst.txt new file mode 100644 index 0000000..ad72b13 --- /dev/null +++ b/docs/build/html/_sources/Receiver.rst.txt @@ -0,0 +1,8 @@ +Receiver +======== + +.. currentmodule:: inpost.static.parcels + +.. class:: Receiver + + .. automethod:: __init__ diff --git a/docs/build/html/_sources/Sender.rst.txt b/docs/build/html/_sources/Sender.rst.txt new file mode 100644 index 0000000..0ca8f63 --- /dev/null +++ b/docs/build/html/_sources/Sender.rst.txt @@ -0,0 +1,8 @@ +Sender +======== + +.. currentmodule:: inpost.static.parcels + +.. class:: Sender + + .. automethod:: __init__ diff --git a/docs/build/html/_sources/SharedTo.rst.txt b/docs/build/html/_sources/SharedTo.rst.txt new file mode 100644 index 0000000..d8c924d --- /dev/null +++ b/docs/build/html/_sources/SharedTo.rst.txt @@ -0,0 +1,9 @@ +SharedTo +================= + +.. currentmodule:: inpost.static.parcels + +.. class:: SharedTo + + .. automethod:: __init__ + diff --git a/docs/build/html/_sources/api.rst.txt b/docs/build/html/_sources/api.rst.txt new file mode 100644 index 0000000..ca9dd3c --- /dev/null +++ b/docs/build/html/_sources/api.rst.txt @@ -0,0 +1,40 @@ +Inpost +======= + +.. currentmodule:: inpost.api + +.. class:: Inpost + + .. automethod:: __init__ + + .. automethod:: check_compartment_status + + .. automethod:: close_compartment + + .. automethod:: collect + + .. automethod:: collect_compartment_properties + + .. automethod:: confirm_sms_code + + .. automethod:: disconnect + + .. automethod:: from_phone_number + + .. automethod:: get_parcel + + .. automethod:: get_parcels + + .. automethod:: get_prices + + .. automethod:: logout + + .. automethod:: open_compartment + + .. automethod:: refresh_token + + .. automethod:: send_sms_code + + .. automethod:: set_phone_number + + .. automethod:: terminate_collect_session \ No newline at end of file diff --git a/docs/build/html/_sources/exceptions.rst.txt b/docs/build/html/_sources/exceptions.rst.txt new file mode 100644 index 0000000..a1e26ae --- /dev/null +++ b/docs/build/html/_sources/exceptions.rst.txt @@ -0,0 +1,29 @@ +Exceptions +======================== + +.. automodule:: inpost.static.exceptions + + .. rubric:: Exceptions + + .. autosummary:: + + BaseInpostError + NoParcelError + NotAuthenticatedError + NotFoundError + ParcelTypeError + PhoneNumberError + ReAuthenticationError + RefreshTokenError + SingleParamError + SmsCodeError + UnauthorizedError + UnidentifiedAPIError + UnidentifiedError + UnidentifiedParcelError + UserLocationError + + + + + diff --git a/docs/build/html/_sources/index.rst.txt b/docs/build/html/_sources/index.rst.txt new file mode 100644 index 0000000..3de24e9 --- /dev/null +++ b/docs/build/html/_sources/index.rst.txt @@ -0,0 +1,44 @@ +.. inpost-python documentation master file, created by + sphinx-quickstart on Sun Jan 15 18:32:27 2023. + You can adapt this file completely to your liking, but it should at least + contain the root `toctree` directive. + + +Welcome to inpost-python's documentation! +========================================= + +.. note:: + + This project is under active development. + +.. code-block:: python + + from inpost.api import Inpost + + inp = await Inpost.from_phone_number('555333444') + await inp.send_sms_code(): + ... + if await inp.confirm_sms_code(123321): + print('Congratulations, you initialized successfully!') + + + +.. toctree:: + + usage + +.. toctree:: + + api + + parcels + + exceptions + + +Indices and tables +================== + +* :ref:`genindex` +* :ref:`modindex` +* :ref:`search` diff --git a/docs/build/html/_sources/parcels.rst.txt b/docs/build/html/_sources/parcels.rst.txt new file mode 100644 index 0000000..50d2c82 --- /dev/null +++ b/docs/build/html/_sources/parcels.rst.txt @@ -0,0 +1,25 @@ +Parcels +======= + +.. toctree:: + Parcel + + Receiver + + Sender + + PickupPoint + + MultiCompartment + + Operations + + EventLog + + SharedTo + + QRCode + + CompartmentLocation + + CompartmentProperties diff --git a/docs/build/html/_sources/usage.rst.txt b/docs/build/html/_sources/usage.rst.txt new file mode 100644 index 0000000..35dbdc0 --- /dev/null +++ b/docs/build/html/_sources/usage.rst.txt @@ -0,0 +1,11 @@ +Usage +===== + +Installation +------------ + +To use inpost-python, first install it using pip: + +.. code-block:: console + + $ pip install inpost \ No newline at end of file diff --git a/docs/build/html/_static/_sphinx_javascript_frameworks_compat.js b/docs/build/html/_static/_sphinx_javascript_frameworks_compat.js new file mode 100644 index 0000000..8549469 --- /dev/null +++ b/docs/build/html/_static/_sphinx_javascript_frameworks_compat.js @@ -0,0 +1,134 @@ +/* + * _sphinx_javascript_frameworks_compat.js + * ~~~~~~~~~~ + * + * Compatability shim for jQuery and underscores.js. + * + * WILL BE REMOVED IN Sphinx 6.0 + * xref RemovedInSphinx60Warning + * + */ + +/** + * select a different prefix for underscore + */ +$u = _.noConflict(); + + +/** + * small helper function to urldecode strings + * + * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL + */ +jQuery.urldecode = function(x) { + if (!x) { + return x + } + return decodeURIComponent(x.replace(/\+/g, ' ')); +}; + +/** + * small helper function to urlencode strings + */ +jQuery.urlencode = encodeURIComponent; + +/** + * This function returns the parsed url parameters of the + * current request. Multiple values per key are supported, + * it will always return arrays of strings for the value parts. + */ +jQuery.getQueryParameters = function(s) { + if (typeof s === 'undefined') + s = document.location.search; + var parts = s.substr(s.indexOf('?') + 1).split('&'); + var result = {}; + for (var i = 0; i < parts.length; i++) { + var tmp = parts[i].split('=', 2); + var key = jQuery.urldecode(tmp[0]); + var value = jQuery.urldecode(tmp[1]); + if (key in result) + result[key].push(value); + else + result[key] = [value]; + } + return result; +}; + +/** + * highlight a given string on a jquery object by wrapping it in + * span elements with the given class name. + */ +jQuery.fn.highlightText = function(text, className) { + function highlight(node, addItems) { + if (node.nodeType === 3) { + var val = node.nodeValue; + var pos = val.toLowerCase().indexOf(text); + if (pos >= 0 && + !jQuery(node.parentNode).hasClass(className) && + !jQuery(node.parentNode).hasClass("nohighlight")) { + var span; + var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.className = className; + } + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + if (isInSVG) { + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); + var bbox = node.parentElement.getBBox(); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute('class', className); + addItems.push({ + "parent": node.parentNode, + "target": rect}); + } + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this, addItems); + }); + } + } + var addItems = []; + var result = this.each(function() { + highlight(this, addItems); + }); + for (var i = 0; i < addItems.length; ++i) { + jQuery(addItems[i].parent).before(addItems[i].target); + } + return result; +}; + +/* + * backward compatibility for jQuery.browser + * This will be supported until firefox bug is fixed. + */ +if (!jQuery.browser) { + jQuery.uaMatch = function(ua) { + ua = ua.toLowerCase(); + + var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || + /(webkit)[ \/]([\w.]+)/.exec(ua) || + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || + /(msie) ([\w.]+)/.exec(ua) || + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || + []; + + return { + browser: match[ 1 ] || "", + version: match[ 2 ] || "0" + }; + }; + jQuery.browser = {}; + jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; +} diff --git a/docs/build/html/_static/alabaster.css b/docs/build/html/_static/alabaster.css new file mode 100644 index 0000000..0eddaeb --- /dev/null +++ b/docs/build/html/_static/alabaster.css @@ -0,0 +1,701 @@ +@import url("basic.css"); + +/* -- page layout ----------------------------------------------------------- */ + +body { + font-family: Georgia, serif; + font-size: 17px; + background-color: #fff; + color: #000; + margin: 0; + padding: 0; +} + + +div.document { + width: 940px; + margin: 30px auto 0 auto; +} + +div.documentwrapper { + float: left; + width: 100%; +} + +div.bodywrapper { + margin: 0 0 0 220px; +} + +div.sphinxsidebar { + width: 220px; + font-size: 14px; + line-height: 1.5; +} + +hr { + border: 1px solid #B1B4B6; +} + +div.body { + background-color: #fff; + color: #3E4349; + padding: 0 30px 0 30px; +} + +div.body > .section { + text-align: left; +} + +div.footer { + width: 940px; + margin: 20px auto 30px auto; + font-size: 14px; + color: #888; + text-align: right; +} + +div.footer a { + color: #888; +} + +p.caption { + font-family: inherit; + font-size: inherit; +} + + +div.relations { + display: none; +} + + +div.sphinxsidebar a { + color: #444; + text-decoration: none; + border-bottom: 1px dotted #999; +} + +div.sphinxsidebar a:hover { + border-bottom: 1px solid #999; +} + +div.sphinxsidebarwrapper { + padding: 18px 10px; +} + +div.sphinxsidebarwrapper p.logo { + padding: 0; + margin: -10px 0 0 0px; + text-align: center; +} + +div.sphinxsidebarwrapper h1.logo { + margin-top: -10px; + text-align: center; + margin-bottom: 5px; + text-align: left; +} + +div.sphinxsidebarwrapper h1.logo-name { + margin-top: 0px; +} + +div.sphinxsidebarwrapper p.blurb { + margin-top: 0; + font-style: normal; +} + +div.sphinxsidebar h3, +div.sphinxsidebar h4 { + font-family: Georgia, serif; + color: #444; + font-size: 24px; + font-weight: normal; + margin: 0 0 5px 0; + padding: 0; +} + +div.sphinxsidebar h4 { + font-size: 20px; +} + +div.sphinxsidebar h3 a { + color: #444; +} + +div.sphinxsidebar p.logo a, +div.sphinxsidebar h3 a, +div.sphinxsidebar p.logo a:hover, +div.sphinxsidebar h3 a:hover { + border: none; +} + +div.sphinxsidebar p { + color: #555; + margin: 10px 0; +} + +div.sphinxsidebar ul { + margin: 10px 0; + padding: 0; + color: #000; +} + +div.sphinxsidebar ul li.toctree-l1 > a { + font-size: 120%; +} + +div.sphinxsidebar ul li.toctree-l2 > a { + font-size: 110%; +} + +div.sphinxsidebar input { + border: 1px solid #CCC; + font-family: Georgia, serif; + font-size: 1em; +} + +div.sphinxsidebar hr { + border: none; + height: 1px; + color: #AAA; + background: #AAA; + + text-align: left; + margin-left: 0; + width: 50%; +} + +div.sphinxsidebar .badge { + border-bottom: none; +} + +div.sphinxsidebar .badge:hover { + border-bottom: none; +} + +/* To address an issue with donation coming after search */ +div.sphinxsidebar h3.donation { + margin-top: 10px; +} + +/* -- body styles ----------------------------------------------------------- */ + +a { + color: #004B6B; + text-decoration: underline; +} + +a:hover { + color: #6D4100; + text-decoration: underline; +} + +div.body h1, +div.body h2, +div.body h3, +div.body h4, +div.body h5, +div.body h6 { + font-family: Georgia, serif; + font-weight: normal; + margin: 30px 0px 10px 0px; + padding: 0; +} + +div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; } +div.body h2 { font-size: 180%; } +div.body h3 { font-size: 150%; } +div.body h4 { font-size: 130%; } +div.body h5 { font-size: 100%; } +div.body h6 { font-size: 100%; } + +a.headerlink { + color: #DDD; + padding: 0 4px; + text-decoration: none; +} + +a.headerlink:hover { + color: #444; + background: #EAEAEA; +} + +div.body p, div.body dd, div.body li { + line-height: 1.4em; +} + +div.admonition { + margin: 20px 0px; + padding: 10px 30px; + background-color: #EEE; + border: 1px solid #CCC; +} + +div.admonition tt.xref, div.admonition code.xref, div.admonition a tt { + background-color: #FBFBFB; + border-bottom: 1px solid #fafafa; +} + +div.admonition p.admonition-title { + font-family: Georgia, serif; + font-weight: normal; + font-size: 24px; + margin: 0 0 10px 0; + padding: 0; + line-height: 1; +} + +div.admonition p.last { + margin-bottom: 0; +} + +div.highlight { + background-color: #fff; +} + +dt:target, .highlight { + background: #FAF3E8; +} + +div.warning { + background-color: #FCC; + border: 1px solid #FAA; +} + +div.danger { + background-color: #FCC; + border: 1px solid #FAA; + -moz-box-shadow: 2px 2px 4px #D52C2C; + -webkit-box-shadow: 2px 2px 4px #D52C2C; + box-shadow: 2px 2px 4px #D52C2C; +} + +div.error { + background-color: #FCC; + border: 1px solid #FAA; + -moz-box-shadow: 2px 2px 4px #D52C2C; + -webkit-box-shadow: 2px 2px 4px #D52C2C; + box-shadow: 2px 2px 4px #D52C2C; +} + +div.caution { + background-color: #FCC; + border: 1px solid #FAA; +} + +div.attention { + background-color: #FCC; + border: 1px solid #FAA; +} + +div.important { + background-color: #EEE; + border: 1px solid #CCC; +} + +div.note { + background-color: #EEE; + border: 1px solid #CCC; +} + +div.tip { + background-color: #EEE; + border: 1px solid #CCC; +} + +div.hint { + background-color: #EEE; + border: 1px solid #CCC; +} + +div.seealso { + background-color: #EEE; + border: 1px solid #CCC; +} + +div.topic { + background-color: #EEE; +} + +p.admonition-title { + display: inline; +} + +p.admonition-title:after { + content: ":"; +} + +pre, tt, code { + font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; + font-size: 0.9em; +} + +.hll { + background-color: #FFC; + margin: 0 -12px; + padding: 0 12px; + display: block; +} + +img.screenshot { +} + +tt.descname, tt.descclassname, code.descname, code.descclassname { + font-size: 0.95em; +} + +tt.descname, code.descname { + padding-right: 0.08em; +} + +img.screenshot { + -moz-box-shadow: 2px 2px 4px #EEE; + -webkit-box-shadow: 2px 2px 4px #EEE; + box-shadow: 2px 2px 4px #EEE; +} + +table.docutils { + border: 1px solid #888; + -moz-box-shadow: 2px 2px 4px #EEE; + -webkit-box-shadow: 2px 2px 4px #EEE; + box-shadow: 2px 2px 4px #EEE; +} + +table.docutils td, table.docutils th { + border: 1px solid #888; + padding: 0.25em 0.7em; +} + +table.field-list, table.footnote { + border: none; + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +table.footnote { + margin: 15px 0; + width: 100%; + border: 1px solid #EEE; + background: #FDFDFD; + font-size: 0.9em; +} + +table.footnote + table.footnote { + margin-top: -15px; + border-top: none; +} + +table.field-list th { + padding: 0 0.8em 0 0; +} + +table.field-list td { + padding: 0; +} + +table.field-list p { + margin-bottom: 0.8em; +} + +/* Cloned from + * https://github.com/sphinx-doc/sphinx/commit/ef60dbfce09286b20b7385333d63a60321784e68 + */ +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + +table.footnote td.label { + width: .1px; + padding: 0.3em 0 0.3em 0.5em; +} + +table.footnote td { + padding: 0.3em 0.5em; +} + +dl { + margin: 0; + padding: 0; +} + +dl dd { + margin-left: 30px; +} + +blockquote { + margin: 0 0 0 30px; + padding: 0; +} + +ul, ol { + /* Matches the 30px from the narrow-screen "li > ul" selector below */ + margin: 10px 0 10px 30px; + padding: 0; +} + +pre { + background: #EEE; + padding: 7px 30px; + margin: 15px 0px; + line-height: 1.3em; +} + +div.viewcode-block:target { + background: #ffd; +} + +dl pre, blockquote pre, li pre { + margin-left: 0; + padding-left: 30px; +} + +tt, code { + background-color: #ecf0f3; + color: #222; + /* padding: 1px 2px; */ +} + +tt.xref, code.xref, a tt { + background-color: #FBFBFB; + border-bottom: 1px solid #fff; +} + +a.reference { + text-decoration: none; + border-bottom: 1px dotted #004B6B; +} + +/* Don't put an underline on images */ +a.image-reference, a.image-reference:hover { + border-bottom: none; +} + +a.reference:hover { + border-bottom: 1px solid #6D4100; +} + +a.footnote-reference { + text-decoration: none; + font-size: 0.7em; + vertical-align: top; + border-bottom: 1px dotted #004B6B; +} + +a.footnote-reference:hover { + border-bottom: 1px solid #6D4100; +} + +a:hover tt, a:hover code { + background: #EEE; +} + + +@media screen and (max-width: 870px) { + + div.sphinxsidebar { + display: none; + } + + div.document { + width: 100%; + + } + + div.documentwrapper { + margin-left: 0; + margin-top: 0; + margin-right: 0; + margin-bottom: 0; + } + + div.bodywrapper { + margin-top: 0; + margin-right: 0; + margin-bottom: 0; + margin-left: 0; + } + + ul { + margin-left: 0; + } + + li > ul { + /* Matches the 30px from the "ul, ol" selector above */ + margin-left: 30px; + } + + .document { + width: auto; + } + + .footer { + width: auto; + } + + .bodywrapper { + margin: 0; + } + + .footer { + width: auto; + } + + .github { + display: none; + } + + + +} + + + +@media screen and (max-width: 875px) { + + body { + margin: 0; + padding: 20px 30px; + } + + div.documentwrapper { + float: none; + background: #fff; + } + + div.sphinxsidebar { + display: block; + float: none; + width: 102.5%; + margin: 50px -30px -20px -30px; + padding: 10px 20px; + background: #333; + color: #FFF; + } + + div.sphinxsidebar h3, div.sphinxsidebar h4, div.sphinxsidebar p, + div.sphinxsidebar h3 a { + color: #fff; + } + + div.sphinxsidebar a { + color: #AAA; + } + + div.sphinxsidebar p.logo { + display: none; + } + + div.document { + width: 100%; + margin: 0; + } + + div.footer { + display: none; + } + + div.bodywrapper { + margin: 0; + } + + div.body { + min-height: 0; + padding: 0; + } + + .rtd_doc_footer { + display: none; + } + + .document { + width: auto; + } + + .footer { + width: auto; + } + + .footer { + width: auto; + } + + .github { + display: none; + } +} + + +/* misc. */ + +.revsys-inline { + display: none!important; +} + +/* Make nested-list/multi-paragraph items look better in Releases changelog + * pages. Without this, docutils' magical list fuckery causes inconsistent + * formatting between different release sub-lists. + */ +div#changelog > div.section > ul > li > p:only-child { + margin-bottom: 0; +} + +/* Hide fugly table cell borders in ..bibliography:: directive output */ +table.docutils.citation, table.docutils.citation td, table.docutils.citation th { + border: none; + /* Below needed in some edge cases; if not applied, bottom shadows appear */ + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; +} + + +/* relbar */ + +.related { + line-height: 30px; + width: 100%; + font-size: 0.9rem; +} + +.related.top { + border-bottom: 1px solid #EEE; + margin-bottom: 20px; +} + +.related.bottom { + border-top: 1px solid #EEE; +} + +.related ul { + padding: 0; + margin: 0; + list-style: none; +} + +.related li { + display: inline; +} + +nav#rellinks { + float: right; +} + +nav#rellinks li+li:before { + content: "|"; +} + +nav#breadcrumbs li+li:before { + content: "\00BB"; +} + +/* Hide certain items when printing */ +@media print { + div.related { + display: none; + } +} \ No newline at end of file diff --git a/docs/build/html/_static/basic.css b/docs/build/html/_static/basic.css new file mode 100644 index 0000000..4e9a9f1 --- /dev/null +++ b/docs/build/html/_static/basic.css @@ -0,0 +1,900 @@ +/* + * basic.css + * ~~~~~~~~~ + * + * Sphinx stylesheet -- basic theme. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +div.section::after { + display: block; + content: ''; + clear: left; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; + word-wrap: break-word; + overflow-wrap : break-word; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox form.search { + overflow: hidden; +} + +div.sphinxsidebar #searchbox input[type="text"] { + float: left; + width: 80%; + padding: 0.25em; + box-sizing: border-box; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + float: left; + width: 20%; + border-left: none; + padding: 0.25em; + box-sizing: border-box; +} + + +img { + border: 0; + max-width: 100%; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li p.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; + margin-left: auto; + margin-right: auto; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable ul { + margin-top: 0; + margin-bottom: 0; + list-style-type: none; +} + +table.indextable > tbody > tr > td > ul { + padding-left: 0em; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- domain module index --------------------------------------------------- */ + +table.modindextable td { + padding: 2px; + border-collapse: collapse; +} + +/* -- general body styles --------------------------------------------------- */ + +div.body { + min-width: 360px; + max-width: 800px; +} + +div.body p, div.body dd, div.body li, div.body blockquote { + -moz-hyphens: auto; + -ms-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; +} + +a.headerlink { + visibility: hidden; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink, +caption:hover > a.headerlink, +p.caption:hover > a.headerlink, +div.code-block-caption:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, figure.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, figure.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, figure.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +img.align-default, figure.align-default, .figure.align-default { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-default { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar, +aside.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px; + background-color: #ffe; + width: 40%; + float: right; + clear: right; + overflow-x: auto; +} + +p.sidebar-title { + font-weight: bold; +} +nav.contents, +aside.topic, +div.admonition, div.topic, blockquote { + clear: left; +} + +/* -- topics ---------------------------------------------------------------- */ +nav.contents, +aside.topic, +div.topic { + border: 1px solid #ccc; + padding: 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- content of sidebars/topics/admonitions -------------------------------- */ + +div.sidebar > :last-child, +aside.sidebar > :last-child, +nav.contents > :last-child, +aside.topic > :last-child, +div.topic > :last-child, +div.admonition > :last-child { + margin-bottom: 0; +} + +div.sidebar::after, +aside.sidebar::after, +nav.contents::after, +aside.topic::after, +div.topic::after, +div.admonition::after, +blockquote::after { + display: block; + content: ''; + clear: both; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + margin-top: 10px; + margin-bottom: 10px; + border: 0; + border-collapse: collapse; +} + +table.align-center { + margin-left: auto; + margin-right: auto; +} + +table.align-default { + margin-left: auto; + margin-right: auto; +} + +table caption span.caption-number { + font-style: italic; +} + +table caption span.caption-text { +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +th > :first-child, +td > :first-child { + margin-top: 0px; +} + +th > :last-child, +td > :last-child { + margin-bottom: 0px; +} + +/* -- figures --------------------------------------------------------------- */ + +div.figure, figure { + margin: 0.5em; + padding: 0.5em; +} + +div.figure p.caption, figcaption { + padding: 0.3em; +} + +div.figure p.caption span.caption-number, +figcaption span.caption-number { + font-style: italic; +} + +div.figure p.caption span.caption-text, +figcaption span.caption-text { +} + +/* -- field list styles ----------------------------------------------------- */ + +table.field-list td, table.field-list th { + border: 0 !important; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + +/* -- hlist styles ---------------------------------------------------------- */ + +table.hlist { + margin: 1em 0; +} + +table.hlist td { + vertical-align: top; +} + +/* -- object description styles --------------------------------------------- */ + +.sig { + font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; +} + +.sig-name, code.descname { + background-color: transparent; + font-weight: bold; +} + +.sig-name { + font-size: 1.1em; +} + +code.descname { + font-size: 1.2em; +} + +.sig-prename, code.descclassname { + background-color: transparent; +} + +.optional { + font-size: 1.3em; +} + +.sig-paren { + font-size: larger; +} + +.sig-param.n { + font-style: italic; +} + +/* C++ specific styling */ + +.sig-inline.c-texpr, +.sig-inline.cpp-texpr { + font-family: unset; +} + +.sig.c .k, .sig.c .kt, +.sig.cpp .k, .sig.cpp .kt { + color: #0033B3; +} + +.sig.c .m, +.sig.cpp .m { + color: #1750EB; +} + +.sig.c .s, .sig.c .sc, +.sig.cpp .s, .sig.cpp .sc { + color: #067D17; +} + + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +:not(li) > ol > li:first-child > :first-child, +:not(li) > ul > li:first-child > :first-child { + margin-top: 0px; +} + +:not(li) > ol > li:last-child > :last-child, +:not(li) > ul > li:last-child > :last-child { + margin-bottom: 0px; +} + +ol.simple ol p, +ol.simple ul p, +ul.simple ol p, +ul.simple ul p { + margin-top: 0; +} + +ol.simple > li:not(:first-child) > p, +ul.simple > li:not(:first-child) > p { + margin-top: 0; +} + +ol.simple p, +ul.simple p { + margin-bottom: 0; +} +aside.footnote > span, +div.citation > span { + float: left; +} +aside.footnote > span:last-of-type, +div.citation > span:last-of-type { + padding-right: 0.5em; +} +aside.footnote > p { + margin-left: 2em; +} +div.citation > p { + margin-left: 4em; +} +aside.footnote > p:last-of-type, +div.citation > p:last-of-type { + margin-bottom: 0em; +} +aside.footnote > p:last-of-type:after, +div.citation > p:last-of-type:after { + content: ""; + clear: both; +} + +dl.field-list { + display: grid; + grid-template-columns: fit-content(30%) auto; +} + +dl.field-list > dt { + font-weight: bold; + word-break: break-word; + padding-left: 0.5em; + padding-right: 5px; +} + +dl.field-list > dd { + padding-left: 0.5em; + margin-top: 0em; + margin-left: 0em; + margin-bottom: 0em; +} + +dl { + margin-bottom: 15px; +} + +dd > :first-child { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +dl > dd:last-child, +dl > dd:last-child > :last-child { + margin-bottom: 0; +} + +dt:target, span.highlighted { + background-color: #fbe54e; +} + +rect.highlighted { + fill: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +.classifier:before { + font-style: normal; + margin: 0 0.5em; + content: ":"; + display: inline-block; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +pre, div[class*="highlight-"] { + clear: both; +} + +span.pre { + -moz-hyphens: none; + -ms-hyphens: none; + -webkit-hyphens: none; + hyphens: none; + white-space: nowrap; +} + +div[class*="highlight-"] { + margin: 1em 0; +} + +td.linenos pre { + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + display: block; +} + +table.highlighttable tbody { + display: block; +} + +table.highlighttable tr { + display: flex; +} + +table.highlighttable td { + margin: 0; + padding: 0; +} + +table.highlighttable td.linenos { + padding-right: 0.5em; +} + +table.highlighttable td.code { + flex: 1; + overflow: hidden; +} + +.highlight .hll { + display: block; +} + +div.highlight pre, +table.highlighttable pre { + margin: 0; +} + +div.code-block-caption + div { + margin-top: 0; +} + +div.code-block-caption { + margin-top: 1em; + padding: 2px 5px; + font-size: small; +} + +div.code-block-caption code { + background-color: transparent; +} + +table.highlighttable td.linenos, +span.linenos, +div.highlight span.gp { /* gp: Generic.Prompt */ + user-select: none; + -webkit-user-select: text; /* Safari fallback only */ + -webkit-user-select: none; /* Chrome/Safari */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* IE10+ */ +} + +div.code-block-caption span.caption-number { + padding: 0.1em 0.3em; + font-style: italic; +} + +div.code-block-caption span.caption-text { +} + +div.literal-block-wrapper { + margin: 1em 0; +} + +code.xref, a code { + background-color: transparent; + font-weight: bold; +} + +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +span.eqno a.headerlink { + position: absolute; + z-index: 1; +} + +div.math:hover a.headerlink { + visibility: visible; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} \ No newline at end of file diff --git a/docs/build/html/_static/custom.css b/docs/build/html/_static/custom.css new file mode 100644 index 0000000..2a924f1 --- /dev/null +++ b/docs/build/html/_static/custom.css @@ -0,0 +1 @@ +/* This file intentionally left blank. */ diff --git a/docs/build/html/_static/doctools.js b/docs/build/html/_static/doctools.js new file mode 100644 index 0000000..527b876 --- /dev/null +++ b/docs/build/html/_static/doctools.js @@ -0,0 +1,156 @@ +/* + * doctools.js + * ~~~~~~~~~~~ + * + * Base JavaScript utilities for all Sphinx HTML documentation. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ +"use strict"; + +const BLACKLISTED_KEY_CONTROL_ELEMENTS = new Set([ + "TEXTAREA", + "INPUT", + "SELECT", + "BUTTON", +]); + +const _ready = (callback) => { + if (document.readyState !== "loading") { + callback(); + } else { + document.addEventListener("DOMContentLoaded", callback); + } +}; + +/** + * Small JavaScript module for the documentation. + */ +const Documentation = { + init: () => { + Documentation.initDomainIndexTable(); + Documentation.initOnKeyListeners(); + }, + + /** + * i18n support + */ + TRANSLATIONS: {}, + PLURAL_EXPR: (n) => (n === 1 ? 0 : 1), + LOCALE: "unknown", + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext: (string) => { + const translated = Documentation.TRANSLATIONS[string]; + switch (typeof translated) { + case "undefined": + return string; // no translation + case "string": + return translated; // translation exists + default: + return translated[0]; // (singular, plural) translation tuple exists + } + }, + + ngettext: (singular, plural, n) => { + const translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated !== "undefined") + return translated[Documentation.PLURAL_EXPR(n)]; + return n === 1 ? singular : plural; + }, + + addTranslations: (catalog) => { + Object.assign(Documentation.TRANSLATIONS, catalog.messages); + Documentation.PLURAL_EXPR = new Function( + "n", + `return (${catalog.plural_expr})` + ); + Documentation.LOCALE = catalog.locale; + }, + + /** + * helper function to focus on search bar + */ + focusSearchBar: () => { + document.querySelectorAll("input[name=q]")[0]?.focus(); + }, + + /** + * Initialise the domain index toggle buttons + */ + initDomainIndexTable: () => { + const toggler = (el) => { + const idNumber = el.id.substr(7); + const toggledRows = document.querySelectorAll(`tr.cg-${idNumber}`); + if (el.src.substr(-9) === "minus.png") { + el.src = `${el.src.substr(0, el.src.length - 9)}plus.png`; + toggledRows.forEach((el) => (el.style.display = "none")); + } else { + el.src = `${el.src.substr(0, el.src.length - 8)}minus.png`; + toggledRows.forEach((el) => (el.style.display = "")); + } + }; + + const togglerElements = document.querySelectorAll("img.toggler"); + togglerElements.forEach((el) => + el.addEventListener("click", (event) => toggler(event.currentTarget)) + ); + togglerElements.forEach((el) => (el.style.display = "")); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) togglerElements.forEach(toggler); + }, + + initOnKeyListeners: () => { + // only install a listener if it is really needed + if ( + !DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS && + !DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS + ) + return; + + document.addEventListener("keydown", (event) => { + // bail for input elements + if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)) return; + // bail with special keys + if (event.altKey || event.ctrlKey || event.metaKey) return; + + if (!event.shiftKey) { + switch (event.key) { + case "ArrowLeft": + if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break; + + const prevLink = document.querySelector('link[rel="prev"]'); + if (prevLink && prevLink.href) { + window.location.href = prevLink.href; + event.preventDefault(); + } + break; + case "ArrowRight": + if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break; + + const nextLink = document.querySelector('link[rel="next"]'); + if (nextLink && nextLink.href) { + window.location.href = nextLink.href; + event.preventDefault(); + } + break; + } + } + + // some keyboard layouts may need Shift to get / + switch (event.key) { + case "/": + if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) break; + Documentation.focusSearchBar(); + event.preventDefault(); + } + }); + }, +}; + +// quick alias for translations +const _ = Documentation.gettext; + +_ready(Documentation.init); diff --git a/docs/build/html/_static/documentation_options.js b/docs/build/html/_static/documentation_options.js new file mode 100644 index 0000000..d18fea0 --- /dev/null +++ b/docs/build/html/_static/documentation_options.js @@ -0,0 +1,14 @@ +var DOCUMENTATION_OPTIONS = { + URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), + VERSION: '0.0.4', + LANGUAGE: 'en', + COLLAPSE_INDEX: false, + BUILDER: 'html', + FILE_SUFFIX: '.html', + LINK_SUFFIX: '.html', + HAS_SOURCE: true, + SOURCELINK_SUFFIX: '.txt', + NAVIGATION_WITH_KEYS: false, + SHOW_SEARCH_SUMMARY: true, + ENABLE_SEARCH_SHORTCUTS: true, +}; \ No newline at end of file diff --git a/docs/build/html/_static/file.png b/docs/build/html/_static/file.png new file mode 100644 index 0000000000000000000000000000000000000000..a858a410e4faa62ce324d814e4b816fff83a6fb3 GIT binary patch literal 286 zcmV+(0pb3MP)s`hMrGg#P~ix$^RISR_I47Y|r1 z_CyJOe}D1){SET-^Amu_i71Lt6eYfZjRyw@I6OQAIXXHDfiX^GbOlHe=Ae4>0m)d(f|Me07*qoM6N<$f}vM^LjV8( literal 0 HcmV?d00001 diff --git a/docs/build/html/_static/jquery-3.6.0.js b/docs/build/html/_static/jquery-3.6.0.js new file mode 100644 index 0000000..fc6c299 --- /dev/null +++ b/docs/build/html/_static/jquery-3.6.0.js @@ -0,0 +1,10881 @@ +/*! + * jQuery JavaScript Library v3.6.0 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright OpenJS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2021-03-02T17:08Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + // Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5 + // Plus for old WebKit, typeof returns "function" for HTML collections + // (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756) + return typeof obj === "function" && typeof obj.nodeType !== "number" && + typeof obj.item !== "function"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.6.0", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), + function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); + } ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.3.6 + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://js.foundation/ + * + * Date: 2021-02-16 + */ +( function( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem && elem.namespaceURI, + docElem = elem && ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +} +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the primary Deferred + primary = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + primary.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( primary.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return primary.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), primary.reject ); + } + + return primary.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + + // Support: Chrome 86+ + // In Chrome, if an element having a focusout handler is blurred by + // clicking outside of it, it invokes the handler synchronously. If + // that handler calls `.remove()` on the element, the data is cleared, + // leaving `result` undefined. We need to guard against this. + return result && result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + which: true +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + // Suppress native focus or blur as it's already being fired + // in leverageNative. + _default: function() { + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + // + // Support: Firefox 70+ + // Only Firefox includes border widths + // in computed dimensions. (gh-4529) + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate"; + tr.style.cssText = "border:1px solid"; + + // Support: Chrome 86+ + // Height set through cssText does not get applied. + // Computed height then comes back as 0. + tr.style.height = "1px"; + trChild.style.height = "9px"; + + // Support: Android 8 Chrome 86+ + // In our bodyBackground.html iframe, + // display for all div elements is set to "inline", + // which causes a problem only in Android 8 Chrome 86. + // Ensuring the div is display: block + // gets around this issue. + trChild.style.display = "block"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) + + parseInt( trStyle.borderTopWidth, 10 ) + + parseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( dataPriv.get( cur, "events" ) || Object.create( null ) )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml, parserErrorElem; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) {} + + parserErrorElem = xml && xml.getElementsByTagName( "parsererror" )[ 0 ]; + if ( !xml || parserErrorElem ) { + jQuery.error( "Invalid XML: " + ( + parserErrorElem ? + jQuery.map( parserErrorElem.childNodes, function( el ) { + return el.textContent; + } ).join( "\n" ) : + data + ) ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ).filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ).map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + +originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script but not if jsonp + if ( !isSuccess && + jQuery.inArray( "script", s.dataTypes ) > -1 && + jQuery.inArray( "json", s.dataTypes ) < 0 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( " + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

Inpost

+
+
+class inpost.api.Inpost[source]
+
+
+__init__()[source]
+

Constructor method

+
+ +
+
+async check_compartment_status(expected_status: CompartmentExpectedStatus = CompartmentExpectedStatus.OPENED) bool[source]
+

Checks and compare compartment status (e.g. opened, closed) with expected status

+
+
Parameters:
+

expected_status (CompartmentExpectedStatus) – Compartment expected status

+
+
Returns:
+

True if actual status equals expected status else False

+
+
Return type:
+

bool

+
+
Raises:
+
    +
  • NotAuthenticatedError – User not authenticated in inpost service

  • +
  • UnauthorizedError – Unauthorized access to inpost services,

  • +
  • NotFoundError – Phone number not found

  • +
  • UnidentifiedAPIError – Unexpected thing happened

  • +
+
+
+
+ +
+
+async close_compartment() bool[source]
+

Checks whether actual compartment status and expected one matches then notifies inpost api that compartment is closed

+
+
Returns:
+

True if compartment status is closed and successfully terminates user’s session else False

+
+
Return type:
+

bool

+
+
+
+ +
+
+async collect(shipment_number: Optional[str] = None, parcel_obj: Optional[Parcel] = None, location: Optional[dict] = None) bool[source]
+

Simplified method to open compartment

+
+
Parameters:
+
    +
  • shipment_number (int | str | None) – Parcel’s shipment number

  • +
  • parcel_obj (Parcel | None) – Parcel object to obtain data from

  • +
  • location (dict | None) – Fetched parcels have to be picked from this pickup point (e.g. GXO05M)

  • +
+
+
Returns:
+

fetched parcels data

+
+
Return type:
+

bool

+
+
Raises:
+
    +
  • SingleParamError – Fields shipment_number and parcel_obj filled in but only one of them is required

  • +
  • NotAuthenticatedError – User not authenticated in inpost service

  • +
  • UnauthorizedError – Unauthorized access to inpost services,

  • +
  • NotFoundError – Phone number not found

  • +
  • UnidentifiedAPIError – Unexpected thing happened

  • +
+
+
+
+

Warning

+

you must fill in only one parameter - shipment_number or parcel_obj!

+
+
+ +
+
+async collect_compartment_properties(shipment_number: Optional[Union[str, int]] = None, parcel_obj: Optional[Parcel] = None, location: Optional[dict] = None) bool[source]
+

Validates sent data and fetches required compartment properties for opening

+
+
Parameters:
+
    +
  • shipment_number (int | str | None) – Parcel’s shipment number

  • +
  • parcel_obj (Parcel | None) – Parcel object to obtain data from

  • +
  • location (dict | None) – Fetched parcels have to be picked from this pickup point (e.g. GXO05M)

  • +
+
+
Returns:
+

fetched parcels data

+
+
Return type:
+

bool

+
+
Raises:
+
    +
  • SingleParamError – Fields shipment_number and parcel_obj filled in but only one of them is required

  • +
  • NotAuthenticatedError – User not authenticated in inpost service

  • +
  • UnauthorizedError – Unauthorized access to inpost services,

  • +
  • NotFoundError – Phone number not found

  • +
  • UnidentifiedAPIError – Unexpected thing happened

  • +
+
+
+
+

Warning

+

you must fill in only one parameter - shipment_number or parcel_obj!

+
+
+ +
+
+async confirm_sms_code(sms_code: str | int) bool[source]
+

Confirms sms code sent to Inpost.phone_number and fetches tokens

+
+
Parameters:
+

sms_code (str | int) – sms code sent to Inpost.phone_number device

+
+
Returns:
+

True if sms code gets confirmed and tokens fetched

+
+
Return type:
+

bool

+
+
Raises:
+
    +
  • SmsCodeError – Wrong sms code format

  • +
  • UnauthorizedError – Unauthorized access to inpost services,

  • +
  • NotFoundError – Phone number not found

  • +
  • UnidentifiedAPIError – Unexpected thing happened

  • +
+
+
+
+ +
+
+async disconnect() bool[source]
+

Simplified method to logout and close user’s session

+
+
Returns:
+

True if user is logged out and session is closed else False

+
+
Raises:
+

NotAuthenticatedError – User not authenticated in inpost service

+
+
+
+ +
+
+async classmethod from_phone_number(phone_number: str | int)[source]
+

Classmethod to initialize Inpost object with phone number

+
+
Parameters:
+

phone_number (str | int) – User’s Inpost phone number

+
+
+
+ +
+
+async get_parcel(shipment_number: int | str, parse=False) dict | inpost.static.parcels.Parcel[source]
+

Fetches single parcel from provided shipment number

+
+
Parameters:
+
    +
  • shipment_number (int | str) – Parcel’s shipment number

  • +
  • parse (bool) – if set to True method will return Parcel else dict

  • +
+
+
Returns:
+

Fetched parcel data

+
+
Return type:
+

dict | Parcel

+
+
Raises:
+
    +
  • NotAuthenticatedError – User not authenticated in inpost service

  • +
  • UnauthorizedError – Unauthorized access to inpost services,

  • +
  • NotFoundError – Phone number not found

  • +
  • UnidentifiedAPIError – Unexpected thing happened

  • +
+
+
+
+ +
+
+async get_parcels(parcel_type: ParcelType = ParcelType.TRACKED, status: Optional[Union[ParcelStatus, List[ParcelStatus]]] = None, pickup_point: Optional[Union[str, List[str]]] = None, shipment_type: Optional[Union[ParcelShipmentType, List[ParcelShipmentType]]] = None, parcel_size: Optional[Union[ParcelLockerSize, ParcelCarrierSize]] = None, parse: bool = False) Union[List[dict], List[Parcel]][source]
+

Fetches all available parcels for set Inpost.phone_number and optionally filters them

+
+
Parameters:
+
    +
  • parcel_type (ParcelType) – Parcel type (e.g. received, sent, returned)

  • +
  • status (ParcelStatus | list[ParcelStatus] | None) – status that each fetched parcels has to be in

  • +
  • pickup_point (str | list[str] | None) – Fetched parcels have to be picked from this pickup point (e.g. GXO05M)

  • +
  • shipment_type (ParcelShipmentType | list[ParcelShipmentType] | None) – Fetched parcels have to be shipped that way

  • +
  • parcel_size (ParcelLockerSize | ParcelCarrierSize | None) – Fetched parcels have to be this size

  • +
  • parse (bool) – if set to True method will return list[Parcel] else list[dict]

  • +
+
+
Returns:
+

fetched parcels data

+
+
Return type:
+

list[dict] | list[Parcel]

+
+
Raises:
+
    +
  • NotAuthenticatedError – User not authenticated in inpost service

  • +
  • ParcelTypeError – Unknown parcel type selected

  • +
  • UnauthorizedError – Unauthorized access to inpost services,

  • +
  • NotFoundError – Phone number not found

  • +
  • UnidentifiedAPIError – Unexpected thing happened

  • +
+
+
+
+ +
+
+async get_prices() dict[source]
+

Fetches prices for inpost services

+
+
Returns:
+

dict of prices for inpost services

+
+
Return type:
+

dict

+
+
Raises:
+
    +
  • NotAuthenticatedError – User not authenticated in inpost service

  • +
  • UnauthorizedError – Unauthorized access to inpost services,

  • +
  • NotFoundError – Phone number not found

  • +
  • UnidentifiedAPIError – Unexpected thing happened

  • +
+
+
+
+ +
+
+async logout() bool[source]
+

Logouts user from inpost api service

+
+
Returns:
+

True if the user is logged out

+
+
Return type:
+

bool

+
+
Raises:
+
    +
  • NotAuthenticatedError – User not authenticated in inpost service

  • +
  • UnauthorizedError – Unauthorized access to inpost services,

  • +
  • NotFoundError – Phone number not found

  • +
  • UnidentifiedAPIError – Unexpected thing happened

  • +
+
+
+
+ +
+
+async open_compartment() bool[source]
+

Opens compartment for Inpost.parcel object

+
+
Returns:
+

True if compartment gets opened

+
+
Return type:
+

bool

+
+
Raises:
+
    +
  • NotAuthenticatedError – User not authenticated in inpost service

  • +
  • UnauthorizedError – Unauthorized access to inpost services,

  • +
  • NotFoundError – Phone number not found

  • +
  • UnidentifiedAPIError – Unexpected thing happened

  • +
+
+
+
+ +
+
+async refresh_token() bool[source]
+

Refreshes authorization token using refresh token

+
+
Returns:
+

True if Inpost.auth_token gets refreshed

+
+
Return type:
+

bool

+
+
Raises:
+
    +
  • RefreshTokenError – Missing refresh token

  • +
  • UnauthorizedError – Unauthorized access to inpost services,

  • +
  • NotFoundError – Phone number not found

  • +
  • UnidentifiedAPIError – Unexpected thing happened

  • +
+
+
+
+ +
+
+async send_sms_code() bool[source]
+

Sends sms code to Inpost.phone_number

+
+
Returns:
+

True if sms code sent

+
+
Return type:
+

bool

+
+
Raises:
+
    +
  • PhoneNumberError – Missing phone number

  • +
  • UnauthorizedError – Unauthorized access to inpost services,

  • +
  • NotFoundError – Phone number not found

  • +
  • UnidentifiedAPIError – Unexpected things happened

  • +
+
+
+
+ +
+
+async set_phone_number(phone_number: str | int) bool[source]
+

Set Inpost phone number required for verification

+
+
Parameters:
+

phone_number (str | int) – User’s Inpost phone number

+
+
Returns:
+

True if Inpost.phone_number is set

+
+
Return type:
+

bool

+
+
Raises:
+

PhoneNumberError – Wrong phone number format

+
+
+
+ +
+
+async terminate_collect_session() bool[source]
+

Terminates user session in inpost api service

+
+
Returns:
+

True if the user session is terminated

+
+
Return type:
+

bool

+
+
Raises:
+
    +
  • NotAuthenticatedError – User not authenticated in inpost service

  • +
  • UnauthorizedError – Unauthorized access to inpost services,

  • +
  • NotFoundError – Phone number not found

  • +
  • UnidentifiedAPIError – Unexpected thing happened

  • +
+
+
+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/build/html/exceptions.html b/docs/build/html/exceptions.html new file mode 100644 index 0000000..1313aa0 --- /dev/null +++ b/docs/build/html/exceptions.html @@ -0,0 +1,163 @@ + + + + + + + + + Exceptions — inpost-python 0.0.4 documentation + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

Exceptions

+

Exceptions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

BaseInpostError(reason)

Base exception to inherit from

NoParcelError(reason)

Is raised when no parcel is set in Parcel

NotAuthenticatedError(reason)

Is raised when Inpost.auth_token is missing

NotFoundError(reason)

Is raised when method from Inpost returns 404 Not Found HTTP status code

ParcelTypeError(reason)

Is raised when expected ParcelType does not match with actual one

PhoneNumberError(reason)

Is raised when Inpost.phone_number is invalid or unexpected error connected with phone number occurs

ReAuthenticationError(reason)

Is raised when Inpost.auth_token has expired

RefreshTokenError(reason)

Is raised when Inpost.refr_token is invalid or unexpected error connected with refresh token occurs

SingleParamError(reason)

Is raised when only one param must be filled in but got more

SmsCodeError(reason)

Is raised when Inpost.sms_code is invalid or unexpected sms_code occurs

UnauthorizedError(reason)

Is raised when method from Inpost returns 401 Unauthorized HTTP status code

UnidentifiedAPIError(reason)

Is raised when no other API error match

UnidentifiedError(reason)

Is raised when no other error match

UnidentifiedParcelError(reason)

Is raised when no other Parcel error match

UserLocationError(reason)

+
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/build/html/genindex.html b/docs/build/html/genindex.html new file mode 100644 index 0000000..4ea0fd4 --- /dev/null +++ b/docs/build/html/genindex.html @@ -0,0 +1,357 @@ + + + + + + + + Index — inpost-python 0.0.4 documentation + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ + +

Index

+ +
+ _ + | C + | D + | E + | F + | G + | I + | L + | M + | O + | P + | Q + | R + | S + | T + +
+

_

+ + +
+ +

C

+ + + +
+ +

D

+ + +
+ +

E

+ + +
+ +

F

+ + +
+ +

G

+ + + +
+ +

I

+ + + +
    +
  • + inpost.static.exceptions + +
  • +
+ +

L

+ + + +
+ +

M

+ + + +
+ +

O

+ + + +
+ +

P

+ + + +
+ +

Q

+ + + +
+ +

R

+ + + +
+ +

S

+ + + +
+ +

T

+ + +
+ + + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/build/html/index.html b/docs/build/html/index.html new file mode 100644 index 0000000..7d50870 --- /dev/null +++ b/docs/build/html/index.html @@ -0,0 +1,263 @@ + + + + + + + + + Welcome to inpost-python’s documentation! — inpost-python 0.0.4 documentation + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

Welcome to inpost-python’s documentation!

+
+

Note

+

This project is under active development.

+
+
from inpost.api import Inpost
+
+inp = await Inpost.from_phone_number('555333444')
+await inp.send_sms_code():
+...
+if await inp.confirm_sms_code(123321):
+   print('Congratulations, you initialized successfully!')
+
+
+
+ +
+
+ +
+
+
+

Indices and tables

+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/build/html/objects.inv b/docs/build/html/objects.inv new file mode 100644 index 0000000000000000000000000000000000000000..9cd3ac9348a665ef12b511e3007e414854984ec2 GIT binary patch literal 876 zcmV-y1C#tCAX9K?X>NERX>N99Zgg*Qc_4OWa&u{KZXhxWBOp+6Z)#;@bUGkuZg6jN zbS-dsbZBpG3L_v^WpZ8b#rNMXCQiPX<{x4c-pmB!EW0y488j+JZ#ql-L==ChXE^=wHtO6 zT#1c^*pg?-MRVJ4?DzI1qb)0;6Qz;d_GVM>J<=j2(o!|r*k#ek<(J_xZ+6$bDvZfL z=e@PGb@lO6zR2V;a>%lE}KM zfX|^!qHbEIZ03$Q!^9Em{uM zJeEnOwUVdpXr(v0OWG04o0?lZEj+ehN@n#IR0`3660@>y`dyisJ_~IvRbl(H;wspH zF;ZWSyg!qYFX5R(W0BxeqD5Chew820j_4K^r~I)BmaD^Vf7QIOV+j752`rzB=mo{_ zb@V#z_2iTX;ynOnsa}lvwfYs=?)T6i3yO7}6z}Hav_Z^Lzj+#pU_(>sZL!>N!eUi! zyUNPd^y=}E9IvHng(FK<{f2v4>`%Op?O=`PhvSJ?TJQUgkHT5vcwz5J3bfk?kI`(k zp#zD+7H=bWW)z`%Qe34d22Na3bQ@58nt}apnXHQq%$KS)--3991dMH8%!)m4&=cRIEtY%6|A|UydNWpB3(fPz`3Y;vB$HH_d(_8~z3w<0&H`QsKD1uVjLl)F5KU zS|bQjDgC;y2#TP&L=2AlblFe-x%*$p$hc2XN7H_OvwzRnVw>ozPyJ&V;jOyQ?za~d`*C%gC&4&zsH3A-+-NG+8$y@iU;(Ysm zQR3Yng#qlcYBHj7L4G~NH}zrwWy&eh*&OHIt*`N}%R1BFcqE>|;BY_t$Lv2$k5d)Q C7PIyM literal 0 HcmV?d00001 diff --git a/docs/build/html/parcels.html b/docs/build/html/parcels.html new file mode 100644 index 0000000..7890ec7 --- /dev/null +++ b/docs/build/html/parcels.html @@ -0,0 +1,222 @@ + + + + + + + + + Parcels — inpost-python 0.0.4 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/build/html/py-modindex.html b/docs/build/html/py-modindex.html new file mode 100644 index 0000000..b2ced83 --- /dev/null +++ b/docs/build/html/py-modindex.html @@ -0,0 +1,130 @@ + + + + + + + + Python Module Index — inpost-python 0.0.4 documentation + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ + +

Python Module Index

+ +
+ i +
+ + + + + + + + + + +
 
+ i
+ inpost +
    + inpost.static.exceptions +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/build/html/search.html b/docs/build/html/search.html new file mode 100644 index 0000000..83f8e22 --- /dev/null +++ b/docs/build/html/search.html @@ -0,0 +1,129 @@ + + + + + + + + Search — inpost-python 0.0.4 documentation + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +

Search

+ + + + +

+ Searching for multiple words only shows matches that contain + all words. +

+ + +
+ + + +
+ + + +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/build/html/searchindex.js b/docs/build/html/searchindex.js new file mode 100644 index 0000000..b668d22 --- /dev/null +++ b/docs/build/html/searchindex.js @@ -0,0 +1 @@ +Search.setIndex({"docnames": ["CompartmentLocation", "CompartmentProperties", "EventLog", "MultiCompartment", "Operations", "Parcel", "PickupPoint", "QRCode", "Receiver", "Sender", "SharedTo", "api", "exceptions", "index", "parcels", "usage"], "filenames": ["CompartmentLocation.rst", "CompartmentProperties.rst", "EventLog.rst", "MultiCompartment.rst", "Operations.rst", "Parcel.rst", "PickupPoint.rst", "QRCode.rst", "Receiver.rst", "Sender.rst", "SharedTo.rst", "api.rst", "exceptions.rst", "index.rst", "parcels.rst", "usage.rst"], "titles": ["CompartmentLocation", "CompartmentProperties", "EventLog", "MultiCompartment", "Operations", "Parcel", "PickupPoint", "QRCode", "Receiver", "Sender", "SharedTo", "Inpost", "Exceptions", "Welcome to inpost-python\u2019s documentation!", "Parcels", "Usage"], "terms": {"class": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "inpost": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15], "static": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "parcel": [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 13], "sourc": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "__init__": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14], "compartmentlocation_data": 0, "dict": [0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11], "logger": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "constructor": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "method": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "compartmentproperties_data": 1, "session_uuid": [1, 13, 14], "return": [1, 5, 6, 7, 11], "session": [1, 11], "uniqu": 1, "identifi": 1, "string": 1, "contain": [1, 5, 6], "type": [1, 5, 6, 7, 11], "str": [1, 5, 7, 11], "locat": [1, 5, 6, 11, 13, 14], "compart": [1, 5, 11], "statu": [1, 5, 11, 13, 14], "compartmentactualstatu": [1, 5], "eventlog_data": 2, "multicompartment_data": 3, "operations_data": 4, "parcel_data": 5, "open_cod": [5, 13, 14], "an": 5, "open": [5, 11], "code": [5, 7, 11], "generate_qr_imag": [5, 13, 14], "qr": [5, 7], "imag": [5, 7], "bytesio": [5, 7], "compartment_properti": [5, 13, 14], "properti": [5, 11], "compartmentproperti": [5, 13, 14], "compartment_loc": [5, 13, 14], "compartmentloc": [5, 13, 14], "compartment_statu": [5, 13, 14], "compartment_open_data": [5, 13, 14], "data": [5, 11], "mocked_loc": [5, 13, 14], "mock": [5, 6], "pickuppoint_data": 6, "tupl": 6, "qrcode_data": 7, "qr_imag": [7, 13, 14], "gener": 7, "receiver_data": 8, "sender_data": 9, "sharedto_data": 10, "api": [11, 13], "async": 11, "check_compartment_statu": [11, 13], "expected_statu": 11, "compartmentexpectedstatu": 11, "bool": 11, "check": 11, "compar": 11, "e": 11, "g": 11, "close": 11, "expect": 11, "paramet": 11, "true": 11, "actual": 11, "equal": 11, "els": 11, "fals": 11, "rais": 11, "notauthenticatederror": 11, "user": 11, "authent": 11, "servic": 11, "unauthorizederror": 11, "unauthor": 11, "access": 11, "notfounderror": 11, "phone": 11, "number": 11, "found": 11, "unidentifiedapierror": 11, "unexpect": 11, "thing": 11, "happen": 11, "close_compart": [11, 13], "whether": 11, "one": 11, "match": 11, "notifi": 11, "i": [11, 13], "successfulli": [11, 13], "termin": 11, "": 11, "collect": [11, 13], "shipment_numb": 11, "option": 11, "none": 11, "parcel_obj": 11, "simplifi": 11, "int": 11, "shipment": 11, "object": 11, "obtain": 11, "from": [11, 13], "fetch": 11, "have": 11, "pick": 11, "thi": [11, 13], "pickup": 11, "point": 11, "gxo05m": 11, "singleparamerror": 11, "field": 11, "fill": 11, "onli": 11, "them": 11, "requir": 11, "you": [11, 13], "must": 11, "collect_compartment_properti": [11, 13], "union": 11, "valid": 11, "sent": 11, "confirm_sms_cod": [11, 13], "sms_code": 11, "confirm": 11, "sm": 11, "phone_numb": 11, "token": 11, "devic": 11, "get": 11, "smscodeerror": 11, "wrong": 11, "format": 11, "disconnect": [11, 13], "logout": [11, 13], "log": 11, "out": 11, "classmethod": 11, "from_phone_numb": [11, 13], "initi": [11, 13], "get_parcel": [11, 13], "pars": 11, "singl": 11, "provid": 11, "set": 11, "parcel_typ": 11, "parceltyp": 11, "track": 11, "parcelstatu": 11, "list": 11, "pickup_point": 11, "shipment_typ": 11, "parcelshipmenttyp": 11, "parcel_s": 11, "parcellockers": 11, "parcelcarriers": 11, "all": 11, "avail": 11, "filter": 11, "receiv": [11, 13, 14], "each": 11, "ha": 11, "ship": 11, "wai": 11, "size": 11, "parceltypeerror": 11, "unknown": 11, "select": 11, "get_pric": [11, 13], "price": 11, "open_compart": [11, 13], "refresh_token": [11, 13], "refresh": 11, "author": 11, "us": [11, 15], "auth_token": 11, "refreshtokenerror": 11, "miss": 11, "send_sms_cod": [11, 13], "send": 11, "phonenumbererror": 11, "set_phone_numb": [11, 13], "verif": 11, "terminate_collect_sess": [11, 13], "project": 13, "under": 13, "activ": 13, "develop": 13, "import": 13, "inp": 13, "await": 13, "555333444": 13, "123321": 13, "print": 13, "congratul": 13, "usag": 13, "instal": 13, "sender": [13, 14], "pickuppoint": [13, 14], "multicompart": [13, 14], "oper": [13, 14], "eventlog": [13, 14], "sharedto": [13, 14], "qrcode": [13, 14], "except": 13, "index": 13, "modul": 13, "search": 13, "page": 13, "To": 15, "python": 15, "first": 15, "pip": 15}, "objects": {"inpost.api": [[11, 0, 1, "", "Inpost"]], "inpost.api.Inpost": [[11, 1, 1, "", "__init__"], [11, 1, 1, "", "check_compartment_status"], [11, 1, 1, "", "close_compartment"], [11, 1, 1, "", "collect"], [11, 1, 1, "", "collect_compartment_properties"], [11, 1, 1, "", "confirm_sms_code"], [11, 1, 1, "", "disconnect"], [11, 1, 1, "", "from_phone_number"], [11, 1, 1, "", "get_parcel"], [11, 1, 1, "", "get_parcels"], [11, 1, 1, "", "get_prices"], [11, 1, 1, "", "logout"], [11, 1, 1, "", "open_compartment"], [11, 1, 1, "", "refresh_token"], [11, 1, 1, "", "send_sms_code"], [11, 1, 1, "", "set_phone_number"], [11, 1, 1, "", "terminate_collect_session"]], "inpost.static": [[12, 2, 0, "-", "exceptions"]], "inpost.static.parcels": [[0, 0, 1, "", "CompartmentLocation"], [1, 0, 1, "", "CompartmentProperties"], [2, 0, 1, "", "EventLog"], [3, 0, 1, "", "MultiCompartment"], [4, 0, 1, "", "Operations"], [5, 0, 1, "", "Parcel"], [6, 0, 1, "", "PickupPoint"], [7, 0, 1, "", "QRCode"], [8, 0, 1, "", "Receiver"], [9, 0, 1, "", "Sender"], [10, 0, 1, "", "SharedTo"]], "inpost.static.parcels.CompartmentLocation": [[0, 1, 1, "", "__init__"]], "inpost.static.parcels.CompartmentProperties": [[1, 1, 1, "", "__init__"], [1, 1, 1, "", "location"], [1, 1, 1, "", "session_uuid"], [1, 1, 1, "", "status"]], "inpost.static.parcels.EventLog": [[2, 1, 1, "", "__init__"]], "inpost.static.parcels.MultiCompartment": [[3, 1, 1, "", "__init__"]], "inpost.static.parcels.Operations": [[4, 1, 1, "", "__init__"]], "inpost.static.parcels.Parcel": [[5, 1, 1, "", "__init__"], [5, 1, 1, "", "compartment_location"], [5, 1, 1, "", "compartment_open_data"], [5, 1, 1, "id0", "compartment_properties"], [5, 1, 1, "", "compartment_status"], [5, 1, 1, "", "generate_qr_image"], [5, 1, 1, "", "mocked_location"], [5, 1, 1, "", "open_code"]], "inpost.static.parcels.PickupPoint": [[6, 1, 1, "", "__init__"], [6, 1, 1, "", "location"]], "inpost.static.parcels.QRCode": [[7, 1, 1, "", "__init__"], [7, 1, 1, "", "qr_image"]], "inpost.static.parcels.Receiver": [[8, 1, 1, "", "__init__"]], "inpost.static.parcels.Sender": [[9, 1, 1, "", "__init__"]], "inpost.static.parcels.SharedTo": [[10, 1, 1, "", "__init__"]]}, "objtypes": {"0": "py:class", "1": "py:method", "2": "py:module"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "method", "Python method"], "2": ["py", "module", "Python module"]}, "titleterms": {"compartmentloc": 0, "compartmentproperti": 1, "eventlog": 2, "multicompart": 3, "oper": 4, "parcel": [5, 14], "pickuppoint": 6, "qrcode": 7, "receiv": 8, "sender": 9, "sharedto": 10, "inpost": [11, 13], "except": 12, "welcom": 13, "python": 13, "": 13, "document": 13, "indic": 13, "tabl": 13, "usag": 15, "instal": 15}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 8, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1, "sphinx": 57}, "alltitles": {"Usage": [[15, "usage"]], "Installation": [[15, "installation"]], "Inpost": [[11, "inpost"]], "Parcels": [[14, "parcels"]], "EventLog": [[2, "eventlog"]], "MultiCompartment": [[3, "multicompartment"]], "Operations": [[4, "operations"]], "Parcel": [[5, "parcel"]], "PickupPoint": [[6, "pickuppoint"]], "QRCode": [[7, "qrcode"]], "Receiver": [[8, "receiver"]], "Sender": [[9, "sender"]], "SharedTo": [[10, "sharedto"]], "CompartmentLocation": [[0, "compartmentlocation"]], "CompartmentProperties": [[1, "compartmentproperties"]], "Exceptions": [[12, "module-inpost.static.exceptions"]], "Welcome to inpost-python\u2019s documentation!": [[13, "welcome-to-inpost-python-s-documentation"]], "Indices and tables": [[13, "indices-and-tables"]]}, "indexentries": {"compartmentlocation (class in inpost.static.parcels)": [[0, "inpost.static.parcels.CompartmentLocation"]], "__init__() (inpost.static.parcels.compartmentlocation method)": [[0, "inpost.static.parcels.CompartmentLocation.__init__"]], "compartmentproperties (class in inpost.static.parcels)": [[1, "inpost.static.parcels.CompartmentProperties"]], "__init__() (inpost.static.parcels.compartmentproperties method)": [[1, "inpost.static.parcels.CompartmentProperties.__init__"]], "location() (inpost.static.parcels.compartmentproperties method)": [[1, "inpost.static.parcels.CompartmentProperties.location"]], "session_uuid() (inpost.static.parcels.compartmentproperties method)": [[1, "inpost.static.parcels.CompartmentProperties.session_uuid"]], "status() (inpost.static.parcels.compartmentproperties method)": [[1, "inpost.static.parcels.CompartmentProperties.status"]], "eventlog (class in inpost.static.parcels)": [[2, "inpost.static.parcels.EventLog"]], "__init__() (inpost.static.parcels.eventlog method)": [[2, "inpost.static.parcels.EventLog.__init__"]], "multicompartment (class in inpost.static.parcels)": [[3, "inpost.static.parcels.MultiCompartment"]], "__init__() (inpost.static.parcels.multicompartment method)": [[3, "inpost.static.parcels.MultiCompartment.__init__"]], "operations (class in inpost.static.parcels)": [[4, "inpost.static.parcels.Operations"]], "__init__() (inpost.static.parcels.operations method)": [[4, "inpost.static.parcels.Operations.__init__"]], "parcel (class in inpost.static.parcels)": [[5, "inpost.static.parcels.Parcel"]], "__init__() (inpost.static.parcels.parcel method)": [[5, "inpost.static.parcels.Parcel.__init__"]], "compartment_location() (inpost.static.parcels.parcel method)": [[5, "inpost.static.parcels.Parcel.compartment_location"]], "compartment_open_data() (inpost.static.parcels.parcel method)": [[5, "inpost.static.parcels.Parcel.compartment_open_data"]], "compartment_properties() (inpost.static.parcels.parcel method)": [[5, "id0"], [5, "inpost.static.parcels.Parcel.compartment_properties"]], "compartment_status() (inpost.static.parcels.parcel method)": [[5, "inpost.static.parcels.Parcel.compartment_status"]], "generate_qr_image() (inpost.static.parcels.parcel method)": [[5, "inpost.static.parcels.Parcel.generate_qr_image"]], "mocked_location() (inpost.static.parcels.parcel method)": [[5, "inpost.static.parcels.Parcel.mocked_location"]], "open_code() (inpost.static.parcels.parcel method)": [[5, "inpost.static.parcels.Parcel.open_code"]], "pickuppoint (class in inpost.static.parcels)": [[6, "inpost.static.parcels.PickupPoint"]], "__init__() (inpost.static.parcels.pickuppoint method)": [[6, "inpost.static.parcels.PickupPoint.__init__"]], "location() (inpost.static.parcels.pickuppoint method)": [[6, "inpost.static.parcels.PickupPoint.location"]], "qrcode (class in inpost.static.parcels)": [[7, "inpost.static.parcels.QRCode"]], "__init__() (inpost.static.parcels.qrcode method)": [[7, "inpost.static.parcels.QRCode.__init__"]], "qr_image() (inpost.static.parcels.qrcode method)": [[7, "inpost.static.parcels.QRCode.qr_image"]], "receiver (class in inpost.static.parcels)": [[8, "inpost.static.parcels.Receiver"]], "__init__() (inpost.static.parcels.receiver method)": [[8, "inpost.static.parcels.Receiver.__init__"]], "sender (class in inpost.static.parcels)": [[9, "inpost.static.parcels.Sender"]], "__init__() (inpost.static.parcels.sender method)": [[9, "inpost.static.parcels.Sender.__init__"]], "sharedto (class in inpost.static.parcels)": [[10, "inpost.static.parcels.SharedTo"]], "__init__() (inpost.static.parcels.sharedto method)": [[10, "inpost.static.parcels.SharedTo.__init__"]], "inpost (class in inpost.api)": [[11, "inpost.api.Inpost"]], "__init__() (inpost.api.inpost method)": [[11, "inpost.api.Inpost.__init__"]], "check_compartment_status() (inpost.api.inpost method)": [[11, "inpost.api.Inpost.check_compartment_status"]], "close_compartment() (inpost.api.inpost method)": [[11, "inpost.api.Inpost.close_compartment"]], "collect() (inpost.api.inpost method)": [[11, "inpost.api.Inpost.collect"]], "collect_compartment_properties() (inpost.api.inpost method)": [[11, "inpost.api.Inpost.collect_compartment_properties"]], "confirm_sms_code() (inpost.api.inpost method)": [[11, "inpost.api.Inpost.confirm_sms_code"]], "disconnect() (inpost.api.inpost method)": [[11, "inpost.api.Inpost.disconnect"]], "from_phone_number() (inpost.api.inpost class method)": [[11, "inpost.api.Inpost.from_phone_number"]], "get_parcel() (inpost.api.inpost method)": [[11, "inpost.api.Inpost.get_parcel"]], "get_parcels() (inpost.api.inpost method)": [[11, "inpost.api.Inpost.get_parcels"]], "get_prices() (inpost.api.inpost method)": [[11, "inpost.api.Inpost.get_prices"]], "logout() (inpost.api.inpost method)": [[11, "inpost.api.Inpost.logout"]], "open_compartment() (inpost.api.inpost method)": [[11, "inpost.api.Inpost.open_compartment"]], "refresh_token() (inpost.api.inpost method)": [[11, "inpost.api.Inpost.refresh_token"]], "send_sms_code() (inpost.api.inpost method)": [[11, "inpost.api.Inpost.send_sms_code"]], "set_phone_number() (inpost.api.inpost method)": [[11, "inpost.api.Inpost.set_phone_number"]], "terminate_collect_session() (inpost.api.inpost method)": [[11, "inpost.api.Inpost.terminate_collect_session"]], "inpost.static.exceptions": [[12, "module-inpost.static.exceptions"]], "module": [[12, "module-inpost.static.exceptions"]]}}) \ No newline at end of file diff --git a/docs/build/html/usage.html b/docs/build/html/usage.html new file mode 100644 index 0000000..9fd64f9 --- /dev/null +++ b/docs/build/html/usage.html @@ -0,0 +1,125 @@ + + + + + + + + + Usage — inpost-python 0.0.4 documentation + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

Usage

+
+

Installation

+

To use inpost-python, first install it using pip:

+
$ pip install inpost
+
+
+
+
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/make.bat b/docs/make.bat new file mode 100644 index 0000000..dc1312a --- /dev/null +++ b/docs/make.bat @@ -0,0 +1,35 @@ +@ECHO OFF + +pushd %~dp0 + +REM Command file for Sphinx documentation + +if "%SPHINXBUILD%" == "" ( + set SPHINXBUILD=sphinx-build +) +set SOURCEDIR=source +set BUILDDIR=build + +%SPHINXBUILD% >NUL 2>NUL +if errorlevel 9009 ( + echo. + echo.The 'sphinx-build' command was not found. Make sure you have Sphinx + echo.installed, then set the SPHINXBUILD environment variable to point + echo.to the full path of the 'sphinx-build' executable. Alternatively you + echo.may add the Sphinx directory to PATH. + echo. + echo.If you don't have Sphinx installed, grab it from + echo.https://www.sphinx-doc.org/ + exit /b 1 +) + +if "%1" == "" goto help + +%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% +goto end + +:help +%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% + +:end +popd diff --git a/docs/source/CompartmentLocation.rst b/docs/source/CompartmentLocation.rst new file mode 100644 index 0000000..58a1531 --- /dev/null +++ b/docs/source/CompartmentLocation.rst @@ -0,0 +1,9 @@ +CompartmentLocation +==================== + +.. currentmodule:: inpost.static.parcels + +.. class:: CompartmentLocation + + .. automethod:: __init__ + diff --git a/docs/source/CompartmentProperties.rst b/docs/source/CompartmentProperties.rst new file mode 100644 index 0000000..641a46e --- /dev/null +++ b/docs/source/CompartmentProperties.rst @@ -0,0 +1,12 @@ +CompartmentProperties +====================== + +.. currentmodule:: inpost.static.parcels + +.. class:: CompartmentProperties + + .. automethod:: __init__ + .. automethod:: session_uuid + .. automethod:: location + .. automethod:: status + diff --git a/docs/source/EventLog.rst b/docs/source/EventLog.rst new file mode 100644 index 0000000..121413c --- /dev/null +++ b/docs/source/EventLog.rst @@ -0,0 +1,9 @@ +EventLog +================= + +.. currentmodule:: inpost.static.parcels + +.. class:: EventLog + + .. automethod:: __init__ + diff --git a/docs/source/MultiCompartment.rst b/docs/source/MultiCompartment.rst new file mode 100644 index 0000000..ef17eb8 --- /dev/null +++ b/docs/source/MultiCompartment.rst @@ -0,0 +1,9 @@ +MultiCompartment +================= + +.. currentmodule:: inpost.static.parcels + +.. class:: MultiCompartment + + .. automethod:: __init__ + diff --git a/docs/source/Operations.rst b/docs/source/Operations.rst new file mode 100644 index 0000000..845ba54 --- /dev/null +++ b/docs/source/Operations.rst @@ -0,0 +1,9 @@ +Operations +============ + +.. currentmodule:: inpost.static.parcels + +.. class:: Operations + + .. automethod:: __init__ + diff --git a/docs/source/Parcel.rst b/docs/source/Parcel.rst new file mode 100644 index 0000000..9489894 --- /dev/null +++ b/docs/source/Parcel.rst @@ -0,0 +1,24 @@ +Parcel +======== + +.. currentmodule:: inpost.static.parcels + +.. class:: Parcel + + .. automethod:: __init__ + + .. automethod:: open_code + + .. automethod:: generate_qr_image + + .. automethod:: compartment_properties + + .. automethod:: compartment_properties + + .. automethod:: compartment_location + + .. automethod:: compartment_status + + .. automethod:: compartment_open_data + + .. automethod:: mocked_location diff --git a/docs/source/PickupPoint.rst b/docs/source/PickupPoint.rst new file mode 100644 index 0000000..fd90402 --- /dev/null +++ b/docs/source/PickupPoint.rst @@ -0,0 +1,10 @@ +PickupPoint +============ + +.. currentmodule:: inpost.static.parcels + +.. class:: PickupPoint + + .. automethod:: __init__ + + .. automethod:: location diff --git a/docs/source/QRCode.rst b/docs/source/QRCode.rst new file mode 100644 index 0000000..a8b7396 --- /dev/null +++ b/docs/source/QRCode.rst @@ -0,0 +1,10 @@ +QRCode +================= + +.. currentmodule:: inpost.static.parcels + +.. class:: QRCode + + .. automethod:: __init__ + .. automethod:: qr_image + diff --git a/docs/source/Receiver.rst b/docs/source/Receiver.rst new file mode 100644 index 0000000..ad72b13 --- /dev/null +++ b/docs/source/Receiver.rst @@ -0,0 +1,8 @@ +Receiver +======== + +.. currentmodule:: inpost.static.parcels + +.. class:: Receiver + + .. automethod:: __init__ diff --git a/docs/source/Sender.rst b/docs/source/Sender.rst new file mode 100644 index 0000000..0ca8f63 --- /dev/null +++ b/docs/source/Sender.rst @@ -0,0 +1,8 @@ +Sender +======== + +.. currentmodule:: inpost.static.parcels + +.. class:: Sender + + .. automethod:: __init__ diff --git a/docs/source/SharedTo.rst b/docs/source/SharedTo.rst new file mode 100644 index 0000000..d8c924d --- /dev/null +++ b/docs/source/SharedTo.rst @@ -0,0 +1,9 @@ +SharedTo +================= + +.. currentmodule:: inpost.static.parcels + +.. class:: SharedTo + + .. automethod:: __init__ + diff --git a/docs/source/api.rst b/docs/source/api.rst new file mode 100644 index 0000000..ca9dd3c --- /dev/null +++ b/docs/source/api.rst @@ -0,0 +1,40 @@ +Inpost +======= + +.. currentmodule:: inpost.api + +.. class:: Inpost + + .. automethod:: __init__ + + .. automethod:: check_compartment_status + + .. automethod:: close_compartment + + .. automethod:: collect + + .. automethod:: collect_compartment_properties + + .. automethod:: confirm_sms_code + + .. automethod:: disconnect + + .. automethod:: from_phone_number + + .. automethod:: get_parcel + + .. automethod:: get_parcels + + .. automethod:: get_prices + + .. automethod:: logout + + .. automethod:: open_compartment + + .. automethod:: refresh_token + + .. automethod:: send_sms_code + + .. automethod:: set_phone_number + + .. automethod:: terminate_collect_session \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py new file mode 100644 index 0000000..e200c48 --- /dev/null +++ b/docs/source/conf.py @@ -0,0 +1,37 @@ +# Configuration file for the Sphinx documentation builder. +# +# For the full list of built-in configuration values, see the documentation: +# https://www.sphinx-doc.org/en/master/usage/configuration.html + +# -- Project information ----------------------------------------------------- +# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information + +project = 'inpost-python' +copyright = '2023, Piotr Łoboda' +author = 'Piotr Łoboda' +release = '0.0.4' + +# If extensions (or modules to document with autodoc) are in another directory, +# add these directories to sys.path here. +import pathlib +import sys + +sys.path.insert(0, pathlib.Path(__file__).parents[2].resolve().as_posix()) + +# -- General configuration --------------------------------------------------- +# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration + +extensions = ['sphinx.ext.duration', + 'sphinx.ext.viewcode', + 'sphinx.ext.autodoc', + 'sphinx.ext.autosummary', + ] + +templates_path = ['_templates'] +exclude_patterns = [] + +# -- Options for HTML output ------------------------------------------------- +# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output + +html_theme = 'alabaster' +html_static_path = ['_static'] diff --git a/docs/source/exceptions.rst b/docs/source/exceptions.rst new file mode 100644 index 0000000..a1e26ae --- /dev/null +++ b/docs/source/exceptions.rst @@ -0,0 +1,29 @@ +Exceptions +======================== + +.. automodule:: inpost.static.exceptions + + .. rubric:: Exceptions + + .. autosummary:: + + BaseInpostError + NoParcelError + NotAuthenticatedError + NotFoundError + ParcelTypeError + PhoneNumberError + ReAuthenticationError + RefreshTokenError + SingleParamError + SmsCodeError + UnauthorizedError + UnidentifiedAPIError + UnidentifiedError + UnidentifiedParcelError + UserLocationError + + + + + diff --git a/docs/source/index.rst b/docs/source/index.rst new file mode 100644 index 0000000..3de24e9 --- /dev/null +++ b/docs/source/index.rst @@ -0,0 +1,44 @@ +.. inpost-python documentation master file, created by + sphinx-quickstart on Sun Jan 15 18:32:27 2023. + You can adapt this file completely to your liking, but it should at least + contain the root `toctree` directive. + + +Welcome to inpost-python's documentation! +========================================= + +.. note:: + + This project is under active development. + +.. code-block:: python + + from inpost.api import Inpost + + inp = await Inpost.from_phone_number('555333444') + await inp.send_sms_code(): + ... + if await inp.confirm_sms_code(123321): + print('Congratulations, you initialized successfully!') + + + +.. toctree:: + + usage + +.. toctree:: + + api + + parcels + + exceptions + + +Indices and tables +================== + +* :ref:`genindex` +* :ref:`modindex` +* :ref:`search` diff --git a/docs/source/parcels.rst b/docs/source/parcels.rst new file mode 100644 index 0000000..50d2c82 --- /dev/null +++ b/docs/source/parcels.rst @@ -0,0 +1,25 @@ +Parcels +======= + +.. toctree:: + Parcel + + Receiver + + Sender + + PickupPoint + + MultiCompartment + + Operations + + EventLog + + SharedTo + + QRCode + + CompartmentLocation + + CompartmentProperties diff --git a/docs/source/usage.rst b/docs/source/usage.rst new file mode 100644 index 0000000..35dbdc0 --- /dev/null +++ b/docs/source/usage.rst @@ -0,0 +1,11 @@ +Usage +===== + +Installation +------------ + +To use inpost-python, first install it using pip: + +.. code-block:: console + + $ pip install inpost \ No newline at end of file