Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- tasks/taskrabbit/solution/site/README.md +3 -0
- tasks/taskrabbit/solution/site/implementation/backend/runtime.json +118 -0
- tasks/taskrabbit/solution/site/implementation/clone/app.py +0 -0
- tasks/taskrabbit/solution/site/implementation/clone/backend/__init__.py +13 -0
- tasks/taskrabbit/solution/site/implementation/clone/backend/booking_payments.py +314 -0
- tasks/taskrabbit/solution/site/implementation/clone/backend/db.py +1722 -0
- tasks/taskrabbit/solution/site/implementation/clone/backend/service_booking_catalog.json +0 -0
- tasks/taskrabbit/solution/site/implementation/clone/backend/service_booking_catalog.py +85 -0
- tasks/taskrabbit/solution/site/implementation/clone/backend/task_catalog.json +156 -0
- tasks/taskrabbit/solution/site/implementation/clone/backend/task_catalog.py +63 -0
- tasks/taskrabbit/solution/site/implementation/clone/frontend/__init__.py +0 -0
- tasks/taskrabbit/solution/site/implementation/clone/frontend/phone_regions.json +1480 -0
- tasks/taskrabbit/solution/site/implementation/clone/frontend/service_asset_map.json +0 -0
- tasks/taskrabbit/solution/site/implementation/clone/frontend/service_pages.json +0 -0
- tasks/taskrabbit/solution/site/implementation/clone/frontend/services_catalog.json +919 -0
- tasks/taskrabbit/solution/site/implementation/clone/harbor_entry.py +184 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/app.js +535 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/auth-fidelity.css +555 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/category-assets/README.md +24 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/category-fidelity.css +1102 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/dashboard-fidelity.css +615 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/furniture-detail-fidelity.css +423 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/furniture-p1.css +609 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/home-assets/help-moving-8ff5b956fe8d.webp +3 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/home-assets/promotion-close-lossless.webp +3 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/home-assets/promotion-desktop-tablet.png +3 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/home-assets/promotion-desktop-wide.png +3 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/home-assets/promotion-mobile.png +3 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/home-fidelity.css +1638 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/home-icons/assembly.svg +1 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/home-icons/cleaning.svg +1 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/home-icons/home-repairs.svg +1 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/home-icons/mounting.svg +1 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/home-icons/moving.svg +1 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/home-icons/outdoor-help.svg +1 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/home-icons/painting.svg +1 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/home-icons/selected-blob.svg +1 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/home-icons/trending.svg +1 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/home-icons/unselected-blob.svg +1 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/a9rhae4brmbakfqesxtx-b2d76cd1fd4b.webp +3 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/abn9scc6hp7zgw1yvwlx-7cbc37286d4c.webp +3 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/aco4bjue3lqbrczq6kiu-07309bdb1a3c.webp +3 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/ajvm7mgxfi4xoccfpaaf-f69e954e06c5.webp +3 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/apdrgcjrgiu4s1vlo7gl-77a107e4453f.webp +3 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/aqzow6hr0rwf0f3r4a47-f3bb59aeed72.webp +3 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/asdx8dosliv5a1iskb4c-0e5aa01c60d9.webp +3 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/aspxjtyz1idbblzzjlqb-a71338cdeecd.webp +3 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/avqmcao4jscu3fqj7fqs-3865c3d269c0.webp +3 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/aysurklwqrgsblzv8yg7-95428210103e.webp +3 -0
- tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/azq1uylz9c56mbmk8hee-ae57c71d4e26.webp +3 -0
tasks/taskrabbit/solution/site/README.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Private oracle implementation
|
| 2 |
+
|
| 3 |
+
The implementation is a deterministic projection of the current material clone and is copied only into the privileged oracle solution.
|
tasks/taskrabbit/solution/site/implementation/backend/runtime.json
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"database": {
|
| 3 |
+
"data_dir": "data",
|
| 4 |
+
"engine": "sqlite",
|
| 5 |
+
"filename": "taskrabbit.sqlite3",
|
| 6 |
+
"legacy_unbound_migration": false,
|
| 7 |
+
"migration_hook": "backend.db:apply_migrations",
|
| 8 |
+
"seed_hook": "backend.db:seed",
|
| 9 |
+
"volume_identity": "websitebench-taskrabbit-data"
|
| 10 |
+
},
|
| 11 |
+
"deployment": {
|
| 12 |
+
"profiles": {
|
| 13 |
+
"cloudflare-review": {
|
| 14 |
+
"mail_adapter": "redis-resend",
|
| 15 |
+
"payment_adapter": "stripe-test",
|
| 16 |
+
"persistence": "ephemeral-reset"
|
| 17 |
+
},
|
| 18 |
+
"docker-volume": {
|
| 19 |
+
"mail_adapter": "effects-gateway",
|
| 20 |
+
"payment_adapter": "local-sandbox",
|
| 21 |
+
"persistence": "persistent-volume"
|
| 22 |
+
},
|
| 23 |
+
"offline-harbor": {
|
| 24 |
+
"mail_adapter": "local-outbox",
|
| 25 |
+
"payment_adapter": "local-sandbox",
|
| 26 |
+
"persistence": "persistent"
|
| 27 |
+
}
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
"mail": {
|
| 31 |
+
"enabled": true,
|
| 32 |
+
"purposes": {
|
| 33 |
+
"password-reset": {
|
| 34 |
+
"body": "Your password reset code is ${code}.",
|
| 35 |
+
"expiry": "This code expires in ${minutes} minutes.",
|
| 36 |
+
"footer": "Ignore this message if you did not contact Taskrabbit Clone.",
|
| 37 |
+
"lead": "A password reset was requested for Taskrabbit Clone.",
|
| 38 |
+
"required_variables": [
|
| 39 |
+
"code",
|
| 40 |
+
"minutes"
|
| 41 |
+
],
|
| 42 |
+
"secret_variables": [
|
| 43 |
+
"code"
|
| 44 |
+
],
|
| 45 |
+
"subject": "Reset your Taskrabbit Clone password",
|
| 46 |
+
"template_id": "taskrabbit.password-reset.v1"
|
| 47 |
+
},
|
| 48 |
+
"registration": {
|
| 49 |
+
"body": "Your verification code is ${code}.",
|
| 50 |
+
"expiry": "This code expires in ${minutes} minutes.",
|
| 51 |
+
"footer": "This code is only for Taskrabbit Clone.",
|
| 52 |
+
"lead": "Finish creating your Taskrabbit Clone account.",
|
| 53 |
+
"required_variables": [
|
| 54 |
+
"code",
|
| 55 |
+
"minutes"
|
| 56 |
+
],
|
| 57 |
+
"secret_variables": [
|
| 58 |
+
"code"
|
| 59 |
+
],
|
| 60 |
+
"subject": "Verify your Taskrabbit Clone account",
|
| 61 |
+
"template_id": "taskrabbit.registration.v1"
|
| 62 |
+
}
|
| 63 |
+
},
|
| 64 |
+
"sender": {
|
| 65 |
+
"address_env": "RESEND_FROM_EMAIL",
|
| 66 |
+
"display_name": "Taskrabbit Clone"
|
| 67 |
+
}
|
| 68 |
+
},
|
| 69 |
+
"payments": {
|
| 70 |
+
"currency": "USD",
|
| 71 |
+
"default_adapter": "local-sandbox",
|
| 72 |
+
"enabled": true,
|
| 73 |
+
"local_sandbox": {
|
| 74 |
+
"scenarios": [
|
| 75 |
+
{
|
| 76 |
+
"display_label": "Simulated approval",
|
| 77 |
+
"id": "sandbox-approved",
|
| 78 |
+
"outcome": "approved"
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"display_label": "Simulated decline",
|
| 82 |
+
"id": "sandbox-declined",
|
| 83 |
+
"outcome": "declined"
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"display_label": "Simulated retry",
|
| 87 |
+
"id": "sandbox-retry",
|
| 88 |
+
"outcome": "retryable"
|
| 89 |
+
}
|
| 90 |
+
]
|
| 91 |
+
},
|
| 92 |
+
"stripe_test": {
|
| 93 |
+
"max_line_items": 1,
|
| 94 |
+
"payment_method_types": [
|
| 95 |
+
"card",
|
| 96 |
+
"link"
|
| 97 |
+
],
|
| 98 |
+
"integration_identifier_prefix": "websitebench_taskrabbit_",
|
| 99 |
+
"public_origin": "https://taskrabbit.website-bench.com",
|
| 100 |
+
"return_path": "/book/stripe-return",
|
| 101 |
+
"secret_key_env": "STRIPE_TEST_SECRET_KEY",
|
| 102 |
+
"webhook_path": "/api/stripe/webhook",
|
| 103 |
+
"webhook_secret_env": "STRIPE_TEST_WEBHOOK_SECRET"
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
"schema_version": "websitebench.site-backend-runtime.v1",
|
| 107 |
+
"session": {
|
| 108 |
+
"host_only": true,
|
| 109 |
+
"http_only": true,
|
| 110 |
+
"same_site": "Lax",
|
| 111 |
+
"secure": true
|
| 112 |
+
},
|
| 113 |
+
"site": {
|
| 114 |
+
"id": "taskrabbit",
|
| 115 |
+
"label": "Taskrabbit Clone",
|
| 116 |
+
"public_origin": "https://taskrabbit.website-bench.com"
|
| 117 |
+
}
|
| 118 |
+
}
|
tasks/taskrabbit/solution/site/implementation/clone/app.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tasks/taskrabbit/solution/site/implementation/clone/backend/__init__.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Persistent backend package for the TaskRabbit offline clone (R3 stage).
|
| 2 |
+
|
| 3 |
+
The backend owns every business fact the frontend renders: the help-moving
|
| 4 |
+
category, the fictional fixture address, the 1-bedroom apartment option, the
|
| 5 |
+
simulated Tasker roster with availability and hourly rates, the server-owned
|
| 6 |
+
slot version, wizard drafts (draft booking with version), and confirmed
|
| 7 |
+
booking-request rows. Storage is a site-local SQLite database in WAL mode
|
| 8 |
+
that lives outside clone/ (WEBSITEBENCH_DATA_DIR, default materials/taskrabbit/
|
| 9 |
+
data). Nothing here contacts taskrabbit.com; no real payment, chat, SMS, or
|
| 10 |
+
fulfillment ever occurs.
|
| 11 |
+
"""
|
| 12 |
+
|
| 13 |
+
from __future__ import annotations
|
tasks/taskrabbit/solution/site/implementation/clone/backend/booking_payments.py
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""TaskRabbit booking-payment overlay on the shared WebsiteBench ledger.
|
| 2 |
+
|
| 3 |
+
A separate, offline-sandbox Payment step for the booking wizard. It authorizes,
|
| 4 |
+
declines, or asks to retry a *test* payment through the shared ledger's
|
| 5 |
+
``create_intent -> attempt -> consume_approval`` contract. There is **no real
|
| 6 |
+
charge** and **no card-number entry**: the client only selects an outcome. Each
|
| 7 |
+
authorization is bound by a fingerprint to exactly one booking draft (task,
|
| 8 |
+
Tasker, slot, amount). ``confirm_booking`` later spends that authorization, so a
|
| 9 |
+
booking can never be created without a matching authorized test payment.
|
| 10 |
+
|
| 11 |
+
The ledger's own scenario labels ("Simulated approval" / ...) are banned from
|
| 12 |
+
visible copy, so this module maps every sandbox outcome to a safe user-facing
|
| 13 |
+
label before the payment form ever sees it.
|
| 14 |
+
"""
|
| 15 |
+
|
| 16 |
+
from __future__ import annotations
|
| 17 |
+
|
| 18 |
+
import hashlib
|
| 19 |
+
import json
|
| 20 |
+
import os
|
| 21 |
+
import sqlite3
|
| 22 |
+
from collections.abc import Mapping
|
| 23 |
+
from typing import Any
|
| 24 |
+
|
| 25 |
+
from websitebench.site_backend import (
|
| 26 |
+
PaymentConflict,
|
| 27 |
+
PaymentError,
|
| 28 |
+
PaymentRejected,
|
| 29 |
+
SiteBackend,
|
| 30 |
+
)
|
| 31 |
+
|
| 32 |
+
SITE_ID = "taskrabbit"
|
| 33 |
+
CURRENCY = "USD"
|
| 34 |
+
# TaskRabbit authorizes against a standard minimum estimate rather than the full
|
| 35 |
+
# open-ended hourly job; two hours is the funnel's frozen estimate.
|
| 36 |
+
ESTIMATED_HOURS = 2
|
| 37 |
+
PAYMENT_ADAPTER_ENV = "PAYMENT_ADAPTER"
|
| 38 |
+
|
| 39 |
+
# runtime.json ships display labels ("Simulated approval" / "Simulated decline"
|
| 40 |
+
# / "Simulated retry"); those words are banned from visible copy, so remap every
|
| 41 |
+
# sandbox outcome to a safe, self-describing label for the payment form.
|
| 42 |
+
_SAFE_LABELS = {
|
| 43 |
+
"approved": "Approve test payment",
|
| 44 |
+
"declined": "Decline test payment",
|
| 45 |
+
"retryable": "Ask to retry test payment",
|
| 46 |
+
}
|
| 47 |
+
_SAFE_HINTS = {
|
| 48 |
+
"approved": "Authorize the estimated total and continue to confirm the booking.",
|
| 49 |
+
"declined": "Preview how the booking flow handles a declined authorization.",
|
| 50 |
+
"retryable": "Preview how the booking flow handles a retryable authorization.",
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
class BookingPaymentError(RuntimeError):
|
| 55 |
+
"""The booking payment is absent, stale, foreign, or otherwise invalid."""
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
def _require_transaction(connection: sqlite3.Connection) -> None:
|
| 59 |
+
if not isinstance(connection, sqlite3.Connection) or not connection.in_transaction:
|
| 60 |
+
raise BookingPaymentError("booking payment requires an active transaction")
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
def estimated_amount_minor(hourly_rate: int | str) -> int:
|
| 64 |
+
"""Authorized amount, in minor units, for a Tasker's hourly rate."""
|
| 65 |
+
return int(hourly_rate) * ESTIMATED_HOURS * 100
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
def format_total(amount_minor: int | str, currency: str = CURRENCY) -> str:
|
| 69 |
+
return f"${int(amount_minor) / 100:.2f} {currency}"
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
def flow_idempotency_key(fingerprint_value: str) -> str:
|
| 73 |
+
"""Stable opaque submit token for exactly one server-priced draft."""
|
| 74 |
+
return f"taskrabbit-book-flow:{fingerprint_value[:40]}"
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
def payment_adapter(backend: SiteBackend) -> str:
|
| 78 |
+
"""Resolve the deployment-selected test adapter, failing closed."""
|
| 79 |
+
adapter = str(
|
| 80 |
+
os.environ.get(
|
| 81 |
+
PAYMENT_ADAPTER_ENV,
|
| 82 |
+
backend.config.payments["default_adapter"],
|
| 83 |
+
)
|
| 84 |
+
).strip()
|
| 85 |
+
if adapter not in {"local-sandbox", "stripe-test"}:
|
| 86 |
+
raise BookingPaymentError("the configured test payment adapter is invalid")
|
| 87 |
+
if adapter == "stripe-test" and backend.config.payments["stripe_test"] is None:
|
| 88 |
+
raise BookingPaymentError("Stripe test Checkout is not configured")
|
| 89 |
+
return adapter
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
def payment_scenarios(backend: SiteBackend) -> tuple[dict[str, str], ...]:
|
| 93 |
+
"""Sandbox outcomes for the payment form, with safe user-facing labels."""
|
| 94 |
+
if payment_adapter(backend) != "local-sandbox":
|
| 95 |
+
return ()
|
| 96 |
+
scenarios: list[dict[str, str]] = []
|
| 97 |
+
for item in backend.config.payments["local_sandbox"]["scenarios"]:
|
| 98 |
+
outcome = str(item["outcome"])
|
| 99 |
+
scenarios.append(
|
| 100 |
+
{
|
| 101 |
+
"id": str(item["id"]),
|
| 102 |
+
"outcome": outcome,
|
| 103 |
+
"label": _SAFE_LABELS.get(outcome, "Test payment"),
|
| 104 |
+
"hint": _SAFE_HINTS.get(outcome, ""),
|
| 105 |
+
}
|
| 106 |
+
)
|
| 107 |
+
return tuple(scenarios)
|
| 108 |
+
|
| 109 |
+
|
| 110 |
+
def scenario_ids(backend: SiteBackend) -> set[str]:
|
| 111 |
+
return {scenario["id"] for scenario in payment_scenarios(backend)}
|
| 112 |
+
|
| 113 |
+
|
| 114 |
+
def approved_scenario_id(backend: SiteBackend) -> str:
|
| 115 |
+
for scenario in payment_scenarios(backend):
|
| 116 |
+
if scenario["outcome"] == "approved":
|
| 117 |
+
return scenario["id"]
|
| 118 |
+
raise BookingPaymentError("no approving sandbox scenario is configured")
|
| 119 |
+
|
| 120 |
+
|
| 121 |
+
def fingerprint(
|
| 122 |
+
*,
|
| 123 |
+
request_id: str,
|
| 124 |
+
account_id: str,
|
| 125 |
+
category_id: str,
|
| 126 |
+
tasker_id: str,
|
| 127 |
+
slot_id: str,
|
| 128 |
+
amount_minor: int,
|
| 129 |
+
) -> str:
|
| 130 |
+
"""Bind an authorization to exactly one booking draft.
|
| 131 |
+
|
| 132 |
+
Deliberately excludes the mutable draft version: the authorization is tied to
|
| 133 |
+
the concrete task/Tasker/slot/amount the client saw and paid for, not to an
|
| 134 |
+
internal counter that other wizard writes bump.
|
| 135 |
+
"""
|
| 136 |
+
payload = {
|
| 137 |
+
"site_id": SITE_ID,
|
| 138 |
+
"request_id": request_id,
|
| 139 |
+
"account_id": account_id,
|
| 140 |
+
"category_id": category_id,
|
| 141 |
+
"tasker_id": tasker_id,
|
| 142 |
+
"slot_id": slot_id,
|
| 143 |
+
"amount_minor": int(amount_minor),
|
| 144 |
+
"currency": CURRENCY,
|
| 145 |
+
"effect": "test-only-booking-authorization",
|
| 146 |
+
}
|
| 147 |
+
canonical = json.dumps(payload, sort_keys=True, separators=(",", ":"))
|
| 148 |
+
return hashlib.sha256(canonical.encode("utf-8")).hexdigest()
|
| 149 |
+
|
| 150 |
+
|
| 151 |
+
def create_or_reuse_flow(
|
| 152 |
+
connection: sqlite3.Connection,
|
| 153 |
+
backend: SiteBackend,
|
| 154 |
+
*,
|
| 155 |
+
account_id: str,
|
| 156 |
+
amount_minor: int,
|
| 157 |
+
fingerprint_value: str,
|
| 158 |
+
) -> str:
|
| 159 |
+
"""Open — or idempotently reuse — a payment flow for this fingerprint."""
|
| 160 |
+
_require_transaction(connection)
|
| 161 |
+
try:
|
| 162 |
+
flow = backend.payments.create_intent(
|
| 163 |
+
owner=account_id,
|
| 164 |
+
amount_minor=int(amount_minor),
|
| 165 |
+
currency=CURRENCY,
|
| 166 |
+
fingerprint=fingerprint_value,
|
| 167 |
+
idempotency_key=flow_idempotency_key(fingerprint_value),
|
| 168 |
+
adapter=payment_adapter(backend),
|
| 169 |
+
connection=connection,
|
| 170 |
+
)
|
| 171 |
+
except (PaymentConflict, PaymentError, PaymentRejected) as exc:
|
| 172 |
+
raise BookingPaymentError("booking payment flow was rejected") from exc
|
| 173 |
+
return str(flow["flow_id"])
|
| 174 |
+
|
| 175 |
+
|
| 176 |
+
def create_or_reuse_stripe_flow(
|
| 177 |
+
connection: sqlite3.Connection,
|
| 178 |
+
backend: SiteBackend,
|
| 179 |
+
*,
|
| 180 |
+
account_id: str,
|
| 181 |
+
amount_minor: int,
|
| 182 |
+
fingerprint_value: str,
|
| 183 |
+
) -> dict[str, Any]:
|
| 184 |
+
"""Open the immutable server-priced flow used by Stripe test Checkout."""
|
| 185 |
+
_require_transaction(connection)
|
| 186 |
+
if payment_adapter(backend) != "stripe-test":
|
| 187 |
+
raise BookingPaymentError("Stripe test Checkout is not enabled")
|
| 188 |
+
try:
|
| 189 |
+
return backend.payments.create_intent(
|
| 190 |
+
owner=account_id,
|
| 191 |
+
amount_minor=int(amount_minor),
|
| 192 |
+
currency=CURRENCY,
|
| 193 |
+
fingerprint=fingerprint_value,
|
| 194 |
+
idempotency_key=flow_idempotency_key(fingerprint_value),
|
| 195 |
+
adapter="stripe-test",
|
| 196 |
+
connection=connection,
|
| 197 |
+
)
|
| 198 |
+
except (PaymentConflict, PaymentError, PaymentRejected) as exc:
|
| 199 |
+
raise BookingPaymentError("Stripe test payment flow was rejected") from exc
|
| 200 |
+
|
| 201 |
+
|
| 202 |
+
def approve_verified_stripe(
|
| 203 |
+
connection: sqlite3.Connection,
|
| 204 |
+
backend: SiteBackend,
|
| 205 |
+
*,
|
| 206 |
+
flow_id: str,
|
| 207 |
+
account_id: str,
|
| 208 |
+
amount_minor: int,
|
| 209 |
+
fingerprint_value: str,
|
| 210 |
+
provider_session_id: str,
|
| 211 |
+
provider_snapshot: Mapping[str, Any],
|
| 212 |
+
) -> str:
|
| 213 |
+
"""Approve only a provider-verified, immutable Stripe test Session."""
|
| 214 |
+
_require_transaction(connection)
|
| 215 |
+
if payment_adapter(backend) != "stripe-test":
|
| 216 |
+
raise BookingPaymentError("Stripe test Checkout is not enabled")
|
| 217 |
+
try:
|
| 218 |
+
attempt = backend.payments.attempt_verified_stripe(
|
| 219 |
+
flow_id=flow_id,
|
| 220 |
+
owner=account_id,
|
| 221 |
+
amount_minor=int(amount_minor),
|
| 222 |
+
currency=CURRENCY,
|
| 223 |
+
fingerprint=fingerprint_value,
|
| 224 |
+
provider_session_id=provider_session_id,
|
| 225 |
+
idempotency_key=f"taskrabbit-stripe:{flow_id}:{provider_session_id}",
|
| 226 |
+
provider_verifier=lambda _session_id: provider_snapshot,
|
| 227 |
+
connection=connection,
|
| 228 |
+
)
|
| 229 |
+
except (PaymentConflict, PaymentError, PaymentRejected) as exc:
|
| 230 |
+
raise BookingPaymentError("Stripe test Session was rejected") from exc
|
| 231 |
+
return str(attempt["status"]).casefold()
|
| 232 |
+
|
| 233 |
+
|
| 234 |
+
def attempt_local_payment(
|
| 235 |
+
connection: sqlite3.Connection,
|
| 236 |
+
backend: SiteBackend,
|
| 237 |
+
*,
|
| 238 |
+
flow_id: str,
|
| 239 |
+
account_id: str,
|
| 240 |
+
amount_minor: int,
|
| 241 |
+
fingerprint_value: str,
|
| 242 |
+
scenario_id: str,
|
| 243 |
+
) -> str:
|
| 244 |
+
"""Run one sandbox attempt; return the lowercased outcome.
|
| 245 |
+
|
| 246 |
+
Outcome is one of ``approved`` / ``declined`` / ``retryable``. The ledger
|
| 247 |
+
persists an APPROVED flow status that ``confirm_booking`` later consumes.
|
| 248 |
+
"""
|
| 249 |
+
_require_transaction(connection)
|
| 250 |
+
if scenario_id not in scenario_ids(backend):
|
| 251 |
+
raise BookingPaymentError("unknown payment scenario")
|
| 252 |
+
try:
|
| 253 |
+
attempt = backend.payments.attempt(
|
| 254 |
+
flow_id=flow_id,
|
| 255 |
+
owner=account_id,
|
| 256 |
+
amount_minor=int(amount_minor),
|
| 257 |
+
currency=CURRENCY,
|
| 258 |
+
fingerprint=fingerprint_value,
|
| 259 |
+
scenario_id=scenario_id,
|
| 260 |
+
idempotency_key=f"taskrabbit-book-attempt:{flow_id}:{scenario_id}",
|
| 261 |
+
connection=connection,
|
| 262 |
+
)
|
| 263 |
+
except (PaymentConflict, PaymentError, PaymentRejected) as exc:
|
| 264 |
+
raise BookingPaymentError("local sandbox payment was rejected") from exc
|
| 265 |
+
return str(attempt["status"]).casefold()
|
| 266 |
+
|
| 267 |
+
|
| 268 |
+
def consume_authorization(
|
| 269 |
+
connection: sqlite3.Connection,
|
| 270 |
+
backend: SiteBackend,
|
| 271 |
+
*,
|
| 272 |
+
flow_id: str,
|
| 273 |
+
account_id: str,
|
| 274 |
+
amount_minor: int,
|
| 275 |
+
fingerprint_value: str,
|
| 276 |
+
) -> dict[str, Any]:
|
| 277 |
+
"""Spend a previously-approved authorization inside the caller's txn.
|
| 278 |
+
|
| 279 |
+
Must be the first write of ``confirm_booking``'s transaction: a fact mismatch
|
| 280 |
+
forces the ledger to COMMIT + reopen the transaction, which would otherwise
|
| 281 |
+
discard sibling writes made before it.
|
| 282 |
+
"""
|
| 283 |
+
_require_transaction(connection)
|
| 284 |
+
try:
|
| 285 |
+
return backend.payments.consume_approval(
|
| 286 |
+
connection,
|
| 287 |
+
flow_id=flow_id,
|
| 288 |
+
owner=account_id,
|
| 289 |
+
amount_minor=int(amount_minor),
|
| 290 |
+
currency=CURRENCY,
|
| 291 |
+
fingerprint=fingerprint_value,
|
| 292 |
+
)
|
| 293 |
+
except (PaymentConflict, PaymentError, PaymentRejected) as exc:
|
| 294 |
+
raise BookingPaymentError("booking payment authorization was rejected") from exc
|
| 295 |
+
|
| 296 |
+
|
| 297 |
+
__all__ = [
|
| 298 |
+
"CURRENCY",
|
| 299 |
+
"ESTIMATED_HOURS",
|
| 300 |
+
"BookingPaymentError",
|
| 301 |
+
"approved_scenario_id",
|
| 302 |
+
"attempt_local_payment",
|
| 303 |
+
"approve_verified_stripe",
|
| 304 |
+
"consume_authorization",
|
| 305 |
+
"create_or_reuse_flow",
|
| 306 |
+
"create_or_reuse_stripe_flow",
|
| 307 |
+
"estimated_amount_minor",
|
| 308 |
+
"fingerprint",
|
| 309 |
+
"flow_idempotency_key",
|
| 310 |
+
"format_total",
|
| 311 |
+
"payment_adapter",
|
| 312 |
+
"payment_scenarios",
|
| 313 |
+
"scenario_ids",
|
| 314 |
+
]
|
tasks/taskrabbit/solution/site/implementation/clone/backend/db.py
ADDED
|
@@ -0,0 +1,1722 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""SQLite persistence layer for the TaskRabbit offline clone (R3 backend).
|
| 2 |
+
|
| 3 |
+
Design contract (batch standard):
|
| 4 |
+
* sqlite3 in WAL mode, one site-local database file;
|
| 5 |
+
* the data directory comes from WEBSITEBENCH_DATA_DIR and defaults to
|
| 6 |
+
materials/taskrabbit/data -- it must NEVER live inside clone/;
|
| 7 |
+
* schema_migrations table plus ordered, append-only migrations;
|
| 8 |
+
* the server owns every business fact: booking categories, clients,
|
| 9 |
+
client address books (any syntactically valid US address is accepted),
|
| 10 |
+
the simulated Tasker roster with hourly rates, versioned availability
|
| 11 |
+
slots derived from the frozen clock by date arithmetic, wizard drafts,
|
| 12 |
+
and confirmed booking-request rows;
|
| 13 |
+
* sessions are persisted server-side (sessions table) so login state
|
| 14 |
+
survives a process restart;
|
| 15 |
+
* admin reset restores the seeded state deterministically.
|
| 16 |
+
|
| 17 |
+
Generic source-site rules only: nothing in this module branches on a
|
| 18 |
+
benchmark constant. The seeded category, address, Tasker roster, and
|
| 19 |
+
slots are ordinary rows; any other valid input books identically.
|
| 20 |
+
Everything here is local simulation only -- no real Tasker, payment,
|
| 21 |
+
chat, SMS, or fulfillment is ever involved and nothing contacts
|
| 22 |
+
taskrabbit.com.
|
| 23 |
+
"""
|
| 24 |
+
|
| 25 |
+
from __future__ import annotations
|
| 26 |
+
|
| 27 |
+
import hashlib
|
| 28 |
+
import json
|
| 29 |
+
import os
|
| 30 |
+
import re
|
| 31 |
+
import sqlite3
|
| 32 |
+
from collections.abc import Callable
|
| 33 |
+
from contextlib import contextmanager
|
| 34 |
+
from datetime import datetime, timedelta, timezone
|
| 35 |
+
from pathlib import Path
|
| 36 |
+
from typing import Any, Iterator
|
| 37 |
+
|
| 38 |
+
from .task_catalog import CATEGORY_LABELS as TASK_CATALOG_CATEGORY_LABELS
|
| 39 |
+
from .service_booking_catalog import (
|
| 40 |
+
CATEGORY_LABELS as SERVICE_BOOKING_CATEGORY_LABELS,
|
| 41 |
+
)
|
| 42 |
+
|
| 43 |
+
CLONE_DIR = Path(__file__).resolve().parents[1]
|
| 44 |
+
SITE_DIR = CLONE_DIR.parent
|
| 45 |
+
DEFAULT_DATA_DIR = SITE_DIR / "data"
|
| 46 |
+
DB_FILENAME = "taskrabbit.sqlite3"
|
| 47 |
+
SITE_ID = "taskrabbit"
|
| 48 |
+
|
| 49 |
+
DATA_DIR_ENV = "WEBSITEBENCH_TASKRABBIT_DATA_DIR"
|
| 50 |
+
SHARED_DATA_DIR_ENV = "WEBSITEBENCH_DATA_DIR"
|
| 51 |
+
ADMIN_TOKEN_ENV = "WEBSITEBENCH_ADMIN_TOKEN"
|
| 52 |
+
|
| 53 |
+
# ---- frozen clock and date arithmetic ---------------------------------------
|
| 54 |
+
|
| 55 |
+
FROZEN_CLOCK = "2026-07-25T12:00:00-04:00"
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
def frozen_now() -> datetime:
|
| 59 |
+
"""The clone's frozen wall clock (never the host machine's real time)."""
|
| 60 |
+
return datetime.fromisoformat(FROZEN_CLOCK)
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
def next_weekday(now: datetime, weekday: int) -> datetime:
|
| 64 |
+
"""Next occurrence of *weekday* strictly after *now* (0=Mon .. 6=Sun)."""
|
| 65 |
+
days_ahead = (weekday - now.weekday()) % 7
|
| 66 |
+
if days_ahead == 0:
|
| 67 |
+
days_ahead = 7
|
| 68 |
+
return now + timedelta(days=days_ahead)
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
def next_saturday(now: datetime | None = None) -> datetime:
|
| 72 |
+
return next_weekday(now or frozen_now(), 5)
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
# 'Next Saturday' is computed by date arithmetic, never hardcoded.
|
| 76 |
+
BOOKING_DATE = next_saturday().strftime("%Y-%m-%d")
|
| 77 |
+
|
| 78 |
+
# ---- seed data (ordinary rows; not business rules) ---------------------------
|
| 79 |
+
|
| 80 |
+
_CORE_CATEGORIES: tuple[tuple[str, str], ...] = (
|
| 81 |
+
("help-moving", "Help Moving"),
|
| 82 |
+
("furniture-assembly", "Furniture Assembly"),
|
| 83 |
+
("patio-furniture-assembly", "Patio Furniture Assembly"),
|
| 84 |
+
("desk-assembly", "Desk Assembly"),
|
| 85 |
+
("dresser-assembly", "Dresser Assembly"),
|
| 86 |
+
("bed-assembly", "Bed Assembly"),
|
| 87 |
+
("bookshelf-assembly", "Bookshelf Assembly"),
|
| 88 |
+
("couch-assembly", "Couch Assembly"),
|
| 89 |
+
("chair-assembly", "Chair Assembly"),
|
| 90 |
+
("wardrobe-assembly", "Wardrobe Assembly"),
|
| 91 |
+
("table-assembly", "Table Assembly"),
|
| 92 |
+
("disassemble-furniture", "Disassemble furniture"),
|
| 93 |
+
)
|
| 94 |
+
SEED_CATEGORIES: tuple[tuple[str, str], ...] = _CORE_CATEGORIES + tuple(
|
| 95 |
+
(category_id, label)
|
| 96 |
+
for category_id, label in TASK_CATALOG_CATEGORY_LABELS.items()
|
| 97 |
+
if category_id not in {item[0] for item in _CORE_CATEGORIES}
|
| 98 |
+
) + tuple(SERVICE_BOOKING_CATEGORY_LABELS.items())
|
| 99 |
+
CATEGORY_ID = SEED_CATEGORIES[0][0]
|
| 100 |
+
CATEGORY_LABEL = SEED_CATEGORIES[0][1]
|
| 101 |
+
KNOWN_CATEGORY_IDS = frozenset(category_id for category_id, _ in SEED_CATEGORIES)
|
| 102 |
+
|
| 103 |
+
SEED_SIZES: tuple[tuple[str, str, str], ...] = (
|
| 104 |
+
("studio", "size-v1", "Studio apartment"),
|
| 105 |
+
("1-bedroom", "size-v1", "1-bedroom apartment"),
|
| 106 |
+
("2-bedroom", "size-v1", "2-bedroom apartment"),
|
| 107 |
+
("3-bedroom", "size-v1", "3-bedroom apartment"),
|
| 108 |
+
("task-small", "task-size-v1", "Small task — about 1 hour"),
|
| 109 |
+
("task-medium", "task-size-v1", "Medium task — about 2 hours"),
|
| 110 |
+
("task-large", "task-size-v1", "Large task — 3 hours or more"),
|
| 111 |
+
)
|
| 112 |
+
APARTMENT_SIZE = "1-bedroom"
|
| 113 |
+
APARTMENT_SIZE_VERSION = "size-v1"
|
| 114 |
+
APARTMENT_LABEL = "1-bedroom apartment"
|
| 115 |
+
TASK_TEMPLATE_ID = "help-moving-v1"
|
| 116 |
+
|
| 117 |
+
|
| 118 |
+
def task_template_id_for_category(category_id: str) -> str:
|
| 119 |
+
"""Resolve the server-owned task template for a known category."""
|
| 120 |
+
if category_id not in KNOWN_CATEGORY_IDS:
|
| 121 |
+
raise ValueError("unknown task category")
|
| 122 |
+
service_match = re.fullmatch(r"service-[1-9]\d*-([1-9]\d*)", category_id)
|
| 123 |
+
if service_match:
|
| 124 |
+
return f"source-task-template-{service_match.group(1)}-v1"
|
| 125 |
+
return f"{category_id}-v1"
|
| 126 |
+
|
| 127 |
+
SESSION_ACCOUNT = "requester-morgan-001"
|
| 128 |
+
FOREIGN_ACCOUNT = "requester-robin-002"
|
| 129 |
+
TASKER_ACCOUNT = "tasker-taylor-001"
|
| 130 |
+
SEED_CLIENTS: tuple[tuple[str, str, str], ...] = (
|
| 131 |
+
(SESSION_ACCOUNT, "Morgan Lee", "requester"),
|
| 132 |
+
(FOREIGN_ACCOUNT, "Robin Lee", "requester"),
|
| 133 |
+
(TASKER_ACCOUNT, "Taylor Tasker", "tasker"),
|
| 134 |
+
)
|
| 135 |
+
|
| 136 |
+
FIXTURE_ADDRESS_ID = "address-morgan-home"
|
| 137 |
+
FIXTURE_ADDRESS = "482 Cedar Row, Apt 3, Brooklyn NY 11215"
|
| 138 |
+
FOREIGN_ADDRESS_ID = "address-robin-home"
|
| 139 |
+
FOREIGN_ADDRESS = "910 Birch Lane, Apt 5, Bronx NY 10457"
|
| 140 |
+
SEED_ADDRESSES: tuple[dict[str, Any], ...] = (
|
| 141 |
+
{
|
| 142 |
+
"id": FIXTURE_ADDRESS_ID,
|
| 143 |
+
"owner": SESSION_ACCOUNT,
|
| 144 |
+
"street": "482 Cedar Row",
|
| 145 |
+
"unit": "Apt 3",
|
| 146 |
+
"city": "Brooklyn",
|
| 147 |
+
"state": "NY",
|
| 148 |
+
"zip": "11215",
|
| 149 |
+
"is_default": 1,
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"id": FOREIGN_ADDRESS_ID,
|
| 153 |
+
"owner": FOREIGN_ACCOUNT,
|
| 154 |
+
"street": "910 Birch Lane",
|
| 155 |
+
"unit": "Apt 5",
|
| 156 |
+
"city": "Bronx",
|
| 157 |
+
"state": "NY",
|
| 158 |
+
"zip": "10457",
|
| 159 |
+
"is_default": 1,
|
| 160 |
+
},
|
| 161 |
+
)
|
| 162 |
+
|
| 163 |
+
DEFAULT_TASKER_ID = "tasker-sim-morgan"
|
| 164 |
+
SEED_TASKERS: tuple[dict[str, Any], ...] = (
|
| 165 |
+
{
|
| 166 |
+
"id": "tasker-sim-alex",
|
| 167 |
+
"provider_version": "provider-alex-v1",
|
| 168 |
+
"name": "Alex R. (Simulated)",
|
| 169 |
+
"rate": 52,
|
| 170 |
+
"rating": "4.9",
|
| 171 |
+
"reviews": 128,
|
| 172 |
+
"blurb": "Fixture profile: two-person moves, walk-ups, careful wrapping.",
|
| 173 |
+
"profile_variant": "rich",
|
| 174 |
+
"availability_state": "available",
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"id": "tasker-sim-morgan",
|
| 178 |
+
"provider_version": "provider-morgan-v1",
|
| 179 |
+
"name": "Morgan K. (Simulated)",
|
| 180 |
+
"rate": 47,
|
| 181 |
+
"rating": "",
|
| 182 |
+
"reviews": 0,
|
| 183 |
+
"blurb": "",
|
| 184 |
+
"profile_variant": "sparse",
|
| 185 |
+
"availability_state": "available",
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"id": "tasker-sim-riley",
|
| 189 |
+
"provider_version": "provider-riley-v1",
|
| 190 |
+
"name": "Riley S. (Simulated)",
|
| 191 |
+
"rate": 61,
|
| 192 |
+
"rating": "",
|
| 193 |
+
"reviews": 0,
|
| 194 |
+
"blurb": "",
|
| 195 |
+
"profile_variant": "unavailable",
|
| 196 |
+
"availability_state": "no-compatible-slot",
|
| 197 |
+
},
|
| 198 |
+
)
|
| 199 |
+
|
| 200 |
+
# Two availability slots on the arithmetically derived next Saturday.
|
| 201 |
+
WINDOW_START = "09:00"
|
| 202 |
+
WINDOW_END = "13:00"
|
| 203 |
+
BOOKING_WINDOW = f"{WINDOW_START}-{WINDOW_END}"
|
| 204 |
+
SLOT_ID = f"slot-{BOOKING_DATE}-0900"
|
| 205 |
+
SLOT_VERSION = f"slot-v7-{BOOKING_DATE}-0900"
|
| 206 |
+
ALT_WINDOW_START = "14:00"
|
| 207 |
+
ALT_WINDOW_END = "18:00"
|
| 208 |
+
ALT_WINDOW = f"{ALT_WINDOW_START}-{ALT_WINDOW_END}"
|
| 209 |
+
ALT_SLOT_ID = f"slot-{BOOKING_DATE}-1400"
|
| 210 |
+
ALT_SLOT_VERSION = f"slot-v3-{BOOKING_DATE}-1400"
|
| 211 |
+
SEED_SLOTS: tuple[dict[str, str], ...] = (
|
| 212 |
+
{
|
| 213 |
+
"id": SLOT_ID,
|
| 214 |
+
"version": SLOT_VERSION,
|
| 215 |
+
"date": BOOKING_DATE,
|
| 216 |
+
"window_start": WINDOW_START,
|
| 217 |
+
"window_end": WINDOW_END,
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"id": ALT_SLOT_ID,
|
| 221 |
+
"version": ALT_SLOT_VERSION,
|
| 222 |
+
"date": BOOKING_DATE,
|
| 223 |
+
"window_start": ALT_WINDOW_START,
|
| 224 |
+
"window_end": ALT_WINDOW_END,
|
| 225 |
+
},
|
| 226 |
+
)
|
| 227 |
+
|
| 228 |
+
SEED_DRAFT_REF = "request-000001"
|
| 229 |
+
REQUEST_ID = SEED_DRAFT_REF
|
| 230 |
+
BOOKING_ID = "booking-000001"
|
| 231 |
+
FOREIGN_BOOKING_ID = "trbk-foreign-9999"
|
| 232 |
+
FOREIGN_REQUEST_ID = "request-foreign-9999"
|
| 233 |
+
|
| 234 |
+
BOOKING_STATUS_OPEN = "open"
|
| 235 |
+
CONFIRM_MERGE_KEY_FIELDS = (
|
| 236 |
+
"idempotency_token",
|
| 237 |
+
"owner_id",
|
| 238 |
+
"session_id",
|
| 239 |
+
"request_id",
|
| 240 |
+
"request_version",
|
| 241 |
+
"category_id",
|
| 242 |
+
"task_template_id",
|
| 243 |
+
"apartment_size_id",
|
| 244 |
+
"apartment_size_version",
|
| 245 |
+
"address_id",
|
| 246 |
+
"service_date",
|
| 247 |
+
"window_start",
|
| 248 |
+
"window_end",
|
| 249 |
+
"provider_id",
|
| 250 |
+
"provider_version",
|
| 251 |
+
"quote_id",
|
| 252 |
+
"quote_version",
|
| 253 |
+
"quote_owner_id",
|
| 254 |
+
"slot_id",
|
| 255 |
+
"slot_version",
|
| 256 |
+
"payment_flow_id",
|
| 257 |
+
)
|
| 258 |
+
|
| 259 |
+
# ---- ordered migrations -----------------------------------------------------
|
| 260 |
+
|
| 261 |
+
MIGRATIONS: tuple[tuple[int, str, tuple[str, ...]], ...] = (
|
| 262 |
+
(
|
| 263 |
+
1,
|
| 264 |
+
"0001-core-domain-schema",
|
| 265 |
+
(
|
| 266 |
+
"""
|
| 267 |
+
CREATE TABLE categories (
|
| 268 |
+
id TEXT PRIMARY KEY,
|
| 269 |
+
label TEXT NOT NULL
|
| 270 |
+
)
|
| 271 |
+
""",
|
| 272 |
+
"""
|
| 273 |
+
CREATE TABLE apartment_sizes (
|
| 274 |
+
id TEXT PRIMARY KEY,
|
| 275 |
+
label TEXT NOT NULL
|
| 276 |
+
)
|
| 277 |
+
""",
|
| 278 |
+
"""
|
| 279 |
+
CREATE TABLE clients (
|
| 280 |
+
id TEXT PRIMARY KEY,
|
| 281 |
+
display_name TEXT NOT NULL
|
| 282 |
+
)
|
| 283 |
+
""",
|
| 284 |
+
"""
|
| 285 |
+
CREATE TABLE addresses (
|
| 286 |
+
id TEXT PRIMARY KEY,
|
| 287 |
+
owner TEXT NOT NULL REFERENCES clients(id),
|
| 288 |
+
street TEXT NOT NULL,
|
| 289 |
+
unit TEXT NOT NULL DEFAULT '',
|
| 290 |
+
city TEXT NOT NULL,
|
| 291 |
+
state TEXT NOT NULL,
|
| 292 |
+
zip TEXT NOT NULL,
|
| 293 |
+
is_default INTEGER NOT NULL DEFAULT 0,
|
| 294 |
+
fictional INTEGER NOT NULL DEFAULT 1
|
| 295 |
+
)
|
| 296 |
+
""",
|
| 297 |
+
"""
|
| 298 |
+
CREATE TABLE taskers (
|
| 299 |
+
id TEXT PRIMARY KEY,
|
| 300 |
+
name TEXT NOT NULL,
|
| 301 |
+
rate INTEGER NOT NULL,
|
| 302 |
+
rating TEXT NOT NULL,
|
| 303 |
+
reviews INTEGER NOT NULL,
|
| 304 |
+
blurb TEXT NOT NULL,
|
| 305 |
+
simulated INTEGER NOT NULL DEFAULT 1
|
| 306 |
+
)
|
| 307 |
+
""",
|
| 308 |
+
"""
|
| 309 |
+
CREATE TABLE slots (
|
| 310 |
+
id TEXT PRIMARY KEY,
|
| 311 |
+
version TEXT NOT NULL UNIQUE,
|
| 312 |
+
date TEXT NOT NULL,
|
| 313 |
+
window_start TEXT NOT NULL,
|
| 314 |
+
window_end TEXT NOT NULL
|
| 315 |
+
)
|
| 316 |
+
""",
|
| 317 |
+
"""
|
| 318 |
+
CREATE TABLE tasker_availability (
|
| 319 |
+
tasker_id TEXT NOT NULL REFERENCES taskers(id),
|
| 320 |
+
slot_id TEXT NOT NULL REFERENCES slots(id),
|
| 321 |
+
PRIMARY KEY (tasker_id, slot_id)
|
| 322 |
+
)
|
| 323 |
+
""",
|
| 324 |
+
"""
|
| 325 |
+
CREATE TABLE wizard_drafts (
|
| 326 |
+
owner TEXT PRIMARY KEY REFERENCES clients(id),
|
| 327 |
+
booking_ref TEXT NOT NULL UNIQUE,
|
| 328 |
+
category TEXT,
|
| 329 |
+
apartment_size TEXT,
|
| 330 |
+
address_id TEXT,
|
| 331 |
+
slot_id TEXT,
|
| 332 |
+
tasker_id TEXT,
|
| 333 |
+
draft_version INTEGER NOT NULL DEFAULT 1,
|
| 334 |
+
created_at TEXT NOT NULL,
|
| 335 |
+
updated_at TEXT NOT NULL
|
| 336 |
+
)
|
| 337 |
+
""",
|
| 338 |
+
"""
|
| 339 |
+
CREATE TABLE bookings (
|
| 340 |
+
id TEXT PRIMARY KEY,
|
| 341 |
+
owner TEXT NOT NULL REFERENCES clients(id),
|
| 342 |
+
category TEXT NOT NULL,
|
| 343 |
+
apartment_size TEXT NOT NULL,
|
| 344 |
+
tasker_id TEXT NOT NULL REFERENCES taskers(id),
|
| 345 |
+
slot_id TEXT NOT NULL,
|
| 346 |
+
slot_version TEXT NOT NULL,
|
| 347 |
+
date TEXT NOT NULL,
|
| 348 |
+
window TEXT NOT NULL,
|
| 349 |
+
address TEXT NOT NULL,
|
| 350 |
+
status TEXT NOT NULL DEFAULT 'open',
|
| 351 |
+
created_at TEXT NOT NULL
|
| 352 |
+
)
|
| 353 |
+
""",
|
| 354 |
+
"""
|
| 355 |
+
CREATE TABLE sequences (
|
| 356 |
+
name TEXT PRIMARY KEY,
|
| 357 |
+
value INTEGER NOT NULL
|
| 358 |
+
)
|
| 359 |
+
""",
|
| 360 |
+
),
|
| 361 |
+
),
|
| 362 |
+
(
|
| 363 |
+
2,
|
| 364 |
+
"0002-persistent-sessions-and-open-booking-guard",
|
| 365 |
+
(
|
| 366 |
+
"""
|
| 367 |
+
CREATE TABLE sessions (
|
| 368 |
+
token TEXT PRIMARY KEY,
|
| 369 |
+
account TEXT NOT NULL REFERENCES clients(id),
|
| 370 |
+
created_at TEXT NOT NULL
|
| 371 |
+
)
|
| 372 |
+
""",
|
| 373 |
+
"""
|
| 374 |
+
CREATE UNIQUE INDEX idx_bookings_one_open_per_client_tasker
|
| 375 |
+
ON bookings(owner, tasker_id) WHERE status = 'open'
|
| 376 |
+
""",
|
| 377 |
+
),
|
| 378 |
+
),
|
| 379 |
+
(
|
| 380 |
+
3,
|
| 381 |
+
"0003-explicit-provider-profile-and-availability-variants",
|
| 382 |
+
(
|
| 383 |
+
"""
|
| 384 |
+
ALTER TABLE taskers
|
| 385 |
+
ADD COLUMN provider_version TEXT NOT NULL DEFAULT 'provider-v1'
|
| 386 |
+
""",
|
| 387 |
+
"""
|
| 388 |
+
ALTER TABLE taskers
|
| 389 |
+
ADD COLUMN profile_variant TEXT NOT NULL DEFAULT 'rich'
|
| 390 |
+
""",
|
| 391 |
+
"""
|
| 392 |
+
ALTER TABLE taskers
|
| 393 |
+
ADD COLUMN availability_state TEXT NOT NULL DEFAULT 'available'
|
| 394 |
+
""",
|
| 395 |
+
),
|
| 396 |
+
),
|
| 397 |
+
(
|
| 398 |
+
4,
|
| 399 |
+
"0004-request-identity-replaces-owner-provider-merge",
|
| 400 |
+
(
|
| 401 |
+
"""
|
| 402 |
+
DROP INDEX IF EXISTS idx_bookings_one_open_per_client_tasker
|
| 403 |
+
""",
|
| 404 |
+
),
|
| 405 |
+
),
|
| 406 |
+
(
|
| 407 |
+
5,
|
| 408 |
+
"0005-post-confirm-booking-and-versioned-apartment-size",
|
| 409 |
+
(
|
| 410 |
+
"""
|
| 411 |
+
ALTER TABLE apartment_sizes
|
| 412 |
+
ADD COLUMN version TEXT NOT NULL DEFAULT 'size-v1'
|
| 413 |
+
""",
|
| 414 |
+
"""
|
| 415 |
+
ALTER TABLE bookings ADD COLUMN request_id TEXT
|
| 416 |
+
""",
|
| 417 |
+
"""
|
| 418 |
+
ALTER TABLE bookings ADD COLUMN request_version TEXT
|
| 419 |
+
""",
|
| 420 |
+
"""
|
| 421 |
+
ALTER TABLE bookings ADD COLUMN task_template_id TEXT
|
| 422 |
+
""",
|
| 423 |
+
"""
|
| 424 |
+
ALTER TABLE bookings ADD COLUMN apartment_size_version TEXT
|
| 425 |
+
""",
|
| 426 |
+
"""
|
| 427 |
+
ALTER TABLE bookings ADD COLUMN address_id TEXT
|
| 428 |
+
""",
|
| 429 |
+
"""
|
| 430 |
+
ALTER TABLE bookings ADD COLUMN provider_version TEXT
|
| 431 |
+
""",
|
| 432 |
+
"""
|
| 433 |
+
ALTER TABLE bookings ADD COLUMN quote_id TEXT
|
| 434 |
+
""",
|
| 435 |
+
"""
|
| 436 |
+
ALTER TABLE bookings ADD COLUMN quote_version TEXT
|
| 437 |
+
""",
|
| 438 |
+
"""
|
| 439 |
+
ALTER TABLE bookings ADD COLUMN quote_owner_id TEXT
|
| 440 |
+
""",
|
| 441 |
+
"""
|
| 442 |
+
ALTER TABLE bookings ADD COLUMN session_id TEXT
|
| 443 |
+
""",
|
| 444 |
+
"""
|
| 445 |
+
ALTER TABLE bookings ADD COLUMN idempotency_token TEXT
|
| 446 |
+
""",
|
| 447 |
+
"""
|
| 448 |
+
ALTER TABLE bookings ADD COLUMN receipt_id TEXT
|
| 449 |
+
""",
|
| 450 |
+
"""
|
| 451 |
+
ALTER TABLE bookings ADD COLUMN merge_key_json TEXT
|
| 452 |
+
""",
|
| 453 |
+
"""
|
| 454 |
+
CREATE UNIQUE INDEX idx_bookings_request_identity
|
| 455 |
+
ON bookings(request_id) WHERE request_id IS NOT NULL
|
| 456 |
+
""",
|
| 457 |
+
"""
|
| 458 |
+
CREATE UNIQUE INDEX idx_bookings_idempotency_token
|
| 459 |
+
ON bookings(idempotency_token) WHERE idempotency_token IS NOT NULL
|
| 460 |
+
""",
|
| 461 |
+
),
|
| 462 |
+
),
|
| 463 |
+
(
|
| 464 |
+
6,
|
| 465 |
+
"0006-server-price-snapshot-and-opaque-auth-only",
|
| 466 |
+
(
|
| 467 |
+
"""
|
| 468 |
+
ALTER TABLE bookings ADD COLUMN hourly_rate INTEGER
|
| 469 |
+
""",
|
| 470 |
+
"""
|
| 471 |
+
DROP TABLE IF EXISTS sessions
|
| 472 |
+
""",
|
| 473 |
+
),
|
| 474 |
+
),
|
| 475 |
+
(
|
| 476 |
+
7,
|
| 477 |
+
"0007-role-authority-and-booking-command-journal",
|
| 478 |
+
(
|
| 479 |
+
"""
|
| 480 |
+
ALTER TABLE clients
|
| 481 |
+
ADD COLUMN role TEXT NOT NULL DEFAULT 'requester'
|
| 482 |
+
""",
|
| 483 |
+
"""
|
| 484 |
+
CREATE TABLE booking_workflow_commands (
|
| 485 |
+
command_id TEXT PRIMARY KEY,
|
| 486 |
+
owner_id TEXT NOT NULL REFERENCES clients(id),
|
| 487 |
+
resolved_role TEXT NOT NULL,
|
| 488 |
+
idempotency_key TEXT NOT NULL,
|
| 489 |
+
payload_digest TEXT NOT NULL,
|
| 490 |
+
operation_kind TEXT NOT NULL,
|
| 491 |
+
entity_id TEXT NOT NULL,
|
| 492 |
+
expected_version TEXT NOT NULL,
|
| 493 |
+
status TEXT NOT NULL,
|
| 494 |
+
outcome_booking_id TEXT NOT NULL REFERENCES bookings(id),
|
| 495 |
+
canonical_outcome_json TEXT NOT NULL,
|
| 496 |
+
outcome_digest TEXT NOT NULL,
|
| 497 |
+
committed_at TEXT NOT NULL,
|
| 498 |
+
UNIQUE(owner_id, idempotency_key)
|
| 499 |
+
)
|
| 500 |
+
""",
|
| 501 |
+
"""
|
| 502 |
+
CREATE TABLE booking_workflow_version_journal (
|
| 503 |
+
entity_id TEXT NOT NULL,
|
| 504 |
+
version INTEGER NOT NULL,
|
| 505 |
+
command_id TEXT NOT NULL
|
| 506 |
+
REFERENCES booking_workflow_commands(command_id),
|
| 507 |
+
prior_version INTEGER NOT NULL,
|
| 508 |
+
booking_id TEXT NOT NULL REFERENCES bookings(id),
|
| 509 |
+
outcome_digest TEXT NOT NULL,
|
| 510 |
+
committed_at TEXT NOT NULL,
|
| 511 |
+
PRIMARY KEY(entity_id, version)
|
| 512 |
+
)
|
| 513 |
+
""",
|
| 514 |
+
"""
|
| 515 |
+
ALTER TABLE bookings
|
| 516 |
+
ADD COLUMN command_id TEXT
|
| 517 |
+
""",
|
| 518 |
+
"""
|
| 519 |
+
ALTER TABLE bookings
|
| 520 |
+
ADD COLUMN committed_version INTEGER
|
| 521 |
+
""",
|
| 522 |
+
"""
|
| 523 |
+
CREATE UNIQUE INDEX idx_bookings_command_id
|
| 524 |
+
ON bookings(command_id) WHERE command_id IS NOT NULL
|
| 525 |
+
""",
|
| 526 |
+
),
|
| 527 |
+
),
|
| 528 |
+
(
|
| 529 |
+
8,
|
| 530 |
+
"0008-offline-sandbox-booking-payment",
|
| 531 |
+
(
|
| 532 |
+
# One authorized offline-sandbox payment binds to one draft; the
|
| 533 |
+
# shared ledger (websitebench_payment_flows/attempts) lives in this
|
| 534 |
+
# same database, created by SiteBackend before these migrations run.
|
| 535 |
+
"""
|
| 536 |
+
ALTER TABLE wizard_drafts ADD COLUMN payment_flow_id TEXT
|
| 537 |
+
""",
|
| 538 |
+
"""
|
| 539 |
+
ALTER TABLE wizard_drafts ADD COLUMN payment_amount_minor INTEGER
|
| 540 |
+
""",
|
| 541 |
+
"""
|
| 542 |
+
ALTER TABLE wizard_drafts ADD COLUMN payment_currency TEXT
|
| 543 |
+
""",
|
| 544 |
+
"""
|
| 545 |
+
ALTER TABLE wizard_drafts ADD COLUMN payment_fingerprint TEXT
|
| 546 |
+
""",
|
| 547 |
+
"""
|
| 548 |
+
ALTER TABLE wizard_drafts ADD COLUMN payment_status TEXT
|
| 549 |
+
""",
|
| 550 |
+
"""
|
| 551 |
+
ALTER TABLE bookings ADD COLUMN payment_flow_id TEXT
|
| 552 |
+
""",
|
| 553 |
+
"""
|
| 554 |
+
ALTER TABLE bookings ADD COLUMN amount_minor INTEGER
|
| 555 |
+
""",
|
| 556 |
+
),
|
| 557 |
+
),
|
| 558 |
+
)
|
| 559 |
+
MIGRATION_HEAD = MIGRATIONS[-1][1]
|
| 560 |
+
|
| 561 |
+
DRAFT_FIELDS = (
|
| 562 |
+
"category",
|
| 563 |
+
"apartment_size",
|
| 564 |
+
"address_id",
|
| 565 |
+
"slot_id",
|
| 566 |
+
"tasker_id",
|
| 567 |
+
)
|
| 568 |
+
|
| 569 |
+
# ---- environment / connection helpers ---------------------------------------
|
| 570 |
+
|
| 571 |
+
|
| 572 |
+
def admin_token() -> str | None:
|
| 573 |
+
token = os.environ.get(ADMIN_TOKEN_ENV, "").strip()
|
| 574 |
+
return token or None
|
| 575 |
+
|
| 576 |
+
|
| 577 |
+
def resolve_data_dir(value: str | os.PathLike[str] | None = None) -> Path:
|
| 578 |
+
raw = (
|
| 579 |
+
value
|
| 580 |
+
or os.environ.get(DATA_DIR_ENV)
|
| 581 |
+
or os.environ.get(SHARED_DATA_DIR_ENV)
|
| 582 |
+
or DEFAULT_DATA_DIR
|
| 583 |
+
)
|
| 584 |
+
path = Path(raw).resolve()
|
| 585 |
+
clone = CLONE_DIR.resolve()
|
| 586 |
+
if path == clone or clone in path.parents:
|
| 587 |
+
raise ValueError(
|
| 588 |
+
"the persistent data directory must never live inside clone/"
|
| 589 |
+
)
|
| 590 |
+
return path
|
| 591 |
+
|
| 592 |
+
|
| 593 |
+
def connect(db_file: str | os.PathLike[str]) -> sqlite3.Connection:
|
| 594 |
+
conn = sqlite3.connect(str(db_file), timeout=30)
|
| 595 |
+
conn.row_factory = sqlite3.Row
|
| 596 |
+
conn.execute("PRAGMA journal_mode=WAL")
|
| 597 |
+
conn.execute("PRAGMA busy_timeout=10000")
|
| 598 |
+
conn.execute("PRAGMA foreign_keys=ON")
|
| 599 |
+
return conn
|
| 600 |
+
|
| 601 |
+
|
| 602 |
+
@contextmanager
|
| 603 |
+
def session(
|
| 604 |
+
db_file: str | os.PathLike[str],
|
| 605 |
+
*,
|
| 606 |
+
immediate: bool = False,
|
| 607 |
+
) -> Iterator[sqlite3.Connection]:
|
| 608 |
+
conn = connect(db_file)
|
| 609 |
+
try:
|
| 610 |
+
if immediate:
|
| 611 |
+
conn.execute("BEGIN IMMEDIATE")
|
| 612 |
+
yield conn
|
| 613 |
+
conn.commit()
|
| 614 |
+
except BaseException:
|
| 615 |
+
conn.rollback()
|
| 616 |
+
raise
|
| 617 |
+
finally:
|
| 618 |
+
conn.close()
|
| 619 |
+
|
| 620 |
+
|
| 621 |
+
# ---- migrations -------------------------------------------------------------
|
| 622 |
+
|
| 623 |
+
|
| 624 |
+
def _ensure_migrations_table(conn: sqlite3.Connection) -> None:
|
| 625 |
+
conn.execute(
|
| 626 |
+
"""
|
| 627 |
+
CREATE TABLE IF NOT EXISTS schema_migrations (
|
| 628 |
+
version INTEGER PRIMARY KEY,
|
| 629 |
+
name TEXT NOT NULL UNIQUE,
|
| 630 |
+
applied_at TEXT NOT NULL
|
| 631 |
+
)
|
| 632 |
+
"""
|
| 633 |
+
)
|
| 634 |
+
|
| 635 |
+
|
| 636 |
+
def applied_versions(conn: sqlite3.Connection) -> list[int]:
|
| 637 |
+
_ensure_migrations_table(conn)
|
| 638 |
+
rows = conn.execute(
|
| 639 |
+
"SELECT version FROM schema_migrations ORDER BY version"
|
| 640 |
+
).fetchall()
|
| 641 |
+
return [row["version"] for row in rows]
|
| 642 |
+
|
| 643 |
+
|
| 644 |
+
def migration_head(conn: sqlite3.Connection) -> str | None:
|
| 645 |
+
_ensure_migrations_table(conn)
|
| 646 |
+
row = conn.execute(
|
| 647 |
+
"SELECT name FROM schema_migrations ORDER BY version DESC LIMIT 1"
|
| 648 |
+
).fetchone()
|
| 649 |
+
return row["name"] if row else None
|
| 650 |
+
|
| 651 |
+
|
| 652 |
+
def apply_migrations(
|
| 653 |
+
conn: sqlite3.Connection, *, upto: int | None = None
|
| 654 |
+
) -> str | None:
|
| 655 |
+
"""Apply every pending migration in order (optionally capped at *upto*)."""
|
| 656 |
+
_ensure_migrations_table(conn)
|
| 657 |
+
applied = set(applied_versions(conn))
|
| 658 |
+
for version, name, statements in MIGRATIONS:
|
| 659 |
+
if version in applied:
|
| 660 |
+
continue
|
| 661 |
+
if upto is not None and version > upto:
|
| 662 |
+
break
|
| 663 |
+
for statement in statements:
|
| 664 |
+
conn.execute(statement)
|
| 665 |
+
if version == 7:
|
| 666 |
+
_backfill_booking_command_history(conn)
|
| 667 |
+
conn.execute(
|
| 668 |
+
"INSERT INTO schema_migrations (version, name, applied_at)"
|
| 669 |
+
" VALUES (?, ?, ?)",
|
| 670 |
+
(version, name, FROZEN_CLOCK),
|
| 671 |
+
)
|
| 672 |
+
applied_head = max(applied_versions(conn), default=0)
|
| 673 |
+
conn.execute(f"PRAGMA user_version = {applied_head}")
|
| 674 |
+
return migration_head(conn)
|
| 675 |
+
|
| 676 |
+
|
| 677 |
+
def _canonical_json(value: Any) -> str:
|
| 678 |
+
return json.dumps(
|
| 679 |
+
value,
|
| 680 |
+
ensure_ascii=False,
|
| 681 |
+
sort_keys=True,
|
| 682 |
+
separators=(",", ":"),
|
| 683 |
+
)
|
| 684 |
+
|
| 685 |
+
|
| 686 |
+
def _digest_json(value: Any) -> str:
|
| 687 |
+
return hashlib.sha256(_canonical_json(value).encode("utf-8")).hexdigest()
|
| 688 |
+
|
| 689 |
+
|
| 690 |
+
def _backfill_booking_command_history(conn: sqlite3.Connection) -> None:
|
| 691 |
+
"""Give pre-0007 committed bookings explicit immutable command history."""
|
| 692 |
+
table = conn.execute(
|
| 693 |
+
"SELECT 1 FROM sqlite_master WHERE type='table' "
|
| 694 |
+
"AND name='booking_workflow_commands'"
|
| 695 |
+
).fetchone()
|
| 696 |
+
if table is None:
|
| 697 |
+
return
|
| 698 |
+
rows = conn.execute(
|
| 699 |
+
"SELECT * FROM bookings ORDER BY id"
|
| 700 |
+
).fetchall()
|
| 701 |
+
for row in rows:
|
| 702 |
+
booking = dict(row)
|
| 703 |
+
entity_id = str(booking.get("request_id") or booking["id"])
|
| 704 |
+
idempotency_key = str(
|
| 705 |
+
booking.get("idempotency_token")
|
| 706 |
+
or f"migrated-{booking['id']}"
|
| 707 |
+
)
|
| 708 |
+
try:
|
| 709 |
+
payload = json.loads(str(booking.get("merge_key_json") or "{}"))
|
| 710 |
+
except json.JSONDecodeError:
|
| 711 |
+
payload = {"legacy_merge_key": str(booking.get("merge_key_json"))}
|
| 712 |
+
payload_digest = _digest_json(payload)
|
| 713 |
+
outcome = {
|
| 714 |
+
"booking_id": str(booking["id"]),
|
| 715 |
+
"receipt_id": str(
|
| 716 |
+
booking.get("receipt_id") or f"receipt-{booking['id']}"
|
| 717 |
+
),
|
| 718 |
+
"result": "committed",
|
| 719 |
+
}
|
| 720 |
+
outcome_json = _canonical_json(outcome)
|
| 721 |
+
outcome_digest = hashlib.sha256(outcome_json.encode("utf-8")).hexdigest()
|
| 722 |
+
command_id = f"command-migrated-{booking['id']}"
|
| 723 |
+
conn.execute(
|
| 724 |
+
"INSERT OR IGNORE INTO booking_workflow_commands"
|
| 725 |
+
" (command_id, owner_id, resolved_role, idempotency_key,"
|
| 726 |
+
" payload_digest, operation_kind, entity_id, expected_version,"
|
| 727 |
+
" status, outcome_booking_id, canonical_outcome_json,"
|
| 728 |
+
" outcome_digest, committed_at)"
|
| 729 |
+
" VALUES (?, ?, 'requester', ?, ?, 'legacy-confirm', ?, ?,"
|
| 730 |
+
" 'committed', ?, ?, ?, ?)",
|
| 731 |
+
(
|
| 732 |
+
command_id,
|
| 733 |
+
str(booking["owner"]),
|
| 734 |
+
idempotency_key,
|
| 735 |
+
payload_digest,
|
| 736 |
+
entity_id,
|
| 737 |
+
str(booking.get("request_version") or "legacy"),
|
| 738 |
+
str(booking["id"]),
|
| 739 |
+
outcome_json,
|
| 740 |
+
outcome_digest,
|
| 741 |
+
str(booking.get("created_at") or FROZEN_CLOCK),
|
| 742 |
+
),
|
| 743 |
+
)
|
| 744 |
+
conn.execute(
|
| 745 |
+
"INSERT OR IGNORE INTO booking_workflow_version_journal"
|
| 746 |
+
" (entity_id, version, command_id, prior_version,"
|
| 747 |
+
" booking_id, outcome_digest, committed_at)"
|
| 748 |
+
" VALUES (?, 1, ?, 0, ?, ?, ?)",
|
| 749 |
+
(
|
| 750 |
+
entity_id,
|
| 751 |
+
command_id,
|
| 752 |
+
str(booking["id"]),
|
| 753 |
+
outcome_digest,
|
| 754 |
+
str(booking.get("created_at") or FROZEN_CLOCK),
|
| 755 |
+
),
|
| 756 |
+
)
|
| 757 |
+
conn.execute(
|
| 758 |
+
"UPDATE bookings SET command_id = ?, committed_version = 1 "
|
| 759 |
+
"WHERE id = ? AND command_id IS NULL",
|
| 760 |
+
(command_id, str(booking["id"])),
|
| 761 |
+
)
|
| 762 |
+
|
| 763 |
+
|
| 764 |
+
# ---- seed / reset -----------------------------------------------------------
|
| 765 |
+
|
| 766 |
+
|
| 767 |
+
def seed(conn: sqlite3.Connection) -> dict[str, int]:
|
| 768 |
+
"""Idempotently insert the deterministic seed rows (fixed IDs)."""
|
| 769 |
+
before = conn.total_changes
|
| 770 |
+
for category_id, label in SEED_CATEGORIES:
|
| 771 |
+
conn.execute(
|
| 772 |
+
"INSERT OR IGNORE INTO categories (id, label) VALUES (?, ?)",
|
| 773 |
+
(category_id, label),
|
| 774 |
+
)
|
| 775 |
+
for size_id, version, label in SEED_SIZES:
|
| 776 |
+
conn.execute(
|
| 777 |
+
"INSERT OR IGNORE INTO apartment_sizes (id, label, version)"
|
| 778 |
+
" VALUES (?, ?, ?)",
|
| 779 |
+
(size_id, label, version),
|
| 780 |
+
)
|
| 781 |
+
for client_id, display_name, role in SEED_CLIENTS:
|
| 782 |
+
conn.execute(
|
| 783 |
+
"INSERT OR IGNORE INTO clients (id, display_name, role)"
|
| 784 |
+
" VALUES (?, ?, ?)",
|
| 785 |
+
(client_id, display_name, role),
|
| 786 |
+
)
|
| 787 |
+
for address in SEED_ADDRESSES:
|
| 788 |
+
conn.execute(
|
| 789 |
+
"INSERT OR IGNORE INTO addresses"
|
| 790 |
+
" (id, owner, street, unit, city, state, zip, is_default,"
|
| 791 |
+
" fictional)"
|
| 792 |
+
" VALUES (?, ?, ?, ?, ?, ?, ?, ?, 1)",
|
| 793 |
+
(
|
| 794 |
+
address["id"],
|
| 795 |
+
address["owner"],
|
| 796 |
+
address["street"],
|
| 797 |
+
address["unit"],
|
| 798 |
+
address["city"],
|
| 799 |
+
address["state"],
|
| 800 |
+
address["zip"],
|
| 801 |
+
address["is_default"],
|
| 802 |
+
),
|
| 803 |
+
)
|
| 804 |
+
for tasker in SEED_TASKERS:
|
| 805 |
+
conn.execute(
|
| 806 |
+
"INSERT OR IGNORE INTO taskers"
|
| 807 |
+
" (id, name, rate, rating, reviews, blurb, simulated,"
|
| 808 |
+
" provider_version, profile_variant, availability_state)"
|
| 809 |
+
" VALUES (?, ?, ?, ?, ?, ?, 1, ?, ?, ?)",
|
| 810 |
+
(
|
| 811 |
+
tasker["id"],
|
| 812 |
+
tasker["name"],
|
| 813 |
+
tasker["rate"],
|
| 814 |
+
tasker["rating"],
|
| 815 |
+
tasker["reviews"],
|
| 816 |
+
tasker["blurb"],
|
| 817 |
+
tasker["provider_version"],
|
| 818 |
+
tasker["profile_variant"],
|
| 819 |
+
tasker["availability_state"],
|
| 820 |
+
),
|
| 821 |
+
)
|
| 822 |
+
for slot in SEED_SLOTS:
|
| 823 |
+
conn.execute(
|
| 824 |
+
"INSERT OR IGNORE INTO slots"
|
| 825 |
+
" (id, version, date, window_start, window_end)"
|
| 826 |
+
" VALUES (?, ?, ?, ?, ?)",
|
| 827 |
+
(
|
| 828 |
+
slot["id"],
|
| 829 |
+
slot["version"],
|
| 830 |
+
slot["date"],
|
| 831 |
+
slot["window_start"],
|
| 832 |
+
slot["window_end"],
|
| 833 |
+
),
|
| 834 |
+
)
|
| 835 |
+
for tasker in SEED_TASKERS:
|
| 836 |
+
if tasker["availability_state"] != "available":
|
| 837 |
+
continue
|
| 838 |
+
for slot in SEED_SLOTS:
|
| 839 |
+
conn.execute(
|
| 840 |
+
"INSERT OR IGNORE INTO tasker_availability"
|
| 841 |
+
" (tasker_id, slot_id) VALUES (?, ?)",
|
| 842 |
+
(tasker["id"], slot["id"]),
|
| 843 |
+
)
|
| 844 |
+
# The seed client's wizard draft is an ordinary seed row capturing a
|
| 845 |
+
# completed wizard journey (category, size, address, slot) so the
|
| 846 |
+
# review/confirm surface is reachable immediately after a reset.
|
| 847 |
+
conn.execute(
|
| 848 |
+
"INSERT OR IGNORE INTO wizard_drafts"
|
| 849 |
+
" (owner, booking_ref, category, apartment_size, address_id,"
|
| 850 |
+
" slot_id, draft_version, created_at, updated_at)"
|
| 851 |
+
" VALUES (?, ?, ?, ?, ?, ?, 1, ?, ?)",
|
| 852 |
+
(
|
| 853 |
+
SESSION_ACCOUNT,
|
| 854 |
+
SEED_DRAFT_REF,
|
| 855 |
+
CATEGORY_ID,
|
| 856 |
+
APARTMENT_SIZE,
|
| 857 |
+
FIXTURE_ADDRESS_ID,
|
| 858 |
+
SLOT_ID,
|
| 859 |
+
FROZEN_CLOCK,
|
| 860 |
+
FROZEN_CLOCK,
|
| 861 |
+
),
|
| 862 |
+
)
|
| 863 |
+
# A foreign-owned booking row so cross-account isolation is a real,
|
| 864 |
+
# database-backed refusal instead of a hard-coded page.
|
| 865 |
+
conn.execute(
|
| 866 |
+
"INSERT OR IGNORE INTO bookings"
|
| 867 |
+
" (id, owner, category, apartment_size, tasker_id, slot_id,"
|
| 868 |
+
" slot_version, date, window, address, status, created_at,"
|
| 869 |
+
" hourly_rate)"
|
| 870 |
+
" VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
|
| 871 |
+
(
|
| 872 |
+
FOREIGN_BOOKING_ID,
|
| 873 |
+
FOREIGN_ACCOUNT,
|
| 874 |
+
CATEGORY_ID,
|
| 875 |
+
APARTMENT_SIZE,
|
| 876 |
+
"tasker-sim-alex",
|
| 877 |
+
SLOT_ID,
|
| 878 |
+
SLOT_VERSION,
|
| 879 |
+
BOOKING_DATE,
|
| 880 |
+
BOOKING_WINDOW,
|
| 881 |
+
FOREIGN_ADDRESS,
|
| 882 |
+
BOOKING_STATUS_OPEN,
|
| 883 |
+
FROZEN_CLOCK,
|
| 884 |
+
52,
|
| 885 |
+
),
|
| 886 |
+
)
|
| 887 |
+
conn.execute(
|
| 888 |
+
"UPDATE bookings SET request_id = ?, request_version = ?,"
|
| 889 |
+
" task_template_id = ?, apartment_size_version = ?, address_id = ?,"
|
| 890 |
+
" provider_version = ?, quote_id = ?, quote_version = ?,"
|
| 891 |
+
" quote_owner_id = ?, session_id = ?, idempotency_token = ?,"
|
| 892 |
+
" receipt_id = ?, merge_key_json = ? WHERE id = ?",
|
| 893 |
+
(
|
| 894 |
+
FOREIGN_REQUEST_ID,
|
| 895 |
+
"request-v1",
|
| 896 |
+
TASK_TEMPLATE_ID,
|
| 897 |
+
APARTMENT_SIZE_VERSION,
|
| 898 |
+
FOREIGN_ADDRESS_ID,
|
| 899 |
+
"provider-alex-v1",
|
| 900 |
+
f"quote-tasker-sim-alex-{FOREIGN_REQUEST_ID}",
|
| 901 |
+
"quote-v1",
|
| 902 |
+
FOREIGN_ACCOUNT,
|
| 903 |
+
"session-robin-seed",
|
| 904 |
+
f"idem-{FOREIGN_REQUEST_ID}-request-v1",
|
| 905 |
+
f"receipt-{FOREIGN_BOOKING_ID}",
|
| 906 |
+
"{}",
|
| 907 |
+
FOREIGN_BOOKING_ID,
|
| 908 |
+
),
|
| 909 |
+
)
|
| 910 |
+
_backfill_booking_command_history(conn)
|
| 911 |
+
for name in ("booking_ref", "booking", "address", "command"):
|
| 912 |
+
conn.execute(
|
| 913 |
+
"INSERT OR IGNORE INTO sequences (name, value) VALUES (?, 0)",
|
| 914 |
+
(name,),
|
| 915 |
+
)
|
| 916 |
+
return {"rows_inserted": conn.total_changes - before}
|
| 917 |
+
|
| 918 |
+
|
| 919 |
+
def reset_state(conn: sqlite3.Connection) -> dict[str, int]:
|
| 920 |
+
"""Admin reset: wipe all mutable state, then restore the exact seed."""
|
| 921 |
+
table_names = {
|
| 922 |
+
str(row["name"])
|
| 923 |
+
for row in conn.execute(
|
| 924 |
+
"SELECT name FROM sqlite_master WHERE type='table'"
|
| 925 |
+
).fetchall()
|
| 926 |
+
}
|
| 927 |
+
auth_tables = {
|
| 928 |
+
name for name in table_names if name.startswith("local_auth_")
|
| 929 |
+
}
|
| 930 |
+
if "websitebench_payment_events" in table_names:
|
| 931 |
+
# Payment events are immutable in ordinary application transactions.
|
| 932 |
+
# The token-protected benchmark reset is the sole lifecycle boundary
|
| 933 |
+
# allowed to rebuild the deterministic local fixture from zero.
|
| 934 |
+
conn.execute("DROP TRIGGER IF EXISTS websitebench_payment_events_no_delete")
|
| 935 |
+
counts = {
|
| 936 |
+
"payment_events_deleted": (
|
| 937 |
+
conn.execute("DELETE FROM websitebench_payment_events").rowcount
|
| 938 |
+
if "websitebench_payment_events" in table_names
|
| 939 |
+
else 0
|
| 940 |
+
),
|
| 941 |
+
"payment_attempts_deleted": (
|
| 942 |
+
conn.execute("DELETE FROM websitebench_payment_attempts").rowcount
|
| 943 |
+
if "websitebench_payment_attempts" in table_names
|
| 944 |
+
else 0
|
| 945 |
+
),
|
| 946 |
+
"payment_flows_deleted": (
|
| 947 |
+
conn.execute("DELETE FROM websitebench_payment_flows").rowcount
|
| 948 |
+
if "websitebench_payment_flows" in table_names
|
| 949 |
+
else 0
|
| 950 |
+
),
|
| 951 |
+
"booking_version_journal_deleted": conn.execute(
|
| 952 |
+
"DELETE FROM booking_workflow_version_journal"
|
| 953 |
+
).rowcount,
|
| 954 |
+
"booking_commands_deleted": conn.execute(
|
| 955 |
+
"DELETE FROM booking_workflow_commands"
|
| 956 |
+
).rowcount,
|
| 957 |
+
"bookings_deleted": conn.execute("DELETE FROM bookings").rowcount,
|
| 958 |
+
"wizard_drafts_deleted": conn.execute(
|
| 959 |
+
"DELETE FROM wizard_drafts"
|
| 960 |
+
).rowcount,
|
| 961 |
+
"auth_sessions_deleted": (
|
| 962 |
+
conn.execute("DELETE FROM local_auth_sessions").rowcount
|
| 963 |
+
if "local_auth_sessions" in auth_tables
|
| 964 |
+
else 0
|
| 965 |
+
),
|
| 966 |
+
"auth_registration_flows_deleted": (
|
| 967 |
+
conn.execute("DELETE FROM local_auth_registration_flows").rowcount
|
| 968 |
+
if "local_auth_registration_flows" in auth_tables
|
| 969 |
+
else 0
|
| 970 |
+
),
|
| 971 |
+
"auth_password_reset_flows_deleted": (
|
| 972 |
+
conn.execute("DELETE FROM local_auth_password_reset_flows").rowcount
|
| 973 |
+
if "local_auth_password_reset_flows" in auth_tables
|
| 974 |
+
else 0
|
| 975 |
+
),
|
| 976 |
+
"auth_mail_deleted": (
|
| 977 |
+
conn.execute("DELETE FROM local_auth_mail_outbox").rowcount
|
| 978 |
+
if "local_auth_mail_outbox" in auth_tables
|
| 979 |
+
else 0
|
| 980 |
+
),
|
| 981 |
+
"auth_rate_limits_deleted": (
|
| 982 |
+
conn.execute("DELETE FROM local_auth_mail_rate_limits").rowcount
|
| 983 |
+
if "local_auth_mail_rate_limits" in auth_tables
|
| 984 |
+
else 0
|
| 985 |
+
),
|
| 986 |
+
"auth_nonseed_accounts_deleted": (
|
| 987 |
+
conn.execute(
|
| 988 |
+
"DELETE FROM local_auth_accounts "
|
| 989 |
+
"WHERE subject_id NOT IN (?, ?, ?)",
|
| 990 |
+
(SESSION_ACCOUNT, FOREIGN_ACCOUNT, TASKER_ACCOUNT),
|
| 991 |
+
).rowcount
|
| 992 |
+
if "local_auth_accounts" in auth_tables
|
| 993 |
+
else 0
|
| 994 |
+
),
|
| 995 |
+
"addresses_deleted": conn.execute("DELETE FROM addresses").rowcount,
|
| 996 |
+
"tasker_availability_deleted": conn.execute(
|
| 997 |
+
"DELETE FROM tasker_availability"
|
| 998 |
+
).rowcount,
|
| 999 |
+
"taskers_deleted": conn.execute("DELETE FROM taskers").rowcount,
|
| 1000 |
+
"slots_deleted": conn.execute("DELETE FROM slots").rowcount,
|
| 1001 |
+
}
|
| 1002 |
+
if "websitebench_payment_events" in table_names:
|
| 1003 |
+
conn.execute(
|
| 1004 |
+
"CREATE TRIGGER websitebench_payment_events_no_delete "
|
| 1005 |
+
"BEFORE DELETE ON websitebench_payment_events BEGIN "
|
| 1006 |
+
"SELECT RAISE(ABORT, 'payment events are immutable'); END"
|
| 1007 |
+
)
|
| 1008 |
+
counts["registered_clients_deleted"] = conn.execute(
|
| 1009 |
+
"DELETE FROM clients WHERE id NOT IN (?, ?, ?)",
|
| 1010 |
+
(SESSION_ACCOUNT, FOREIGN_ACCOUNT, TASKER_ACCOUNT),
|
| 1011 |
+
).rowcount
|
| 1012 |
+
conn.execute("DELETE FROM sequences")
|
| 1013 |
+
seeded = seed(conn)
|
| 1014 |
+
counts["seed_rows_inserted"] = seeded["rows_inserted"]
|
| 1015 |
+
return counts
|
| 1016 |
+
|
| 1017 |
+
|
| 1018 |
+
def init_db(data_dir: str | os.PathLike[str] | None = None) -> Path:
|
| 1019 |
+
"""Resolve the data dir, migrate to head, seed, and return the db file."""
|
| 1020 |
+
directory = resolve_data_dir(data_dir)
|
| 1021 |
+
directory.mkdir(parents=True, exist_ok=True)
|
| 1022 |
+
db_file = directory / DB_FILENAME
|
| 1023 |
+
if db_file.is_file() and db_file.stat().st_size > 0:
|
| 1024 |
+
uri = f"{db_file.resolve().as_uri()}?mode=ro"
|
| 1025 |
+
with sqlite3.connect(uri, uri=True) as inspection:
|
| 1026 |
+
legacy = inspection.execute(
|
| 1027 |
+
"SELECT 1 FROM sqlite_master WHERE type='table' "
|
| 1028 |
+
"AND name='clawbench_site_binding'"
|
| 1029 |
+
).fetchone()
|
| 1030 |
+
if legacy is not None:
|
| 1031 |
+
raise RuntimeError(
|
| 1032 |
+
"Taskrabbit database uses the legacy binding namespace"
|
| 1033 |
+
)
|
| 1034 |
+
canonical = inspection.execute(
|
| 1035 |
+
"SELECT 1 FROM sqlite_master WHERE type='table' "
|
| 1036 |
+
"AND name='websitebench_site_binding'"
|
| 1037 |
+
).fetchone()
|
| 1038 |
+
if canonical is None:
|
| 1039 |
+
raise RuntimeError(
|
| 1040 |
+
"Taskrabbit database is unbound; copy-only migration is required"
|
| 1041 |
+
)
|
| 1042 |
+
bindings = inspection.execute(
|
| 1043 |
+
"SELECT singleton,site_id FROM websitebench_site_binding"
|
| 1044 |
+
).fetchall()
|
| 1045 |
+
if (
|
| 1046 |
+
len(bindings) != 1
|
| 1047 |
+
or int(bindings[0][0]) != 1
|
| 1048 |
+
or str(bindings[0][1]) != SITE_ID
|
| 1049 |
+
):
|
| 1050 |
+
raise RuntimeError("Taskrabbit database has a foreign site binding")
|
| 1051 |
+
with session(db_file) as conn:
|
| 1052 |
+
conn.execute(
|
| 1053 |
+
"CREATE TABLE IF NOT EXISTS websitebench_site_binding("
|
| 1054 |
+
"singleton INTEGER PRIMARY KEY CHECK(singleton=1),"
|
| 1055 |
+
"site_id TEXT NOT NULL UNIQUE,bound_at TEXT NOT NULL)"
|
| 1056 |
+
)
|
| 1057 |
+
bindings = conn.execute(
|
| 1058 |
+
"SELECT singleton,site_id FROM websitebench_site_binding"
|
| 1059 |
+
).fetchall()
|
| 1060 |
+
if not bindings:
|
| 1061 |
+
conn.execute(
|
| 1062 |
+
"INSERT INTO websitebench_site_binding"
|
| 1063 |
+
"(singleton,site_id,bound_at) VALUES (1,?,?)",
|
| 1064 |
+
(SITE_ID, FROZEN_CLOCK),
|
| 1065 |
+
)
|
| 1066 |
+
elif (
|
| 1067 |
+
len(bindings) != 1
|
| 1068 |
+
or int(bindings[0]["singleton"]) != 1
|
| 1069 |
+
or str(bindings[0]["site_id"]) != SITE_ID
|
| 1070 |
+
):
|
| 1071 |
+
raise RuntimeError("Taskrabbit database has a foreign site binding")
|
| 1072 |
+
apply_migrations(conn)
|
| 1073 |
+
seed(conn)
|
| 1074 |
+
return db_file
|
| 1075 |
+
|
| 1076 |
+
|
| 1077 |
+
# ---- sequences ----------------------------------------------------------------
|
| 1078 |
+
|
| 1079 |
+
|
| 1080 |
+
def next_sequence(conn: sqlite3.Connection, name: str) -> int:
|
| 1081 |
+
conn.execute(
|
| 1082 |
+
"INSERT OR IGNORE INTO sequences (name, value) VALUES (?, 0)", (name,)
|
| 1083 |
+
)
|
| 1084 |
+
conn.execute(
|
| 1085 |
+
"UPDATE sequences SET value = value + 1 WHERE name = ?", (name,)
|
| 1086 |
+
)
|
| 1087 |
+
row = conn.execute(
|
| 1088 |
+
"SELECT value FROM sequences WHERE name = ?", (name,)
|
| 1089 |
+
).fetchone()
|
| 1090 |
+
return int(row["value"])
|
| 1091 |
+
|
| 1092 |
+
|
| 1093 |
+
# ---- catalog reads ------------------------------------------------------------
|
| 1094 |
+
|
| 1095 |
+
|
| 1096 |
+
def get_category(conn: sqlite3.Connection, category_id: str) -> dict[str, Any] | None:
|
| 1097 |
+
row = conn.execute(
|
| 1098 |
+
"SELECT * FROM categories WHERE id = ?", (category_id,)
|
| 1099 |
+
).fetchone()
|
| 1100 |
+
return dict(row) if row else None
|
| 1101 |
+
|
| 1102 |
+
|
| 1103 |
+
def get_size(conn: sqlite3.Connection, size_id: str) -> dict[str, Any] | None:
|
| 1104 |
+
row = conn.execute(
|
| 1105 |
+
"SELECT * FROM apartment_sizes WHERE id = ?", (size_id,)
|
| 1106 |
+
).fetchone()
|
| 1107 |
+
return dict(row) if row else None
|
| 1108 |
+
|
| 1109 |
+
|
| 1110 |
+
def get_client(conn: sqlite3.Connection, client_id: str) -> dict[str, Any] | None:
|
| 1111 |
+
row = conn.execute(
|
| 1112 |
+
"SELECT * FROM clients WHERE id = ?", (client_id,)
|
| 1113 |
+
).fetchone()
|
| 1114 |
+
return dict(row) if row else None
|
| 1115 |
+
|
| 1116 |
+
|
| 1117 |
+
def list_taskers(conn: sqlite3.Connection) -> list[dict[str, Any]]:
|
| 1118 |
+
rows = conn.execute(
|
| 1119 |
+
"SELECT * FROM taskers WHERE simulated = 1 ORDER BY id"
|
| 1120 |
+
).fetchall()
|
| 1121 |
+
return [dict(row) for row in rows]
|
| 1122 |
+
|
| 1123 |
+
|
| 1124 |
+
def get_tasker(conn: sqlite3.Connection, tasker_id: str) -> dict[str, Any] | None:
|
| 1125 |
+
row = conn.execute(
|
| 1126 |
+
"SELECT * FROM taskers WHERE id = ?", (tasker_id,)
|
| 1127 |
+
).fetchone()
|
| 1128 |
+
return dict(row) if row else None
|
| 1129 |
+
|
| 1130 |
+
|
| 1131 |
+
# ---- availability slots (versioned, frozen-clock derived) ----------------------
|
| 1132 |
+
|
| 1133 |
+
|
| 1134 |
+
def slot_start(slot: dict[str, Any]) -> datetime:
|
| 1135 |
+
"""Slot start as an aware datetime in the frozen clock's timezone."""
|
| 1136 |
+
tz = frozen_now().tzinfo or timezone(timedelta(hours=-4))
|
| 1137 |
+
return datetime.fromisoformat(
|
| 1138 |
+
f"{slot['date']}T{slot['window_start']}:00"
|
| 1139 |
+
).replace(tzinfo=tz)
|
| 1140 |
+
|
| 1141 |
+
|
| 1142 |
+
def slot_is_past(slot: dict[str, Any]) -> bool:
|
| 1143 |
+
return slot_start(slot) <= frozen_now()
|
| 1144 |
+
|
| 1145 |
+
|
| 1146 |
+
def list_slots(conn: sqlite3.Connection) -> list[dict[str, Any]]:
|
| 1147 |
+
rows = conn.execute(
|
| 1148 |
+
"SELECT * FROM slots ORDER BY date, window_start"
|
| 1149 |
+
).fetchall()
|
| 1150 |
+
return [dict(row) for row in rows]
|
| 1151 |
+
|
| 1152 |
+
|
| 1153 |
+
def list_open_slots(conn: sqlite3.Connection) -> list[dict[str, Any]]:
|
| 1154 |
+
return [slot for slot in list_slots(conn) if not slot_is_past(slot)]
|
| 1155 |
+
|
| 1156 |
+
|
| 1157 |
+
def get_slot(conn: sqlite3.Connection, slot_id: str) -> dict[str, Any] | None:
|
| 1158 |
+
row = conn.execute("SELECT * FROM slots WHERE id = ?", (slot_id,)).fetchone()
|
| 1159 |
+
return dict(row) if row else None
|
| 1160 |
+
|
| 1161 |
+
|
| 1162 |
+
def find_slot(
|
| 1163 |
+
conn: sqlite3.Connection, date: str, window: str
|
| 1164 |
+
) -> dict[str, Any] | None:
|
| 1165 |
+
start, _, end = window.partition("-")
|
| 1166 |
+
row = conn.execute(
|
| 1167 |
+
"SELECT * FROM slots WHERE date = ? AND window_start = ?"
|
| 1168 |
+
" AND window_end = ?",
|
| 1169 |
+
(date, start, end),
|
| 1170 |
+
).fetchone()
|
| 1171 |
+
return dict(row) if row else None
|
| 1172 |
+
|
| 1173 |
+
|
| 1174 |
+
def tasker_available(
|
| 1175 |
+
conn: sqlite3.Connection, tasker_id: str, slot_id: str
|
| 1176 |
+
) -> bool:
|
| 1177 |
+
row = conn.execute(
|
| 1178 |
+
"SELECT 1 FROM tasker_availability WHERE tasker_id = ? AND slot_id = ?",
|
| 1179 |
+
(tasker_id, slot_id),
|
| 1180 |
+
).fetchone()
|
| 1181 |
+
return row is not None
|
| 1182 |
+
|
| 1183 |
+
|
| 1184 |
+
# ---- addresses (generic US-address validation) ---------------------------------
|
| 1185 |
+
|
| 1186 |
+
_STREET_RE = re.compile(r"^\d+[A-Za-z]?\s+[A-Za-z0-9][A-Za-z0-9 .'-]*$")
|
| 1187 |
+
_CITY_RE = re.compile(r"^[A-Za-z][A-Za-z .'-]*$")
|
| 1188 |
+
_ZIP_RE = re.compile(r"^\d{5}(?:-\d{4})?$")
|
| 1189 |
+
US_STATES = {
|
| 1190 |
+
"AL", "AK", "AZ", "AR", "CA", "CO", "CT", "DE", "DC", "FL", "GA", "HI",
|
| 1191 |
+
"ID", "IL", "IN", "IA", "KS", "KY", "LA", "ME", "MD", "MA", "MI", "MN",
|
| 1192 |
+
"MS", "MO", "MT", "NE", "NV", "NH", "NJ", "NM", "NY", "NC", "ND", "OH",
|
| 1193 |
+
"OK", "OR", "PA", "RI", "SC", "SD", "TN", "TX", "UT", "VT", "VA", "WA",
|
| 1194 |
+
"WV", "WI", "WY",
|
| 1195 |
+
}
|
| 1196 |
+
|
| 1197 |
+
_ADDRESS_TAIL_RE = re.compile(
|
| 1198 |
+
r"^([A-Za-z][A-Za-z .'-]*?)\s+([A-Za-z]{2})\s+(\d{5}(?:-\d{4})?)$"
|
| 1199 |
+
)
|
| 1200 |
+
|
| 1201 |
+
|
| 1202 |
+
def validate_us_address(
|
| 1203 |
+
street: str, unit: str, city: str, state: str, zip_code: str
|
| 1204 |
+
) -> list[str]:
|
| 1205 |
+
"""Generic syntactic validation for any US address (no allow-list)."""
|
| 1206 |
+
errors: list[str] = []
|
| 1207 |
+
if not _STREET_RE.match(street.strip()):
|
| 1208 |
+
errors.append(
|
| 1209 |
+
"Street must look like a US street line, e.g. '482 Cedar Row'."
|
| 1210 |
+
)
|
| 1211 |
+
if unit and not re.match(r"^[A-Za-z0-9 #.-]+$", unit.strip()):
|
| 1212 |
+
errors.append("Unit may only contain letters, digits, #, ., or -.")
|
| 1213 |
+
if not _CITY_RE.match(city.strip()):
|
| 1214 |
+
errors.append("City must be a plausible US city name.")
|
| 1215 |
+
if state.strip().upper() not in US_STATES:
|
| 1216 |
+
errors.append("State must be a valid two-letter US state code.")
|
| 1217 |
+
if not _ZIP_RE.match(zip_code.strip()):
|
| 1218 |
+
errors.append("ZIP must be a 5-digit US ZIP code (ZIP+4 allowed).")
|
| 1219 |
+
return errors
|
| 1220 |
+
|
| 1221 |
+
|
| 1222 |
+
def parse_address_line(line: str) -> dict[str, str] | None:
|
| 1223 |
+
"""Parse 'street[, unit], City ST 12345' into address parts, or None."""
|
| 1224 |
+
parts = [part.strip() for part in line.split(",") if part.strip()]
|
| 1225 |
+
if len(parts) < 2 or len(parts) > 3:
|
| 1226 |
+
return None
|
| 1227 |
+
tail = _ADDRESS_TAIL_RE.match(parts[-1])
|
| 1228 |
+
if tail is None:
|
| 1229 |
+
return None
|
| 1230 |
+
return {
|
| 1231 |
+
"street": parts[0],
|
| 1232 |
+
"unit": parts[1] if len(parts) == 3 else "",
|
| 1233 |
+
"city": tail.group(1),
|
| 1234 |
+
"state": tail.group(2).upper(),
|
| 1235 |
+
"zip": tail.group(3),
|
| 1236 |
+
}
|
| 1237 |
+
|
| 1238 |
+
|
| 1239 |
+
def address_label(address: dict[str, Any]) -> str:
|
| 1240 |
+
parts = [str(address["street"])]
|
| 1241 |
+
if address.get("unit"):
|
| 1242 |
+
parts.append(str(address["unit"]))
|
| 1243 |
+
parts.append(f"{address['city']} {address['state']} {address['zip']}")
|
| 1244 |
+
return ", ".join(parts)
|
| 1245 |
+
|
| 1246 |
+
|
| 1247 |
+
def list_addresses(conn: sqlite3.Connection, owner: str) -> list[dict[str, Any]]:
|
| 1248 |
+
rows = conn.execute(
|
| 1249 |
+
"SELECT * FROM addresses WHERE owner = ?"
|
| 1250 |
+
" ORDER BY is_default DESC, id",
|
| 1251 |
+
(owner,),
|
| 1252 |
+
).fetchall()
|
| 1253 |
+
return [dict(row) for row in rows]
|
| 1254 |
+
|
| 1255 |
+
|
| 1256 |
+
def default_display_address(conn: sqlite3.Connection) -> dict[str, Any] | None:
|
| 1257 |
+
"""First default address row (anonymous display sample only)."""
|
| 1258 |
+
row = conn.execute(
|
| 1259 |
+
"SELECT * FROM addresses WHERE is_default = 1 ORDER BY id LIMIT 1"
|
| 1260 |
+
).fetchone()
|
| 1261 |
+
return dict(row) if row else None
|
| 1262 |
+
|
| 1263 |
+
|
| 1264 |
+
def get_owned_address(
|
| 1265 |
+
conn: sqlite3.Connection, owner: str, address_id: str
|
| 1266 |
+
) -> dict[str, Any] | None:
|
| 1267 |
+
row = conn.execute(
|
| 1268 |
+
"SELECT * FROM addresses WHERE id = ? AND owner = ?",
|
| 1269 |
+
(address_id, owner),
|
| 1270 |
+
).fetchone()
|
| 1271 |
+
return dict(row) if row else None
|
| 1272 |
+
|
| 1273 |
+
|
| 1274 |
+
def create_address(
|
| 1275 |
+
conn: sqlite3.Connection,
|
| 1276 |
+
owner: str,
|
| 1277 |
+
*,
|
| 1278 |
+
street: str,
|
| 1279 |
+
unit: str,
|
| 1280 |
+
city: str,
|
| 1281 |
+
state: str,
|
| 1282 |
+
zip_code: str,
|
| 1283 |
+
) -> dict[str, Any]:
|
| 1284 |
+
"""Insert a validated address; identical re-entry reuses the same row."""
|
| 1285 |
+
existing = conn.execute(
|
| 1286 |
+
"SELECT * FROM addresses WHERE owner = ? AND street = ? AND unit = ?"
|
| 1287 |
+
" AND city = ? AND state = ? AND zip = ?",
|
| 1288 |
+
(owner, street, unit, city, state.upper(), zip_code),
|
| 1289 |
+
).fetchone()
|
| 1290 |
+
if existing is not None:
|
| 1291 |
+
return dict(existing)
|
| 1292 |
+
address_id = f"addr-{next_sequence(conn, 'address'):06d}"
|
| 1293 |
+
conn.execute(
|
| 1294 |
+
"INSERT INTO addresses"
|
| 1295 |
+
" (id, owner, street, unit, city, state, zip, is_default, fictional)"
|
| 1296 |
+
" VALUES (?, ?, ?, ?, ?, ?, ?, 0, 1)",
|
| 1297 |
+
(address_id, owner, street, unit, city, state.upper(), zip_code),
|
| 1298 |
+
)
|
| 1299 |
+
row = conn.execute(
|
| 1300 |
+
"SELECT * FROM addresses WHERE id = ?", (address_id,)
|
| 1301 |
+
).fetchone()
|
| 1302 |
+
return dict(row)
|
| 1303 |
+
|
| 1304 |
+
|
| 1305 |
+
# ---- wizard drafts --------------------------------------------------------------
|
| 1306 |
+
|
| 1307 |
+
|
| 1308 |
+
def get_draft(conn: sqlite3.Connection, owner: str) -> dict[str, Any] | None:
|
| 1309 |
+
row = conn.execute(
|
| 1310 |
+
"SELECT * FROM wizard_drafts WHERE owner = ?", (owner,)
|
| 1311 |
+
).fetchone()
|
| 1312 |
+
return dict(row) if row else None
|
| 1313 |
+
|
| 1314 |
+
|
| 1315 |
+
def ensure_draft(conn: sqlite3.Connection, owner: str) -> dict[str, Any]:
|
| 1316 |
+
draft = get_draft(conn, owner)
|
| 1317 |
+
if draft is not None:
|
| 1318 |
+
return draft
|
| 1319 |
+
booking_ref = f"trbk-{next_sequence(conn, 'booking_ref'):06d}"
|
| 1320 |
+
conn.execute(
|
| 1321 |
+
"INSERT INTO wizard_drafts"
|
| 1322 |
+
" (owner, booking_ref, draft_version, created_at, updated_at)"
|
| 1323 |
+
" VALUES (?, ?, 1, ?, ?)",
|
| 1324 |
+
(owner, booking_ref, FROZEN_CLOCK, FROZEN_CLOCK),
|
| 1325 |
+
)
|
| 1326 |
+
draft = get_draft(conn, owner)
|
| 1327 |
+
assert draft is not None
|
| 1328 |
+
return draft
|
| 1329 |
+
|
| 1330 |
+
|
| 1331 |
+
def update_draft(
|
| 1332 |
+
conn: sqlite3.Connection, owner: str, **fields: str
|
| 1333 |
+
) -> dict[str, Any]:
|
| 1334 |
+
"""Upsert the owner's draft booking; every write bumps draft_version."""
|
| 1335 |
+
unknown = set(fields) - set(DRAFT_FIELDS)
|
| 1336 |
+
if unknown:
|
| 1337 |
+
raise ValueError(f"unknown draft fields: {sorted(unknown)}")
|
| 1338 |
+
ensure_draft(conn, owner)
|
| 1339 |
+
assignments = ", ".join(f"{name} = ?" for name in fields)
|
| 1340 |
+
conn.execute(
|
| 1341 |
+
f"UPDATE wizard_drafts SET {assignments},"
|
| 1342 |
+
" draft_version = draft_version + 1, updated_at = ?"
|
| 1343 |
+
" WHERE owner = ?",
|
| 1344 |
+
[*fields.values(), FROZEN_CLOCK, owner],
|
| 1345 |
+
)
|
| 1346 |
+
draft = get_draft(conn, owner)
|
| 1347 |
+
assert draft is not None
|
| 1348 |
+
return draft
|
| 1349 |
+
|
| 1350 |
+
|
| 1351 |
+
def delete_draft(conn: sqlite3.Connection, owner: str) -> None:
|
| 1352 |
+
conn.execute("DELETE FROM wizard_drafts WHERE owner = ?", (owner,))
|
| 1353 |
+
|
| 1354 |
+
|
| 1355 |
+
def set_draft_payment(
|
| 1356 |
+
conn: sqlite3.Connection,
|
| 1357 |
+
owner: str,
|
| 1358 |
+
*,
|
| 1359 |
+
flow_id: str,
|
| 1360 |
+
amount_minor: int,
|
| 1361 |
+
currency: str,
|
| 1362 |
+
fingerprint: str,
|
| 1363 |
+
status: str,
|
| 1364 |
+
) -> None:
|
| 1365 |
+
"""Record the offline-sandbox payment facts on the owner's draft.
|
| 1366 |
+
|
| 1367 |
+
Payment is orthogonal to booking identity, so this deliberately does not bump
|
| 1368 |
+
``draft_version`` — the request/quote version stays fixed from Tasker
|
| 1369 |
+
selection through confirm, and the authorization is bound to that draft.
|
| 1370 |
+
"""
|
| 1371 |
+
conn.execute(
|
| 1372 |
+
"UPDATE wizard_drafts SET payment_flow_id = ?, payment_amount_minor = ?,"
|
| 1373 |
+
" payment_currency = ?, payment_fingerprint = ?, payment_status = ?,"
|
| 1374 |
+
" updated_at = ? WHERE owner = ?",
|
| 1375 |
+
(flow_id, int(amount_minor), currency, fingerprint, status, FROZEN_CLOCK, owner),
|
| 1376 |
+
)
|
| 1377 |
+
|
| 1378 |
+
|
| 1379 |
+
def clear_draft_payment(conn: sqlite3.Connection, owner: str) -> None:
|
| 1380 |
+
"""Void any stored authorization; forces a fresh payment for the draft."""
|
| 1381 |
+
conn.execute(
|
| 1382 |
+
"UPDATE wizard_drafts SET payment_flow_id = NULL,"
|
| 1383 |
+
" payment_amount_minor = NULL, payment_currency = NULL,"
|
| 1384 |
+
" payment_fingerprint = NULL, payment_status = NULL, updated_at = ?"
|
| 1385 |
+
" WHERE owner = ?",
|
| 1386 |
+
(FROZEN_CLOCK, owner),
|
| 1387 |
+
)
|
| 1388 |
+
|
| 1389 |
+
|
| 1390 |
+
# ---- booking requests ------------------------------------------------------------
|
| 1391 |
+
|
| 1392 |
+
|
| 1393 |
+
def get_booking(conn: sqlite3.Connection, booking_id: str) -> dict[str, Any] | None:
|
| 1394 |
+
row = conn.execute(
|
| 1395 |
+
"SELECT * FROM bookings WHERE id = ?", (booking_id,)
|
| 1396 |
+
).fetchone()
|
| 1397 |
+
return dict(row) if row else None
|
| 1398 |
+
|
| 1399 |
+
|
| 1400 |
+
def get_booking_by_request(
|
| 1401 |
+
conn: sqlite3.Connection, request_id: str
|
| 1402 |
+
) -> dict[str, Any] | None:
|
| 1403 |
+
row = conn.execute(
|
| 1404 |
+
"SELECT * FROM bookings WHERE request_id = ?", (request_id,)
|
| 1405 |
+
).fetchone()
|
| 1406 |
+
return dict(row) if row else None
|
| 1407 |
+
|
| 1408 |
+
|
| 1409 |
+
def list_bookings(
|
| 1410 |
+
conn: sqlite3.Connection, owner: str | None = None
|
| 1411 |
+
) -> list[dict[str, Any]]:
|
| 1412 |
+
if owner is None:
|
| 1413 |
+
rows = conn.execute("SELECT * FROM bookings ORDER BY id").fetchall()
|
| 1414 |
+
else:
|
| 1415 |
+
rows = conn.execute(
|
| 1416 |
+
"SELECT * FROM bookings WHERE owner = ? ORDER BY id", (owner,)
|
| 1417 |
+
).fetchall()
|
| 1418 |
+
return [dict(row) for row in rows]
|
| 1419 |
+
|
| 1420 |
+
|
| 1421 |
+
def open_booking_for(
|
| 1422 |
+
conn: sqlite3.Connection, owner: str, tasker_id: str
|
| 1423 |
+
) -> dict[str, Any] | None:
|
| 1424 |
+
row = conn.execute(
|
| 1425 |
+
"SELECT * FROM bookings WHERE owner = ? AND tasker_id = ?"
|
| 1426 |
+
" AND status = ?",
|
| 1427 |
+
(owner, tasker_id, BOOKING_STATUS_OPEN),
|
| 1428 |
+
).fetchone()
|
| 1429 |
+
return dict(row) if row else None
|
| 1430 |
+
|
| 1431 |
+
|
| 1432 |
+
class BookingConflict(Exception):
|
| 1433 |
+
"""Raised when the submitted slot version is stale (HTTP 409)."""
|
| 1434 |
+
|
| 1435 |
+
|
| 1436 |
+
class BookingInvalid(Exception):
|
| 1437 |
+
"""Raised when the booking draft is incomplete/invalid (HTTP 422)."""
|
| 1438 |
+
|
| 1439 |
+
|
| 1440 |
+
class BookingUnauthorized(Exception):
|
| 1441 |
+
"""Raised when a resolved account role cannot confirm bookings."""
|
| 1442 |
+
|
| 1443 |
+
|
| 1444 |
+
def get_booking_command(
|
| 1445 |
+
conn: sqlite3.Connection,
|
| 1446 |
+
owner: str,
|
| 1447 |
+
idempotency_key: str,
|
| 1448 |
+
) -> dict[str, Any] | None:
|
| 1449 |
+
row = conn.execute(
|
| 1450 |
+
"SELECT * FROM booking_workflow_commands "
|
| 1451 |
+
"WHERE owner_id = ? AND idempotency_key = ?",
|
| 1452 |
+
(owner, idempotency_key),
|
| 1453 |
+
).fetchone()
|
| 1454 |
+
return dict(row) if row else None
|
| 1455 |
+
|
| 1456 |
+
|
| 1457 |
+
def booking_command_history(
|
| 1458 |
+
conn: sqlite3.Connection,
|
| 1459 |
+
entity_id: str,
|
| 1460 |
+
) -> list[dict[str, Any]]:
|
| 1461 |
+
rows = conn.execute(
|
| 1462 |
+
"SELECT * FROM booking_workflow_version_journal "
|
| 1463 |
+
"WHERE entity_id = ? ORDER BY version",
|
| 1464 |
+
(entity_id,),
|
| 1465 |
+
).fetchall()
|
| 1466 |
+
return [dict(row) for row in rows]
|
| 1467 |
+
|
| 1468 |
+
|
| 1469 |
+
def confirm_booking(
|
| 1470 |
+
conn: sqlite3.Connection,
|
| 1471 |
+
*,
|
| 1472 |
+
owner: str,
|
| 1473 |
+
request_id: str,
|
| 1474 |
+
submitted_merge_key: dict[str, str],
|
| 1475 |
+
payment_consumer: Callable[..., Any] | None = None,
|
| 1476 |
+
) -> tuple[dict[str, Any], bool]:
|
| 1477 |
+
"""Persist one booking row from the owner's completed request/draft.
|
| 1478 |
+
|
| 1479 |
+
The pre-confirm path is a request identity. A distinct booking ID is minted
|
| 1480 |
+
only after the complete server-owned twenty-one-field merge key validates
|
| 1481 |
+
(the final field binds the booking to one authorized offline-sandbox
|
| 1482 |
+
payment). Byte-equivalent retries reuse that booking; any changed field
|
| 1483 |
+
conflicts.
|
| 1484 |
+
|
| 1485 |
+
``payment_consumer`` — when supplied — spends the draft's authorization as
|
| 1486 |
+
the transaction's first write; it receives ``(conn, flow_id=, account_id=,
|
| 1487 |
+
amount_minor=, fingerprint_value=)`` and must raise ``BookingInvalid`` /
|
| 1488 |
+
``BookingConflict`` if the authorization no longer validates.
|
| 1489 |
+
"""
|
| 1490 |
+
client = get_client(conn, owner)
|
| 1491 |
+
resolved_role = str(client["role"]) if client is not None else ""
|
| 1492 |
+
if resolved_role != "requester":
|
| 1493 |
+
raise BookingUnauthorized(
|
| 1494 |
+
"the resolved account role cannot create requester bookings"
|
| 1495 |
+
)
|
| 1496 |
+
idempotency_key = submitted_merge_key.get("idempotency_token", "")
|
| 1497 |
+
payload_digest = _digest_json(submitted_merge_key)
|
| 1498 |
+
prior_command = get_booking_command(conn, owner, idempotency_key)
|
| 1499 |
+
if prior_command is not None:
|
| 1500 |
+
if prior_command["payload_digest"] != payload_digest:
|
| 1501 |
+
raise BookingInvalid(
|
| 1502 |
+
"the idempotency key was already used with a different payload"
|
| 1503 |
+
)
|
| 1504 |
+
outcome = json.loads(prior_command["canonical_outcome_json"])
|
| 1505 |
+
booking = get_booking(conn, str(outcome["booking_id"]))
|
| 1506 |
+
if booking is None:
|
| 1507 |
+
raise BookingInvalid(
|
| 1508 |
+
"the committed command refers to a missing booking"
|
| 1509 |
+
)
|
| 1510 |
+
return booking, False
|
| 1511 |
+
existing = get_booking_by_request(conn, request_id)
|
| 1512 |
+
if existing is not None:
|
| 1513 |
+
if existing["owner"] != owner:
|
| 1514 |
+
raise BookingInvalid("the request belongs to another owner")
|
| 1515 |
+
stored_key = json.loads(existing["merge_key_json"] or "{}")
|
| 1516 |
+
if stored_key != submitted_merge_key:
|
| 1517 |
+
raise BookingInvalid(
|
| 1518 |
+
"the idempotent retry tuple does not match the existing exact "
|
| 1519 |
+
"request/apartment-size/provider/quote/slot identity"
|
| 1520 |
+
)
|
| 1521 |
+
return existing, False
|
| 1522 |
+
draft = get_draft(conn, owner)
|
| 1523 |
+
if draft is None or draft["booking_ref"] != request_id:
|
| 1524 |
+
raise BookingInvalid("no booking draft with this reference exists")
|
| 1525 |
+
missing = [
|
| 1526 |
+
field
|
| 1527 |
+
for field in ("category", "apartment_size", "address_id", "slot_id")
|
| 1528 |
+
if not draft.get(field)
|
| 1529 |
+
]
|
| 1530 |
+
if missing:
|
| 1531 |
+
raise BookingInvalid(
|
| 1532 |
+
"the booking draft is incomplete; finish the wizard steps for: "
|
| 1533 |
+
+ ", ".join(missing)
|
| 1534 |
+
)
|
| 1535 |
+
if not draft.get("payment_flow_id") or (
|
| 1536 |
+
str(draft.get("payment_status") or "").upper() != "APPROVED"
|
| 1537 |
+
):
|
| 1538 |
+
raise BookingInvalid(
|
| 1539 |
+
"the booking payment step is incomplete; authorize the test "
|
| 1540 |
+
"payment before confirming"
|
| 1541 |
+
)
|
| 1542 |
+
slot = get_slot(conn, str(draft["slot_id"]))
|
| 1543 |
+
if slot is None:
|
| 1544 |
+
raise BookingInvalid("the drafted availability slot no longer exists")
|
| 1545 |
+
size = get_size(conn, str(draft["apartment_size"]))
|
| 1546 |
+
if size is None:
|
| 1547 |
+
raise BookingInvalid("the drafted apartment size no longer exists")
|
| 1548 |
+
tasker_id = submitted_merge_key.get("provider_id", "")
|
| 1549 |
+
tasker = get_tasker(conn, tasker_id)
|
| 1550 |
+
if tasker is None:
|
| 1551 |
+
raise BookingInvalid("the submitted provider no longer exists")
|
| 1552 |
+
request_version = f"request-v{draft['draft_version']}"
|
| 1553 |
+
quote_id = f"quote-{tasker_id}-{request_id}-{request_version}"
|
| 1554 |
+
quote_version = "quote-v1"
|
| 1555 |
+
expected_merge_key = {
|
| 1556 |
+
"idempotency_token": f"idem-{request_id}-{request_version}",
|
| 1557 |
+
"owner_id": owner,
|
| 1558 |
+
"session_id": submitted_merge_key.get("session_id", ""),
|
| 1559 |
+
"request_id": request_id,
|
| 1560 |
+
"request_version": request_version,
|
| 1561 |
+
"category_id": str(draft["category"]),
|
| 1562 |
+
"task_template_id": task_template_id_for_category(str(draft["category"])),
|
| 1563 |
+
"apartment_size_id": str(draft["apartment_size"]),
|
| 1564 |
+
"apartment_size_version": str(size["version"]),
|
| 1565 |
+
"address_id": str(draft["address_id"]),
|
| 1566 |
+
"service_date": str(slot["date"]),
|
| 1567 |
+
"window_start": str(slot["window_start"]),
|
| 1568 |
+
"window_end": str(slot["window_end"]),
|
| 1569 |
+
"provider_id": tasker_id,
|
| 1570 |
+
"provider_version": str(tasker["provider_version"]),
|
| 1571 |
+
"quote_id": quote_id,
|
| 1572 |
+
"quote_version": quote_version,
|
| 1573 |
+
"quote_owner_id": owner,
|
| 1574 |
+
"slot_id": str(slot["id"]),
|
| 1575 |
+
"slot_version": str(slot["version"]),
|
| 1576 |
+
"payment_flow_id": str(draft["payment_flow_id"] or ""),
|
| 1577 |
+
}
|
| 1578 |
+
if submitted_merge_key != expected_merge_key:
|
| 1579 |
+
stale_fields = sorted(
|
| 1580 |
+
field
|
| 1581 |
+
for field, expected in expected_merge_key.items()
|
| 1582 |
+
if submitted_merge_key.get(field) != expected
|
| 1583 |
+
)
|
| 1584 |
+
if {
|
| 1585 |
+
"request_version",
|
| 1586 |
+
"apartment_size_id",
|
| 1587 |
+
"apartment_size_version",
|
| 1588 |
+
"quote_id",
|
| 1589 |
+
"slot_version",
|
| 1590 |
+
} & set(stale_fields):
|
| 1591 |
+
raise BookingConflict(
|
| 1592 |
+
"the request/size/quote/slot tuple is stale; changed fields: "
|
| 1593 |
+
+ ", ".join(stale_fields)
|
| 1594 |
+
)
|
| 1595 |
+
raise BookingInvalid(
|
| 1596 |
+
"the submitted exact confirm tuple differs from server facts: "
|
| 1597 |
+
+ ", ".join(stale_fields)
|
| 1598 |
+
)
|
| 1599 |
+
if slot["version"] != submitted_merge_key["slot_version"]:
|
| 1600 |
+
raise BookingConflict(
|
| 1601 |
+
f"the server-owned slot version is {slot['version']}"
|
| 1602 |
+
)
|
| 1603 |
+
if slot_is_past(slot):
|
| 1604 |
+
raise BookingInvalid("the drafted availability slot is in the past")
|
| 1605 |
+
if not tasker_available(conn, tasker_id, slot["id"]):
|
| 1606 |
+
raise BookingInvalid("that Tasker is not available for this slot")
|
| 1607 |
+
address = get_owned_address(conn, owner, str(draft["address_id"]))
|
| 1608 |
+
if address is None:
|
| 1609 |
+
raise BookingInvalid("the drafted address does not belong to you")
|
| 1610 |
+
# Spend the offline-sandbox authorization as the transaction's first write.
|
| 1611 |
+
# A fact mismatch inside consume forces the ledger to COMMIT + reopen the
|
| 1612 |
+
# transaction, so no booking write may precede it.
|
| 1613 |
+
payment_amount_minor = int(draft["payment_amount_minor"] or 0)
|
| 1614 |
+
if payment_consumer is not None:
|
| 1615 |
+
payment_consumer(
|
| 1616 |
+
conn,
|
| 1617 |
+
flow_id=str(draft["payment_flow_id"]),
|
| 1618 |
+
account_id=owner,
|
| 1619 |
+
amount_minor=payment_amount_minor,
|
| 1620 |
+
fingerprint_value=str(draft["payment_fingerprint"] or ""),
|
| 1621 |
+
)
|
| 1622 |
+
booking_id = f"booking-{next_sequence(conn, 'booking'):06d}"
|
| 1623 |
+
receipt_id = f"receipt-{booking_id}"
|
| 1624 |
+
conn.execute(
|
| 1625 |
+
"INSERT INTO bookings"
|
| 1626 |
+
" (id, owner, category, apartment_size, tasker_id, slot_id,"
|
| 1627 |
+
" slot_version, date, window, address, status, created_at,"
|
| 1628 |
+
" request_id, request_version, task_template_id,"
|
| 1629 |
+
" apartment_size_version, address_id, provider_version, quote_id,"
|
| 1630 |
+
" quote_version, quote_owner_id, session_id, idempotency_token,"
|
| 1631 |
+
" receipt_id, merge_key_json, hourly_rate, payment_flow_id,"
|
| 1632 |
+
" amount_minor)"
|
| 1633 |
+
" VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,"
|
| 1634 |
+
" ?, ?, ?, ?, ?, ?, ?, ?, ?)",
|
| 1635 |
+
(
|
| 1636 |
+
booking_id,
|
| 1637 |
+
owner,
|
| 1638 |
+
draft["category"],
|
| 1639 |
+
draft["apartment_size"],
|
| 1640 |
+
tasker_id,
|
| 1641 |
+
slot["id"],
|
| 1642 |
+
slot["version"],
|
| 1643 |
+
slot["date"],
|
| 1644 |
+
f"{slot['window_start']}-{slot['window_end']}",
|
| 1645 |
+
address_label(address),
|
| 1646 |
+
BOOKING_STATUS_OPEN,
|
| 1647 |
+
FROZEN_CLOCK,
|
| 1648 |
+
request_id,
|
| 1649 |
+
request_version,
|
| 1650 |
+
task_template_id_for_category(str(draft["category"])),
|
| 1651 |
+
size["version"],
|
| 1652 |
+
draft["address_id"],
|
| 1653 |
+
tasker["provider_version"],
|
| 1654 |
+
quote_id,
|
| 1655 |
+
quote_version,
|
| 1656 |
+
owner,
|
| 1657 |
+
submitted_merge_key["session_id"],
|
| 1658 |
+
submitted_merge_key["idempotency_token"],
|
| 1659 |
+
receipt_id,
|
| 1660 |
+
json.dumps(
|
| 1661 |
+
expected_merge_key,
|
| 1662 |
+
ensure_ascii=False,
|
| 1663 |
+
sort_keys=True,
|
| 1664 |
+
separators=(",", ":"),
|
| 1665 |
+
),
|
| 1666 |
+
int(tasker["rate"]),
|
| 1667 |
+
str(draft["payment_flow_id"]),
|
| 1668 |
+
payment_amount_minor,
|
| 1669 |
+
),
|
| 1670 |
+
)
|
| 1671 |
+
outcome = {
|
| 1672 |
+
"booking_id": booking_id,
|
| 1673 |
+
"receipt_id": receipt_id,
|
| 1674 |
+
"result": "committed",
|
| 1675 |
+
}
|
| 1676 |
+
outcome_json = _canonical_json(outcome)
|
| 1677 |
+
outcome_digest = hashlib.sha256(outcome_json.encode("utf-8")).hexdigest()
|
| 1678 |
+
command_id = f"command-{next_sequence(conn, 'command'):06d}"
|
| 1679 |
+
conn.execute(
|
| 1680 |
+
"INSERT INTO booking_workflow_commands"
|
| 1681 |
+
" (command_id, owner_id, resolved_role, idempotency_key,"
|
| 1682 |
+
" payload_digest, operation_kind, entity_id, expected_version,"
|
| 1683 |
+
" status, outcome_booking_id, canonical_outcome_json,"
|
| 1684 |
+
" outcome_digest, committed_at)"
|
| 1685 |
+
" VALUES (?, ?, ?, ?, ?, 'confirm-booking', ?, ?, 'committed',"
|
| 1686 |
+
" ?, ?, ?, ?)",
|
| 1687 |
+
(
|
| 1688 |
+
command_id,
|
| 1689 |
+
owner,
|
| 1690 |
+
resolved_role,
|
| 1691 |
+
idempotency_key,
|
| 1692 |
+
payload_digest,
|
| 1693 |
+
request_id,
|
| 1694 |
+
request_version,
|
| 1695 |
+
booking_id,
|
| 1696 |
+
outcome_json,
|
| 1697 |
+
outcome_digest,
|
| 1698 |
+
FROZEN_CLOCK,
|
| 1699 |
+
),
|
| 1700 |
+
)
|
| 1701 |
+
conn.execute(
|
| 1702 |
+
"INSERT INTO booking_workflow_version_journal"
|
| 1703 |
+
" (entity_id, version, command_id, prior_version,"
|
| 1704 |
+
" booking_id, outcome_digest, committed_at)"
|
| 1705 |
+
" VALUES (?, 1, ?, 0, ?, ?, ?)",
|
| 1706 |
+
(
|
| 1707 |
+
request_id,
|
| 1708 |
+
command_id,
|
| 1709 |
+
booking_id,
|
| 1710 |
+
outcome_digest,
|
| 1711 |
+
FROZEN_CLOCK,
|
| 1712 |
+
),
|
| 1713 |
+
)
|
| 1714 |
+
conn.execute(
|
| 1715 |
+
"UPDATE bookings SET command_id = ?, committed_version = 1 "
|
| 1716 |
+
"WHERE id = ?",
|
| 1717 |
+
(command_id, booking_id),
|
| 1718 |
+
)
|
| 1719 |
+
delete_draft(conn, owner)
|
| 1720 |
+
booking = get_booking(conn, booking_id)
|
| 1721 |
+
assert booking is not None
|
| 1722 |
+
return booking, True
|
tasks/taskrabbit/solution/site/implementation/clone/backend/service_booking_catalog.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tasks/taskrabbit/solution/site/implementation/clone/backend/service_booking_catalog.py
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Source-bound booking identities for every captured Service CTA."""
|
| 2 |
+
|
| 3 |
+
from __future__ import annotations
|
| 4 |
+
|
| 5 |
+
import json
|
| 6 |
+
import re
|
| 7 |
+
from pathlib import Path
|
| 8 |
+
from typing import Any
|
| 9 |
+
from urllib.parse import parse_qs, urlsplit
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
CATALOG_PATH = Path(__file__).with_name("service_booking_catalog.json")
|
| 13 |
+
SCHEMA_VERSION = "websitebench.taskrabbit.service-booking-catalog.v1"
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
def _load() -> dict[str, Any]:
|
| 17 |
+
value = json.loads(CATALOG_PATH.read_text(encoding="utf-8"))
|
| 18 |
+
entries = value.get("entries")
|
| 19 |
+
if (
|
| 20 |
+
value.get("schema_version") != SCHEMA_VERSION
|
| 21 |
+
or value.get("expected_template_count") != 169
|
| 22 |
+
or value.get("covered_service_detail_page_count") != 267
|
| 23 |
+
or not re.fullmatch(r"[0-9a-f]{64}", str(value.get("source_pages_sha256", "")))
|
| 24 |
+
or not isinstance(entries, list)
|
| 25 |
+
or len(entries) != 169
|
| 26 |
+
):
|
| 27 |
+
raise RuntimeError("Taskrabbit service booking catalog is inconsistent")
|
| 28 |
+
|
| 29 |
+
ids: set[str] = set()
|
| 30 |
+
templates: set[str] = set()
|
| 31 |
+
for entry in entries:
|
| 32 |
+
category_id = str(entry.get("id", ""))
|
| 33 |
+
template_id = str(entry.get("source_task_template_id", ""))
|
| 34 |
+
sizes = entry.get("size_options")
|
| 35 |
+
if (
|
| 36 |
+
not re.fullmatch(r"service-[1-9]\d*-[1-9]\d*", category_id)
|
| 37 |
+
or not re.fullmatch(r"[1-9]\d*", template_id)
|
| 38 |
+
or category_id in ids
|
| 39 |
+
or template_id in templates
|
| 40 |
+
or entry.get("booking_href") != f"/book/task/{category_id}"
|
| 41 |
+
or not str(entry.get("label", "")).strip()
|
| 42 |
+
or not str(entry.get("source_category_name", "")).strip()
|
| 43 |
+
or not str(entry.get("size_legend", "")).strip()
|
| 44 |
+
or not isinstance(sizes, list)
|
| 45 |
+
or [row.get("id") for row in sizes]
|
| 46 |
+
!= ["task-small", "task-medium", "task-large"]
|
| 47 |
+
or not entry.get("service_paths")
|
| 48 |
+
or any(
|
| 49 |
+
not str(path).startswith("/services/")
|
| 50 |
+
for path in entry["service_paths"]
|
| 51 |
+
)
|
| 52 |
+
):
|
| 53 |
+
raise RuntimeError(
|
| 54 |
+
f"Taskrabbit service booking entry is inconsistent: {category_id}"
|
| 55 |
+
)
|
| 56 |
+
ids.add(category_id)
|
| 57 |
+
templates.add(template_id)
|
| 58 |
+
return value
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
CATALOG = _load()
|
| 62 |
+
ENTRIES: tuple[dict[str, Any], ...] = tuple(CATALOG["entries"])
|
| 63 |
+
BY_CATEGORY_ID: dict[str, dict[str, Any]] = {
|
| 64 |
+
str(entry["id"]): entry for entry in ENTRIES
|
| 65 |
+
}
|
| 66 |
+
BY_TEMPLATE_ID: dict[str, dict[str, Any]] = {
|
| 67 |
+
str(entry["source_task_template_id"]): entry for entry in ENTRIES
|
| 68 |
+
}
|
| 69 |
+
CATEGORY_LABELS: dict[str, str] = {
|
| 70 |
+
category_id: str(entry["label"])
|
| 71 |
+
for category_id, entry in BY_CATEGORY_ID.items()
|
| 72 |
+
}
|
| 73 |
+
BOOKING_HREFS: dict[str, str] = {
|
| 74 |
+
category_id: str(entry["booking_href"])
|
| 75 |
+
for category_id, entry in BY_CATEGORY_ID.items()
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
|
| 79 |
+
def task(category_id: str) -> dict[str, Any] | None:
|
| 80 |
+
return BY_CATEGORY_ID.get(category_id)
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
def task_from_source_cta(value: str) -> dict[str, Any] | None:
|
| 84 |
+
template_ids = parse_qs(urlsplit(value).query).get("task_template_id", [])
|
| 85 |
+
return BY_TEMPLATE_ID.get(str(template_ids[0])) if template_ids else None
|
tasks/taskrabbit/solution/site/implementation/clone/backend/task_catalog.json
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "websitebench.taskrabbit.task-catalog.v1",
|
| 3 |
+
"source_capture": "source-current/2026-07-29-v3/browser/home-dom.html",
|
| 4 |
+
"families": [
|
| 5 |
+
{
|
| 6 |
+
"id": "assembly",
|
| 7 |
+
"label": "Assembly",
|
| 8 |
+
"icon": "/static/home-icons/assembly.svg",
|
| 9 |
+
"image": "/static/assets/source-current/2026-07-25/home/hero-homepage-assembly.webp",
|
| 10 |
+
"image_alt": "Image of a Tasker assembling furniture",
|
| 11 |
+
"summary": "Assemble or disassemble furniture items by unboxing, building, and any cleanup.",
|
| 12 |
+
"trending": "Now Trending: Curved sofas, computer desks, and sustainable materials.",
|
| 13 |
+
"tasks": [
|
| 14 |
+
{"id": "furniture-assembly", "label": "General Furniture Assembly", "booking_href": "/book/furniture-assembly/furniture-assembly"},
|
| 15 |
+
{"id": "ikea-assembly", "label": "IKEA Assembly", "booking_href": "/book/task/ikea-assembly"},
|
| 16 |
+
{"id": "crib-assembly", "label": "Crib Assembly", "booking_href": "/book/task/crib-assembly"},
|
| 17 |
+
{"id": "bookshelf-assembly", "label": "Bookshelf Assembly", "booking_href": "/book/furniture-assembly/bookshelf-assembly"},
|
| 18 |
+
{"id": "desk-assembly", "label": "Desk Assembly", "booking_href": "/book/furniture-assembly/desk-assembly"}
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"id": "mounting",
|
| 23 |
+
"label": "Mounting",
|
| 24 |
+
"icon": "/static/home-icons/mounting.svg",
|
| 25 |
+
"image": "/static/assets/source-current/2026-08-09-home-auth-assets/home-mounting.png",
|
| 26 |
+
"image_alt": "Image of a Tasker mounting a picture frame",
|
| 27 |
+
"summary": "Securely mount your TV, shelves, art, mirrors, dressers, and more.",
|
| 28 |
+
"trending": "Now Trending: Gallery walls, art TVs, and wraparound bookcases.",
|
| 29 |
+
"tasks": [
|
| 30 |
+
{"id": "hang-art-mirror-decor", "label": "Hang Art, Mirror & Decor", "booking_href": "/book/task/hang-art-mirror-decor"},
|
| 31 |
+
{"id": "install-blinds-window-treatments", "label": "Install Blinds & Window Treatments", "booking_href": "/book/task/install-blinds-window-treatments"},
|
| 32 |
+
{"id": "mount-anchor-furniture", "label": "Mount & Anchor Furniture", "booking_href": "/book/task/mount-anchor-furniture"},
|
| 33 |
+
{"id": "install-shelves-rods-hooks", "label": "Install Shelves, Rods & Hooks", "booking_href": "/book/task/install-shelves-rods-hooks"},
|
| 34 |
+
{"id": "other-mounting", "label": "Other Mounting", "booking_href": "/book/task/other-mounting"},
|
| 35 |
+
{"id": "tv-mounting", "label": "TV Mounting", "booking_href": "/book/task/tv-mounting"}
|
| 36 |
+
]
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"id": "moving",
|
| 40 |
+
"label": "Moving",
|
| 41 |
+
"icon": "/static/home-icons/moving.svg",
|
| 42 |
+
"image": "/static/assets/source-current/2026-08-09-home-auth-assets/home-moving.png",
|
| 43 |
+
"image_alt": "Image of a Tasker moving boxes",
|
| 44 |
+
"summary": "Moving help such as packing/unpacking, loading, and lifting heavy items.",
|
| 45 |
+
"trending": "Now Trending: Single-item moves, apartment moves, and junk removal.",
|
| 46 |
+
"tasks": [
|
| 47 |
+
{"id": "help-moving", "label": "Help Moving", "booking_href": "/book/help-moving"},
|
| 48 |
+
{"id": "truck-assisted-help-moving", "label": "Truck-Assisted Help Moving", "booking_href": "/book/task/truck-assisted-help-moving"},
|
| 49 |
+
{"id": "flat-rate-move", "label": "Flat-Rate Move", "booking_href": "/book/task/flat-rate-move"},
|
| 50 |
+
{"id": "trash-furniture-removal", "label": "Trash & Furniture Removal", "booking_href": "/book/task/trash-furniture-removal"},
|
| 51 |
+
{"id": "heavy-lifting-loading", "label": "Heavy Lifting & Loading", "booking_href": "/book/task/heavy-lifting-loading"},
|
| 52 |
+
{"id": "rearrange-furniture", "label": "Rearrange Furniture", "booking_href": "/book/task/rearrange-furniture"},
|
| 53 |
+
{"id": "junk-haul-away", "label": "Junk Haul Away", "booking_href": "/book/task/junk-haul-away"}
|
| 54 |
+
]
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"id": "cleaning",
|
| 58 |
+
"label": "Cleaning",
|
| 59 |
+
"icon": "/static/home-icons/cleaning.svg",
|
| 60 |
+
"image": "/static/assets/source-current/2026-08-09-home-auth-assets/home-cleaning.png",
|
| 61 |
+
"image_alt": "Image of a Tasker cleaning in the kitchen",
|
| 62 |
+
"summary": "Clean your home or office; deep clean appliances and other spaces.",
|
| 63 |
+
"trending": "Now Trending: Eco-friendly products, home cleaning checklists, and cleaning hacks.",
|
| 64 |
+
"tasks": [
|
| 65 |
+
{"id": "cleaning", "label": "Cleaning", "booking_href": "/book/task/cleaning"},
|
| 66 |
+
{"id": "apartment-cleaning", "label": "Apartment Cleaning", "booking_href": "/book/task/apartment-cleaning"},
|
| 67 |
+
{"id": "deep-clean", "label": "Deep Clean", "booking_href": "/book/task/deep-clean"},
|
| 68 |
+
{"id": "garage-cleaning", "label": "Garage Cleaning", "booking_href": "/book/task/garage-cleaning"},
|
| 69 |
+
{"id": "move-out-clean", "label": "Move Out Clean", "booking_href": "/book/task/move-out-clean"}
|
| 70 |
+
]
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"id": "outdoor-help",
|
| 74 |
+
"label": "Outdoor Help",
|
| 75 |
+
"icon": "/static/home-icons/outdoor-help.svg",
|
| 76 |
+
"image": "/static/assets/source-current/2026-08-09-home-auth-assets/home-outdoor-help.png",
|
| 77 |
+
"image_alt": "Image of a Tasker mowing a yard.",
|
| 78 |
+
"summary": "Beat the heat with lawn mowing, garden maintenance, patio cleanup, and pressure washing for a summer-ready yard.",
|
| 79 |
+
"trending": "Now Trending: Pressure washing, hedge trimming, lawn maintenance, and exterior painting to keep your curb appeal shining this summer.",
|
| 80 |
+
"tasks": [
|
| 81 |
+
{"id": "yard-work", "label": "Yard Work", "booking_href": "/book/task/yard-work"},
|
| 82 |
+
{"id": "lawn-care", "label": "Lawn Care", "booking_href": "/book/task/lawn-care"},
|
| 83 |
+
{"id": "lawn-mowing", "label": "Lawn Mowing", "booking_href": "/book/task/lawn-mowing"},
|
| 84 |
+
{"id": "branch-hedge-trimming", "label": "Branch & Hedge Trimming", "booking_href": "/book/task/branch-hedge-trimming"},
|
| 85 |
+
{"id": "gardening-weeding", "label": "Gardening & Weeding", "booking_href": "/book/task/gardening-weeding"},
|
| 86 |
+
{"id": "pressure-washing", "label": "Pressure Washing", "booking_href": "/book/task/pressure-washing"}
|
| 87 |
+
]
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"id": "home-repairs",
|
| 91 |
+
"label": "Home Repairs",
|
| 92 |
+
"icon": "/static/home-icons/home-repairs.svg",
|
| 93 |
+
"image": "/static/assets/source-current/2026-08-09-home-auth-assets/home-repairs.png",
|
| 94 |
+
"image_alt": "Image of a Tasker providing plumbing help for a sink",
|
| 95 |
+
"summary": "Home improvements like plumbing, electrical, and appliance installation.",
|
| 96 |
+
"trending": "Now Trending: Chandeliers, brass faucets, and smart toilets.",
|
| 97 |
+
"tasks": [
|
| 98 |
+
{"id": "door-cabinet-furniture-repair", "label": "Door, Cabinet, & Furniture Repair", "booking_href": "/book/task/door-cabinet-furniture-repair"},
|
| 99 |
+
{"id": "wall-repair", "label": "Wall Repair", "booking_href": "/book/task/wall-repair"},
|
| 100 |
+
{"id": "sealing-caulking", "label": "Sealing & Caulking", "booking_href": "/book/task/sealing-caulking"},
|
| 101 |
+
{"id": "appliance-installation-repairs", "label": "Appliance Installation & Repairs", "booking_href": "/book/task/appliance-installation-repairs"},
|
| 102 |
+
{"id": "window-blinds-repair", "label": "Window & Blinds Repair", "booking_href": "/book/task/window-blinds-repair"},
|
| 103 |
+
{"id": "flooring-tiling-help", "label": "Flooring & Tiling Help", "booking_href": "/book/task/flooring-tiling-help"},
|
| 104 |
+
{"id": "electrical-help", "label": "Electrical Help", "booking_href": "/book/task/electrical-help"},
|
| 105 |
+
{"id": "plumbing-help", "label": "Plumbing Help", "booking_href": "/book/task/plumbing-help"},
|
| 106 |
+
{"id": "light-carpentry", "label": "Light Carpentry", "booking_href": "/book/task/light-carpentry"}
|
| 107 |
+
]
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"id": "painting",
|
| 111 |
+
"label": "Painting",
|
| 112 |
+
"icon": "/static/home-icons/painting.svg",
|
| 113 |
+
"image": "/static/assets/source-current/2026-08-09-home-auth-assets/home-painting.png",
|
| 114 |
+
"image_alt": "Image of a Tasker painting a wall",
|
| 115 |
+
"summary": "Paint walls, ceilings, molding, and doors; includes prep and cleanup.",
|
| 116 |
+
"trending": "Now Trending: Color blocking, stripe details, and statement colors.",
|
| 117 |
+
"tasks": [
|
| 118 |
+
{"id": "indoor-painting", "label": "Indoor Painting", "booking_href": "/book/task/indoor-painting"},
|
| 119 |
+
{"id": "wallpapering", "label": "Wallpapering", "booking_href": "/book/task/wallpapering"},
|
| 120 |
+
{"id": "outdoor-painting", "label": "Outdoor Painting", "booking_href": "/book/task/outdoor-painting"},
|
| 121 |
+
{"id": "concrete-brick-painting", "label": "Concrete & Brick Painting", "booking_href": "/book/task/concrete-brick-painting"},
|
| 122 |
+
{"id": "accent-wall-painting", "label": "Accent Wall Painting", "booking_href": "/book/task/accent-wall-painting"},
|
| 123 |
+
{"id": "wallpaper-removal", "label": "Wallpaper Removal", "booking_href": "/book/task/wallpaper-removal"}
|
| 124 |
+
]
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"id": "trending",
|
| 128 |
+
"label": "Trending",
|
| 129 |
+
"icon": "/static/home-icons/trending.svg",
|
| 130 |
+
"image": "/static/assets/source-current/2026-08-09-home-auth-assets/home-trending.jpg",
|
| 131 |
+
"image_alt": "A man wearing a green taskrabbit shirt kneeling beside a white washing machine. He is holding a yellow drill performing maintenance on it.",
|
| 132 |
+
"summary": "Discover the hottest tasks that will level up your space.",
|
| 133 |
+
"trending": "Explore these trending tasks and book a skilled Tasker to enjoy the convenience and peace of mind that comes with it all!",
|
| 134 |
+
"tasks": [
|
| 135 |
+
{"id": "furniture-assembly", "label": "General Furniture Assembly", "booking_href": "/book/furniture-assembly/furniture-assembly"},
|
| 136 |
+
{"id": "other-mounting", "label": "General Mounting", "booking_href": "/book/task/other-mounting"},
|
| 137 |
+
{"id": "tv-mounting", "label": "TV Mounting", "booking_href": "/book/task/tv-mounting"},
|
| 138 |
+
{"id": "help-moving", "label": "Help Moving", "booking_href": "/book/help-moving"},
|
| 139 |
+
{"id": "cleaning", "label": "Cleaning", "booking_href": "/book/task/cleaning"},
|
| 140 |
+
{"id": "donation-drop-off", "label": "Donation Drop Off", "booking_href": "/book/task/donation-drop-off"},
|
| 141 |
+
{"id": "personal-assistant", "label": "Personal Assistant", "booking_href": "/book/task/personal-assistant"}
|
| 142 |
+
]
|
| 143 |
+
}
|
| 144 |
+
],
|
| 145 |
+
"popular_projects": [
|
| 146 |
+
{"label": "Furniture Assembly", "category_id": "furniture-assembly", "booking_href": "/book/furniture-assembly/furniture-assembly", "image": "/static/assets/source-current/2026-07-25/home/category-furniture-assembly.webp", "image_alt": "Furniture Assembly", "price_copy": "Projects starting at $49"},
|
| 147 |
+
{"label": "Mount Art or Shelves", "category_id": "hang-art-mirror-decor", "booking_href": "/book/task/hang-art-mirror-decor", "image": "/static/assets/source-current/2026-07-25/home/category-hang-pictures.webp", "image_alt": "Mount Art or Shelves", "price_copy": "Projects starting at $65"},
|
| 148 |
+
{"label": "Mount a TV", "category_id": "tv-mounting", "booking_href": "/book/task/tv-mounting", "image": "/static/assets/source-current/2026-07-25/home/category-mount-tv.webp", "image_alt": "Mount a TV", "price_copy": "Projects starting at $69"},
|
| 149 |
+
{"label": "Help Moving", "category_id": "help-moving", "booking_href": "/book/help-moving", "image": "/static/home-assets/help-moving-8ff5b956fe8d.webp", "image_alt": "Help Moving", "price_copy": "Projects starting at $67"},
|
| 150 |
+
{"label": "Flat-Rate Move", "category_id": "flat-rate-move", "booking_href": "/book/task/flat-rate-move", "image": "/static/assets/source-current/2026-07-25/home/category-help-moving.webp", "image_alt": "Flat-Rate Move", "price_copy": "Flat rate from $139"},
|
| 151 |
+
{"label": "Home & Apartment Cleaning", "category_id": "cleaning", "booking_href": "/book/task/cleaning", "image": "/static/assets/source-current/2026-07-25/home/category-cleaning.webp", "image_alt": "Home and Apartment Cleaning", "price_copy": "Projects starting at $49"},
|
| 152 |
+
{"label": "Minor Plumbing Repairs", "category_id": "plumbing-help", "booking_href": "/book/task/plumbing-help", "image": "/static/assets/source-current/2026-07-25/home/category-yardwork.webp", "image_alt": "Minor Plumbing Repairs", "price_copy": "Projects starting at $74"},
|
| 153 |
+
{"label": "Electrical Help", "category_id": "electrical-help", "booking_href": "/book/task/electrical-help", "image": "/static/assets/source-current/2026-07-25/home/category-electrical-help.webp", "image_alt": "Electrical Help", "price_copy": "Projects starting at $69"},
|
| 154 |
+
{"label": "Heavy Lifting", "category_id": "heavy-lifting-loading", "booking_href": "/book/task/heavy-lifting-loading", "image": "/static/assets/source-current/2026-07-25/home/category-furniture-removal.webp", "image_alt": "Heavy Lifting", "price_copy": "Projects starting at $61", "image_state": "source-unloaded-project-image"}
|
| 155 |
+
]
|
| 156 |
+
}
|
tasks/taskrabbit/solution/site/implementation/clone/backend/task_catalog.py
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Validated source-bound task catalog shared by pages and persistence."""
|
| 2 |
+
|
| 3 |
+
from __future__ import annotations
|
| 4 |
+
|
| 5 |
+
import json
|
| 6 |
+
from pathlib import Path
|
| 7 |
+
from typing import Any
|
| 8 |
+
|
| 9 |
+
CATALOG_PATH = Path(__file__).with_name("task_catalog.json")
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
def _load() -> dict[str, Any]:
|
| 13 |
+
value = json.loads(CATALOG_PATH.read_text(encoding="utf-8"))
|
| 14 |
+
if value.get("schema_version") != "websitebench.taskrabbit.task-catalog.v1":
|
| 15 |
+
raise RuntimeError("Taskrabbit task catalog schema is inconsistent")
|
| 16 |
+
families = value.get("families")
|
| 17 |
+
projects = value.get("popular_projects")
|
| 18 |
+
if not isinstance(families, list) or len(families) != 8:
|
| 19 |
+
raise RuntimeError("Taskrabbit task families are inconsistent")
|
| 20 |
+
if not isinstance(projects, list) or len(projects) != 9:
|
| 21 |
+
raise RuntimeError("Taskrabbit popular projects are inconsistent")
|
| 22 |
+
seen_families: set[str] = set()
|
| 23 |
+
category_labels: dict[str, str] = {}
|
| 24 |
+
booking_hrefs: dict[str, str] = {}
|
| 25 |
+
for family in families:
|
| 26 |
+
family_id = str(family.get("id", ""))
|
| 27 |
+
if not family_id or family_id in seen_families:
|
| 28 |
+
raise RuntimeError("Taskrabbit task family identity is inconsistent")
|
| 29 |
+
seen_families.add(family_id)
|
| 30 |
+
for task in family.get("tasks", []):
|
| 31 |
+
category_id = str(task.get("id", ""))
|
| 32 |
+
label = str(task.get("label", ""))
|
| 33 |
+
href = str(task.get("booking_href", ""))
|
| 34 |
+
if not category_id or not label or not href.startswith("/"):
|
| 35 |
+
raise RuntimeError("Taskrabbit task entry is inconsistent")
|
| 36 |
+
category_labels.setdefault(category_id, label)
|
| 37 |
+
booking_hrefs.setdefault(category_id, href)
|
| 38 |
+
for project in projects:
|
| 39 |
+
category_id = str(project.get("category_id", ""))
|
| 40 |
+
if category_id not in category_labels:
|
| 41 |
+
raise RuntimeError("Taskrabbit popular project has no task category")
|
| 42 |
+
value["category_labels"] = category_labels
|
| 43 |
+
value["booking_hrefs"] = booking_hrefs
|
| 44 |
+
return value
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
CATALOG = _load()
|
| 48 |
+
FAMILIES: tuple[dict[str, Any], ...] = tuple(CATALOG["families"])
|
| 49 |
+
POPULAR_PROJECTS: tuple[dict[str, Any], ...] = tuple(CATALOG["popular_projects"])
|
| 50 |
+
CATEGORY_LABELS: dict[str, str] = dict(CATALOG["category_labels"])
|
| 51 |
+
BOOKING_HREFS: dict[str, str] = dict(CATALOG["booking_hrefs"])
|
| 52 |
+
TASKS: tuple[dict[str, str], ...] = tuple(
|
| 53 |
+
{
|
| 54 |
+
"id": category_id,
|
| 55 |
+
"label": label,
|
| 56 |
+
"booking_href": BOOKING_HREFS[category_id],
|
| 57 |
+
}
|
| 58 |
+
for category_id, label in CATEGORY_LABELS.items()
|
| 59 |
+
)
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
def task(category_id: str) -> dict[str, str] | None:
|
| 63 |
+
return next((item for item in TASKS if item["id"] == category_id), None)
|
tasks/taskrabbit/solution/site/implementation/clone/frontend/__init__.py
ADDED
|
File without changes
|
tasks/taskrabbit/solution/site/implementation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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "websitebench.taskrabbit.phone-regions.v1",
|
| 3 |
+
"sources": {
|
| 4 |
+
"calling_codes": "Google libphonenumber PhoneNumberMetadata.xml (retrieved 2026-08-09)",
|
| 5 |
+
"region_names": "Unicode CLDR names exposed by Intl.DisplayNames",
|
| 6 |
+
"symbols": "Unicode regional-indicator flag sequences derived from ISO region codes"
|
| 7 |
+
},
|
| 8 |
+
"regions": [
|
| 9 |
+
{
|
| 10 |
+
"code": "US",
|
| 11 |
+
"name": "United States",
|
| 12 |
+
"dial_code": "+1",
|
| 13 |
+
"symbol": "🇺🇸"
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"code": "AF",
|
| 17 |
+
"name": "Afghanistan",
|
| 18 |
+
"dial_code": "+93",
|
| 19 |
+
"symbol": "🇦🇫"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"code": "AX",
|
| 23 |
+
"name": "Åland Islands",
|
| 24 |
+
"dial_code": "+358",
|
| 25 |
+
"symbol": "🇦🇽"
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"code": "AL",
|
| 29 |
+
"name": "Albania",
|
| 30 |
+
"dial_code": "+355",
|
| 31 |
+
"symbol": "🇦🇱"
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"code": "DZ",
|
| 35 |
+
"name": "Algeria",
|
| 36 |
+
"dial_code": "+213",
|
| 37 |
+
"symbol": "🇩🇿"
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"code": "AS",
|
| 41 |
+
"name": "American Samoa",
|
| 42 |
+
"dial_code": "+1",
|
| 43 |
+
"symbol": "🇦🇸"
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"code": "AD",
|
| 47 |
+
"name": "Andorra",
|
| 48 |
+
"dial_code": "+376",
|
| 49 |
+
"symbol": "🇦🇩"
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"code": "AO",
|
| 53 |
+
"name": "Angola",
|
| 54 |
+
"dial_code": "+244",
|
| 55 |
+
"symbol": "🇦🇴"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"code": "AI",
|
| 59 |
+
"name": "Anguilla",
|
| 60 |
+
"dial_code": "+1",
|
| 61 |
+
"symbol": "🇦🇮"
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"code": "AG",
|
| 65 |
+
"name": "Antigua & Barbuda",
|
| 66 |
+
"dial_code": "+1",
|
| 67 |
+
"symbol": "🇦🇬"
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"code": "AR",
|
| 71 |
+
"name": "Argentina",
|
| 72 |
+
"dial_code": "+54",
|
| 73 |
+
"symbol": "🇦🇷"
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"code": "AM",
|
| 77 |
+
"name": "Armenia",
|
| 78 |
+
"dial_code": "+374",
|
| 79 |
+
"symbol": "🇦🇲"
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"code": "AW",
|
| 83 |
+
"name": "Aruba",
|
| 84 |
+
"dial_code": "+297",
|
| 85 |
+
"symbol": "🇦🇼"
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"code": "AC",
|
| 89 |
+
"name": "Ascension Island",
|
| 90 |
+
"dial_code": "+247",
|
| 91 |
+
"symbol": "🇦🇨"
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"code": "AU",
|
| 95 |
+
"name": "Australia",
|
| 96 |
+
"dial_code": "+61",
|
| 97 |
+
"symbol": "🇦🇺"
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"code": "AT",
|
| 101 |
+
"name": "Austria",
|
| 102 |
+
"dial_code": "+43",
|
| 103 |
+
"symbol": "🇦🇹"
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"code": "AZ",
|
| 107 |
+
"name": "Azerbaijan",
|
| 108 |
+
"dial_code": "+994",
|
| 109 |
+
"symbol": "🇦🇿"
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"code": "BS",
|
| 113 |
+
"name": "Bahamas",
|
| 114 |
+
"dial_code": "+1",
|
| 115 |
+
"symbol": "🇧🇸"
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"code": "BH",
|
| 119 |
+
"name": "Bahrain",
|
| 120 |
+
"dial_code": "+973",
|
| 121 |
+
"symbol": "🇧🇭"
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"code": "BD",
|
| 125 |
+
"name": "Bangladesh",
|
| 126 |
+
"dial_code": "+880",
|
| 127 |
+
"symbol": "🇧🇩"
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"code": "BB",
|
| 131 |
+
"name": "Barbados",
|
| 132 |
+
"dial_code": "+1",
|
| 133 |
+
"symbol": "🇧🇧"
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"code": "BY",
|
| 137 |
+
"name": "Belarus",
|
| 138 |
+
"dial_code": "+375",
|
| 139 |
+
"symbol": "🇧🇾"
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"code": "BE",
|
| 143 |
+
"name": "Belgium",
|
| 144 |
+
"dial_code": "+32",
|
| 145 |
+
"symbol": "🇧🇪"
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"code": "BZ",
|
| 149 |
+
"name": "Belize",
|
| 150 |
+
"dial_code": "+501",
|
| 151 |
+
"symbol": "🇧🇿"
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"code": "BJ",
|
| 155 |
+
"name": "Benin",
|
| 156 |
+
"dial_code": "+229",
|
| 157 |
+
"symbol": "🇧🇯"
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"code": "BM",
|
| 161 |
+
"name": "Bermuda",
|
| 162 |
+
"dial_code": "+1",
|
| 163 |
+
"symbol": "🇧🇲"
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"code": "BT",
|
| 167 |
+
"name": "Bhutan",
|
| 168 |
+
"dial_code": "+975",
|
| 169 |
+
"symbol": "🇧🇹"
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"code": "BO",
|
| 173 |
+
"name": "Bolivia",
|
| 174 |
+
"dial_code": "+591",
|
| 175 |
+
"symbol": "🇧🇴"
|
| 176 |
+
},
|
| 177 |
+
{
|
| 178 |
+
"code": "BA",
|
| 179 |
+
"name": "Bosnia & Herzegovina",
|
| 180 |
+
"dial_code": "+387",
|
| 181 |
+
"symbol": "🇧🇦"
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"code": "BW",
|
| 185 |
+
"name": "Botswana",
|
| 186 |
+
"dial_code": "+267",
|
| 187 |
+
"symbol": "🇧🇼"
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"code": "BR",
|
| 191 |
+
"name": "Brazil",
|
| 192 |
+
"dial_code": "+55",
|
| 193 |
+
"symbol": "🇧🇷"
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"code": "IO",
|
| 197 |
+
"name": "British Indian Ocean Territory",
|
| 198 |
+
"dial_code": "+246",
|
| 199 |
+
"symbol": "🇮🇴"
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"code": "VG",
|
| 203 |
+
"name": "British Virgin Islands",
|
| 204 |
+
"dial_code": "+1",
|
| 205 |
+
"symbol": "🇻🇬"
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"code": "BN",
|
| 209 |
+
"name": "Brunei",
|
| 210 |
+
"dial_code": "+673",
|
| 211 |
+
"symbol": "🇧🇳"
|
| 212 |
+
},
|
| 213 |
+
{
|
| 214 |
+
"code": "BG",
|
| 215 |
+
"name": "Bulgaria",
|
| 216 |
+
"dial_code": "+359",
|
| 217 |
+
"symbol": "🇧🇬"
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"code": "BF",
|
| 221 |
+
"name": "Burkina Faso",
|
| 222 |
+
"dial_code": "+226",
|
| 223 |
+
"symbol": "🇧🇫"
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"code": "BI",
|
| 227 |
+
"name": "Burundi",
|
| 228 |
+
"dial_code": "+257",
|
| 229 |
+
"symbol": "🇧🇮"
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"code": "KH",
|
| 233 |
+
"name": "Cambodia",
|
| 234 |
+
"dial_code": "+855",
|
| 235 |
+
"symbol": "🇰🇭"
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"code": "CM",
|
| 239 |
+
"name": "Cameroon",
|
| 240 |
+
"dial_code": "+237",
|
| 241 |
+
"symbol": "🇨🇲"
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"code": "CA",
|
| 245 |
+
"name": "Canada",
|
| 246 |
+
"dial_code": "+1",
|
| 247 |
+
"symbol": "🇨🇦"
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"code": "CV",
|
| 251 |
+
"name": "Cape Verde",
|
| 252 |
+
"dial_code": "+238",
|
| 253 |
+
"symbol": "🇨🇻"
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"code": "BQ",
|
| 257 |
+
"name": "Caribbean Netherlands",
|
| 258 |
+
"dial_code": "+599",
|
| 259 |
+
"symbol": "🇧🇶"
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"code": "KY",
|
| 263 |
+
"name": "Cayman Islands",
|
| 264 |
+
"dial_code": "+1",
|
| 265 |
+
"symbol": "🇰🇾"
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"code": "CF",
|
| 269 |
+
"name": "Central African Republic",
|
| 270 |
+
"dial_code": "+236",
|
| 271 |
+
"symbol": "🇨🇫"
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"code": "TD",
|
| 275 |
+
"name": "Chad",
|
| 276 |
+
"dial_code": "+235",
|
| 277 |
+
"symbol": "🇹🇩"
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"code": "CL",
|
| 281 |
+
"name": "Chile",
|
| 282 |
+
"dial_code": "+56",
|
| 283 |
+
"symbol": "🇨🇱"
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"code": "CN",
|
| 287 |
+
"name": "China",
|
| 288 |
+
"dial_code": "+86",
|
| 289 |
+
"symbol": "🇨🇳"
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"code": "CX",
|
| 293 |
+
"name": "Christmas Island",
|
| 294 |
+
"dial_code": "+61",
|
| 295 |
+
"symbol": "🇨🇽"
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"code": "CC",
|
| 299 |
+
"name": "Cocos (Keeling) Islands",
|
| 300 |
+
"dial_code": "+61",
|
| 301 |
+
"symbol": "🇨🇨"
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"code": "CO",
|
| 305 |
+
"name": "Colombia",
|
| 306 |
+
"dial_code": "+57",
|
| 307 |
+
"symbol": "🇨🇴"
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"code": "KM",
|
| 311 |
+
"name": "Comoros",
|
| 312 |
+
"dial_code": "+269",
|
| 313 |
+
"symbol": "🇰🇲"
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"code": "CG",
|
| 317 |
+
"name": "Congo - Brazzaville",
|
| 318 |
+
"dial_code": "+242",
|
| 319 |
+
"symbol": "🇨🇬"
|
| 320 |
+
},
|
| 321 |
+
{
|
| 322 |
+
"code": "CD",
|
| 323 |
+
"name": "Congo - Kinshasa",
|
| 324 |
+
"dial_code": "+243",
|
| 325 |
+
"symbol": "🇨🇩"
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"code": "CK",
|
| 329 |
+
"name": "Cook Islands",
|
| 330 |
+
"dial_code": "+682",
|
| 331 |
+
"symbol": "🇨🇰"
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"code": "CR",
|
| 335 |
+
"name": "Costa Rica",
|
| 336 |
+
"dial_code": "+506",
|
| 337 |
+
"symbol": "🇨🇷"
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"code": "CI",
|
| 341 |
+
"name": "Côte d’Ivoire",
|
| 342 |
+
"dial_code": "+225",
|
| 343 |
+
"symbol": "🇨🇮"
|
| 344 |
+
},
|
| 345 |
+
{
|
| 346 |
+
"code": "HR",
|
| 347 |
+
"name": "Croatia",
|
| 348 |
+
"dial_code": "+385",
|
| 349 |
+
"symbol": "🇭🇷"
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"code": "CU",
|
| 353 |
+
"name": "Cuba",
|
| 354 |
+
"dial_code": "+53",
|
| 355 |
+
"symbol": "🇨🇺"
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"code": "CW",
|
| 359 |
+
"name": "Curaçao",
|
| 360 |
+
"dial_code": "+599",
|
| 361 |
+
"symbol": "🇨🇼"
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"code": "CY",
|
| 365 |
+
"name": "Cyprus",
|
| 366 |
+
"dial_code": "+357",
|
| 367 |
+
"symbol": "🇨🇾"
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"code": "CZ",
|
| 371 |
+
"name": "Czechia",
|
| 372 |
+
"dial_code": "+420",
|
| 373 |
+
"symbol": "🇨🇿"
|
| 374 |
+
},
|
| 375 |
+
{
|
| 376 |
+
"code": "DK",
|
| 377 |
+
"name": "Denmark",
|
| 378 |
+
"dial_code": "+45",
|
| 379 |
+
"symbol": "🇩🇰"
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"code": "DJ",
|
| 383 |
+
"name": "Djibouti",
|
| 384 |
+
"dial_code": "+253",
|
| 385 |
+
"symbol": "🇩🇯"
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"code": "DM",
|
| 389 |
+
"name": "Dominica",
|
| 390 |
+
"dial_code": "+1",
|
| 391 |
+
"symbol": "🇩🇲"
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"code": "DO",
|
| 395 |
+
"name": "Dominican Republic",
|
| 396 |
+
"dial_code": "+1",
|
| 397 |
+
"symbol": "🇩🇴"
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"code": "EC",
|
| 401 |
+
"name": "Ecuador",
|
| 402 |
+
"dial_code": "+593",
|
| 403 |
+
"symbol": "🇪🇨"
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"code": "EG",
|
| 407 |
+
"name": "Egypt",
|
| 408 |
+
"dial_code": "+20",
|
| 409 |
+
"symbol": "🇪🇬"
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"code": "SV",
|
| 413 |
+
"name": "El Salvador",
|
| 414 |
+
"dial_code": "+503",
|
| 415 |
+
"symbol": "🇸🇻"
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"code": "GQ",
|
| 419 |
+
"name": "Equatorial Guinea",
|
| 420 |
+
"dial_code": "+240",
|
| 421 |
+
"symbol": "🇬🇶"
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"code": "ER",
|
| 425 |
+
"name": "Eritrea",
|
| 426 |
+
"dial_code": "+291",
|
| 427 |
+
"symbol": "🇪🇷"
|
| 428 |
+
},
|
| 429 |
+
{
|
| 430 |
+
"code": "EE",
|
| 431 |
+
"name": "Estonia",
|
| 432 |
+
"dial_code": "+372",
|
| 433 |
+
"symbol": "🇪🇪"
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"code": "SZ",
|
| 437 |
+
"name": "Eswatini",
|
| 438 |
+
"dial_code": "+268",
|
| 439 |
+
"symbol": "🇸🇿"
|
| 440 |
+
},
|
| 441 |
+
{
|
| 442 |
+
"code": "ET",
|
| 443 |
+
"name": "Ethiopia",
|
| 444 |
+
"dial_code": "+251",
|
| 445 |
+
"symbol": "🇪🇹"
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"code": "FK",
|
| 449 |
+
"name": "Falkland Islands",
|
| 450 |
+
"dial_code": "+500",
|
| 451 |
+
"symbol": "🇫🇰"
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"code": "FO",
|
| 455 |
+
"name": "Faroe Islands",
|
| 456 |
+
"dial_code": "+298",
|
| 457 |
+
"symbol": "🇫🇴"
|
| 458 |
+
},
|
| 459 |
+
{
|
| 460 |
+
"code": "FJ",
|
| 461 |
+
"name": "Fiji",
|
| 462 |
+
"dial_code": "+679",
|
| 463 |
+
"symbol": "🇫🇯"
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"code": "FI",
|
| 467 |
+
"name": "Finland",
|
| 468 |
+
"dial_code": "+358",
|
| 469 |
+
"symbol": "🇫🇮"
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"code": "FR",
|
| 473 |
+
"name": "France",
|
| 474 |
+
"dial_code": "+33",
|
| 475 |
+
"symbol": "🇫🇷"
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"code": "GF",
|
| 479 |
+
"name": "French Guiana",
|
| 480 |
+
"dial_code": "+594",
|
| 481 |
+
"symbol": "🇬🇫"
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"code": "PF",
|
| 485 |
+
"name": "French Polynesia",
|
| 486 |
+
"dial_code": "+689",
|
| 487 |
+
"symbol": "🇵🇫"
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"code": "GA",
|
| 491 |
+
"name": "Gabon",
|
| 492 |
+
"dial_code": "+241",
|
| 493 |
+
"symbol": "🇬🇦"
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"code": "GM",
|
| 497 |
+
"name": "Gambia",
|
| 498 |
+
"dial_code": "+220",
|
| 499 |
+
"symbol": "🇬🇲"
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"code": "GE",
|
| 503 |
+
"name": "Georgia",
|
| 504 |
+
"dial_code": "+995",
|
| 505 |
+
"symbol": "🇬🇪"
|
| 506 |
+
},
|
| 507 |
+
{
|
| 508 |
+
"code": "DE",
|
| 509 |
+
"name": "Germany",
|
| 510 |
+
"dial_code": "+49",
|
| 511 |
+
"symbol": "🇩🇪"
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"code": "GH",
|
| 515 |
+
"name": "Ghana",
|
| 516 |
+
"dial_code": "+233",
|
| 517 |
+
"symbol": "🇬🇭"
|
| 518 |
+
},
|
| 519 |
+
{
|
| 520 |
+
"code": "GI",
|
| 521 |
+
"name": "Gibraltar",
|
| 522 |
+
"dial_code": "+350",
|
| 523 |
+
"symbol": "🇬🇮"
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"code": "GR",
|
| 527 |
+
"name": "Greece",
|
| 528 |
+
"dial_code": "+30",
|
| 529 |
+
"symbol": "🇬🇷"
|
| 530 |
+
},
|
| 531 |
+
{
|
| 532 |
+
"code": "GL",
|
| 533 |
+
"name": "Greenland",
|
| 534 |
+
"dial_code": "+299",
|
| 535 |
+
"symbol": "🇬🇱"
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"code": "GD",
|
| 539 |
+
"name": "Grenada",
|
| 540 |
+
"dial_code": "+1",
|
| 541 |
+
"symbol": "🇬🇩"
|
| 542 |
+
},
|
| 543 |
+
{
|
| 544 |
+
"code": "GP",
|
| 545 |
+
"name": "Guadeloupe",
|
| 546 |
+
"dial_code": "+590",
|
| 547 |
+
"symbol": "🇬🇵"
|
| 548 |
+
},
|
| 549 |
+
{
|
| 550 |
+
"code": "GU",
|
| 551 |
+
"name": "Guam",
|
| 552 |
+
"dial_code": "+1",
|
| 553 |
+
"symbol": "🇬🇺"
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"code": "GT",
|
| 557 |
+
"name": "Guatemala",
|
| 558 |
+
"dial_code": "+502",
|
| 559 |
+
"symbol": "🇬🇹"
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"code": "GG",
|
| 563 |
+
"name": "Guernsey",
|
| 564 |
+
"dial_code": "+44",
|
| 565 |
+
"symbol": "🇬🇬"
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"code": "GN",
|
| 569 |
+
"name": "Guinea",
|
| 570 |
+
"dial_code": "+224",
|
| 571 |
+
"symbol": "🇬🇳"
|
| 572 |
+
},
|
| 573 |
+
{
|
| 574 |
+
"code": "GW",
|
| 575 |
+
"name": "Guinea-Bissau",
|
| 576 |
+
"dial_code": "+245",
|
| 577 |
+
"symbol": "🇬🇼"
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"code": "GY",
|
| 581 |
+
"name": "Guyana",
|
| 582 |
+
"dial_code": "+592",
|
| 583 |
+
"symbol": "🇬🇾"
|
| 584 |
+
},
|
| 585 |
+
{
|
| 586 |
+
"code": "HT",
|
| 587 |
+
"name": "Haiti",
|
| 588 |
+
"dial_code": "+509",
|
| 589 |
+
"symbol": "🇭🇹"
|
| 590 |
+
},
|
| 591 |
+
{
|
| 592 |
+
"code": "HN",
|
| 593 |
+
"name": "Honduras",
|
| 594 |
+
"dial_code": "+504",
|
| 595 |
+
"symbol": "🇭🇳"
|
| 596 |
+
},
|
| 597 |
+
{
|
| 598 |
+
"code": "HK",
|
| 599 |
+
"name": "Hong Kong SAR China",
|
| 600 |
+
"dial_code": "+852",
|
| 601 |
+
"symbol": "🇭🇰"
|
| 602 |
+
},
|
| 603 |
+
{
|
| 604 |
+
"code": "HU",
|
| 605 |
+
"name": "Hungary",
|
| 606 |
+
"dial_code": "+36",
|
| 607 |
+
"symbol": "🇭🇺"
|
| 608 |
+
},
|
| 609 |
+
{
|
| 610 |
+
"code": "IS",
|
| 611 |
+
"name": "Iceland",
|
| 612 |
+
"dial_code": "+354",
|
| 613 |
+
"symbol": "🇮🇸"
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"code": "IN",
|
| 617 |
+
"name": "India",
|
| 618 |
+
"dial_code": "+91",
|
| 619 |
+
"symbol": "🇮🇳"
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"code": "ID",
|
| 623 |
+
"name": "Indonesia",
|
| 624 |
+
"dial_code": "+62",
|
| 625 |
+
"symbol": "🇮🇩"
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"code": "IR",
|
| 629 |
+
"name": "Iran",
|
| 630 |
+
"dial_code": "+98",
|
| 631 |
+
"symbol": "🇮🇷"
|
| 632 |
+
},
|
| 633 |
+
{
|
| 634 |
+
"code": "IQ",
|
| 635 |
+
"name": "Iraq",
|
| 636 |
+
"dial_code": "+964",
|
| 637 |
+
"symbol": "🇮🇶"
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"code": "IE",
|
| 641 |
+
"name": "Ireland",
|
| 642 |
+
"dial_code": "+353",
|
| 643 |
+
"symbol": "🇮🇪"
|
| 644 |
+
},
|
| 645 |
+
{
|
| 646 |
+
"code": "IM",
|
| 647 |
+
"name": "Isle of Man",
|
| 648 |
+
"dial_code": "+44",
|
| 649 |
+
"symbol": "🇮🇲"
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"code": "IL",
|
| 653 |
+
"name": "Israel",
|
| 654 |
+
"dial_code": "+972",
|
| 655 |
+
"symbol": "🇮🇱"
|
| 656 |
+
},
|
| 657 |
+
{
|
| 658 |
+
"code": "IT",
|
| 659 |
+
"name": "Italy",
|
| 660 |
+
"dial_code": "+39",
|
| 661 |
+
"symbol": "🇮🇹"
|
| 662 |
+
},
|
| 663 |
+
{
|
| 664 |
+
"code": "JM",
|
| 665 |
+
"name": "Jamaica",
|
| 666 |
+
"dial_code": "+1",
|
| 667 |
+
"symbol": "🇯🇲"
|
| 668 |
+
},
|
| 669 |
+
{
|
| 670 |
+
"code": "JP",
|
| 671 |
+
"name": "Japan",
|
| 672 |
+
"dial_code": "+81",
|
| 673 |
+
"symbol": "🇯🇵"
|
| 674 |
+
},
|
| 675 |
+
{
|
| 676 |
+
"code": "JE",
|
| 677 |
+
"name": "Jersey",
|
| 678 |
+
"dial_code": "+44",
|
| 679 |
+
"symbol": "🇯🇪"
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"code": "JO",
|
| 683 |
+
"name": "Jordan",
|
| 684 |
+
"dial_code": "+962",
|
| 685 |
+
"symbol": "🇯🇴"
|
| 686 |
+
},
|
| 687 |
+
{
|
| 688 |
+
"code": "KZ",
|
| 689 |
+
"name": "Kazakhstan",
|
| 690 |
+
"dial_code": "+7",
|
| 691 |
+
"symbol": "🇰🇿"
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"code": "KE",
|
| 695 |
+
"name": "Kenya",
|
| 696 |
+
"dial_code": "+254",
|
| 697 |
+
"symbol": "🇰🇪"
|
| 698 |
+
},
|
| 699 |
+
{
|
| 700 |
+
"code": "KI",
|
| 701 |
+
"name": "Kiribati",
|
| 702 |
+
"dial_code": "+686",
|
| 703 |
+
"symbol": "🇰🇮"
|
| 704 |
+
},
|
| 705 |
+
{
|
| 706 |
+
"code": "XK",
|
| 707 |
+
"name": "Kosovo",
|
| 708 |
+
"dial_code": "+383",
|
| 709 |
+
"symbol": "🇽🇰"
|
| 710 |
+
},
|
| 711 |
+
{
|
| 712 |
+
"code": "KW",
|
| 713 |
+
"name": "Kuwait",
|
| 714 |
+
"dial_code": "+965",
|
| 715 |
+
"symbol": "🇰🇼"
|
| 716 |
+
},
|
| 717 |
+
{
|
| 718 |
+
"code": "KG",
|
| 719 |
+
"name": "Kyrgyzstan",
|
| 720 |
+
"dial_code": "+996",
|
| 721 |
+
"symbol": "🇰🇬"
|
| 722 |
+
},
|
| 723 |
+
{
|
| 724 |
+
"code": "LA",
|
| 725 |
+
"name": "Laos",
|
| 726 |
+
"dial_code": "+856",
|
| 727 |
+
"symbol": "🇱🇦"
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"code": "LV",
|
| 731 |
+
"name": "Latvia",
|
| 732 |
+
"dial_code": "+371",
|
| 733 |
+
"symbol": "🇱🇻"
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"code": "LB",
|
| 737 |
+
"name": "Lebanon",
|
| 738 |
+
"dial_code": "+961",
|
| 739 |
+
"symbol": "🇱🇧"
|
| 740 |
+
},
|
| 741 |
+
{
|
| 742 |
+
"code": "LS",
|
| 743 |
+
"name": "Lesotho",
|
| 744 |
+
"dial_code": "+266",
|
| 745 |
+
"symbol": "🇱🇸"
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"code": "LR",
|
| 749 |
+
"name": "Liberia",
|
| 750 |
+
"dial_code": "+231",
|
| 751 |
+
"symbol": "🇱🇷"
|
| 752 |
+
},
|
| 753 |
+
{
|
| 754 |
+
"code": "LY",
|
| 755 |
+
"name": "Libya",
|
| 756 |
+
"dial_code": "+218",
|
| 757 |
+
"symbol": "🇱🇾"
|
| 758 |
+
},
|
| 759 |
+
{
|
| 760 |
+
"code": "LI",
|
| 761 |
+
"name": "Liechtenstein",
|
| 762 |
+
"dial_code": "+423",
|
| 763 |
+
"symbol": "🇱🇮"
|
| 764 |
+
},
|
| 765 |
+
{
|
| 766 |
+
"code": "LT",
|
| 767 |
+
"name": "Lithuania",
|
| 768 |
+
"dial_code": "+370",
|
| 769 |
+
"symbol": "🇱🇹"
|
| 770 |
+
},
|
| 771 |
+
{
|
| 772 |
+
"code": "LU",
|
| 773 |
+
"name": "Luxembourg",
|
| 774 |
+
"dial_code": "+352",
|
| 775 |
+
"symbol": "🇱🇺"
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"code": "MO",
|
| 779 |
+
"name": "Macao SAR China",
|
| 780 |
+
"dial_code": "+853",
|
| 781 |
+
"symbol": "🇲🇴"
|
| 782 |
+
},
|
| 783 |
+
{
|
| 784 |
+
"code": "MG",
|
| 785 |
+
"name": "Madagascar",
|
| 786 |
+
"dial_code": "+261",
|
| 787 |
+
"symbol": "🇲🇬"
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"code": "MW",
|
| 791 |
+
"name": "Malawi",
|
| 792 |
+
"dial_code": "+265",
|
| 793 |
+
"symbol": "🇲🇼"
|
| 794 |
+
},
|
| 795 |
+
{
|
| 796 |
+
"code": "MY",
|
| 797 |
+
"name": "Malaysia",
|
| 798 |
+
"dial_code": "+60",
|
| 799 |
+
"symbol": "🇲🇾"
|
| 800 |
+
},
|
| 801 |
+
{
|
| 802 |
+
"code": "MV",
|
| 803 |
+
"name": "Maldives",
|
| 804 |
+
"dial_code": "+960",
|
| 805 |
+
"symbol": "🇲🇻"
|
| 806 |
+
},
|
| 807 |
+
{
|
| 808 |
+
"code": "ML",
|
| 809 |
+
"name": "Mali",
|
| 810 |
+
"dial_code": "+223",
|
| 811 |
+
"symbol": "🇲🇱"
|
| 812 |
+
},
|
| 813 |
+
{
|
| 814 |
+
"code": "MT",
|
| 815 |
+
"name": "Malta",
|
| 816 |
+
"dial_code": "+356",
|
| 817 |
+
"symbol": "🇲🇹"
|
| 818 |
+
},
|
| 819 |
+
{
|
| 820 |
+
"code": "MH",
|
| 821 |
+
"name": "Marshall Islands",
|
| 822 |
+
"dial_code": "+692",
|
| 823 |
+
"symbol": "🇲🇭"
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"code": "MQ",
|
| 827 |
+
"name": "Martinique",
|
| 828 |
+
"dial_code": "+596",
|
| 829 |
+
"symbol": "🇲🇶"
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"code": "MR",
|
| 833 |
+
"name": "Mauritania",
|
| 834 |
+
"dial_code": "+222",
|
| 835 |
+
"symbol": "🇲🇷"
|
| 836 |
+
},
|
| 837 |
+
{
|
| 838 |
+
"code": "MU",
|
| 839 |
+
"name": "Mauritius",
|
| 840 |
+
"dial_code": "+230",
|
| 841 |
+
"symbol": "🇲🇺"
|
| 842 |
+
},
|
| 843 |
+
{
|
| 844 |
+
"code": "YT",
|
| 845 |
+
"name": "Mayotte",
|
| 846 |
+
"dial_code": "+262",
|
| 847 |
+
"symbol": "🇾🇹"
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"code": "MX",
|
| 851 |
+
"name": "Mexico",
|
| 852 |
+
"dial_code": "+52",
|
| 853 |
+
"symbol": "🇲🇽"
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"code": "FM",
|
| 857 |
+
"name": "Micronesia",
|
| 858 |
+
"dial_code": "+691",
|
| 859 |
+
"symbol": "🇫🇲"
|
| 860 |
+
},
|
| 861 |
+
{
|
| 862 |
+
"code": "MD",
|
| 863 |
+
"name": "Moldova",
|
| 864 |
+
"dial_code": "+373",
|
| 865 |
+
"symbol": "🇲🇩"
|
| 866 |
+
},
|
| 867 |
+
{
|
| 868 |
+
"code": "MC",
|
| 869 |
+
"name": "Monaco",
|
| 870 |
+
"dial_code": "+377",
|
| 871 |
+
"symbol": "🇲🇨"
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"code": "MN",
|
| 875 |
+
"name": "Mongolia",
|
| 876 |
+
"dial_code": "+976",
|
| 877 |
+
"symbol": "🇲🇳"
|
| 878 |
+
},
|
| 879 |
+
{
|
| 880 |
+
"code": "ME",
|
| 881 |
+
"name": "Montenegro",
|
| 882 |
+
"dial_code": "+382",
|
| 883 |
+
"symbol": "🇲🇪"
|
| 884 |
+
},
|
| 885 |
+
{
|
| 886 |
+
"code": "MS",
|
| 887 |
+
"name": "Montserrat",
|
| 888 |
+
"dial_code": "+1",
|
| 889 |
+
"symbol": "🇲🇸"
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"code": "MA",
|
| 893 |
+
"name": "Morocco",
|
| 894 |
+
"dial_code": "+212",
|
| 895 |
+
"symbol": "🇲🇦"
|
| 896 |
+
},
|
| 897 |
+
{
|
| 898 |
+
"code": "MZ",
|
| 899 |
+
"name": "Mozambique",
|
| 900 |
+
"dial_code": "+258",
|
| 901 |
+
"symbol": "🇲🇿"
|
| 902 |
+
},
|
| 903 |
+
{
|
| 904 |
+
"code": "MM",
|
| 905 |
+
"name": "Myanmar (Burma)",
|
| 906 |
+
"dial_code": "+95",
|
| 907 |
+
"symbol": "🇲🇲"
|
| 908 |
+
},
|
| 909 |
+
{
|
| 910 |
+
"code": "NA",
|
| 911 |
+
"name": "Namibia",
|
| 912 |
+
"dial_code": "+264",
|
| 913 |
+
"symbol": "🇳🇦"
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"code": "NR",
|
| 917 |
+
"name": "Nauru",
|
| 918 |
+
"dial_code": "+674",
|
| 919 |
+
"symbol": "🇳🇷"
|
| 920 |
+
},
|
| 921 |
+
{
|
| 922 |
+
"code": "NP",
|
| 923 |
+
"name": "Nepal",
|
| 924 |
+
"dial_code": "+977",
|
| 925 |
+
"symbol": "🇳🇵"
|
| 926 |
+
},
|
| 927 |
+
{
|
| 928 |
+
"code": "NL",
|
| 929 |
+
"name": "Netherlands",
|
| 930 |
+
"dial_code": "+31",
|
| 931 |
+
"symbol": "🇳🇱"
|
| 932 |
+
},
|
| 933 |
+
{
|
| 934 |
+
"code": "NC",
|
| 935 |
+
"name": "New Caledonia",
|
| 936 |
+
"dial_code": "+687",
|
| 937 |
+
"symbol": "🇳🇨"
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"code": "NZ",
|
| 941 |
+
"name": "New Zealand",
|
| 942 |
+
"dial_code": "+64",
|
| 943 |
+
"symbol": "🇳🇿"
|
| 944 |
+
},
|
| 945 |
+
{
|
| 946 |
+
"code": "NI",
|
| 947 |
+
"name": "Nicaragua",
|
| 948 |
+
"dial_code": "+505",
|
| 949 |
+
"symbol": "🇳🇮"
|
| 950 |
+
},
|
| 951 |
+
{
|
| 952 |
+
"code": "NE",
|
| 953 |
+
"name": "Niger",
|
| 954 |
+
"dial_code": "+227",
|
| 955 |
+
"symbol": "🇳🇪"
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"code": "NG",
|
| 959 |
+
"name": "Nigeria",
|
| 960 |
+
"dial_code": "+234",
|
| 961 |
+
"symbol": "🇳🇬"
|
| 962 |
+
},
|
| 963 |
+
{
|
| 964 |
+
"code": "NU",
|
| 965 |
+
"name": "Niue",
|
| 966 |
+
"dial_code": "+683",
|
| 967 |
+
"symbol": "🇳🇺"
|
| 968 |
+
},
|
| 969 |
+
{
|
| 970 |
+
"code": "NF",
|
| 971 |
+
"name": "Norfolk Island",
|
| 972 |
+
"dial_code": "+672",
|
| 973 |
+
"symbol": "🇳🇫"
|
| 974 |
+
},
|
| 975 |
+
{
|
| 976 |
+
"code": "KP",
|
| 977 |
+
"name": "North Korea",
|
| 978 |
+
"dial_code": "+850",
|
| 979 |
+
"symbol": "🇰🇵"
|
| 980 |
+
},
|
| 981 |
+
{
|
| 982 |
+
"code": "MK",
|
| 983 |
+
"name": "North Macedonia",
|
| 984 |
+
"dial_code": "+389",
|
| 985 |
+
"symbol": "🇲🇰"
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"code": "MP",
|
| 989 |
+
"name": "Northern Mariana Islands",
|
| 990 |
+
"dial_code": "+1",
|
| 991 |
+
"symbol": "🇲🇵"
|
| 992 |
+
},
|
| 993 |
+
{
|
| 994 |
+
"code": "NO",
|
| 995 |
+
"name": "Norway",
|
| 996 |
+
"dial_code": "+47",
|
| 997 |
+
"symbol": "🇳🇴"
|
| 998 |
+
},
|
| 999 |
+
{
|
| 1000 |
+
"code": "OM",
|
| 1001 |
+
"name": "Oman",
|
| 1002 |
+
"dial_code": "+968",
|
| 1003 |
+
"symbol": "🇴🇲"
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"code": "PK",
|
| 1007 |
+
"name": "Pakistan",
|
| 1008 |
+
"dial_code": "+92",
|
| 1009 |
+
"symbol": "🇵🇰"
|
| 1010 |
+
},
|
| 1011 |
+
{
|
| 1012 |
+
"code": "PW",
|
| 1013 |
+
"name": "Palau",
|
| 1014 |
+
"dial_code": "+680",
|
| 1015 |
+
"symbol": "🇵🇼"
|
| 1016 |
+
},
|
| 1017 |
+
{
|
| 1018 |
+
"code": "PS",
|
| 1019 |
+
"name": "Palestinian Territories",
|
| 1020 |
+
"dial_code": "+970",
|
| 1021 |
+
"symbol": "🇵🇸"
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"code": "PA",
|
| 1025 |
+
"name": "Panama",
|
| 1026 |
+
"dial_code": "+507",
|
| 1027 |
+
"symbol": "🇵🇦"
|
| 1028 |
+
},
|
| 1029 |
+
{
|
| 1030 |
+
"code": "PG",
|
| 1031 |
+
"name": "Papua New Guinea",
|
| 1032 |
+
"dial_code": "+675",
|
| 1033 |
+
"symbol": "🇵🇬"
|
| 1034 |
+
},
|
| 1035 |
+
{
|
| 1036 |
+
"code": "PY",
|
| 1037 |
+
"name": "Paraguay",
|
| 1038 |
+
"dial_code": "+595",
|
| 1039 |
+
"symbol": "🇵🇾"
|
| 1040 |
+
},
|
| 1041 |
+
{
|
| 1042 |
+
"code": "PE",
|
| 1043 |
+
"name": "Peru",
|
| 1044 |
+
"dial_code": "+51",
|
| 1045 |
+
"symbol": "🇵🇪"
|
| 1046 |
+
},
|
| 1047 |
+
{
|
| 1048 |
+
"code": "PH",
|
| 1049 |
+
"name": "Philippines",
|
| 1050 |
+
"dial_code": "+63",
|
| 1051 |
+
"symbol": "🇵🇭"
|
| 1052 |
+
},
|
| 1053 |
+
{
|
| 1054 |
+
"code": "PL",
|
| 1055 |
+
"name": "Poland",
|
| 1056 |
+
"dial_code": "+48",
|
| 1057 |
+
"symbol": "🇵🇱"
|
| 1058 |
+
},
|
| 1059 |
+
{
|
| 1060 |
+
"code": "PT",
|
| 1061 |
+
"name": "Portugal",
|
| 1062 |
+
"dial_code": "+351",
|
| 1063 |
+
"symbol": "🇵🇹"
|
| 1064 |
+
},
|
| 1065 |
+
{
|
| 1066 |
+
"code": "PR",
|
| 1067 |
+
"name": "Puerto Rico",
|
| 1068 |
+
"dial_code": "+1",
|
| 1069 |
+
"symbol": "🇵🇷"
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"code": "QA",
|
| 1073 |
+
"name": "Qatar",
|
| 1074 |
+
"dial_code": "+974",
|
| 1075 |
+
"symbol": "🇶🇦"
|
| 1076 |
+
},
|
| 1077 |
+
{
|
| 1078 |
+
"code": "RE",
|
| 1079 |
+
"name": "Réunion",
|
| 1080 |
+
"dial_code": "+262",
|
| 1081 |
+
"symbol": "🇷🇪"
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"code": "RO",
|
| 1085 |
+
"name": "Romania",
|
| 1086 |
+
"dial_code": "+40",
|
| 1087 |
+
"symbol": "🇷🇴"
|
| 1088 |
+
},
|
| 1089 |
+
{
|
| 1090 |
+
"code": "RU",
|
| 1091 |
+
"name": "Russia",
|
| 1092 |
+
"dial_code": "+7",
|
| 1093 |
+
"symbol": "🇷🇺"
|
| 1094 |
+
},
|
| 1095 |
+
{
|
| 1096 |
+
"code": "RW",
|
| 1097 |
+
"name": "Rwanda",
|
| 1098 |
+
"dial_code": "+250",
|
| 1099 |
+
"symbol": "🇷🇼"
|
| 1100 |
+
},
|
| 1101 |
+
{
|
| 1102 |
+
"code": "WS",
|
| 1103 |
+
"name": "Samoa",
|
| 1104 |
+
"dial_code": "+685",
|
| 1105 |
+
"symbol": "🇼🇸"
|
| 1106 |
+
},
|
| 1107 |
+
{
|
| 1108 |
+
"code": "SM",
|
| 1109 |
+
"name": "San Marino",
|
| 1110 |
+
"dial_code": "+378",
|
| 1111 |
+
"symbol": "🇸🇲"
|
| 1112 |
+
},
|
| 1113 |
+
{
|
| 1114 |
+
"code": "ST",
|
| 1115 |
+
"name": "São Tomé & Príncipe",
|
| 1116 |
+
"dial_code": "+239",
|
| 1117 |
+
"symbol": "🇸🇹"
|
| 1118 |
+
},
|
| 1119 |
+
{
|
| 1120 |
+
"code": "SA",
|
| 1121 |
+
"name": "Saudi Arabia",
|
| 1122 |
+
"dial_code": "+966",
|
| 1123 |
+
"symbol": "🇸🇦"
|
| 1124 |
+
},
|
| 1125 |
+
{
|
| 1126 |
+
"code": "SN",
|
| 1127 |
+
"name": "Senegal",
|
| 1128 |
+
"dial_code": "+221",
|
| 1129 |
+
"symbol": "🇸🇳"
|
| 1130 |
+
},
|
| 1131 |
+
{
|
| 1132 |
+
"code": "RS",
|
| 1133 |
+
"name": "Serbia",
|
| 1134 |
+
"dial_code": "+381",
|
| 1135 |
+
"symbol": "🇷🇸"
|
| 1136 |
+
},
|
| 1137 |
+
{
|
| 1138 |
+
"code": "SC",
|
| 1139 |
+
"name": "Seychelles",
|
| 1140 |
+
"dial_code": "+248",
|
| 1141 |
+
"symbol": "🇸🇨"
|
| 1142 |
+
},
|
| 1143 |
+
{
|
| 1144 |
+
"code": "SL",
|
| 1145 |
+
"name": "Sierra Leone",
|
| 1146 |
+
"dial_code": "+232",
|
| 1147 |
+
"symbol": "🇸🇱"
|
| 1148 |
+
},
|
| 1149 |
+
{
|
| 1150 |
+
"code": "SG",
|
| 1151 |
+
"name": "Singapore",
|
| 1152 |
+
"dial_code": "+65",
|
| 1153 |
+
"symbol": "🇸🇬"
|
| 1154 |
+
},
|
| 1155 |
+
{
|
| 1156 |
+
"code": "SX",
|
| 1157 |
+
"name": "Sint Maarten",
|
| 1158 |
+
"dial_code": "+1",
|
| 1159 |
+
"symbol": "🇸🇽"
|
| 1160 |
+
},
|
| 1161 |
+
{
|
| 1162 |
+
"code": "SK",
|
| 1163 |
+
"name": "Slovakia",
|
| 1164 |
+
"dial_code": "+421",
|
| 1165 |
+
"symbol": "🇸🇰"
|
| 1166 |
+
},
|
| 1167 |
+
{
|
| 1168 |
+
"code": "SI",
|
| 1169 |
+
"name": "Slovenia",
|
| 1170 |
+
"dial_code": "+386",
|
| 1171 |
+
"symbol": "🇸🇮"
|
| 1172 |
+
},
|
| 1173 |
+
{
|
| 1174 |
+
"code": "SB",
|
| 1175 |
+
"name": "Solomon Islands",
|
| 1176 |
+
"dial_code": "+677",
|
| 1177 |
+
"symbol": "🇸🇧"
|
| 1178 |
+
},
|
| 1179 |
+
{
|
| 1180 |
+
"code": "SO",
|
| 1181 |
+
"name": "Somalia",
|
| 1182 |
+
"dial_code": "+252",
|
| 1183 |
+
"symbol": "🇸🇴"
|
| 1184 |
+
},
|
| 1185 |
+
{
|
| 1186 |
+
"code": "ZA",
|
| 1187 |
+
"name": "South Africa",
|
| 1188 |
+
"dial_code": "+27",
|
| 1189 |
+
"symbol": "🇿🇦"
|
| 1190 |
+
},
|
| 1191 |
+
{
|
| 1192 |
+
"code": "KR",
|
| 1193 |
+
"name": "South Korea",
|
| 1194 |
+
"dial_code": "+82",
|
| 1195 |
+
"symbol": "🇰🇷"
|
| 1196 |
+
},
|
| 1197 |
+
{
|
| 1198 |
+
"code": "SS",
|
| 1199 |
+
"name": "South Sudan",
|
| 1200 |
+
"dial_code": "+211",
|
| 1201 |
+
"symbol": "🇸🇸"
|
| 1202 |
+
},
|
| 1203 |
+
{
|
| 1204 |
+
"code": "ES",
|
| 1205 |
+
"name": "Spain",
|
| 1206 |
+
"dial_code": "+34",
|
| 1207 |
+
"symbol": "🇪🇸"
|
| 1208 |
+
},
|
| 1209 |
+
{
|
| 1210 |
+
"code": "LK",
|
| 1211 |
+
"name": "Sri Lanka",
|
| 1212 |
+
"dial_code": "+94",
|
| 1213 |
+
"symbol": "🇱🇰"
|
| 1214 |
+
},
|
| 1215 |
+
{
|
| 1216 |
+
"code": "BL",
|
| 1217 |
+
"name": "St. Barthélemy",
|
| 1218 |
+
"dial_code": "+590",
|
| 1219 |
+
"symbol": "🇧🇱"
|
| 1220 |
+
},
|
| 1221 |
+
{
|
| 1222 |
+
"code": "SH",
|
| 1223 |
+
"name": "St. Helena",
|
| 1224 |
+
"dial_code": "+290",
|
| 1225 |
+
"symbol": "🇸🇭"
|
| 1226 |
+
},
|
| 1227 |
+
{
|
| 1228 |
+
"code": "KN",
|
| 1229 |
+
"name": "St. Kitts & Nevis",
|
| 1230 |
+
"dial_code": "+1",
|
| 1231 |
+
"symbol": "🇰🇳"
|
| 1232 |
+
},
|
| 1233 |
+
{
|
| 1234 |
+
"code": "LC",
|
| 1235 |
+
"name": "St. Lucia",
|
| 1236 |
+
"dial_code": "+1",
|
| 1237 |
+
"symbol": "🇱🇨"
|
| 1238 |
+
},
|
| 1239 |
+
{
|
| 1240 |
+
"code": "MF",
|
| 1241 |
+
"name": "St. Martin",
|
| 1242 |
+
"dial_code": "+590",
|
| 1243 |
+
"symbol": "🇲🇫"
|
| 1244 |
+
},
|
| 1245 |
+
{
|
| 1246 |
+
"code": "PM",
|
| 1247 |
+
"name": "St. Pierre & Miquelon",
|
| 1248 |
+
"dial_code": "+508",
|
| 1249 |
+
"symbol": "🇵🇲"
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"code": "VC",
|
| 1253 |
+
"name": "St. Vincent & Grenadines",
|
| 1254 |
+
"dial_code": "+1",
|
| 1255 |
+
"symbol": "🇻🇨"
|
| 1256 |
+
},
|
| 1257 |
+
{
|
| 1258 |
+
"code": "SD",
|
| 1259 |
+
"name": "Sudan",
|
| 1260 |
+
"dial_code": "+249",
|
| 1261 |
+
"symbol": "🇸🇩"
|
| 1262 |
+
},
|
| 1263 |
+
{
|
| 1264 |
+
"code": "SR",
|
| 1265 |
+
"name": "Suriname",
|
| 1266 |
+
"dial_code": "+597",
|
| 1267 |
+
"symbol": "🇸🇷"
|
| 1268 |
+
},
|
| 1269 |
+
{
|
| 1270 |
+
"code": "SJ",
|
| 1271 |
+
"name": "Svalbard & Jan Mayen",
|
| 1272 |
+
"dial_code": "+47",
|
| 1273 |
+
"symbol": "🇸🇯"
|
| 1274 |
+
},
|
| 1275 |
+
{
|
| 1276 |
+
"code": "SE",
|
| 1277 |
+
"name": "Sweden",
|
| 1278 |
+
"dial_code": "+46",
|
| 1279 |
+
"symbol": "🇸🇪"
|
| 1280 |
+
},
|
| 1281 |
+
{
|
| 1282 |
+
"code": "CH",
|
| 1283 |
+
"name": "Switzerland",
|
| 1284 |
+
"dial_code": "+41",
|
| 1285 |
+
"symbol": "🇨🇭"
|
| 1286 |
+
},
|
| 1287 |
+
{
|
| 1288 |
+
"code": "SY",
|
| 1289 |
+
"name": "Syria",
|
| 1290 |
+
"dial_code": "+963",
|
| 1291 |
+
"symbol": "🇸🇾"
|
| 1292 |
+
},
|
| 1293 |
+
{
|
| 1294 |
+
"code": "TW",
|
| 1295 |
+
"name": "Taiwan",
|
| 1296 |
+
"dial_code": "+886",
|
| 1297 |
+
"symbol": "🇹🇼"
|
| 1298 |
+
},
|
| 1299 |
+
{
|
| 1300 |
+
"code": "TJ",
|
| 1301 |
+
"name": "Tajikistan",
|
| 1302 |
+
"dial_code": "+992",
|
| 1303 |
+
"symbol": "🇹🇯"
|
| 1304 |
+
},
|
| 1305 |
+
{
|
| 1306 |
+
"code": "TZ",
|
| 1307 |
+
"name": "Tanzania",
|
| 1308 |
+
"dial_code": "+255",
|
| 1309 |
+
"symbol": "🇹🇿"
|
| 1310 |
+
},
|
| 1311 |
+
{
|
| 1312 |
+
"code": "TH",
|
| 1313 |
+
"name": "Thailand",
|
| 1314 |
+
"dial_code": "+66",
|
| 1315 |
+
"symbol": "🇹🇭"
|
| 1316 |
+
},
|
| 1317 |
+
{
|
| 1318 |
+
"code": "TL",
|
| 1319 |
+
"name": "Timor-Leste",
|
| 1320 |
+
"dial_code": "+670",
|
| 1321 |
+
"symbol": "🇹🇱"
|
| 1322 |
+
},
|
| 1323 |
+
{
|
| 1324 |
+
"code": "TG",
|
| 1325 |
+
"name": "Togo",
|
| 1326 |
+
"dial_code": "+228",
|
| 1327 |
+
"symbol": "🇹🇬"
|
| 1328 |
+
},
|
| 1329 |
+
{
|
| 1330 |
+
"code": "TK",
|
| 1331 |
+
"name": "Tokelau",
|
| 1332 |
+
"dial_code": "+690",
|
| 1333 |
+
"symbol": "🇹🇰"
|
| 1334 |
+
},
|
| 1335 |
+
{
|
| 1336 |
+
"code": "TO",
|
| 1337 |
+
"name": "Tonga",
|
| 1338 |
+
"dial_code": "+676",
|
| 1339 |
+
"symbol": "🇹🇴"
|
| 1340 |
+
},
|
| 1341 |
+
{
|
| 1342 |
+
"code": "TT",
|
| 1343 |
+
"name": "Trinidad & Tobago",
|
| 1344 |
+
"dial_code": "+1",
|
| 1345 |
+
"symbol": "🇹🇹"
|
| 1346 |
+
},
|
| 1347 |
+
{
|
| 1348 |
+
"code": "TA",
|
| 1349 |
+
"name": "Tristan da Cunha",
|
| 1350 |
+
"dial_code": "+290",
|
| 1351 |
+
"symbol": "🇹🇦"
|
| 1352 |
+
},
|
| 1353 |
+
{
|
| 1354 |
+
"code": "TN",
|
| 1355 |
+
"name": "Tunisia",
|
| 1356 |
+
"dial_code": "+216",
|
| 1357 |
+
"symbol": "🇹🇳"
|
| 1358 |
+
},
|
| 1359 |
+
{
|
| 1360 |
+
"code": "TR",
|
| 1361 |
+
"name": "Türkiye",
|
| 1362 |
+
"dial_code": "+90",
|
| 1363 |
+
"symbol": "🇹🇷"
|
| 1364 |
+
},
|
| 1365 |
+
{
|
| 1366 |
+
"code": "TM",
|
| 1367 |
+
"name": "Turkmenistan",
|
| 1368 |
+
"dial_code": "+993",
|
| 1369 |
+
"symbol": "🇹🇲"
|
| 1370 |
+
},
|
| 1371 |
+
{
|
| 1372 |
+
"code": "TC",
|
| 1373 |
+
"name": "Turks & Caicos Islands",
|
| 1374 |
+
"dial_code": "+1",
|
| 1375 |
+
"symbol": "🇹🇨"
|
| 1376 |
+
},
|
| 1377 |
+
{
|
| 1378 |
+
"code": "TV",
|
| 1379 |
+
"name": "Tuvalu",
|
| 1380 |
+
"dial_code": "+688",
|
| 1381 |
+
"symbol": "🇹🇻"
|
| 1382 |
+
},
|
| 1383 |
+
{
|
| 1384 |
+
"code": "VI",
|
| 1385 |
+
"name": "U.S. Virgin Islands",
|
| 1386 |
+
"dial_code": "+1",
|
| 1387 |
+
"symbol": "🇻🇮"
|
| 1388 |
+
},
|
| 1389 |
+
{
|
| 1390 |
+
"code": "UG",
|
| 1391 |
+
"name": "Uganda",
|
| 1392 |
+
"dial_code": "+256",
|
| 1393 |
+
"symbol": "🇺🇬"
|
| 1394 |
+
},
|
| 1395 |
+
{
|
| 1396 |
+
"code": "UA",
|
| 1397 |
+
"name": "Ukraine",
|
| 1398 |
+
"dial_code": "+380",
|
| 1399 |
+
"symbol": "🇺🇦"
|
| 1400 |
+
},
|
| 1401 |
+
{
|
| 1402 |
+
"code": "AE",
|
| 1403 |
+
"name": "United Arab Emirates",
|
| 1404 |
+
"dial_code": "+971",
|
| 1405 |
+
"symbol": "🇦🇪"
|
| 1406 |
+
},
|
| 1407 |
+
{
|
| 1408 |
+
"code": "GB",
|
| 1409 |
+
"name": "United Kingdom",
|
| 1410 |
+
"dial_code": "+44",
|
| 1411 |
+
"symbol": "🇬🇧"
|
| 1412 |
+
},
|
| 1413 |
+
{
|
| 1414 |
+
"code": "UY",
|
| 1415 |
+
"name": "Uruguay",
|
| 1416 |
+
"dial_code": "+598",
|
| 1417 |
+
"symbol": "🇺🇾"
|
| 1418 |
+
},
|
| 1419 |
+
{
|
| 1420 |
+
"code": "UZ",
|
| 1421 |
+
"name": "Uzbekistan",
|
| 1422 |
+
"dial_code": "+998",
|
| 1423 |
+
"symbol": "🇺🇿"
|
| 1424 |
+
},
|
| 1425 |
+
{
|
| 1426 |
+
"code": "VU",
|
| 1427 |
+
"name": "Vanuatu",
|
| 1428 |
+
"dial_code": "+678",
|
| 1429 |
+
"symbol": "🇻🇺"
|
| 1430 |
+
},
|
| 1431 |
+
{
|
| 1432 |
+
"code": "VA",
|
| 1433 |
+
"name": "Vatican City",
|
| 1434 |
+
"dial_code": "+39",
|
| 1435 |
+
"symbol": "🇻🇦"
|
| 1436 |
+
},
|
| 1437 |
+
{
|
| 1438 |
+
"code": "VE",
|
| 1439 |
+
"name": "Venezuela",
|
| 1440 |
+
"dial_code": "+58",
|
| 1441 |
+
"symbol": "🇻🇪"
|
| 1442 |
+
},
|
| 1443 |
+
{
|
| 1444 |
+
"code": "VN",
|
| 1445 |
+
"name": "Vietnam",
|
| 1446 |
+
"dial_code": "+84",
|
| 1447 |
+
"symbol": "🇻🇳"
|
| 1448 |
+
},
|
| 1449 |
+
{
|
| 1450 |
+
"code": "WF",
|
| 1451 |
+
"name": "Wallis & Futuna",
|
| 1452 |
+
"dial_code": "+681",
|
| 1453 |
+
"symbol": "🇼🇫"
|
| 1454 |
+
},
|
| 1455 |
+
{
|
| 1456 |
+
"code": "EH",
|
| 1457 |
+
"name": "Western Sahara",
|
| 1458 |
+
"dial_code": "+212",
|
| 1459 |
+
"symbol": "🇪🇭"
|
| 1460 |
+
},
|
| 1461 |
+
{
|
| 1462 |
+
"code": "YE",
|
| 1463 |
+
"name": "Yemen",
|
| 1464 |
+
"dial_code": "+967",
|
| 1465 |
+
"symbol": "🇾🇪"
|
| 1466 |
+
},
|
| 1467 |
+
{
|
| 1468 |
+
"code": "ZM",
|
| 1469 |
+
"name": "Zambia",
|
| 1470 |
+
"dial_code": "+260",
|
| 1471 |
+
"symbol": "🇿🇲"
|
| 1472 |
+
},
|
| 1473 |
+
{
|
| 1474 |
+
"code": "ZW",
|
| 1475 |
+
"name": "Zimbabwe",
|
| 1476 |
+
"dial_code": "+263",
|
| 1477 |
+
"symbol": "🇿🇼"
|
| 1478 |
+
}
|
| 1479 |
+
]
|
| 1480 |
+
}
|
tasks/taskrabbit/solution/site/implementation/clone/frontend/service_asset_map.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tasks/taskrabbit/solution/site/implementation/clone/frontend/service_pages.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tasks/taskrabbit/solution/site/implementation/clone/frontend/services_catalog.json
ADDED
|
@@ -0,0 +1,919 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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capture": "source-current/2026-07-29-v3/browser/services-dom.html",
|
| 4 |
+
"hero": {
|
| 5 |
+
"heading": "Your to-do list is on us.",
|
| 6 |
+
"subtitle": "Hire a trusted Tasker presto.",
|
| 7 |
+
"image": "/static/category-assets/services/xabvokgynbkytiuukhqq-w1920.webp"
|
| 8 |
+
},
|
| 9 |
+
"groups": [
|
| 10 |
+
{
|
| 11 |
+
"label": "Featured Tasks",
|
| 12 |
+
"href": "/services/featured",
|
| 13 |
+
"image": "/static/category-assets/services/uvhli36lpkyxpgrkwblj-w640.webp",
|
| 14 |
+
"subtitle": "Let Taskers help tackle your to-do list.",
|
| 15 |
+
"services": [
|
| 16 |
+
{
|
| 17 |
+
"label": "Furniture Assembly",
|
| 18 |
+
"href": "/services/featured/assemble-furniture"
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"label": "Home Repairs",
|
| 22 |
+
"href": "/services/featured/general-handyman"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"label": "Help Moving",
|
| 26 |
+
"href": "/services/featured/help-moving"
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"label": "Yard Work Services",
|
| 30 |
+
"href": "/services/featured/yard-work-removal"
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"label": "Spring Cleaning",
|
| 34 |
+
"href": "/services/featured/spring-cleaning"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"label": "TV Mounting",
|
| 38 |
+
"href": "/services/featured/wall-mount-tv"
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"label": "Plumbing",
|
| 42 |
+
"href": "/services/featured/plumbing"
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"label": "Hang Art, Mirror & Decor",
|
| 46 |
+
"href": "/services/featured/hang-pictures"
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"label": "Electrical Help",
|
| 50 |
+
"href": "/services/featured/electrical-work"
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"label": "Wait in Line",
|
| 54 |
+
"href": "/services/featured/waiting-in-line"
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"label": "Closet Organization Service",
|
| 58 |
+
"href": "/services/featured/closet-organization"
|
| 59 |
+
}
|
| 60 |
+
]
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"label": "Handyman",
|
| 64 |
+
"href": "/services/handyman",
|
| 65 |
+
"image": "/static/category-assets/services/iakiz9oyfy0rt5tcw74k-w640.webp",
|
| 66 |
+
"subtitle": "Hire a Tasker for help around the house",
|
| 67 |
+
"services": [
|
| 68 |
+
{
|
| 69 |
+
"label": "Door, Cabinet, & Furniture Repair",
|
| 70 |
+
"href": "/services/handyman/door-and-cabinet-repair"
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"label": "Appliance Installation & Repairs",
|
| 74 |
+
"href": "/services/handyman/appliance-repairs"
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"label": "Furniture Assembly",
|
| 78 |
+
"href": "/services/handyman/assemble-furniture"
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"label": "TV Mounting",
|
| 82 |
+
"href": "/services/handyman/wall-mount-tv"
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"label": "Drywall Repair Service",
|
| 86 |
+
"href": "/services/handyman/drywall-repair"
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"label": "Flooring & Tiling Help",
|
| 90 |
+
"href": "/services/handyman/flooring-tiling-help"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"label": "Electrical Help",
|
| 94 |
+
"href": "/services/handyman/electrical-work"
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"label": "Sealing & Caulking",
|
| 98 |
+
"href": "/services/handyman/sealing-caulking"
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"label": "Plumbing",
|
| 102 |
+
"href": "/services/handyman/plumbing"
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"label": "Window & Blinds Repair",
|
| 106 |
+
"href": "/services/handyman/window-repair"
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"label": "Ceiling Fan Installation",
|
| 110 |
+
"href": "/services/handyman/ceiling-fan-installation"
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"label": "Smart Home Installation",
|
| 114 |
+
"href": "/services/handyman/smart-home-installation"
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"label": "Heavy Lifting",
|
| 118 |
+
"href": "/services/handyman/heavy-lifting"
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"label": "Install Air Conditioner",
|
| 122 |
+
"href": "/services/handyman/install-air-conditioner"
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"label": "Painting",
|
| 126 |
+
"href": "/services/handyman/painting"
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"label": "Install Shelves, Rods & Hooks",
|
| 130 |
+
"href": "/services/handyman/shelf-mounting"
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"label": "Home Maintenance",
|
| 134 |
+
"href": "/services/handyman/home-maintenance"
|
| 135 |
+
},
|
| 136 |
+
{
|
| 137 |
+
"label": "Install Blinds & Window Treatments",
|
| 138 |
+
"href": "/services/handyman/blinds-installation"
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"label": "Home Repairs",
|
| 142 |
+
"href": "/services/handyman/general-handyman"
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"label": "Baby Proofing",
|
| 146 |
+
"href": "/services/handyman/baby-proofing"
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"label": "Yard Work Services",
|
| 150 |
+
"href": "/services/handyman/yard-work-removal"
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"label": "Light Installation",
|
| 154 |
+
"href": "/services/handyman/light-installation"
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"label": "Carpentry Services",
|
| 158 |
+
"href": "/services/handyman/carpentry-construction"
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"label": "Hang Art, Mirror & Decor",
|
| 162 |
+
"href": "/services/handyman/hang-pictures"
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"label": "General Mounting",
|
| 166 |
+
"href": "/services/handyman/mounting-all"
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"label": "Cabinet Installation",
|
| 170 |
+
"href": "/services/handyman/cabinet-installation"
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"label": "Wallpapering Service",
|
| 174 |
+
"href": "/services/handyman/wallpapering"
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"label": "Fence Installation & Repair Services",
|
| 178 |
+
"href": "/services/handyman/fence-installation"
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"label": "Deck Restoration Services",
|
| 182 |
+
"href": "/services/handyman/deck-restoration"
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"label": "Doorbell Installation",
|
| 186 |
+
"href": "/services/handyman/doorbell-installation"
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"label": "Home Theater Installing",
|
| 190 |
+
"href": "/services/handyman/home-theater-setup"
|
| 191 |
+
}
|
| 192 |
+
]
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"label": "Moving Services",
|
| 196 |
+
"href": "/services/moving",
|
| 197 |
+
"image": "/static/category-assets/services/qsneajnue7udlov0smkb-w640.webp",
|
| 198 |
+
"subtitle": "From the heavy lifting to unpacking and organizing make your move with Taskrabbit!",
|
| 199 |
+
"services": [
|
| 200 |
+
{
|
| 201 |
+
"label": "Help Moving",
|
| 202 |
+
"href": "/services/moving/help-moving"
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"label": "Truck Assisted Help Moving",
|
| 206 |
+
"href": "/services/moving/truck-assisted-help-moving"
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"label": "Packing Services & Help",
|
| 210 |
+
"href": "/services/moving/packing"
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"label": "Unpacking Services",
|
| 214 |
+
"href": "/services/moving/unpacking"
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"label": "Heavy Lifting",
|
| 218 |
+
"href": "/services/moving/heavy-lifting"
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"label": "Local Movers",
|
| 222 |
+
"href": "/services/moving/local-movers"
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"label": "Junk Pickup",
|
| 226 |
+
"href": "/services/moving/junk-removal"
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"label": "Furniture Movers",
|
| 230 |
+
"href": "/services/moving/furniture-movers"
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"label": "One Item Movers",
|
| 234 |
+
"href": "/services/moving/one-piece-of-furniture"
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"label": "Storage Unit Moving",
|
| 238 |
+
"href": "/services/moving/storage-unit-moving"
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"label": "Couch Removal",
|
| 242 |
+
"href": "/services/moving/couch-removal"
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"label": "Mattress Pick-Up & Removal",
|
| 246 |
+
"href": "/services/moving/mattress-removal"
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"label": "Furniture Removal",
|
| 250 |
+
"href": "/services/moving/furniture-removal"
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"label": "Pool Table Movers",
|
| 254 |
+
"href": "/services/moving/pool-table-movers"
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"label": "Appliance Removal",
|
| 258 |
+
"href": "/services/moving/appliance-removal"
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"label": "Heavy Furniture Moving",
|
| 262 |
+
"href": "/services/moving/heavy-furniture"
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"label": "Rearranging Furniture",
|
| 266 |
+
"href": "/services/moving/rearranging-furniture"
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"label": "Full Service Help Moving",
|
| 270 |
+
"href": "/services/moving/full-service-movers"
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"label": "In-Home Furniture Movers",
|
| 274 |
+
"href": "/services/moving/in-home-furniture-movers"
|
| 275 |
+
}
|
| 276 |
+
]
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"label": "Furniture Assembly",
|
| 280 |
+
"href": "/services/furniture-assembly",
|
| 281 |
+
"image": "/static/category-assets/services/qlnbm9iobu3jukhqw5q1-w640.webp",
|
| 282 |
+
"subtitle": "Furniture Assembly",
|
| 283 |
+
"services": [
|
| 284 |
+
{
|
| 285 |
+
"label": "Furniture Assembly",
|
| 286 |
+
"href": "/services/furniture-assembly/assemble-furniture"
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"label": "Patio Furniture Assembly",
|
| 290 |
+
"href": "/services/furniture-assembly/patio-furniture-assembly"
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"label": "Desk Assembly",
|
| 294 |
+
"href": "/services/furniture-assembly/desk-assembly"
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"label": "Dresser Assembly",
|
| 298 |
+
"href": "/services/furniture-assembly/dresser-assembly"
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"label": "Bed Assembly",
|
| 302 |
+
"href": "/services/furniture-assembly/bed-assembly"
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"label": "Bookshelf Assembly",
|
| 306 |
+
"href": "/services/furniture-assembly/bookshelf-assembly"
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"label": "Couch Assembly",
|
| 310 |
+
"href": "/services/furniture-assembly/couch-assembly"
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"label": "Chair Assembly",
|
| 314 |
+
"href": "/services/furniture-assembly/chair-assembly"
|
| 315 |
+
},
|
| 316 |
+
{
|
| 317 |
+
"label": "Wardrobe Assembly",
|
| 318 |
+
"href": "/services/furniture-assembly/wardrobe-assembly"
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"label": "Table Assembly",
|
| 322 |
+
"href": "/services/furniture-assembly/table-assembly"
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"label": "Disassemble furniture",
|
| 326 |
+
"href": "/services/furniture-assembly/furniture-disassembly"
|
| 327 |
+
}
|
| 328 |
+
]
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"label": "Mounting & Installation",
|
| 332 |
+
"href": "/services/mounting",
|
| 333 |
+
"image": "/static/category-assets/services/cm4icsesada13e5qwvwe-w640.webp",
|
| 334 |
+
"subtitle": "Wall Mounting",
|
| 335 |
+
"services": [
|
| 336 |
+
{
|
| 337 |
+
"label": "TV Mounting",
|
| 338 |
+
"href": "/services/mounting/wall-mount-tv"
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"label": "Install Shelves, Rods & Hooks",
|
| 342 |
+
"href": "/services/mounting/shelf-mounting"
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"label": "Ceiling Fan Installation",
|
| 346 |
+
"href": "/services/mounting/ceiling-fan-installation"
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"label": "Install Blinds & Window Treatments",
|
| 350 |
+
"href": "/services/mounting/blinds-installation"
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"label": "Hang Art, Mirror & Decor",
|
| 354 |
+
"href": "/services/mounting/hang-pictures"
|
| 355 |
+
},
|
| 356 |
+
{
|
| 357 |
+
"label": "General Mounting",
|
| 358 |
+
"href": "/services/mounting/mounting-all"
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"label": "Hang Christmas Lights",
|
| 362 |
+
"href": "/services/mounting/christmas-light-installation"
|
| 363 |
+
}
|
| 364 |
+
]
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"label": "Cleaning",
|
| 368 |
+
"href": "/services/cleaning",
|
| 369 |
+
"image": "/static/category-assets/services/v4derwxej8iigyyri4ua-w640.webp",
|
| 370 |
+
"subtitle": "Taskers will make your home sparkle!",
|
| 371 |
+
"services": [
|
| 372 |
+
{
|
| 373 |
+
"label": "House Cleaning Services",
|
| 374 |
+
"href": "/services/cleaning/house-cleaning"
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"label": "Deep Cleaning",
|
| 378 |
+
"href": "/services/cleaning/deep-cleaning"
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"label": "Disinfecting Services",
|
| 382 |
+
"href": "/services/cleaning/disinfecting-service"
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"label": "Move In Cleaning",
|
| 386 |
+
"href": "/services/cleaning/move-in"
|
| 387 |
+
},
|
| 388 |
+
{
|
| 389 |
+
"label": "Move Out Cleaning",
|
| 390 |
+
"href": "/services/cleaning/move-out"
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"label": "Vacation Rental Cleaning",
|
| 394 |
+
"href": "/services/cleaning/airbnb"
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"label": "Carpet Cleaning Service",
|
| 398 |
+
"href": "/services/cleaning/carpet-cleaning"
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"label": "Garage Cleaning",
|
| 402 |
+
"href": "/services/cleaning/garage-cleaning"
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"label": "One Time Cleaning Services",
|
| 406 |
+
"href": "/services/cleaning/one-time"
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"label": "Car Washing",
|
| 410 |
+
"href": "/services/cleaning/mobile-car-wash"
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"label": "Laundry Help",
|
| 414 |
+
"href": "/services/cleaning/laundry-help"
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"label": "Pressure Washing",
|
| 418 |
+
"href": "/services/cleaning/pressure-washing"
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"label": "Spring Cleaning",
|
| 422 |
+
"href": "/services/cleaning/spring-cleaning"
|
| 423 |
+
}
|
| 424 |
+
]
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"label": "Shopping + Delivery",
|
| 428 |
+
"href": "/services/shopping-delivery",
|
| 429 |
+
"image": "/static/category-assets/services/jymnwqzhwmi9gt5ppz8d-w640.webp",
|
| 430 |
+
"subtitle": "Get anything from groceries to furniture",
|
| 431 |
+
"services": [
|
| 432 |
+
{
|
| 433 |
+
"label": "Delivery Service",
|
| 434 |
+
"href": "/services/shopping-delivery/delivery-service"
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"label": "Grocery Shopping & Delivery",
|
| 438 |
+
"href": "/services/shopping-delivery/grocery-shopping"
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"label": "Running Your Errands",
|
| 442 |
+
"href": "/services/shopping-delivery/run-errands"
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"label": "Christmas Tree Delivery",
|
| 446 |
+
"href": "/services/shopping-delivery/christmas-tree-delivery"
|
| 447 |
+
},
|
| 448 |
+
{
|
| 449 |
+
"label": "Wait in Line",
|
| 450 |
+
"href": "/services/shopping-delivery/waiting-in-line"
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"label": "Deliver Big Piece of Furniture",
|
| 454 |
+
"href": "/services/shopping-delivery/deliver-big-piece-of-furniture"
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"label": "Drop Off Donations",
|
| 458 |
+
"href": "/services/shopping-delivery/drop-off-donations"
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"label": "Contactless Delivery",
|
| 462 |
+
"href": "/services/shopping-delivery/pick-up-delivery"
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"label": "Pet Food Delivery",
|
| 466 |
+
"href": "/services/shopping-delivery/dog-food-delivery"
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"label": "Baby Food Delivery",
|
| 470 |
+
"href": "/services/shopping-delivery/baby-food-delivery"
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"label": "Return Items",
|
| 474 |
+
"href": "/services/shopping-delivery/return-items"
|
| 475 |
+
},
|
| 476 |
+
{
|
| 477 |
+
"label": "Wait for Delivery",
|
| 478 |
+
"href": "/services/shopping-delivery/wait-for-delivery"
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"label": "Shipping",
|
| 482 |
+
"href": "/services/shopping-delivery/shipping"
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"label": "Breakfast Delivery",
|
| 486 |
+
"href": "/services/shopping-delivery/breakfast-delivery"
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"label": "Coffee Delivery",
|
| 490 |
+
"href": "/services/shopping-delivery/coffee-delivery"
|
| 491 |
+
}
|
| 492 |
+
]
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"label": "IKEA Services",
|
| 496 |
+
"href": "/services/ikea-services",
|
| 497 |
+
"image": "/static/category-assets/services/zpfridasq1xhzgjbkhgz-w640.webp",
|
| 498 |
+
"subtitle": "Hire a Tasker for all your IKEA needs",
|
| 499 |
+
"services": [
|
| 500 |
+
{
|
| 501 |
+
"label": "Light Installation",
|
| 502 |
+
"href": "/services/ikea-services/light-installation"
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"label": "Furniture Removal",
|
| 506 |
+
"href": "/services/ikea-services/furniture-removal"
|
| 507 |
+
},
|
| 508 |
+
{
|
| 509 |
+
"label": "Smart Home Installation",
|
| 510 |
+
"href": "/services/ikea-services/smart-home-installation"
|
| 511 |
+
},
|
| 512 |
+
{
|
| 513 |
+
"label": "Organization",
|
| 514 |
+
"href": "/services/ikea-services/organization"
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"label": "Furniture Assembly",
|
| 518 |
+
"href": "/services/ikea-services/assemble-furniture"
|
| 519 |
+
},
|
| 520 |
+
{
|
| 521 |
+
"label": "General Mounting",
|
| 522 |
+
"href": "/services/ikea-services/mounting-all"
|
| 523 |
+
}
|
| 524 |
+
]
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"label": "Yardwork Services",
|
| 528 |
+
"href": "/services/yardwork-removal",
|
| 529 |
+
"image": "/static/category-assets/services/vg0ayodhdpmqj07ypkoa-w640.webp",
|
| 530 |
+
"subtitle": "Hire a Tasker to help with yardwork & landscaping!",
|
| 531 |
+
"services": [
|
| 532 |
+
{
|
| 533 |
+
"label": "Gardening Services",
|
| 534 |
+
"href": "/services/yardwork-removal/gardening"
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"label": "Weed Removal",
|
| 538 |
+
"href": "/services/yardwork-removal/weeding"
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"label": "Lawn Care Services",
|
| 542 |
+
"href": "/services/yardwork-removal/lawn-care"
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"label": "Lawn Mowing Services",
|
| 546 |
+
"href": "/services/yardwork-removal/lawn-mowing"
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"label": "Landscaping Services",
|
| 550 |
+
"href": "/services/yardwork-removal/landscaping"
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"label": "Gutter Cleaning",
|
| 554 |
+
"href": "/services/yardwork-removal/gutter-cleaning"
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"label": "Tree Trimming Service",
|
| 558 |
+
"href": "/services/yardwork-removal/tree-trimming"
|
| 559 |
+
},
|
| 560 |
+
{
|
| 561 |
+
"label": "Vacation Plant Watering",
|
| 562 |
+
"href": "/services/yardwork-removal/vacation-plant-watering"
|
| 563 |
+
},
|
| 564 |
+
{
|
| 565 |
+
"label": "Patio Cleaning",
|
| 566 |
+
"href": "/services/yardwork-removal/patio-cleaning"
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"label": "Hot Tub Cleaning",
|
| 570 |
+
"href": "/services/yardwork-removal/hot-tub-cleaning"
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"label": "Fence Installation & Repair Services",
|
| 574 |
+
"href": "/services/yardwork-removal/fence-installation"
|
| 575 |
+
},
|
| 576 |
+
{
|
| 577 |
+
"label": "Deck Restoration Services",
|
| 578 |
+
"href": "/services/yardwork-removal/deck-restoration"
|
| 579 |
+
},
|
| 580 |
+
{
|
| 581 |
+
"label": "Patio Furniture Assembly",
|
| 582 |
+
"href": "/services/yardwork-removal/patio-furniture-assembly"
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"label": "Fence Staining",
|
| 586 |
+
"href": "/services/yardwork-removal/fence-staining"
|
| 587 |
+
},
|
| 588 |
+
{
|
| 589 |
+
"label": "Mulching Services",
|
| 590 |
+
"href": "/services/yardwork-removal/mulching"
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"label": "Lawn Fertilizer Service",
|
| 594 |
+
"href": "/services/yardwork-removal/lawn-fertilizer"
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"label": "Hedge Trimming Service",
|
| 598 |
+
"href": "/services/yardwork-removal/hedge-trimming"
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"label": "Outdoor Party Setup",
|
| 602 |
+
"href": "/services/yardwork-removal/outdoor-party-setup"
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"label": "Urban Gardening Service",
|
| 606 |
+
"href": "/services/yardwork-removal/urban-gardening"
|
| 607 |
+
},
|
| 608 |
+
{
|
| 609 |
+
"label": "Leaf Raking & Removal",
|
| 610 |
+
"href": "/services/yardwork-removal/leaf-removal"
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"label": "Produce Gardening",
|
| 614 |
+
"href": "/services/yardwork-removal/produce-gardening"
|
| 615 |
+
},
|
| 616 |
+
{
|
| 617 |
+
"label": "Hose Installation",
|
| 618 |
+
"href": "/services/yardwork-removal/hose-installation"
|
| 619 |
+
},
|
| 620 |
+
{
|
| 621 |
+
"label": "Shed Maintenance",
|
| 622 |
+
"href": "/services/yardwork-removal/shed-maintenance"
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"label": "Pressure Washing",
|
| 626 |
+
"href": "/services/yardwork-removal/pressure-washing"
|
| 627 |
+
}
|
| 628 |
+
]
|
| 629 |
+
},
|
| 630 |
+
{
|
| 631 |
+
"label": "Holidays",
|
| 632 |
+
"href": "/services/holidays",
|
| 633 |
+
"image": "/static/category-assets/services/blxahxpngxgsm9tzdm4v-w640.webp",
|
| 634 |
+
"subtitle": "Holiday Help",
|
| 635 |
+
"services": [
|
| 636 |
+
{
|
| 637 |
+
"label": "Gift Wrapping Services",
|
| 638 |
+
"href": "/services/holidays/gift-wrapping"
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"label": "Hang Christmas Lights",
|
| 642 |
+
"href": "/services/holidays/christmas-light-installation"
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"label": "Christmas Tree Delivery",
|
| 646 |
+
"href": "/services/holidays/christmas-tree-delivery"
|
| 647 |
+
},
|
| 648 |
+
{
|
| 649 |
+
"label": "Holiday Decorating",
|
| 650 |
+
"href": "/services/holidays/christmas-decorator"
|
| 651 |
+
},
|
| 652 |
+
{
|
| 653 |
+
"label": "Party Cleaning",
|
| 654 |
+
"href": "/services/holidays/party-cleaning"
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"label": "Toy Assembly Service",
|
| 658 |
+
"href": "/services/holidays/toy-assembly"
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"label": "Wait in Line",
|
| 662 |
+
"href": "/services/holidays/waiting-in-line"
|
| 663 |
+
},
|
| 664 |
+
{
|
| 665 |
+
"label": "Christmas Tree Removal",
|
| 666 |
+
"href": "/services/holidays/tree-removal"
|
| 667 |
+
}
|
| 668 |
+
]
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"label": "Winter Tasks",
|
| 672 |
+
"href": "/services/winter-tasks",
|
| 673 |
+
"image": "/static/category-assets/services/b8zxzgkmmy0hxjrca1sr-w640.webp",
|
| 674 |
+
"subtitle": "Get help with winter tasks",
|
| 675 |
+
"services": [
|
| 676 |
+
{
|
| 677 |
+
"label": "Snow Removal",
|
| 678 |
+
"href": "/services/winter-tasks/snow-removal"
|
| 679 |
+
},
|
| 680 |
+
{
|
| 681 |
+
"label": "Sidewalk Salting",
|
| 682 |
+
"href": "/services/winter-tasks/sidewalk-snow-removal"
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"label": "Window Winterization",
|
| 686 |
+
"href": "/services/winter-tasks/window-winterization"
|
| 687 |
+
},
|
| 688 |
+
{
|
| 689 |
+
"label": "Residential Snow Removal",
|
| 690 |
+
"href": "/services/winter-tasks/residential-snow-removal"
|
| 691 |
+
},
|
| 692 |
+
{
|
| 693 |
+
"label": "Christmas Tree Removal",
|
| 694 |
+
"href": "/services/winter-tasks/tree-removal"
|
| 695 |
+
},
|
| 696 |
+
{
|
| 697 |
+
"label": "AC Winterization",
|
| 698 |
+
"href": "/services/winter-tasks/ac-winterization"
|
| 699 |
+
},
|
| 700 |
+
{
|
| 701 |
+
"label": "Winter Yardwork",
|
| 702 |
+
"href": "/services/winter-tasks/winter-yardwork"
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"label": "Pipe Insulation",
|
| 706 |
+
"href": "/services/winter-tasks/pipe-insulation"
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"label": "Storm Door Installation",
|
| 710 |
+
"href": "/services/winter-tasks/storm-door-installation"
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"label": "Winter Deck Maintenance",
|
| 714 |
+
"href": "/services/winter-tasks/winter-deck-maintenance"
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"label": "Water Heater Maintenance",
|
| 718 |
+
"href": "/services/winter-tasks/water-heater-maintenance"
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"label": "Wait in Line",
|
| 722 |
+
"href": "/services/winter-tasks/waiting-in-line"
|
| 723 |
+
}
|
| 724 |
+
]
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"label": "Personal Assistant",
|
| 728 |
+
"href": "/services/personal-assistant",
|
| 729 |
+
"image": "/static/category-assets/services/nqbgzuk5vyyok4fud9ek-w640.webp",
|
| 730 |
+
"subtitle": "Hire a Tasker to be your personal assistant! Get help on an hourly or ongoing basis.",
|
| 731 |
+
"services": [
|
| 732 |
+
{
|
| 733 |
+
"label": "Personal Assistant",
|
| 734 |
+
"href": "/services/personal-assistant/personal-assistant"
|
| 735 |
+
},
|
| 736 |
+
{
|
| 737 |
+
"label": "Running Your Errands",
|
| 738 |
+
"href": "/services/personal-assistant/run-errands"
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"label": "Wait in Line",
|
| 742 |
+
"href": "/services/personal-assistant/waiting-in-line"
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"label": "Organization",
|
| 746 |
+
"href": "/services/personal-assistant/organization"
|
| 747 |
+
},
|
| 748 |
+
{
|
| 749 |
+
"label": "Organize Home",
|
| 750 |
+
"href": "/services/personal-assistant/home-organization"
|
| 751 |
+
},
|
| 752 |
+
{
|
| 753 |
+
"label": "Closet Organization Service",
|
| 754 |
+
"href": "/services/personal-assistant/closet-organization"
|
| 755 |
+
},
|
| 756 |
+
{
|
| 757 |
+
"label": "Interior Design Service",
|
| 758 |
+
"href": "/services/personal-assistant/interior-design"
|
| 759 |
+
},
|
| 760 |
+
{
|
| 761 |
+
"label": "Virtual Assistant",
|
| 762 |
+
"href": "/services/personal-assistant/virtual-assistant"
|
| 763 |
+
}
|
| 764 |
+
]
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"label": "Baby Prep",
|
| 768 |
+
"href": "/services/baby-prep",
|
| 769 |
+
"image": "/static/category-assets/services/c9v2pvqasz3zdicwoz9z-w640.webp",
|
| 770 |
+
"subtitle": "Set up the nursery, childproof your home, and more.",
|
| 771 |
+
"services": [
|
| 772 |
+
{
|
| 773 |
+
"label": "Baby Proofing",
|
| 774 |
+
"href": "/services/baby-prep/baby-proofing"
|
| 775 |
+
},
|
| 776 |
+
{
|
| 777 |
+
"label": "Baby Food Delivery",
|
| 778 |
+
"href": "/services/baby-prep/baby-food-delivery"
|
| 779 |
+
},
|
| 780 |
+
{
|
| 781 |
+
"label": "Organize a Room",
|
| 782 |
+
"href": "/services/baby-prep/organize-a-room"
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"label": "Painting",
|
| 786 |
+
"href": "/services/baby-prep/painting"
|
| 787 |
+
},
|
| 788 |
+
{
|
| 789 |
+
"label": "Toy Assembly Service",
|
| 790 |
+
"href": "/services/baby-prep/toy-assembly"
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"label": "Smart Home Installation",
|
| 794 |
+
"href": "/services/baby-prep/smart-home-installation"
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"label": "Shopping",
|
| 798 |
+
"href": "/services/baby-prep/need-us-to-shop-for-something"
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"label": "General Cleaning",
|
| 802 |
+
"href": "/services/baby-prep/need-something-else-cleaned"
|
| 803 |
+
}
|
| 804 |
+
]
|
| 805 |
+
},
|
| 806 |
+
{
|
| 807 |
+
"label": "Virtual & Online Tasks",
|
| 808 |
+
"href": "/services/online-tasks",
|
| 809 |
+
"image": "/static/category-assets/services/o6a4y0b3tps7vd1l73vm-w640.webp",
|
| 810 |
+
"subtitle": "Virtual assistance, organization, research, & more",
|
| 811 |
+
"services": [
|
| 812 |
+
{
|
| 813 |
+
"label": "Virtual Assistant",
|
| 814 |
+
"href": "/services/online-tasks/virtual-assistant"
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"label": "Organization",
|
| 818 |
+
"href": "/services/online-tasks/organization"
|
| 819 |
+
},
|
| 820 |
+
{
|
| 821 |
+
"label": "Data Entry",
|
| 822 |
+
"href": "/services/online-tasks/data-entry-clerk"
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"label": "Computer Help",
|
| 826 |
+
"href": "/services/online-tasks/computer-help"
|
| 827 |
+
}
|
| 828 |
+
]
|
| 829 |
+
},
|
| 830 |
+
{
|
| 831 |
+
"label": "Office Services",
|
| 832 |
+
"href": "/services/office",
|
| 833 |
+
"image": "/static/category-assets/services/lisxdsrupath54uwhuda-w640.webp",
|
| 834 |
+
"subtitle": "Hire a Tasker to help around the office!",
|
| 835 |
+
"services": [
|
| 836 |
+
{
|
| 837 |
+
"label": "Office Cleaning",
|
| 838 |
+
"href": "/services/office/commercial-cleaning"
|
| 839 |
+
},
|
| 840 |
+
{
|
| 841 |
+
"label": "Office Tech Setup",
|
| 842 |
+
"href": "/services/office/conference-room"
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"label": "Office Movers",
|
| 846 |
+
"href": "/services/office/movers"
|
| 847 |
+
},
|
| 848 |
+
{
|
| 849 |
+
"label": "Office Supply & Snack Delivery",
|
| 850 |
+
"href": "/services/office/supply-snack-delivery"
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"label": "Office Furniture Assembly",
|
| 854 |
+
"href": "/services/office/furniture-assembly-setup"
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"label": "Office Setup & Organization",
|
| 858 |
+
"href": "/services/office/organization-setup"
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"label": "Office Administration",
|
| 862 |
+
"href": "/services/office/office-administration"
|
| 863 |
+
},
|
| 864 |
+
{
|
| 865 |
+
"label": "Office Interior Design",
|
| 866 |
+
"href": "/services/office/office-interior-design"
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"label": "Moving Office Furniture",
|
| 870 |
+
"href": "/services/office/office-furniture-moving"
|
| 871 |
+
},
|
| 872 |
+
{
|
| 873 |
+
"label": "Office Mounting Service",
|
| 874 |
+
"href": "/services/office/office-mounting"
|
| 875 |
+
}
|
| 876 |
+
]
|
| 877 |
+
},
|
| 878 |
+
{
|
| 879 |
+
"label": "Contactless Tasks",
|
| 880 |
+
"href": "/services/contactless",
|
| 881 |
+
"image": "/static/category-assets/services/lhzrtzwcud6onusl4sef-w640.webp",
|
| 882 |
+
"subtitle": "No-contact delivery, shopping, errands",
|
| 883 |
+
"services": [
|
| 884 |
+
{
|
| 885 |
+
"label": "Contactless Delivery",
|
| 886 |
+
"href": "/services/contactless/pick-up-delivery"
|
| 887 |
+
},
|
| 888 |
+
{
|
| 889 |
+
"label": "Contactless Prescription Pick-up & Delivery",
|
| 890 |
+
"href": "/services/contactless/prescription-delivery"
|
| 891 |
+
},
|
| 892 |
+
{
|
| 893 |
+
"label": "Running Your Errands",
|
| 894 |
+
"href": "/services/contactless/run-errands"
|
| 895 |
+
},
|
| 896 |
+
{
|
| 897 |
+
"label": "Grocery Shopping & Delivery",
|
| 898 |
+
"href": "/services/contactless/grocery-shopping"
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"label": "Disinfecting Services",
|
| 902 |
+
"href": "/services/contactless/disinfecting-service"
|
| 903 |
+
},
|
| 904 |
+
{
|
| 905 |
+
"label": "Drop Off Donations",
|
| 906 |
+
"href": "/services/contactless/drop-off-donations"
|
| 907 |
+
},
|
| 908 |
+
{
|
| 909 |
+
"label": "Yard Work Services",
|
| 910 |
+
"href": "/services/contactless/yard-work-removal"
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"label": "Virtual Assistant",
|
| 914 |
+
"href": "/services/contactless/virtual-assistant"
|
| 915 |
+
}
|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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""WebsiteBench Harbor foreground entrypoint for the frozen clone."""
|
| 2 |
+
|
| 3 |
+
from __future__ import annotations
|
| 4 |
+
|
| 5 |
+
import json
|
| 6 |
+
import os
|
| 7 |
+
import re
|
| 8 |
+
import smtplib
|
| 9 |
+
import urllib.error
|
| 10 |
+
import urllib.parse
|
| 11 |
+
import urllib.request
|
| 12 |
+
from email.message import EmailMessage
|
| 13 |
+
from http.cookies import SimpleCookie
|
| 14 |
+
from pathlib import Path
|
| 15 |
+
|
| 16 |
+
import uvicorn
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
ROOT = Path(__file__).resolve().parent
|
| 20 |
+
SITE_ROOT = ROOT.parent
|
| 21 |
+
RUNTIME = json.loads((SITE_ROOT / "backend" / "runtime.json").read_text(encoding="utf-8"))
|
| 22 |
+
SITE_ID = str(RUNTIME["site"]["id"])
|
| 23 |
+
DATA_DIR = Path(os.environ["DATA_DIR"])
|
| 24 |
+
if not DATA_DIR.is_absolute():
|
| 25 |
+
raise RuntimeError("DATA_DIR must be absolute")
|
| 26 |
+
DATA_DIR = DATA_DIR.resolve()
|
| 27 |
+
DATA_DIR.mkdir(parents=True, exist_ok=True)
|
| 28 |
+
os.environ["WEBSITEBENCH_DATA_DIR"] = str(DATA_DIR)
|
| 29 |
+
os.environ["WEBSITEBENCH_SITE_BACKEND_RUNTIME"] = str(SITE_ROOT / "backend" / "runtime.json")
|
| 30 |
+
os.environ["WEBSITEBENCH_SITE_BACKEND_DATABASE"] = str(DATA_DIR / RUNTIME["database"]["filename"])
|
| 31 |
+
if os.environ.get("WEBSITEBENCH_MAILBOX_BOOTSTRAP_URL", "").strip():
|
| 32 |
+
os.environ["WEBSITEBENCH_DEPLOYMENT_PROFILE"] = "offline-harbor"
|
| 33 |
+
os.environ["WEBSITEBENCH_PAYMENT_PROFILE"] = "local-sandbox"
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
class _NoRedirect(urllib.request.HTTPRedirectHandler):
|
| 37 |
+
def redirect_request(self, request, fp, code, msg, headers, newurl):
|
| 38 |
+
del request, fp, code, msg, headers, newurl
|
| 39 |
+
return None
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
def _harbor_mailbox_identity() -> dict[str, object] | None:
|
| 43 |
+
"""Acquire a short-lived mailbox capability from a loopback bootstrap."""
|
| 44 |
+
|
| 45 |
+
bootstrap_url = os.environ.get("WEBSITEBENCH_MAILBOX_BOOTSTRAP_URL", "").strip()
|
| 46 |
+
bootstrap_token = os.environ.get(
|
| 47 |
+
"WEBSITEBENCH_MAILBOX_BOOTSTRAP_TOKEN", ""
|
| 48 |
+
).strip()
|
| 49 |
+
if not bootstrap_url and not bootstrap_token:
|
| 50 |
+
return None
|
| 51 |
+
parsed = urllib.parse.urlsplit(bootstrap_url)
|
| 52 |
+
if (
|
| 53 |
+
parsed.scheme != "http"
|
| 54 |
+
or parsed.hostname not in {
|
| 55 |
+
"127.0.0.1",
|
| 56 |
+
"::1",
|
| 57 |
+
"localhost",
|
| 58 |
+
"mailbox-internal",
|
| 59 |
+
}
|
| 60 |
+
or parsed.username is not None
|
| 61 |
+
or parsed.password is not None
|
| 62 |
+
or len(bootstrap_token) < 32
|
| 63 |
+
):
|
| 64 |
+
raise RuntimeError("Harbor mailbox bootstrap configuration is invalid")
|
| 65 |
+
request = urllib.request.Request(
|
| 66 |
+
bootstrap_url,
|
| 67 |
+
headers={
|
| 68 |
+
"Accept": "application/json",
|
| 69 |
+
"Authorization": f"Bearer {bootstrap_token}",
|
| 70 |
+
},
|
| 71 |
+
method="GET",
|
| 72 |
+
)
|
| 73 |
+
try:
|
| 74 |
+
with urllib.request.build_opener(_NoRedirect).open(
|
| 75 |
+
request, timeout=10
|
| 76 |
+
) as response:
|
| 77 |
+
raw = response.read(64 * 1024 + 1)
|
| 78 |
+
except (OSError, urllib.error.URLError) as exc:
|
| 79 |
+
raise RuntimeError("Harbor mailbox bootstrap is unavailable") from exc
|
| 80 |
+
if len(raw) > 64 * 1024:
|
| 81 |
+
raise RuntimeError("Harbor mailbox bootstrap response is too large")
|
| 82 |
+
try:
|
| 83 |
+
identity = json.loads(raw.decode("utf-8"))
|
| 84 |
+
namespace = str(identity["namespace"])
|
| 85 |
+
capability = str(identity["capability"])
|
| 86 |
+
smtp_host = str(identity["smtp_host"])
|
| 87 |
+
smtp_port = int(identity["smtp_port"])
|
| 88 |
+
except (KeyError, TypeError, ValueError, UnicodeError, json.JSONDecodeError) as exc:
|
| 89 |
+
raise RuntimeError("Harbor mailbox bootstrap response is invalid") from exc
|
| 90 |
+
if (
|
| 91 |
+
re.fullmatch(r"[A-Za-z0-9][A-Za-z0-9._-]*", namespace) is None
|
| 92 |
+
or len(namespace) > 128
|
| 93 |
+
or len(capability) < 32
|
| 94 |
+
or smtp_host not in {"127.0.0.1", "::1", "localhost", "mailbox-internal"}
|
| 95 |
+
or not 1 <= smtp_port <= 65535
|
| 96 |
+
):
|
| 97 |
+
raise RuntimeError("Harbor mailbox identity is invalid")
|
| 98 |
+
return {
|
| 99 |
+
"namespace": namespace,
|
| 100 |
+
"capability": capability,
|
| 101 |
+
"smtp_host": smtp_host,
|
| 102 |
+
"smtp_port": smtp_port,
|
| 103 |
+
}
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
MAILBOX_IDENTITY = _harbor_mailbox_identity()
|
| 107 |
+
DELIVERED_MAIL_IDS: set[int] = set()
|
| 108 |
+
|
| 109 |
+
import app as clone_module # noqa: E402
|
| 110 |
+
|
| 111 |
+
clone_app = clone_module.app
|
| 112 |
+
|
| 113 |
+
|
| 114 |
+
def _session_tokens(scope, response_headers: list[tuple[bytes, bytes]]) -> set[str]:
|
| 115 |
+
tokens: set[str] = set()
|
| 116 |
+
raw_cookies = [
|
| 117 |
+
value.decode("latin-1")
|
| 118 |
+
for name, value in scope.get("headers", [])
|
| 119 |
+
if name.lower() == b"cookie"
|
| 120 |
+
]
|
| 121 |
+
raw_cookies.extend(
|
| 122 |
+
value.decode("latin-1")
|
| 123 |
+
for name, value in response_headers
|
| 124 |
+
if name.lower() == b"set-cookie"
|
| 125 |
+
)
|
| 126 |
+
for raw in raw_cookies:
|
| 127 |
+
parsed = SimpleCookie()
|
| 128 |
+
try:
|
| 129 |
+
parsed.load(raw)
|
| 130 |
+
except Exception:
|
| 131 |
+
continue
|
| 132 |
+
name = clone_module.SESSION_COOKIE
|
| 133 |
+
if name in parsed and parsed[name].value:
|
| 134 |
+
tokens.add(parsed[name].value)
|
| 135 |
+
return tokens
|
| 136 |
+
|
| 137 |
+
|
| 138 |
+
def _deliver_harbor_mail(session_tokens: set[str]) -> None:
|
| 139 |
+
"""Compatibility hook; the auth store delivers synchronously to Mailpit."""
|
| 140 |
+
|
| 141 |
+
return None
|
| 142 |
+
|
| 143 |
+
HEALTH_BODY = b'{"status":"ok"}'
|
| 144 |
+
# /healthz is the contract (ADR-0010); the private path stays mounted
|
| 145 |
+
# so bundles frozen before the migration keep answering.
|
| 146 |
+
HEALTH_PATHS = ("/healthz", "/__websitebench/health")
|
| 147 |
+
|
| 148 |
+
|
| 149 |
+
async def application(scope, receive, send):
|
| 150 |
+
if scope.get("type") == "http" and scope.get("path") in HEALTH_PATHS:
|
| 151 |
+
await send({
|
| 152 |
+
"type": "http.response.start",
|
| 153 |
+
"status": 200,
|
| 154 |
+
"headers": [
|
| 155 |
+
(b"content-type", b"application/json"),
|
| 156 |
+
(b"content-length", str(len(HEALTH_BODY)).encode("ascii")),
|
| 157 |
+
(b"cache-control", b"no-store"),
|
| 158 |
+
],
|
| 159 |
+
})
|
| 160 |
+
await send({"type": "http.response.body", "body": HEALTH_BODY})
|
| 161 |
+
return
|
| 162 |
+
response_headers: list[tuple[bytes, bytes]] = []
|
| 163 |
+
|
| 164 |
+
async def deliver_before_final_body(message):
|
| 165 |
+
if message.get("type") == "http.response.start":
|
| 166 |
+
response_headers[:] = list(message.get("headers", []))
|
| 167 |
+
if (
|
| 168 |
+
message.get("type") == "http.response.body"
|
| 169 |
+
and not message.get("more_body", False)
|
| 170 |
+
):
|
| 171 |
+
_deliver_harbor_mail(_session_tokens(scope, response_headers))
|
| 172 |
+
await send(message)
|
| 173 |
+
|
| 174 |
+
await clone_app(scope, receive, deliver_before_final_body)
|
| 175 |
+
|
| 176 |
+
|
| 177 |
+
if __name__ == "__main__":
|
| 178 |
+
uvicorn.run(
|
| 179 |
+
application,
|
| 180 |
+
host=os.environ["HOST"],
|
| 181 |
+
port=int(os.environ["PORT"]),
|
| 182 |
+
access_log=False,
|
| 183 |
+
timeout_graceful_shutdown=2,
|
| 184 |
+
)
|
tasks/taskrabbit/solution/site/implementation/clone/static/app.js
ADDED
|
@@ -0,0 +1,535 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Taskrabbit navigation, overlay, and booking-form behavior. */
|
| 2 |
+
|
| 3 |
+
(function () {
|
| 4 |
+
"use strict";
|
| 5 |
+
|
| 6 |
+
function ready(fn) {
|
| 7 |
+
if (document.readyState !== "loading") { fn(); return; }
|
| 8 |
+
document.addEventListener("DOMContentLoaded", fn);
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
ready(function () {
|
| 12 |
+
// Mobile navigation toggle (390 viewport).
|
| 13 |
+
var toggle = document.querySelector(".nav-toggle");
|
| 14 |
+
var nav = document.getElementById("main-nav");
|
| 15 |
+
if (toggle && nav) {
|
| 16 |
+
toggle.addEventListener("click", function () {
|
| 17 |
+
var expanded = toggle.getAttribute("aria-expanded") === "true";
|
| 18 |
+
toggle.setAttribute("aria-expanded", String(!expanded));
|
| 19 |
+
nav.classList.toggle("open", !expanded);
|
| 20 |
+
});
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
// Help overlay: open via trigger, close via button or Escape,
|
| 24 |
+
// and restore focus to the opener on close.
|
| 25 |
+
var trigger = document.querySelector(".help-trigger");
|
| 26 |
+
var dialog = document.getElementById("help-dialog");
|
| 27 |
+
if (trigger && dialog) {
|
| 28 |
+
var close = dialog.querySelector(".help-close");
|
| 29 |
+
var lastFocus = null;
|
| 30 |
+
var FOCUSABLE = [
|
| 31 |
+
"a[href]", "button:not([disabled])", "input:not([disabled])",
|
| 32 |
+
"select:not([disabled])", "textarea:not([disabled])", "[tabindex]"
|
| 33 |
+
].join(",");
|
| 34 |
+
var focusable = function () {
|
| 35 |
+
return Array.prototype.filter.call(
|
| 36 |
+
dialog.querySelectorAll(FOCUSABLE),
|
| 37 |
+
function (el) {
|
| 38 |
+
return el.offsetWidth > 0 || el.offsetHeight > 0;
|
| 39 |
+
}
|
| 40 |
+
);
|
| 41 |
+
};
|
| 42 |
+
var openDialog = function () {
|
| 43 |
+
lastFocus = document.activeElement;
|
| 44 |
+
dialog.hidden = false;
|
| 45 |
+
dialog.setAttribute("aria-hidden", "false");
|
| 46 |
+
trigger.setAttribute("aria-expanded", "true");
|
| 47 |
+
(close || dialog).focus();
|
| 48 |
+
};
|
| 49 |
+
var closeDialog = function () {
|
| 50 |
+
dialog.hidden = true;
|
| 51 |
+
dialog.setAttribute("aria-hidden", "true");
|
| 52 |
+
trigger.setAttribute("aria-expanded", "false");
|
| 53 |
+
if (lastFocus && lastFocus.focus) { lastFocus.focus(); }
|
| 54 |
+
};
|
| 55 |
+
trigger.setAttribute("aria-expanded", "false");
|
| 56 |
+
dialog.setAttribute("aria-hidden", "true");
|
| 57 |
+
trigger.addEventListener("click", openDialog);
|
| 58 |
+
if (close) { close.addEventListener("click", closeDialog); }
|
| 59 |
+
document.addEventListener("keydown", function (event) {
|
| 60 |
+
if (dialog.hidden) { return; }
|
| 61 |
+
if (event.key === "Escape") { closeDialog(); return; }
|
| 62 |
+
// Real focus trap: Tab off either end wraps inside the dialog.
|
| 63 |
+
if (event.key !== "Tab") { return; }
|
| 64 |
+
var items = focusable();
|
| 65 |
+
if (!items.length) { return; }
|
| 66 |
+
var first = items[0];
|
| 67 |
+
var last = items[items.length - 1];
|
| 68 |
+
if (event.shiftKey && document.activeElement === first) {
|
| 69 |
+
event.preventDefault();
|
| 70 |
+
last.focus();
|
| 71 |
+
} else if (!event.shiftKey && document.activeElement === last) {
|
| 72 |
+
event.preventDefault();
|
| 73 |
+
first.focus();
|
| 74 |
+
}
|
| 75 |
+
});
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
// Service search band: an ARIA combobox layered over a real GET form.
|
| 79 |
+
// Debounced, single-flight via AbortController, with a monotonic sequence
|
| 80 |
+
// guard so a slow early response can never overwrite a newer one. With
|
| 81 |
+
// scripting off the form still submits to /services and the server
|
| 82 |
+
// renders the same result set.
|
| 83 |
+
var searchForm = document.querySelector("[data-service-search]");
|
| 84 |
+
if (searchForm) {
|
| 85 |
+
var input = searchForm.querySelector("[data-service-search-input]");
|
| 86 |
+
var list = searchForm.querySelector("[data-service-search-list]");
|
| 87 |
+
var status = searchForm.querySelector("[data-service-search-status]");
|
| 88 |
+
var endpoint = searchForm.getAttribute("data-suggest-endpoint");
|
| 89 |
+
var timer = null;
|
| 90 |
+
var controller = null;
|
| 91 |
+
var sequence = 0;
|
| 92 |
+
var settled = 0;
|
| 93 |
+
var active = -1;
|
| 94 |
+
|
| 95 |
+
var closeList = function () {
|
| 96 |
+
list.hidden = true;
|
| 97 |
+
list.innerHTML = "";
|
| 98 |
+
input.setAttribute("aria-expanded", "false");
|
| 99 |
+
input.removeAttribute("aria-activedescendant");
|
| 100 |
+
active = -1;
|
| 101 |
+
};
|
| 102 |
+
|
| 103 |
+
var highlight = function (next) {
|
| 104 |
+
var options = list.querySelectorAll("[role=option]");
|
| 105 |
+
if (!options.length) { return; }
|
| 106 |
+
if (next < 0) { next = options.length - 1; }
|
| 107 |
+
if (next >= options.length) { next = 0; }
|
| 108 |
+
active = next;
|
| 109 |
+
Array.prototype.forEach.call(options, function (option, index) {
|
| 110 |
+
var on = index === active;
|
| 111 |
+
option.setAttribute("aria-selected", String(on));
|
| 112 |
+
option.classList.toggle("active", on);
|
| 113 |
+
if (on) { input.setAttribute("aria-activedescendant", option.id); }
|
| 114 |
+
});
|
| 115 |
+
};
|
| 116 |
+
|
| 117 |
+
var draw = function (results) {
|
| 118 |
+
if (!results.length) { closeList(); status.textContent = "No matching services."; return; }
|
| 119 |
+
list.innerHTML = "";
|
| 120 |
+
results.forEach(function (result, index) {
|
| 121 |
+
var item = document.createElement("li");
|
| 122 |
+
item.id = "home-search-option-" + index;
|
| 123 |
+
item.setAttribute("role", "option");
|
| 124 |
+
item.setAttribute("aria-selected", "false");
|
| 125 |
+
var link = document.createElement("a");
|
| 126 |
+
link.href = result.href;
|
| 127 |
+
link.textContent = result.label;
|
| 128 |
+
item.appendChild(link);
|
| 129 |
+
list.appendChild(item);
|
| 130 |
+
});
|
| 131 |
+
list.hidden = false;
|
| 132 |
+
input.setAttribute("aria-expanded", "true");
|
| 133 |
+
active = -1;
|
| 134 |
+
status.textContent =
|
| 135 |
+
results.length + (results.length === 1 ? " service" : " services") + " suggested.";
|
| 136 |
+
};
|
| 137 |
+
|
| 138 |
+
var fetchSuggestions = function (query) {
|
| 139 |
+
if (controller) { controller.abort(); }
|
| 140 |
+
controller = new AbortController();
|
| 141 |
+
var ticket = ++sequence;
|
| 142 |
+
fetch(endpoint + "?q=" + encodeURIComponent(query), {
|
| 143 |
+
signal: controller.signal,
|
| 144 |
+
headers: { "Accept": "application/json" }
|
| 145 |
+
})
|
| 146 |
+
.then(function (response) {
|
| 147 |
+
if (!response.ok) { throw new Error("suggest failed"); }
|
| 148 |
+
return response.json();
|
| 149 |
+
})
|
| 150 |
+
.then(function (payload) {
|
| 151 |
+
// Sequence guard: ignore anything older than what already landed.
|
| 152 |
+
if (ticket <= settled) { return; }
|
| 153 |
+
settled = ticket;
|
| 154 |
+
draw((payload && payload.results) || []);
|
| 155 |
+
})
|
| 156 |
+
.catch(function (error) {
|
| 157 |
+
if (error && error.name === "AbortError") { return; }
|
| 158 |
+
// The GET form remains the reliable path; say so rather than
|
| 159 |
+
// leaving a stale list on screen.
|
| 160 |
+
closeList();
|
| 161 |
+
status.textContent = "Suggestions unavailable. Press Enter to search.";
|
| 162 |
+
});
|
| 163 |
+
};
|
| 164 |
+
|
| 165 |
+
input.addEventListener("input", function () {
|
| 166 |
+
var query = input.value.trim();
|
| 167 |
+
if (timer) { window.clearTimeout(timer); }
|
| 168 |
+
if (query.length < 2) {
|
| 169 |
+
if (controller) { controller.abort(); }
|
| 170 |
+
closeList();
|
| 171 |
+
status.textContent = "";
|
| 172 |
+
return;
|
| 173 |
+
}
|
| 174 |
+
timer = window.setTimeout(function () { fetchSuggestions(query); }, 180);
|
| 175 |
+
});
|
| 176 |
+
|
| 177 |
+
input.addEventListener("keydown", function (event) {
|
| 178 |
+
if (list.hidden) { return; }
|
| 179 |
+
if (event.key === "ArrowDown") { event.preventDefault(); highlight(active + 1); }
|
| 180 |
+
else if (event.key === "ArrowUp") { event.preventDefault(); highlight(active - 1); }
|
| 181 |
+
else if (event.key === "Escape") { closeList(); }
|
| 182 |
+
else if (event.key === "Enter" && active >= 0) {
|
| 183 |
+
var chosen = list.querySelectorAll("[role=option] a")[active];
|
| 184 |
+
if (chosen) { event.preventDefault(); window.location.assign(chosen.href); }
|
| 185 |
+
}
|
| 186 |
+
});
|
| 187 |
+
|
| 188 |
+
// A click outside the band dismisses the list without eating the click.
|
| 189 |
+
document.addEventListener("click", function (event) {
|
| 190 |
+
if (!searchForm.contains(event.target)) { closeList(); }
|
| 191 |
+
});
|
| 192 |
+
closeList();
|
| 193 |
+
}
|
| 194 |
+
|
| 195 |
+
// Home category families. Every tab is a real GET link first; scripting
|
| 196 |
+
// upgrades it to the source's in-place panel switch without weakening the
|
| 197 |
+
// no-script navigation path.
|
| 198 |
+
var tabs = Array.from(
|
| 199 |
+
document.querySelectorAll("[data-home-category-tab]")
|
| 200 |
+
);
|
| 201 |
+
var categoryPanels = Array.from(
|
| 202 |
+
document.querySelectorAll("[data-home-category-panel]")
|
| 203 |
+
);
|
| 204 |
+
function activateHomeCategory(categoryId, updateUrl) {
|
| 205 |
+
if (!tabs.some(function (tab) {
|
| 206 |
+
return tab.dataset.homeCategoryTab === categoryId;
|
| 207 |
+
})) { return; }
|
| 208 |
+
tabs.forEach(function (tab) {
|
| 209 |
+
var selected = tab.dataset.homeCategoryTab === categoryId;
|
| 210 |
+
tab.classList.toggle("active", selected);
|
| 211 |
+
tab.setAttribute("aria-selected", String(selected));
|
| 212 |
+
tab.setAttribute("tabindex", selected ? "0" : "-1");
|
| 213 |
+
var blob = tab.querySelector(".category-symbol-blob");
|
| 214 |
+
if (blob) {
|
| 215 |
+
blob.src = selected ? blob.dataset.selectedSrc : blob.dataset.unselectedSrc;
|
| 216 |
+
}
|
| 217 |
+
});
|
| 218 |
+
categoryPanels.forEach(function (panel) {
|
| 219 |
+
panel.hidden = panel.dataset.homeCategoryPanel !== categoryId;
|
| 220 |
+
});
|
| 221 |
+
var selectedTab = tabs.find(function (tab) {
|
| 222 |
+
return tab.dataset.homeCategoryTab === categoryId;
|
| 223 |
+
});
|
| 224 |
+
if (selectedTab && window.matchMedia("(max-width: 767px)").matches) {
|
| 225 |
+
selectedTab.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "nearest" });
|
| 226 |
+
}
|
| 227 |
+
if (updateUrl && window.history && window.history.pushState) {
|
| 228 |
+
var url = new URL(window.location.href);
|
| 229 |
+
url.searchParams.set("category", categoryId);
|
| 230 |
+
window.history.pushState({ homeCategory: categoryId }, "", url);
|
| 231 |
+
}
|
| 232 |
+
}
|
| 233 |
+
tabs.forEach(function (tab, index) {
|
| 234 |
+
tab.addEventListener("click", function (event) {
|
| 235 |
+
if (
|
| 236 |
+
event.button !== 0 || event.metaKey || event.ctrlKey ||
|
| 237 |
+
event.shiftKey || event.altKey
|
| 238 |
+
) { return; }
|
| 239 |
+
event.preventDefault();
|
| 240 |
+
activateHomeCategory(tab.dataset.homeCategoryTab, true);
|
| 241 |
+
});
|
| 242 |
+
tab.addEventListener("keydown", function (event) {
|
| 243 |
+
var targetIndex = index;
|
| 244 |
+
if (event.key === "ArrowRight") { targetIndex = (index + 1) % tabs.length; }
|
| 245 |
+
else if (event.key === "ArrowLeft") {
|
| 246 |
+
targetIndex = (index - 1 + tabs.length) % tabs.length;
|
| 247 |
+
} else if (event.key === "Home") { targetIndex = 0; }
|
| 248 |
+
else if (event.key === "End") { targetIndex = tabs.length - 1; }
|
| 249 |
+
else { return; }
|
| 250 |
+
event.preventDefault();
|
| 251 |
+
tabs[targetIndex].focus();
|
| 252 |
+
activateHomeCategory(tabs[targetIndex].dataset.homeCategoryTab, true);
|
| 253 |
+
});
|
| 254 |
+
});
|
| 255 |
+
window.addEventListener("popstate", function () {
|
| 256 |
+
var selected = new URL(window.location.href).searchParams.get("category");
|
| 257 |
+
activateHomeCategory(selected || "assembly", false);
|
| 258 |
+
});
|
| 259 |
+
|
| 260 |
+
// Source-like account popover: native details keeps the menu usable with
|
| 261 |
+
// scripting off; these handlers add the expected dismissal behavior.
|
| 262 |
+
var accountMenus = Array.from(document.querySelectorAll("details.account-menu"));
|
| 263 |
+
accountMenus.forEach(function (menu) {
|
| 264 |
+
var summary = menu.querySelector("summary");
|
| 265 |
+
function refreshAccountMenuLabel() {
|
| 266 |
+
if (summary) {
|
| 267 |
+
summary.setAttribute(
|
| 268 |
+
"aria-label",
|
| 269 |
+
menu.open ? "Close account menu" : "Open account menu"
|
| 270 |
+
);
|
| 271 |
+
}
|
| 272 |
+
}
|
| 273 |
+
refreshAccountMenuLabel();
|
| 274 |
+
menu.addEventListener("toggle", refreshAccountMenuLabel);
|
| 275 |
+
menu.addEventListener("keydown", function (event) {
|
| 276 |
+
if (event.key !== "Escape" || !menu.open) { return; }
|
| 277 |
+
event.preventDefault();
|
| 278 |
+
menu.open = false;
|
| 279 |
+
if (summary) { summary.focus(); }
|
| 280 |
+
});
|
| 281 |
+
});
|
| 282 |
+
document.addEventListener("click", function (event) {
|
| 283 |
+
accountMenus.forEach(function (menu) {
|
| 284 |
+
if (menu.open && !menu.contains(event.target)) { menu.open = false; }
|
| 285 |
+
});
|
| 286 |
+
});
|
| 287 |
+
|
| 288 |
+
document.querySelectorAll("[data-password-toggle]").forEach(function (button) {
|
| 289 |
+
var wrapper = button.closest(".auth-password-row") || button.parentElement;
|
| 290 |
+
var input = wrapper && wrapper.querySelector("[data-password-input]");
|
| 291 |
+
if (!input) { return; }
|
| 292 |
+
button.addEventListener("click", function () {
|
| 293 |
+
var reveal = input.type === "password";
|
| 294 |
+
input.type = reveal ? "text" : "password";
|
| 295 |
+
button.setAttribute("aria-label", reveal ? "Hide password" : "Show password");
|
| 296 |
+
input.focus();
|
| 297 |
+
});
|
| 298 |
+
});
|
| 299 |
+
|
| 300 |
+
// Upgrade the no-script region select to an offline, searchable combobox.
|
| 301 |
+
// Every visual marker is an ISO badge or CSS-painted flag: this avoids the
|
| 302 |
+
// platform-dependent regional-indicator emoji that Chromium renders as
|
| 303 |
+
// tofu on minimal Linux images. The real select remains the form owner.
|
| 304 |
+
document.querySelectorAll("[data-phone-region-select]").forEach(function (select) {
|
| 305 |
+
var form = select.closest("form");
|
| 306 |
+
var callingCode = form && form.querySelector("[data-phone-dial-code]");
|
| 307 |
+
if (!callingCode) { return; }
|
| 308 |
+
var picker = select.parentElement.querySelector("[data-phone-region-combobox]");
|
| 309 |
+
function syncCallingCode() {
|
| 310 |
+
var option = select.options[select.selectedIndex];
|
| 311 |
+
callingCode.value = option ? option.dataset.dialCode : "+1";
|
| 312 |
+
}
|
| 313 |
+
select.addEventListener("change", syncCallingCode);
|
| 314 |
+
syncCallingCode();
|
| 315 |
+
if (!picker) { return; }
|
| 316 |
+
|
| 317 |
+
var trigger = picker.querySelector("[data-phone-region-trigger]");
|
| 318 |
+
var popover = picker.querySelector("[data-phone-region-popover]");
|
| 319 |
+
var search = picker.querySelector("[data-phone-region-search]");
|
| 320 |
+
var listbox = picker.querySelector("[data-phone-region-listbox]");
|
| 321 |
+
var status = picker.querySelector("[data-phone-region-status]");
|
| 322 |
+
var selectedName = picker.querySelector("[data-phone-region-name]");
|
| 323 |
+
var selectedDial = picker.querySelector("[data-phone-region-selected-dial]");
|
| 324 |
+
var selectedBadge = trigger.querySelector(".phone-region-badge");
|
| 325 |
+
var options = Array.from(listbox.querySelectorAll("[role=option]"));
|
| 326 |
+
var activeOption = null;
|
| 327 |
+
|
| 328 |
+
function visibleOptions() {
|
| 329 |
+
return options.filter(function (option) { return !option.hidden; });
|
| 330 |
+
}
|
| 331 |
+
|
| 332 |
+
function setActive(option, focus) {
|
| 333 |
+
options.forEach(function (item) {
|
| 334 |
+
item.classList.toggle("is-active", item === option);
|
| 335 |
+
});
|
| 336 |
+
activeOption = option || null;
|
| 337 |
+
if (option && focus) { option.focus(); }
|
| 338 |
+
}
|
| 339 |
+
|
| 340 |
+
function filterOptions(query) {
|
| 341 |
+
var needle = query.trim().toLocaleLowerCase();
|
| 342 |
+
var count = 0;
|
| 343 |
+
options.forEach(function (option) {
|
| 344 |
+
var matches = !needle || option.dataset.searchValue.toLocaleLowerCase().includes(needle);
|
| 345 |
+
option.hidden = !matches;
|
| 346 |
+
if (matches) { count += 1; }
|
| 347 |
+
});
|
| 348 |
+
status.textContent = count + (count === 1 ? " country or region" : " countries and regions");
|
| 349 |
+
setActive(visibleOptions()[0] || null, false);
|
| 350 |
+
}
|
| 351 |
+
|
| 352 |
+
function openPicker() {
|
| 353 |
+
popover.hidden = false;
|
| 354 |
+
trigger.setAttribute("aria-expanded", "true");
|
| 355 |
+
search.value = "";
|
| 356 |
+
filterOptions("");
|
| 357 |
+
var selected = options.find(function (option) {
|
| 358 |
+
return option.dataset.regionCode === select.value;
|
| 359 |
+
});
|
| 360 |
+
setActive(selected || visibleOptions()[0] || null, false);
|
| 361 |
+
window.requestAnimationFrame(function () {
|
| 362 |
+
search.focus();
|
| 363 |
+
if (selected) { selected.scrollIntoView({ block: "nearest" }); }
|
| 364 |
+
});
|
| 365 |
+
}
|
| 366 |
+
|
| 367 |
+
function closePicker(restoreFocus) {
|
| 368 |
+
popover.hidden = true;
|
| 369 |
+
trigger.setAttribute("aria-expanded", "false");
|
| 370 |
+
setActive(null, false);
|
| 371 |
+
if (restoreFocus) { trigger.focus(); }
|
| 372 |
+
}
|
| 373 |
+
|
| 374 |
+
function choose(option) {
|
| 375 |
+
if (!option) { return; }
|
| 376 |
+
select.value = option.dataset.regionCode;
|
| 377 |
+
selectedBadge.dataset.regionCode = option.dataset.regionCode;
|
| 378 |
+
selectedBadge.textContent = option.dataset.regionCode;
|
| 379 |
+
selectedName.textContent = option.dataset.regionName;
|
| 380 |
+
selectedDial.textContent = option.dataset.dialCode;
|
| 381 |
+
trigger.setAttribute(
|
| 382 |
+
"aria-label",
|
| 383 |
+
"Phone country or region: " + option.dataset.regionName + " " + option.dataset.dialCode
|
| 384 |
+
);
|
| 385 |
+
options.forEach(function (item) {
|
| 386 |
+
item.setAttribute("aria-selected", String(item === option));
|
| 387 |
+
});
|
| 388 |
+
select.dispatchEvent(new Event("change", { bubbles: true }));
|
| 389 |
+
closePicker(true);
|
| 390 |
+
}
|
| 391 |
+
|
| 392 |
+
function moveActive(direction, focus) {
|
| 393 |
+
var visible = visibleOptions();
|
| 394 |
+
if (!visible.length) { return; }
|
| 395 |
+
var index = visible.indexOf(activeOption);
|
| 396 |
+
if (direction === "first") { index = 0; }
|
| 397 |
+
else if (direction === "last") { index = visible.length - 1; }
|
| 398 |
+
else if (direction === "next") { index = index < visible.length - 1 ? index + 1 : 0; }
|
| 399 |
+
else { index = index > 0 ? index - 1 : visible.length - 1; }
|
| 400 |
+
setActive(visible[index], focus);
|
| 401 |
+
}
|
| 402 |
+
|
| 403 |
+
trigger.addEventListener("click", function () {
|
| 404 |
+
if (popover.hidden) { openPicker(); } else { closePicker(true); }
|
| 405 |
+
});
|
| 406 |
+
trigger.addEventListener("keydown", function (event) {
|
| 407 |
+
if (["Enter", " ", "ArrowDown", "ArrowUp"].indexOf(event.key) === -1) { return; }
|
| 408 |
+
event.preventDefault();
|
| 409 |
+
if (popover.hidden) { openPicker(); }
|
| 410 |
+
});
|
| 411 |
+
picker.addEventListener("keydown", function (event) {
|
| 412 |
+
if (event.key !== "Escape" || popover.hidden) { return; }
|
| 413 |
+
event.preventDefault();
|
| 414 |
+
event.stopPropagation();
|
| 415 |
+
closePicker(true);
|
| 416 |
+
});
|
| 417 |
+
search.addEventListener("input", function () { filterOptions(search.value); });
|
| 418 |
+
search.addEventListener("keydown", function (event) {
|
| 419 |
+
if (event.key === "ArrowDown") { event.preventDefault(); moveActive("next", true); }
|
| 420 |
+
else if (event.key === "ArrowUp") { event.preventDefault(); moveActive("previous", true); }
|
| 421 |
+
else if (event.key === "Enter" && activeOption) { event.preventDefault(); choose(activeOption); }
|
| 422 |
+
else if (event.key === "Escape") { event.preventDefault(); closePicker(true); }
|
| 423 |
+
});
|
| 424 |
+
options.forEach(function (option) {
|
| 425 |
+
option.addEventListener("click", function () { choose(option); });
|
| 426 |
+
option.addEventListener("focus", function () { setActive(option, false); });
|
| 427 |
+
option.addEventListener("keydown", function (event) {
|
| 428 |
+
if (event.key === "ArrowDown") { event.preventDefault(); moveActive("next", true); }
|
| 429 |
+
else if (event.key === "ArrowUp") { event.preventDefault(); moveActive("previous", true); }
|
| 430 |
+
else if (event.key === "Home") { event.preventDefault(); moveActive("first", true); }
|
| 431 |
+
else if (event.key === "End") { event.preventDefault(); moveActive("last", true); }
|
| 432 |
+
else if (event.key === "Enter" || event.key === " ") { event.preventDefault(); choose(option); }
|
| 433 |
+
else if (event.key === "Escape") { event.preventDefault(); closePicker(true); }
|
| 434 |
+
});
|
| 435 |
+
});
|
| 436 |
+
document.addEventListener("pointerdown", function (event) {
|
| 437 |
+
if (!popover.hidden && !picker.contains(event.target)) { closePicker(false); }
|
| 438 |
+
});
|
| 439 |
+
|
| 440 |
+
// Keep the real form control visible in the offline runtime. The native
|
| 441 |
+
// select is deterministic across both formal executors and remains the
|
| 442 |
+
// accessible owner of the submitted region value.
|
| 443 |
+
select.hidden = false;
|
| 444 |
+
select.removeAttribute("aria-hidden");
|
| 445 |
+
select.removeAttribute("tabindex");
|
| 446 |
+
picker.hidden = true;
|
| 447 |
+
});
|
| 448 |
+
|
| 449 |
+
document.querySelectorAll("[data-auth-submit-readiness]").forEach(function (button) {
|
| 450 |
+
var form = button.closest("form");
|
| 451 |
+
if (!form) { return; }
|
| 452 |
+
var status = form.querySelector("[data-auth-verification-status]");
|
| 453 |
+
function refreshReadiness() {
|
| 454 |
+
if (
|
| 455 |
+
status && status.dataset.state === "success" &&
|
| 456 |
+
status.textContent === "Email verified. Complete the form and select Continue."
|
| 457 |
+
) {
|
| 458 |
+
status.textContent = "Email verified. Complete the form and select Sign Up."
|
| 459 |
+
}
|
| 460 |
+
var verificationReady = !status || status.dataset.state === "success";
|
| 461 |
+
button.dataset.ready = String(form.checkValidity() && verificationReady);
|
| 462 |
+
}
|
| 463 |
+
form.addEventListener("input", refreshReadiness);
|
| 464 |
+
form.addEventListener("change", refreshReadiness);
|
| 465 |
+
if (status) {
|
| 466 |
+
new MutationObserver(refreshReadiness).observe(status, {
|
| 467 |
+
attributes: true,
|
| 468 |
+
childList: true,
|
| 469 |
+
});
|
| 470 |
+
}
|
| 471 |
+
refreshReadiness();
|
| 472 |
+
});
|
| 473 |
+
|
| 474 |
+
// Task Book recommendation controls move the same horizontal card rail
|
| 475 |
+
// that touch and trackpad users can scroll directly.
|
| 476 |
+
var taskbookTrack = document.querySelector("[data-taskbook-carousel-track]");
|
| 477 |
+
if (taskbookTrack) {
|
| 478 |
+
var previousTaskers = document.querySelector("[data-taskbook-carousel=previous]");
|
| 479 |
+
var nextTaskers = document.querySelector("[data-taskbook-carousel=next]");
|
| 480 |
+
function taskbookStep() {
|
| 481 |
+
var card = taskbookTrack.querySelector(".taskbook-tasker-card");
|
| 482 |
+
return card ? card.getBoundingClientRect().width + 20 : taskbookTrack.clientWidth;
|
| 483 |
+
}
|
| 484 |
+
function refreshTaskbookControls() {
|
| 485 |
+
var maximum = Math.max(0, taskbookTrack.scrollWidth - taskbookTrack.clientWidth);
|
| 486 |
+
if (previousTaskers) { previousTaskers.disabled = taskbookTrack.scrollLeft <= 1; }
|
| 487 |
+
if (nextTaskers) { nextTaskers.disabled = taskbookTrack.scrollLeft >= maximum - 1; }
|
| 488 |
+
}
|
| 489 |
+
if (previousTaskers) {
|
| 490 |
+
previousTaskers.addEventListener("click", function () {
|
| 491 |
+
taskbookTrack.scrollBy({ left: -taskbookStep(), behavior: "smooth" });
|
| 492 |
+
});
|
| 493 |
+
}
|
| 494 |
+
if (nextTaskers) {
|
| 495 |
+
nextTaskers.addEventListener("click", function () {
|
| 496 |
+
taskbookTrack.scrollBy({ left: taskbookStep(), behavior: "smooth" });
|
| 497 |
+
});
|
| 498 |
+
}
|
| 499 |
+
taskbookTrack.addEventListener("scroll", refreshTaskbookControls, { passive: true });
|
| 500 |
+
window.addEventListener("resize", refreshTaskbookControls);
|
| 501 |
+
refreshTaskbookControls();
|
| 502 |
+
}
|
| 503 |
+
|
| 504 |
+
// Tasker roster: enforce the single-selection UI contract visually.
|
| 505 |
+
var taskerCards = document.querySelectorAll(".tasker-card");
|
| 506 |
+
taskerCards.forEach(function (card) {
|
| 507 |
+
var radio = card.querySelector("input[type=radio]");
|
| 508 |
+
if (!radio) { return; }
|
| 509 |
+
radio.addEventListener("change", function () {
|
| 510 |
+
taskerCards.forEach(function (other) {
|
| 511 |
+
var otherRadio = other.querySelector("input[type=radio]");
|
| 512 |
+
other.classList.toggle(
|
| 513 |
+
"selected", Boolean(otherRadio && otherRadio.checked)
|
| 514 |
+
);
|
| 515 |
+
});
|
| 516 |
+
});
|
| 517 |
+
});
|
| 518 |
+
|
| 519 |
+
// Booking option rows: reflect radio selection state.
|
| 520 |
+
var optionRows = document.querySelectorAll("label.option");
|
| 521 |
+
optionRows.forEach(function (row) {
|
| 522 |
+
var radio = row.querySelector("input[type=radio]");
|
| 523 |
+
if (!radio || radio.disabled) { return; }
|
| 524 |
+
radio.addEventListener("change", function () {
|
| 525 |
+
var group = document.querySelectorAll(
|
| 526 |
+
"label.option input[name=\"" + radio.name + "\"]"
|
| 527 |
+
);
|
| 528 |
+
group.forEach(function (input) {
|
| 529 |
+
var label = input.closest("label.option");
|
| 530 |
+
if (label) { label.classList.toggle("selected", input.checked); }
|
| 531 |
+
});
|
| 532 |
+
});
|
| 533 |
+
});
|
| 534 |
+
});
|
| 535 |
+
})();
|
tasks/taskrabbit/solution/site/implementation/clone/static/auth-fidelity.css
ADDED
|
@@ -0,0 +1,555 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
body:has(.login-shell) {
|
| 2 |
+
background: #f7f8f7;
|
| 3 |
+
}
|
| 4 |
+
|
| 5 |
+
.auth-source-page {
|
| 6 |
+
min-height: 100vh;
|
| 7 |
+
background: #000 url("/static/assets/source-current/2026-08-09-home-auth-assets/auth-register-background.webp") center top / cover fixed no-repeat;
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
.auth-source-shell {
|
| 11 |
+
position: relative;
|
| 12 |
+
z-index: 1;
|
| 13 |
+
display: grid;
|
| 14 |
+
min-height: 100vh;
|
| 15 |
+
place-items: start center;
|
| 16 |
+
padding: 80px 24px;
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
.auth-source-card {
|
| 20 |
+
width: 520px;
|
| 21 |
+
max-width: 100%;
|
| 22 |
+
border-radius: 16px;
|
| 23 |
+
padding: 48px;
|
| 24 |
+
background: #fff;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
.auth-source-logo {
|
| 28 |
+
display: inline-flex;
|
| 29 |
+
margin-bottom: 22px;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
.auth-source-logo svg {
|
| 33 |
+
width: 242px;
|
| 34 |
+
height: auto;
|
| 35 |
+
fill: #0d7a5f;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
.auth-source-card .auth-heading,
|
| 39 |
+
.verify-page-heading h1 {
|
| 40 |
+
margin: 0 0 30px;
|
| 41 |
+
color: #092d16;
|
| 42 |
+
font-size: 36px;
|
| 43 |
+
font-weight: 750;
|
| 44 |
+
letter-spacing: -.6px;
|
| 45 |
+
line-height: 1.18;
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
.auth-source-card .auth-form {
|
| 49 |
+
display: grid;
|
| 50 |
+
max-width: none;
|
| 51 |
+
gap: 0;
|
| 52 |
+
margin: 0;
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
.auth-source-card .auth-form > label:not(.auth-terms),
|
| 56 |
+
.auth-source-card .auth-phone-group > label,
|
| 57 |
+
.auth-source-card .auth-code-panel > label {
|
| 58 |
+
margin: 0 0 8px;
|
| 59 |
+
color: #202523;
|
| 60 |
+
font-size: 12px;
|
| 61 |
+
font-weight: 700;
|
| 62 |
+
line-height: 1.35;
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
.auth-source-card .auth-form > input:not([type="hidden"]),
|
| 66 |
+
.auth-source-card .auth-password-row,
|
| 67 |
+
.auth-source-card .auth-phone-row {
|
| 68 |
+
width: 100%;
|
| 69 |
+
height: 48px;
|
| 70 |
+
margin: 0 0 24px;
|
| 71 |
+
border: 1px solid #c9cace;
|
| 72 |
+
border-radius: 999px;
|
| 73 |
+
background: #fff;
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
.auth-source-card .auth-form > input:not([type="hidden"]) {
|
| 77 |
+
padding: 0 24px;
|
| 78 |
+
color: #1e212a;
|
| 79 |
+
font-size: 16px;
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
.auth-source-card .auth-form > input:not([type="hidden"]):focus,
|
| 83 |
+
.auth-source-card .auth-password-row:focus-within,
|
| 84 |
+
.auth-source-card .auth-phone-row:focus-within {
|
| 85 |
+
border-color: #0d7a5f;
|
| 86 |
+
box-shadow: 0 0 0 1px #0d7a5f;
|
| 87 |
+
outline: none;
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
.auth-phone-group { display: grid; }
|
| 91 |
+
.auth-source-card .auth-phone-row {
|
| 92 |
+
display: flex;
|
| 93 |
+
align-items: center;
|
| 94 |
+
gap: 7px;
|
| 95 |
+
overflow: visible;
|
| 96 |
+
padding: 0 20px 0 24px;
|
| 97 |
+
}
|
| 98 |
+
.auth-source-card .auth-phone-row select {
|
| 99 |
+
min-width: 116px;
|
| 100 |
+
max-width: 56%;
|
| 101 |
+
flex: 0 1 190px;
|
| 102 |
+
border: 0;
|
| 103 |
+
padding: 0 22px 0 4px;
|
| 104 |
+
background: transparent;
|
| 105 |
+
color: #1e212a;
|
| 106 |
+
font: inherit;
|
| 107 |
+
outline: 0;
|
| 108 |
+
text-overflow: ellipsis;
|
| 109 |
+
white-space: nowrap;
|
| 110 |
+
}
|
| 111 |
+
.phone-region-picker {
|
| 112 |
+
position: relative;
|
| 113 |
+
width: 228px;
|
| 114 |
+
max-width: 56%;
|
| 115 |
+
min-width: 0;
|
| 116 |
+
flex: 0 0 228px;
|
| 117 |
+
border-right: 1px solid #d7dbd9;
|
| 118 |
+
padding-right: 8px;
|
| 119 |
+
}
|
| 120 |
+
.phone-region-trigger {
|
| 121 |
+
display: grid;
|
| 122 |
+
width: 100%;
|
| 123 |
+
height: 46px;
|
| 124 |
+
min-width: 0;
|
| 125 |
+
grid-template-columns: 32px minmax(28px, 1fr) auto 12px;
|
| 126 |
+
align-items: center;
|
| 127 |
+
gap: 8px;
|
| 128 |
+
border: 0;
|
| 129 |
+
padding: 0;
|
| 130 |
+
background: transparent;
|
| 131 |
+
color: #1e212a;
|
| 132 |
+
font: inherit;
|
| 133 |
+
text-align: left;
|
| 134 |
+
cursor: pointer;
|
| 135 |
+
}
|
| 136 |
+
.phone-region-selected-name {
|
| 137 |
+
overflow: hidden;
|
| 138 |
+
text-overflow: ellipsis;
|
| 139 |
+
white-space: nowrap;
|
| 140 |
+
}
|
| 141 |
+
.phone-region-selected-dial { color: #555d59; font-size: 14px; }
|
| 142 |
+
.phone-region-chevron {
|
| 143 |
+
width: 8px;
|
| 144 |
+
height: 8px;
|
| 145 |
+
border-right: 1.5px solid #4d5551;
|
| 146 |
+
border-bottom: 1.5px solid #4d5551;
|
| 147 |
+
transform: translateY(-2px) rotate(45deg);
|
| 148 |
+
}
|
| 149 |
+
.phone-region-trigger[aria-expanded="true"] .phone-region-chevron {
|
| 150 |
+
transform: translateY(2px) rotate(225deg);
|
| 151 |
+
}
|
| 152 |
+
.phone-region-popover {
|
| 153 |
+
position: absolute;
|
| 154 |
+
z-index: 120;
|
| 155 |
+
top: calc(100% + 8px);
|
| 156 |
+
left: -24px;
|
| 157 |
+
width: min(424px, calc(100vw - 48px));
|
| 158 |
+
border: 1px solid #c9cfcc;
|
| 159 |
+
border-radius: 12px;
|
| 160 |
+
padding: 12px;
|
| 161 |
+
background: #fff;
|
| 162 |
+
box-shadow: 0 16px 38px rgba(20, 31, 27, .2);
|
| 163 |
+
}
|
| 164 |
+
.phone-region-popover[hidden],
|
| 165 |
+
.phone-region-picker[hidden],
|
| 166 |
+
.phone-region-option[hidden] { display: none !important; }
|
| 167 |
+
.auth-source-card .auth-phone-row .phone-region-search {
|
| 168 |
+
width: 100%;
|
| 169 |
+
height: 42px;
|
| 170 |
+
border: 1px solid #9ba29f;
|
| 171 |
+
border-radius: 8px;
|
| 172 |
+
margin: 0;
|
| 173 |
+
padding: 0 13px;
|
| 174 |
+
font: inherit;
|
| 175 |
+
}
|
| 176 |
+
.auth-source-card .auth-phone-row .phone-region-search:focus {
|
| 177 |
+
border-color: #0d7a5f;
|
| 178 |
+
box-shadow: 0 0 0 2px rgba(13, 122, 95, .15);
|
| 179 |
+
outline: none;
|
| 180 |
+
}
|
| 181 |
+
.phone-region-status {
|
| 182 |
+
margin: 8px 3px 6px;
|
| 183 |
+
color: #656c68;
|
| 184 |
+
font-size: 12px;
|
| 185 |
+
}
|
| 186 |
+
.phone-region-listbox {
|
| 187 |
+
max-height: 286px;
|
| 188 |
+
overflow-y: auto;
|
| 189 |
+
overscroll-behavior: contain;
|
| 190 |
+
}
|
| 191 |
+
.phone-region-option {
|
| 192 |
+
display: grid;
|
| 193 |
+
width: 100%;
|
| 194 |
+
min-height: 45px;
|
| 195 |
+
grid-template-columns: 32px minmax(0, 1fr) auto;
|
| 196 |
+
align-items: center;
|
| 197 |
+
gap: 10px;
|
| 198 |
+
border: 0;
|
| 199 |
+
border-radius: 7px;
|
| 200 |
+
padding: 6px 9px;
|
| 201 |
+
background: #fff;
|
| 202 |
+
color: #202523;
|
| 203 |
+
font: inherit;
|
| 204 |
+
text-align: left;
|
| 205 |
+
cursor: pointer;
|
| 206 |
+
}
|
| 207 |
+
.phone-region-option:hover,
|
| 208 |
+
.phone-region-option.is-active,
|
| 209 |
+
.phone-region-option[aria-selected="true"] { background: #edf7f3; }
|
| 210 |
+
.phone-region-option:focus-visible { outline: 2px solid #0d7a5f; outline-offset: -2px; }
|
| 211 |
+
.phone-region-option-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
| 212 |
+
.phone-region-option-dial { color: #5b625f; font-variant-numeric: tabular-nums; }
|
| 213 |
+
.phone-region-badge {
|
| 214 |
+
position: relative;
|
| 215 |
+
display: grid;
|
| 216 |
+
width: 32px;
|
| 217 |
+
height: 22px;
|
| 218 |
+
overflow: hidden;
|
| 219 |
+
place-items: center;
|
| 220 |
+
border: 1px solid rgba(13, 54, 36, .22);
|
| 221 |
+
border-radius: 4px;
|
| 222 |
+
background: #e9f4ef;
|
| 223 |
+
color: #075f49;
|
| 224 |
+
font-family: Arial, sans-serif;
|
| 225 |
+
font-size: 10px;
|
| 226 |
+
font-weight: 800;
|
| 227 |
+
letter-spacing: .04em;
|
| 228 |
+
line-height: 1;
|
| 229 |
+
}
|
| 230 |
+
|
| 231 |
+
/* Frequently selected regions receive recognizable local CSS flags. Other
|
| 232 |
+
entries retain their stable two-letter ISO badge, so all 245 remain
|
| 233 |
+
distinct without downloading assets or relying on an emoji font. */
|
| 234 |
+
.phone-region-badge[data-region-code="US"] {
|
| 235 |
+
color: transparent;
|
| 236 |
+
background: repeating-linear-gradient(to bottom, #b22234 0 2px, #fff 2px 4px);
|
| 237 |
+
}
|
| 238 |
+
.phone-region-badge[data-region-code="US"]::after {
|
| 239 |
+
position: absolute; top: 0; left: 0; width: 14px; height: 11px; background: #3c3b6e; content: "";
|
| 240 |
+
}
|
| 241 |
+
.phone-region-badge[data-region-code="GB"] {
|
| 242 |
+
color: transparent;
|
| 243 |
+
background: linear-gradient(90deg, transparent 42%, #cf142b 42% 58%, transparent 58%), linear-gradient(transparent 37%, #fff 37% 63%, transparent 63%), linear-gradient(transparent 43%, #cf142b 43% 57%, transparent 57%), #21468b;
|
| 244 |
+
}
|
| 245 |
+
.phone-region-badge[data-region-code="FR"] { color: transparent; background: linear-gradient(90deg, #0055a4 0 33.33%, #fff 33.33% 66.66%, #ef4135 66.66%); }
|
| 246 |
+
.phone-region-badge[data-region-code="CN"] { color: transparent; background: radial-gradient(circle at 26% 30%, #ffde00 0 3px, transparent 3.5px), #de2910; }
|
| 247 |
+
.phone-region-badge[data-region-code="JP"] { color: transparent; background: radial-gradient(circle, #bc002d 0 6px, transparent 6.5px), #fff; }
|
| 248 |
+
.phone-region-badge[data-region-code="DE"] { color: transparent; background: linear-gradient(#000 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66%); }
|
| 249 |
+
.phone-region-badge[data-region-code="IN"] { color: transparent; background: radial-gradient(circle, #1a5dab 0 2px, transparent 2.5px), linear-gradient(#ff9933 0 33.33%, #fff 33.33% 66.66%, #138808 66.66%); }
|
| 250 |
+
.phone-region-badge[data-region-code="BR"] { color: transparent; background: radial-gradient(circle, #002776 0 4px, transparent 4.5px), linear-gradient(32deg, transparent 27%, #ffdf00 28% 72%, transparent 73%), #009c3b; }
|
| 251 |
+
.phone-region-badge[data-region-code="CA"] { color: transparent; background: linear-gradient(90deg, #d80621 0 25%, #fff 25% 75%, #d80621 75%); }
|
| 252 |
+
.phone-region-badge[data-region-code="CA"]::after { position: absolute; top: 7px; left: 13px; width: 6px; height: 8px; border-radius: 50% 15%; background: #d80621; content: ""; }
|
| 253 |
+
.phone-region-badge[data-region-code="AU"] { color: transparent; background: radial-gradient(circle at 72% 33%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 79% 72%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 58% 64%, #fff 0 1px, transparent 1.5px), #012169; }
|
| 254 |
+
.auth-source-card .auth-phone-row input[type="tel"] {
|
| 255 |
+
min-width: 0;
|
| 256 |
+
height: 46px;
|
| 257 |
+
flex: 1;
|
| 258 |
+
border: 0;
|
| 259 |
+
margin: 0;
|
| 260 |
+
padding: 0 4px;
|
| 261 |
+
background: transparent;
|
| 262 |
+
font: inherit;
|
| 263 |
+
outline: 0;
|
| 264 |
+
}
|
| 265 |
+
|
| 266 |
+
.auth-password-row { display: flex; align-items: center; overflow: hidden; padding-left: 24px; }
|
| 267 |
+
.auth-source-card .auth-password-row input {
|
| 268 |
+
min-width: 0;
|
| 269 |
+
height: 46px;
|
| 270 |
+
flex: 1;
|
| 271 |
+
border: 0;
|
| 272 |
+
margin: 0;
|
| 273 |
+
padding: 0;
|
| 274 |
+
background: transparent;
|
| 275 |
+
font: inherit;
|
| 276 |
+
outline: 0;
|
| 277 |
+
}
|
| 278 |
+
.auth-password-toggle {
|
| 279 |
+
position: relative;
|
| 280 |
+
width: 54px;
|
| 281 |
+
height: 46px;
|
| 282 |
+
border: 0;
|
| 283 |
+
background: transparent;
|
| 284 |
+
color: #65676e;
|
| 285 |
+
cursor: pointer;
|
| 286 |
+
}
|
| 287 |
+
.auth-password-toggle span {
|
| 288 |
+
position: absolute;
|
| 289 |
+
top: 15px;
|
| 290 |
+
left: 17px;
|
| 291 |
+
width: 20px;
|
| 292 |
+
height: 14px;
|
| 293 |
+
border: 2px solid currentColor;
|
| 294 |
+
border-radius: 50% / 60%;
|
| 295 |
+
}
|
| 296 |
+
.auth-password-toggle span::after {
|
| 297 |
+
position: absolute;
|
| 298 |
+
top: 3px;
|
| 299 |
+
left: 6px;
|
| 300 |
+
width: 4px;
|
| 301 |
+
height: 4px;
|
| 302 |
+
border: 1.5px solid currentColor;
|
| 303 |
+
border-radius: 50%;
|
| 304 |
+
content: "";
|
| 305 |
+
}
|
| 306 |
+
|
| 307 |
+
.auth-source-card .auth-form label.auth-terms {
|
| 308 |
+
display: grid;
|
| 309 |
+
grid-template-columns: 24px 1fr;
|
| 310 |
+
gap: 12px;
|
| 311 |
+
margin: 0 0 26px;
|
| 312 |
+
color: #1e212a;
|
| 313 |
+
font-size: 14px;
|
| 314 |
+
font-weight: 400;
|
| 315 |
+
line-height: 1.6;
|
| 316 |
+
}
|
| 317 |
+
.auth-source-card .auth-form label.auth-terms input[type="checkbox"] {
|
| 318 |
+
width: 24px;
|
| 319 |
+
height: 24px;
|
| 320 |
+
margin: 2px 0 0;
|
| 321 |
+
accent-color: #0d7a5f;
|
| 322 |
+
}
|
| 323 |
+
|
| 324 |
+
.auth-source-card .auth-submit {
|
| 325 |
+
width: 100%;
|
| 326 |
+
min-height: 42px;
|
| 327 |
+
border: 1px solid #0d7a5f;
|
| 328 |
+
border-radius: 999px;
|
| 329 |
+
}
|
| 330 |
+
.auth-source-card .auth-submit:disabled { border-color: #bfc2c1; background: #dadcdb; color: #8a8d8c; }
|
| 331 |
+
.auth-source-card .auth-submit[data-ready="false"] {
|
| 332 |
+
border-color: #bfc2c1;
|
| 333 |
+
background: #dadcdb;
|
| 334 |
+
color: #8a8d8c;
|
| 335 |
+
}
|
| 336 |
+
.auth-login-instead {
|
| 337 |
+
display: grid;
|
| 338 |
+
width: 100%;
|
| 339 |
+
min-height: 42px;
|
| 340 |
+
margin-top: 16px;
|
| 341 |
+
place-items: center;
|
| 342 |
+
border: 1px solid #c9cace;
|
| 343 |
+
border-radius: 999px;
|
| 344 |
+
color: #1e212a;
|
| 345 |
+
font-weight: 600;
|
| 346 |
+
text-decoration: none;
|
| 347 |
+
}
|
| 348 |
+
.auth-login-instead:hover,
|
| 349 |
+
.auth-login-instead:focus-visible { border-color: #0d7a5f; color: #075f49; outline: none; }
|
| 350 |
+
|
| 351 |
+
.auth-source-help {
|
| 352 |
+
display: flex;
|
| 353 |
+
width: auto;
|
| 354 |
+
height: 54px;
|
| 355 |
+
align-items: center;
|
| 356 |
+
gap: 10px;
|
| 357 |
+
border-radius: 999px;
|
| 358 |
+
padding: 0 20px;
|
| 359 |
+
font-size: 16px;
|
| 360 |
+
font-weight: 650;
|
| 361 |
+
}
|
| 362 |
+
.auth-source-help > span:first-child {
|
| 363 |
+
display: grid;
|
| 364 |
+
width: 18px;
|
| 365 |
+
height: 18px;
|
| 366 |
+
place-items: center;
|
| 367 |
+
border: 1.5px solid #fff;
|
| 368 |
+
border-radius: 50%;
|
| 369 |
+
font-size: 12px;
|
| 370 |
+
}
|
| 371 |
+
|
| 372 |
+
.login-shell {
|
| 373 |
+
width: min(540px, calc(100% - 32px));
|
| 374 |
+
margin: 44px auto 72px;
|
| 375 |
+
border: 1px solid #dce0de;
|
| 376 |
+
border-radius: 12px;
|
| 377 |
+
padding: 36px 40px 40px;
|
| 378 |
+
background: #fff;
|
| 379 |
+
box-shadow: 0 7px 24px rgba(20, 31, 27, .08);
|
| 380 |
+
}
|
| 381 |
+
|
| 382 |
+
.login-shell .auth-heading,
|
| 383 |
+
.verify-page-heading h1 {
|
| 384 |
+
margin: 0;
|
| 385 |
+
color: #0a2b14;
|
| 386 |
+
font-size: 30px;
|
| 387 |
+
line-height: 1.25;
|
| 388 |
+
}
|
| 389 |
+
|
| 390 |
+
.login-shell .auth-form { max-width: none; }
|
| 391 |
+
.login-shell .auth-submit { width: 100%; min-height: 48px; }
|
| 392 |
+
|
| 393 |
+
.auth-verification {
|
| 394 |
+
display: grid;
|
| 395 |
+
gap: 14px;
|
| 396 |
+
margin: 0 0 24px;
|
| 397 |
+
border: 1px solid #cfd6d2;
|
| 398 |
+
border-radius: 10px;
|
| 399 |
+
padding: 18px;
|
| 400 |
+
background: #fafcfb;
|
| 401 |
+
}
|
| 402 |
+
|
| 403 |
+
.auth-verification-heading,
|
| 404 |
+
.verify-page-heading {
|
| 405 |
+
display: flex;
|
| 406 |
+
align-items: flex-start;
|
| 407 |
+
gap: 13px;
|
| 408 |
+
}
|
| 409 |
+
|
| 410 |
+
.auth-verification-heading h2 {
|
| 411 |
+
margin: 0 0 3px;
|
| 412 |
+
color: #0a2b14;
|
| 413 |
+
font-size: 17px;
|
| 414 |
+
line-height: 1.35;
|
| 415 |
+
}
|
| 416 |
+
|
| 417 |
+
.auth-verification-heading p,
|
| 418 |
+
.verify-page-heading p,
|
| 419 |
+
.auth-code-help {
|
| 420 |
+
margin: 0;
|
| 421 |
+
color: #626a66;
|
| 422 |
+
font-size: 13px;
|
| 423 |
+
font-weight: 400;
|
| 424 |
+
}
|
| 425 |
+
|
| 426 |
+
.auth-verification-icon {
|
| 427 |
+
position: relative;
|
| 428 |
+
display: block;
|
| 429 |
+
width: 38px;
|
| 430 |
+
height: 30px;
|
| 431 |
+
flex: 0 0 38px;
|
| 432 |
+
border: 2px solid #0d7a5f;
|
| 433 |
+
border-radius: 4px;
|
| 434 |
+
background: #edf7f0;
|
| 435 |
+
}
|
| 436 |
+
|
| 437 |
+
.auth-verification-icon::before,
|
| 438 |
+
.auth-verification-icon::after {
|
| 439 |
+
position: absolute;
|
| 440 |
+
top: 5px;
|
| 441 |
+
width: 21px;
|
| 442 |
+
height: 2px;
|
| 443 |
+
background: #0d7a5f;
|
| 444 |
+
content: "";
|
| 445 |
+
}
|
| 446 |
+
.auth-verification-icon::before { left: 1px; transform: rotate(35deg); }
|
| 447 |
+
.auth-verification-icon::after { right: 1px; transform: rotate(-35deg); }
|
| 448 |
+
|
| 449 |
+
.auth-code-action {
|
| 450 |
+
min-height: 46px;
|
| 451 |
+
border: 1px solid #0d7a5f;
|
| 452 |
+
border-radius: 999px;
|
| 453 |
+
padding: 10px 18px;
|
| 454 |
+
font: inherit;
|
| 455 |
+
font-weight: 700;
|
| 456 |
+
cursor: pointer;
|
| 457 |
+
transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
|
| 458 |
+
}
|
| 459 |
+
|
| 460 |
+
.auth-code-send {
|
| 461 |
+
display: flex;
|
| 462 |
+
width: 100%;
|
| 463 |
+
align-items: center;
|
| 464 |
+
justify-content: center;
|
| 465 |
+
gap: 9px;
|
| 466 |
+
background: #fff;
|
| 467 |
+
color: #075f49;
|
| 468 |
+
}
|
| 469 |
+
|
| 470 |
+
.auth-code-send:hover,
|
| 471 |
+
.auth-code-send:focus-visible {
|
| 472 |
+
background: #edf7f0;
|
| 473 |
+
box-shadow: 0 0 0 3px rgba(13, 122, 95, .14);
|
| 474 |
+
outline: none;
|
| 475 |
+
}
|
| 476 |
+
|
| 477 |
+
.auth-action-arrow { font-size: 22px; font-weight: 400; line-height: 14px; }
|
| 478 |
+
|
| 479 |
+
.auth-code-panel {
|
| 480 |
+
display: grid;
|
| 481 |
+
gap: 7px;
|
| 482 |
+
border-top: 1px solid #dce0de;
|
| 483 |
+
padding-top: 15px;
|
| 484 |
+
}
|
| 485 |
+
.auth-code-panel[hidden] { display: none !important; }
|
| 486 |
+
.auth-code-panel > label { font-size: 14px; }
|
| 487 |
+
.auth-code-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
|
| 488 |
+
|
| 489 |
+
.auth-form .auth-code-row input,
|
| 490 |
+
.auth-form .server-verification-code {
|
| 491 |
+
min-height: 48px;
|
| 492 |
+
border-color: #8a918e;
|
| 493 |
+
padding: 8px 14px;
|
| 494 |
+
font-size: 20px;
|
| 495 |
+
font-weight: 650;
|
| 496 |
+
letter-spacing: .28em;
|
| 497 |
+
text-align: center;
|
| 498 |
+
}
|
| 499 |
+
|
| 500 |
+
.auth-form .auth-code-row input::placeholder,
|
| 501 |
+
.auth-form .server-verification-code::placeholder { color: #a4aaa7; opacity: .75; }
|
| 502 |
+
|
| 503 |
+
.auth-code-verify {
|
| 504 |
+
min-width: 128px;
|
| 505 |
+
border: 0;
|
| 506 |
+
background: #0d7a5f;
|
| 507 |
+
color: #fff;
|
| 508 |
+
}
|
| 509 |
+
.auth-code-verify:hover,
|
| 510 |
+
.auth-code-verify:focus-visible { background: #075f49; box-shadow: 0 0 0 3px rgba(13, 122, 95, .16); outline: none; }
|
| 511 |
+
.auth-code-action:disabled { cursor: wait; opacity: .62; }
|
| 512 |
+
|
| 513 |
+
.auth-verification-status {
|
| 514 |
+
margin: 0;
|
| 515 |
+
border-radius: 7px;
|
| 516 |
+
padding: 10px 12px;
|
| 517 |
+
background: #f2f4f3;
|
| 518 |
+
color: #515956;
|
| 519 |
+
font-size: 13px;
|
| 520 |
+
font-weight: 550;
|
| 521 |
+
}
|
| 522 |
+
.auth-verification-status:empty { display: none; }
|
| 523 |
+
.auth-verification-status[data-state="success"] { background: #e4f4eb; color: #075f49; }
|
| 524 |
+
.auth-verification-status[data-state="error"] { background: #fff0ec; color: #9d3518; }
|
| 525 |
+
|
| 526 |
+
.verify-page { margin-top: 0; }
|
| 527 |
+
.verify-page-heading { padding-bottom: 22px; border-bottom: 1px solid #e2e5e3; }
|
| 528 |
+
.verify-page-heading .auth-verification-icon { margin-top: 4px; }
|
| 529 |
+
.verify-code-form { gap: 16px; margin-bottom: 16px; }
|
| 530 |
+
.verify-submit { width: 100%; min-height: 48px; }
|
| 531 |
+
.verify-message-link { margin: 4px 0 0; text-align: center; }
|
| 532 |
+
|
| 533 |
+
@media (max-width: 560px) {
|
| 534 |
+
.auth-source-page { background: #fff; }
|
| 535 |
+
.auth-source-shell {
|
| 536 |
+
display: block;
|
| 537 |
+
min-height: 100vh;
|
| 538 |
+
padding: 30px 24px 80px;
|
| 539 |
+
}
|
| 540 |
+
.auth-source-card { width: 100%; border-radius: 0; padding: 0; }
|
| 541 |
+
.auth-source-logo { margin-bottom: 24px; }
|
| 542 |
+
.auth-source-logo svg { width: 248px; }
|
| 543 |
+
.auth-source-card .auth-heading,
|
| 544 |
+
.verify-page-heading h1 { margin-bottom: 34px; font-size: 28px; }
|
| 545 |
+
.auth-source-card .auth-form > input:not([type="hidden"]),
|
| 546 |
+
.auth-source-card .auth-password-row,
|
| 547 |
+
.auth-source-card .auth-phone-row { margin-bottom: 24px; }
|
| 548 |
+
.auth-source-help { right: auto; bottom: 16px; left: 16px; }
|
| 549 |
+
.login-shell { margin-top: 24px; padding: 28px 20px 32px; }
|
| 550 |
+
.auth-verification { padding: 16px; }
|
| 551 |
+
.auth-code-row { grid-template-columns: 1fr; }
|
| 552 |
+
.auth-code-verify { width: 100%; }
|
| 553 |
+
.phone-region-picker { width: 190px; flex-basis: 190px; }
|
| 554 |
+
.phone-region-popover { left: -24px; }
|
| 555 |
+
}
|
tasks/taskrabbit/solution/site/implementation/clone/static/category-assets/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Category raster provenance
|
| 2 |
+
|
| 3 |
+
These 41 WebP files are the browser-negotiated bytes for the exact frozen
|
| 4 |
+
Cloudinary transform URLs already represented in `source-assets/manifest.json`.
|
| 5 |
+
They are not newly selected imagery and do not change the logical asset census:
|
| 6 |
+
17 files belong to `/services`, and 24 belong to the two moving aliases.
|
| 7 |
+
|
| 8 |
+
The bytes were fetched three independent times with Chromium's image
|
| 9 |
+
`Accept` value:
|
| 10 |
+
|
| 11 |
+
`image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8`
|
| 12 |
+
|
| 13 |
+
Every per-file SHA-256 was identical across all three downloads. The three
|
| 14 |
+
frozen source network logs independently bind every one of the 41 exact URLs
|
| 15 |
+
to `content_type: image/webp`; the corresponding three DOM snapshots bind the
|
| 16 |
+
same public IDs and transforms to the page image candidates. The contract test
|
| 17 |
+
in `clone/tests/test_category_visual_assets.py` locks those six evidence sets,
|
| 18 |
+
the local WebP signatures, dimensions, hashes, rendered `src` bindings, and
|
| 19 |
+
runtime response MIME types.
|
| 20 |
+
|
| 21 |
+
The authoritative manifest may retain the earlier direct-capture bytes or
|
| 22 |
+
migrate its existing same-`source_url` rows to these negotiated WebP bytes.
|
| 23 |
+
The contract deliberately permits that in-place migration while rejecting a
|
| 24 |
+
URL, transform, dimension, or WebP-byte mismatch.
|
tasks/taskrabbit/solution/site/implementation/clone/static/category-fidelity.css
ADDED
|
@@ -0,0 +1,1102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* Taskrabbit category surfaces, reconstructed from the three independent
|
| 3 |
+
* 2026-07-29-v3 source captures. This stylesheet is loaded only by the
|
| 4 |
+
* services and moving templates so the shared shell remains independently
|
| 5 |
+
* owned.
|
| 6 |
+
*/
|
| 7 |
+
|
| 8 |
+
body:has(.source-category-page) {
|
| 9 |
+
color: #1a1e1d;
|
| 10 |
+
background: #fff;
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
body:has(.source-category-page) .site-header {
|
| 14 |
+
height: 70px;
|
| 15 |
+
border: 0;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
body:has(.source-category-page) .header-inner {
|
| 19 |
+
width: min(1136px, calc(100% - 48px));
|
| 20 |
+
height: 70px;
|
| 21 |
+
padding: 0;
|
| 22 |
+
flex-wrap: nowrap;
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
body:has(.source-category-page) .main-nav {
|
| 26 |
+
height: 43px;
|
| 27 |
+
gap: 32px;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
body:has(.source-category-page) .main-nav > a {
|
| 31 |
+
display: flex;
|
| 32 |
+
height: 36px;
|
| 33 |
+
align-items: center;
|
| 34 |
+
font-size: 16px;
|
| 35 |
+
font-weight: 600;
|
| 36 |
+
line-height: normal;
|
| 37 |
+
letter-spacing: -.12px;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
body:has(.source-category-page) .main-nav .account-button {
|
| 41 |
+
padding: 0;
|
| 42 |
+
border: 0;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
body:has(.source-category-page) .main-nav .become-tasker {
|
| 46 |
+
display: flex;
|
| 47 |
+
width: 180px;
|
| 48 |
+
height: 43px;
|
| 49 |
+
align-items: center;
|
| 50 |
+
justify-content: center;
|
| 51 |
+
padding: 0;
|
| 52 |
+
border: 1px solid #0d7a5f;
|
| 53 |
+
border-radius: 1000px;
|
| 54 |
+
color: #0d7a5f;
|
| 55 |
+
font-size: 16px;
|
| 56 |
+
font-weight: 600;
|
| 57 |
+
line-height: normal;
|
| 58 |
+
letter-spacing: -.12px;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.source-category-page {
|
| 62 |
+
background: #fbfdfc;
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
.source-category-page .services-hero,
|
| 66 |
+
.source-category-page .moving-hero,
|
| 67 |
+
.source-category-page .services-hero img,
|
| 68 |
+
.source-category-page .moving-hero img {
|
| 69 |
+
height: 420px;
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
.source-category-page .services-hero::after,
|
| 73 |
+
.source-category-page .moving-hero::after {
|
| 74 |
+
background: rgba(0, 0, 0, .25);
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
.source-category-page .services-hero-copy h1,
|
| 78 |
+
.source-category-page .moving-hero-copy h1 {
|
| 79 |
+
font-size: 34px;
|
| 80 |
+
font-weight: 800;
|
| 81 |
+
line-height: 47.6px;
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
+
.source-category-page .services-hero-copy h1 {
|
| 85 |
+
padding-bottom: 24px;
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
.services-source-page .category-grid-section {
|
| 89 |
+
display: flex;
|
| 90 |
+
max-width: 1200px;
|
| 91 |
+
flex-direction: column;
|
| 92 |
+
align-items: center;
|
| 93 |
+
padding: 24px 24px 0;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
.services-source-page .services-subtitle {
|
| 97 |
+
margin: 0 0 8px;
|
| 98 |
+
color: #1a1e1d;
|
| 99 |
+
font-size: 30px;
|
| 100 |
+
font-weight: 700;
|
| 101 |
+
line-height: 42px;
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
.services-source-page .category-grid {
|
| 105 |
+
display: flex;
|
| 106 |
+
width: 100%;
|
| 107 |
+
flex-flow: row wrap;
|
| 108 |
+
align-items: stretch;
|
| 109 |
+
justify-content: space-between;
|
| 110 |
+
gap: 0;
|
| 111 |
+
margin: 16px 0;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.services-source-page .category-card {
|
| 115 |
+
width: 31%;
|
| 116 |
+
min-height: 0 !important;
|
| 117 |
+
padding-bottom: 14.7px;
|
| 118 |
+
color: #1a1e1d;
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
.services-source-page .category-card h3,
|
| 122 |
+
.services-source-page .category-card h3 a {
|
| 123 |
+
color: #0d7a5f;
|
| 124 |
+
font-size: 16px;
|
| 125 |
+
font-weight: 600;
|
| 126 |
+
line-height: 25.6px;
|
| 127 |
+
letter-spacing: -.12px;
|
| 128 |
+
text-decoration: none;
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
.services-source-page .category-card h3 a {
|
| 132 |
+
color: #0d7a5f;
|
| 133 |
+
line-height: 25.6px;
|
| 134 |
+
}
|
| 135 |
+
|
| 136 |
+
.services-source-page .category-card p {
|
| 137 |
+
position: relative;
|
| 138 |
+
min-height: 0;
|
| 139 |
+
margin-bottom: 18.4px;
|
| 140 |
+
padding-bottom: 0;
|
| 141 |
+
border-bottom: 0;
|
| 142 |
+
color: #1a1e1d;
|
| 143 |
+
font-size: 16px;
|
| 144 |
+
font-weight: 600;
|
| 145 |
+
line-height: 25.6px;
|
| 146 |
+
letter-spacing: -.12px;
|
| 147 |
+
}
|
| 148 |
+
|
| 149 |
+
.services-source-page .category-card p::after {
|
| 150 |
+
position: absolute;
|
| 151 |
+
right: 1px;
|
| 152 |
+
bottom: -11px;
|
| 153 |
+
left: 0;
|
| 154 |
+
height: 2px;
|
| 155 |
+
background: linear-gradient(to bottom, #9a9a9a 0 1px, #eee 1px 2px);
|
| 156 |
+
content: "";
|
| 157 |
+
}
|
| 158 |
+
|
| 159 |
+
.services-source-page .category-card ul {
|
| 160 |
+
margin: 0 20px;
|
| 161 |
+
padding: 8px 0;
|
| 162 |
+
color: #0d7a5f;
|
| 163 |
+
font-size: 16px;
|
| 164 |
+
font-weight: 600;
|
| 165 |
+
line-height: 25.6px;
|
| 166 |
+
letter-spacing: -.12px;
|
| 167 |
+
}
|
| 168 |
+
|
| 169 |
+
.services-source-page .category-card li {
|
| 170 |
+
display: flex;
|
| 171 |
+
min-height: 31.2px;
|
| 172 |
+
align-items: center;
|
| 173 |
+
padding: 2.4px 0;
|
| 174 |
+
}
|
| 175 |
+
|
| 176 |
+
.services-source-page .category-card li,
|
| 177 |
+
.services-source-page .category-card li span {
|
| 178 |
+
color: #0d7a5f;
|
| 179 |
+
}
|
| 180 |
+
|
| 181 |
+
.moving-source-page .moving-hero img {
|
| 182 |
+
object-position: center;
|
| 183 |
+
}
|
| 184 |
+
|
| 185 |
+
.moving-source-page .moving-hero-copy p {
|
| 186 |
+
max-width: 900px;
|
| 187 |
+
margin: 0;
|
| 188 |
+
padding-bottom: 24px;
|
| 189 |
+
color: #fff;
|
| 190 |
+
font-size: 18px;
|
| 191 |
+
line-height: 24.66px;
|
| 192 |
+
letter-spacing: -.09px;
|
| 193 |
+
}
|
| 194 |
+
|
| 195 |
+
.moving-source-page .moving-hero-copy h1 {
|
| 196 |
+
margin-bottom: 0;
|
| 197 |
+
padding-bottom: 24px;
|
| 198 |
+
}
|
| 199 |
+
|
| 200 |
+
.moving-source-page .breadcrumb {
|
| 201 |
+
display: flex;
|
| 202 |
+
width: min(1152px, calc(100% - 40px));
|
| 203 |
+
max-width: 1152px;
|
| 204 |
+
height: 59px;
|
| 205 |
+
padding: 32px 0 0;
|
| 206 |
+
color: #0d7a5f;
|
| 207 |
+
font-size: 18px;
|
| 208 |
+
font-weight: 600;
|
| 209 |
+
line-height: 25.6px;
|
| 210 |
+
letter-spacing: -.09px;
|
| 211 |
+
}
|
| 212 |
+
|
| 213 |
+
.moving-source-page .breadcrumb > span[aria-hidden="true"] {
|
| 214 |
+
margin-right: 7px;
|
| 215 |
+
margin-left: 8px;
|
| 216 |
+
}
|
| 217 |
+
|
| 218 |
+
.moving-source-page .breadcrumb > a:nth-of-type(2) {
|
| 219 |
+
margin-right: -1px;
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
.moving-source-page .moving-main-layout {
|
| 223 |
+
width: min(1152px, calc(100% - 40px));
|
| 224 |
+
max-width: 1152px;
|
| 225 |
+
grid-template-columns: minmax(0, 816px) minmax(0, 288px);
|
| 226 |
+
gap: 48px;
|
| 227 |
+
padding: 0 0 32px;
|
| 228 |
+
}
|
| 229 |
+
|
| 230 |
+
.moving-source-page .moving-services {
|
| 231 |
+
gap: 32px;
|
| 232 |
+
}
|
| 233 |
+
|
| 234 |
+
.moving-source-page .service-row {
|
| 235 |
+
width: 100%;
|
| 236 |
+
height: auto;
|
| 237 |
+
min-height: 223px;
|
| 238 |
+
grid-template-columns: 175px minmax(0, 1fr);
|
| 239 |
+
gap: 32px;
|
| 240 |
+
padding: 24px 16px;
|
| 241 |
+
border: 0;
|
| 242 |
+
border-radius: 16px;
|
| 243 |
+
background: #fff;
|
| 244 |
+
box-shadow: 0 1px 8px rgba(0, 0, 0, .15);
|
| 245 |
+
}
|
| 246 |
+
|
| 247 |
+
.moving-source-page .service-row img {
|
| 248 |
+
width: 175px;
|
| 249 |
+
height: 175px;
|
| 250 |
+
border-radius: 50%;
|
| 251 |
+
}
|
| 252 |
+
|
| 253 |
+
.moving-source-page .service-row h2 {
|
| 254 |
+
margin: 0 0 8px;
|
| 255 |
+
color: #1a1e1d;
|
| 256 |
+
font-size: 20px;
|
| 257 |
+
font-weight: 600;
|
| 258 |
+
line-height: 26.4px;
|
| 259 |
+
letter-spacing: -.3px;
|
| 260 |
+
}
|
| 261 |
+
|
| 262 |
+
.moving-source-page .service-row p {
|
| 263 |
+
margin: 0 0 24px;
|
| 264 |
+
color: #1a1e1d;
|
| 265 |
+
font-size: 16px;
|
| 266 |
+
line-height: 25.6px;
|
| 267 |
+
letter-spacing: -.08px;
|
| 268 |
+
}
|
| 269 |
+
|
| 270 |
+
.moving-source-page .service-row .btn-primary,
|
| 271 |
+
.moving-source-page .service-row .btn-secondary {
|
| 272 |
+
display: inline-flex;
|
| 273 |
+
width: 127px;
|
| 274 |
+
height: 43px;
|
| 275 |
+
align-items: center;
|
| 276 |
+
justify-content: center;
|
| 277 |
+
padding: 0;
|
| 278 |
+
border: 1px solid #0d7a5f;
|
| 279 |
+
border-radius: 1000px;
|
| 280 |
+
background: #0d7a5f;
|
| 281 |
+
color: #fff;
|
| 282 |
+
font-size: 16px;
|
| 283 |
+
font-weight: 600;
|
| 284 |
+
line-height: normal;
|
| 285 |
+
letter-spacing: -.12px;
|
| 286 |
+
}
|
| 287 |
+
|
| 288 |
+
.moving-source-page .moving-sidebar {
|
| 289 |
+
position: static;
|
| 290 |
+
gap: 32px;
|
| 291 |
+
}
|
| 292 |
+
|
| 293 |
+
.moving-source-page .moving-sidebar-card {
|
| 294 |
+
padding: 0;
|
| 295 |
+
}
|
| 296 |
+
|
| 297 |
+
.moving-source-page .moving-sidebar-card h2 {
|
| 298 |
+
margin: 0 0 16px;
|
| 299 |
+
color: #1a1e1d;
|
| 300 |
+
font-size: 18px;
|
| 301 |
+
line-height: 23.76px;
|
| 302 |
+
letter-spacing: -.09px;
|
| 303 |
+
}
|
| 304 |
+
|
| 305 |
+
.moving-source-page .moving-sidebar .three-step {
|
| 306 |
+
gap: 0;
|
| 307 |
+
margin: 0;
|
| 308 |
+
padding: 0;
|
| 309 |
+
}
|
| 310 |
+
|
| 311 |
+
.moving-source-page .moving-sidebar .three-step li {
|
| 312 |
+
grid-template-columns: 41px 1fr;
|
| 313 |
+
column-gap: 0;
|
| 314 |
+
padding: 8px 16px;
|
| 315 |
+
}
|
| 316 |
+
|
| 317 |
+
.moving-source-page .moving-sidebar .step-number {
|
| 318 |
+
width: 25px;
|
| 319 |
+
height: 25px;
|
| 320 |
+
background: #1a1e1d;
|
| 321 |
+
font-size: 16px;
|
| 322 |
+
font-weight: 400;
|
| 323 |
+
line-height: 24px;
|
| 324 |
+
}
|
| 325 |
+
|
| 326 |
+
.moving-source-page .moving-sidebar .three-step li:first-child .step-number,
|
| 327 |
+
.moving-source-page .moving-sidebar .three-step li:first-child h3,
|
| 328 |
+
.moving-source-page .moving-sidebar .three-step li:nth-child(2) p {
|
| 329 |
+
transform: translateY(-1px);
|
| 330 |
+
}
|
| 331 |
+
|
| 332 |
+
.moving-source-page .moving-sidebar .three-step h3 {
|
| 333 |
+
margin: 0 0 8px;
|
| 334 |
+
color: #1a1e1d;
|
| 335 |
+
font-size: 16px;
|
| 336 |
+
font-weight: 800;
|
| 337 |
+
line-height: 22.4px;
|
| 338 |
+
}
|
| 339 |
+
|
| 340 |
+
.moving-source-page .moving-sidebar .three-step p {
|
| 341 |
+
margin: 0;
|
| 342 |
+
color: #1a1e1d;
|
| 343 |
+
font-size: 18px;
|
| 344 |
+
line-height: 24.66px;
|
| 345 |
+
letter-spacing: -.09px;
|
| 346 |
+
}
|
| 347 |
+
|
| 348 |
+
.moving-source-page .moving-sidebar .reviews-grid {
|
| 349 |
+
gap: 24px;
|
| 350 |
+
}
|
| 351 |
+
|
| 352 |
+
.moving-source-page .moving-sidebar .reviews-grid blockquote {
|
| 353 |
+
display: grid;
|
| 354 |
+
min-height: 0;
|
| 355 |
+
grid-template-columns: 50px minmax(0, 1fr);
|
| 356 |
+
column-gap: 20px;
|
| 357 |
+
padding: 0;
|
| 358 |
+
color: #1a1e1d;
|
| 359 |
+
font-size: 16px;
|
| 360 |
+
line-height: 25.6px;
|
| 361 |
+
}
|
| 362 |
+
|
| 363 |
+
.moving-source-page .moving-sidebar .reviews-grid img {
|
| 364 |
+
grid-row: 1 / span 2;
|
| 365 |
+
grid-column: 1;
|
| 366 |
+
width: 50px;
|
| 367 |
+
height: 50px;
|
| 368 |
+
margin-right: 0;
|
| 369 |
+
}
|
| 370 |
+
|
| 371 |
+
.moving-source-page .moving-sidebar .reviews-grid p {
|
| 372 |
+
grid-column: 2;
|
| 373 |
+
margin: 0 0 8px;
|
| 374 |
+
letter-spacing: -.08px;
|
| 375 |
+
}
|
| 376 |
+
|
| 377 |
+
.moving-source-page .moving-sidebar .reviews-grid cite {
|
| 378 |
+
grid-column: 2;
|
| 379 |
+
color: #1a1e1d;
|
| 380 |
+
font-weight: 600;
|
| 381 |
+
letter-spacing: -.12px;
|
| 382 |
+
}
|
| 383 |
+
|
| 384 |
+
.moving-source-page .faq-band {
|
| 385 |
+
max-width: none;
|
| 386 |
+
padding: 80px max(20px, calc((100% - 1136px) / 2));
|
| 387 |
+
background: #fff;
|
| 388 |
+
}
|
| 389 |
+
|
| 390 |
+
.moving-source-page .faq-band h2 {
|
| 391 |
+
margin: 0 0 48px;
|
| 392 |
+
color: #2b4c32;
|
| 393 |
+
font-size: 30px;
|
| 394 |
+
line-height: 42px;
|
| 395 |
+
}
|
| 396 |
+
|
| 397 |
+
.moving-source-page .faq-list li {
|
| 398 |
+
border: 0;
|
| 399 |
+
}
|
| 400 |
+
|
| 401 |
+
.moving-source-page .faq-list {
|
| 402 |
+
display: grid;
|
| 403 |
+
height: 328px;
|
| 404 |
+
grid-template-rows: repeat(5, 1fr);
|
| 405 |
+
}
|
| 406 |
+
|
| 407 |
+
.moving-source-page .faq-list details {
|
| 408 |
+
height: 100%;
|
| 409 |
+
}
|
| 410 |
+
|
| 411 |
+
.moving-source-page .faq-list details summary {
|
| 412 |
+
display: flex;
|
| 413 |
+
box-sizing: border-box;
|
| 414 |
+
height: 100%;
|
| 415 |
+
min-height: 48px;
|
| 416 |
+
align-items: center;
|
| 417 |
+
padding: 8px 16px;
|
| 418 |
+
border-top: 1px solid #dadcdb;
|
| 419 |
+
cursor: pointer;
|
| 420 |
+
list-style: none;
|
| 421 |
+
}
|
| 422 |
+
|
| 423 |
+
.moving-source-page .faq-list details summary::-webkit-details-marker {
|
| 424 |
+
display: none;
|
| 425 |
+
}
|
| 426 |
+
|
| 427 |
+
.moving-source-page .faq-list .faq-chevron {
|
| 428 |
+
width: 16px;
|
| 429 |
+
height: 16px;
|
| 430 |
+
flex: none;
|
| 431 |
+
color: rgba(0, 0, 0, .54);
|
| 432 |
+
fill: currentColor;
|
| 433 |
+
}
|
| 434 |
+
|
| 435 |
+
.moving-source-page .faq-list details[open] .faq-chevron {
|
| 436 |
+
transform: rotate(180deg);
|
| 437 |
+
}
|
| 438 |
+
|
| 439 |
+
.moving-source-page .faq-list h3 {
|
| 440 |
+
height: auto;
|
| 441 |
+
flex: 1;
|
| 442 |
+
margin: 12px 6px 12px 0;
|
| 443 |
+
padding: 0;
|
| 444 |
+
color: #0a2b14;
|
| 445 |
+
font-size: 18px;
|
| 446 |
+
font-weight: 400;
|
| 447 |
+
line-height: 24.66px;
|
| 448 |
+
letter-spacing: -.09px;
|
| 449 |
+
}
|
| 450 |
+
|
| 451 |
+
.moving-source-page .faq-list details > p {
|
| 452 |
+
margin: 0;
|
| 453 |
+
padding: 0 16px 17px;
|
| 454 |
+
}
|
| 455 |
+
|
| 456 |
+
.moving-source-page .moving-affordable-band {
|
| 457 |
+
padding: 40px 0;
|
| 458 |
+
background: #fbfdfc;
|
| 459 |
+
}
|
| 460 |
+
|
| 461 |
+
.moving-source-page .moving-banner {
|
| 462 |
+
display: block;
|
| 463 |
+
width: min(1200px, 100%);
|
| 464 |
+
max-width: 1200px;
|
| 465 |
+
padding: 0 24px;
|
| 466 |
+
}
|
| 467 |
+
|
| 468 |
+
.moving-source-page .moving-banner h2 {
|
| 469 |
+
margin: 0;
|
| 470 |
+
font-size: 24px;
|
| 471 |
+
line-height: 31.68px;
|
| 472 |
+
letter-spacing: -.12px;
|
| 473 |
+
}
|
| 474 |
+
|
| 475 |
+
.moving-source-page .moving-affordable-content {
|
| 476 |
+
display: flex;
|
| 477 |
+
height: 576px;
|
| 478 |
+
gap: 48px;
|
| 479 |
+
align-items: stretch;
|
| 480 |
+
}
|
| 481 |
+
|
| 482 |
+
.moving-source-page .moving-affordable-copy {
|
| 483 |
+
min-width: 0;
|
| 484 |
+
flex: 7;
|
| 485 |
+
letter-spacing: -.09px;
|
| 486 |
+
}
|
| 487 |
+
|
| 488 |
+
.moving-source-page .moving-affordable-copy p {
|
| 489 |
+
margin: 16px 0;
|
| 490 |
+
font-size: 16px;
|
| 491 |
+
line-height: 24px;
|
| 492 |
+
letter-spacing: -.09px;
|
| 493 |
+
}
|
| 494 |
+
|
| 495 |
+
.moving-source-page .moving-blurbs {
|
| 496 |
+
display: block;
|
| 497 |
+
margin: 0;
|
| 498 |
+
}
|
| 499 |
+
|
| 500 |
+
.moving-source-page .moving-blurbs strong {
|
| 501 |
+
font-weight: 700;
|
| 502 |
+
}
|
| 503 |
+
|
| 504 |
+
.moving-source-page .affordable-emphasis {
|
| 505 |
+
color: #0a2b14;
|
| 506 |
+
font-weight: 600;
|
| 507 |
+
text-decoration: underline;
|
| 508 |
+
text-underline-offset: 2px;
|
| 509 |
+
}
|
| 510 |
+
|
| 511 |
+
.moving-source-page .moving-affordable-content img {
|
| 512 |
+
width: auto;
|
| 513 |
+
min-width: 0;
|
| 514 |
+
max-width: 461px;
|
| 515 |
+
height: auto;
|
| 516 |
+
max-height: 345px;
|
| 517 |
+
flex: 0 0 40%;
|
| 518 |
+
margin-top: 0;
|
| 519 |
+
aspect-ratio: 464 / 345;
|
| 520 |
+
border-radius: 0;
|
| 521 |
+
object-fit: contain;
|
| 522 |
+
object-position: top;
|
| 523 |
+
}
|
| 524 |
+
|
| 525 |
+
.moving-source-page .search-other-tasks {
|
| 526 |
+
width: min(1200px, 100%);
|
| 527 |
+
max-width: 1200px;
|
| 528 |
+
padding: 32px 24px 48px;
|
| 529 |
+
background: #fff;
|
| 530 |
+
box-shadow: 0 0 0 100vmax #fff;
|
| 531 |
+
clip-path: inset(0 -100vmax);
|
| 532 |
+
}
|
| 533 |
+
|
| 534 |
+
.moving-source-page .search-other-tasks h2 {
|
| 535 |
+
margin: 0 0 32px;
|
| 536 |
+
text-align: center;
|
| 537 |
+
font-size: 30px;
|
| 538 |
+
line-height: 42px;
|
| 539 |
+
}
|
| 540 |
+
|
| 541 |
+
.moving-source-page .search-other-tasks .chip-row {
|
| 542 |
+
display: grid;
|
| 543 |
+
grid-template-columns: repeat(3, 1fr);
|
| 544 |
+
grid-auto-rows: 26px;
|
| 545 |
+
gap: 16px;
|
| 546 |
+
margin: 0 0 16px;
|
| 547 |
+
}
|
| 548 |
+
|
| 549 |
+
.moving-source-page .search-other-tasks .chip {
|
| 550 |
+
padding: 0;
|
| 551 |
+
border: 0;
|
| 552 |
+
border-radius: 0;
|
| 553 |
+
color: #0d7a5f;
|
| 554 |
+
font-size: 16px;
|
| 555 |
+
font-weight: 600;
|
| 556 |
+
line-height: 25.6px;
|
| 557 |
+
letter-spacing: -.12px;
|
| 558 |
+
}
|
| 559 |
+
|
| 560 |
+
body:has(.source-category-page) .help-trigger {
|
| 561 |
+
right: auto;
|
| 562 |
+
bottom: 16px;
|
| 563 |
+
left: 16px;
|
| 564 |
+
display: flex;
|
| 565 |
+
width: 111px;
|
| 566 |
+
height: 43px;
|
| 567 |
+
align-items: center;
|
| 568 |
+
justify-content: center;
|
| 569 |
+
border-radius: 1000px;
|
| 570 |
+
background: #0d7a5f;
|
| 571 |
+
font-size: 0;
|
| 572 |
+
}
|
| 573 |
+
|
| 574 |
+
body:has(.source-category-page) .help-trigger > span:first-child {
|
| 575 |
+
display: none;
|
| 576 |
+
}
|
| 577 |
+
|
| 578 |
+
body:has(.source-category-page) .help-trigger::before {
|
| 579 |
+
margin-right: 8px;
|
| 580 |
+
content: "ⓘ";
|
| 581 |
+
font-size: 16px;
|
| 582 |
+
line-height: 1;
|
| 583 |
+
}
|
| 584 |
+
|
| 585 |
+
body:has(.source-category-page) .help-trigger::after {
|
| 586 |
+
content: "Help";
|
| 587 |
+
font-size: 16px;
|
| 588 |
+
font-weight: 600;
|
| 589 |
+
line-height: normal;
|
| 590 |
+
letter-spacing: -.12px;
|
| 591 |
+
}
|
| 592 |
+
|
| 593 |
+
body:has(.source-category-page) .help-dialog {
|
| 594 |
+
right: auto;
|
| 595 |
+
bottom: 72px;
|
| 596 |
+
left: 16px;
|
| 597 |
+
}
|
| 598 |
+
|
| 599 |
+
body:has(.source-category-page) .site-footer {
|
| 600 |
+
height: 387px;
|
| 601 |
+
min-height: 387px;
|
| 602 |
+
padding: 24px 0;
|
| 603 |
+
}
|
| 604 |
+
|
| 605 |
+
body:has(.source-category-page) .site-footer .footer-main {
|
| 606 |
+
width: min(1200px, 100%);
|
| 607 |
+
max-width: 1200px;
|
| 608 |
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
| 609 |
+
gap: 0 16px;
|
| 610 |
+
padding: 0 24px;
|
| 611 |
+
}
|
| 612 |
+
|
| 613 |
+
body:has(.source-category-page) .site-footer .footer-col:first-child {
|
| 614 |
+
display: flex;
|
| 615 |
+
height: 42px;
|
| 616 |
+
grid-column: 1 / -1;
|
| 617 |
+
align-items: flex-start;
|
| 618 |
+
}
|
| 619 |
+
|
| 620 |
+
body:has(.source-category-page) .site-footer .footer-col h3 {
|
| 621 |
+
margin: 0;
|
| 622 |
+
color: #b1b9c3;
|
| 623 |
+
font-size: 18px;
|
| 624 |
+
font-weight: 400;
|
| 625 |
+
line-height: 24.66px;
|
| 626 |
+
letter-spacing: -.09px;
|
| 627 |
+
}
|
| 628 |
+
|
| 629 |
+
body:has(.source-category-page) .site-footer .footer-col:first-child h3 {
|
| 630 |
+
width: 212px;
|
| 631 |
+
white-space: nowrap;
|
| 632 |
+
}
|
| 633 |
+
|
| 634 |
+
body:has(.source-category-page) .site-footer .footer-social {
|
| 635 |
+
position: relative;
|
| 636 |
+
width: 188px;
|
| 637 |
+
height: 26px;
|
| 638 |
+
gap: 17px;
|
| 639 |
+
align-items: center;
|
| 640 |
+
margin-left: 13px;
|
| 641 |
+
}
|
| 642 |
+
|
| 643 |
+
body:has(.source-category-page) .site-footer .footer-social img {
|
| 644 |
+
width: 24px;
|
| 645 |
+
height: 24px;
|
| 646 |
+
}
|
| 647 |
+
|
| 648 |
+
body:has(.source-category-page) .site-footer .footer-social::after {
|
| 649 |
+
position: absolute;
|
| 650 |
+
top: 0;
|
| 651 |
+
left: 32px;
|
| 652 |
+
width: 1px;
|
| 653 |
+
height: 26px;
|
| 654 |
+
background: #b1b9c3;
|
| 655 |
+
box-shadow: 41px 0 #b1b9c3, 82px 0 #b1b9c3, 123px 0 #b1b9c3;
|
| 656 |
+
content: "";
|
| 657 |
+
opacity: .65;
|
| 658 |
+
pointer-events: none;
|
| 659 |
+
}
|
| 660 |
+
|
| 661 |
+
body:has(.source-category-page) .site-footer .footer-col:not(:first-child) h3 {
|
| 662 |
+
height: 33px;
|
| 663 |
+
}
|
| 664 |
+
|
| 665 |
+
body:has(.source-category-page) .site-footer .footer-col a,
|
| 666 |
+
body:has(.source-category-page) .site-footer .footer-col span {
|
| 667 |
+
margin: 0;
|
| 668 |
+
font-size: 16px;
|
| 669 |
+
font-weight: 600;
|
| 670 |
+
line-height: 24px;
|
| 671 |
+
}
|
| 672 |
+
|
| 673 |
+
body:has(.source-category-page) .site-footer .footer-main > :nth-child(3) > span:nth-of-type(7),
|
| 674 |
+
body:has(.source-category-page) .site-footer .footer-main > :nth-child(3) > span:nth-of-type(8) {
|
| 675 |
+
margin-top: 8px;
|
| 676 |
+
}
|
| 677 |
+
|
| 678 |
+
body:has(.source-category-page) .site-footer .footer-main > :nth-child(4) > p {
|
| 679 |
+
transform: translateY(-9px);
|
| 680 |
+
}
|
| 681 |
+
|
| 682 |
+
body:has(.source-category-page) .site-footer .footer-main > :nth-child(4) > p {
|
| 683 |
+
position: relative;
|
| 684 |
+
top: 1px;
|
| 685 |
+
}
|
| 686 |
+
|
| 687 |
+
body:has(.source-category-page) .site-footer .footer-col p {
|
| 688 |
+
margin: 0;
|
| 689 |
+
color: #fff;
|
| 690 |
+
font-size: 18px;
|
| 691 |
+
line-height: 24.66px;
|
| 692 |
+
letter-spacing: -.09px;
|
| 693 |
+
}
|
| 694 |
+
|
| 695 |
+
body:has(.source-category-page) .site-footer .footer-badges {
|
| 696 |
+
position: relative;
|
| 697 |
+
top: 1px;
|
| 698 |
+
display: grid;
|
| 699 |
+
width: 175px;
|
| 700 |
+
gap: 6px;
|
| 701 |
+
margin-right: auto;
|
| 702 |
+
margin-left: auto;
|
| 703 |
+
padding-top: 24px;
|
| 704 |
+
transform: translateY(-2px);
|
| 705 |
+
}
|
| 706 |
+
|
| 707 |
+
body:has(.source-category-page) .site-footer .footer-badges img {
|
| 708 |
+
width: 175px;
|
| 709 |
+
height: 58px;
|
| 710 |
+
}
|
| 711 |
+
|
| 712 |
+
@media (min-width: 1200px) {
|
| 713 |
+
body:has(.source-category-page) .site-footer {
|
| 714 |
+
height: 388px;
|
| 715 |
+
min-height: 388px;
|
| 716 |
+
}
|
| 717 |
+
|
| 718 |
+
body:has(.moving-source-page) .site-footer {
|
| 719 |
+
height: 387px;
|
| 720 |
+
min-height: 387px;
|
| 721 |
+
}
|
| 722 |
+
|
| 723 |
+
.moving-source-page .search-other-tasks {
|
| 724 |
+
padding-bottom: 49px;
|
| 725 |
+
}
|
| 726 |
+
|
| 727 |
+
body:has(.moving-source-page) .site-footer .footer-main > :first-child,
|
| 728 |
+
body:has(.moving-source-page) .site-footer .footer-main > :nth-child(2),
|
| 729 |
+
body:has(.moving-source-page) .site-footer .footer-main > :nth-child(3) {
|
| 730 |
+
transform: translateY(-1px);
|
| 731 |
+
}
|
| 732 |
+
|
| 733 |
+
body:has(.moving-source-page) .site-footer .footer-main > :nth-child(4) {
|
| 734 |
+
transform: translateY(1px);
|
| 735 |
+
}
|
| 736 |
+
}
|
| 737 |
+
|
| 738 |
+
@media (min-width: 600px) {
|
| 739 |
+
.services-source-page .category-card h3 {
|
| 740 |
+
transform: translateY(1px);
|
| 741 |
+
}
|
| 742 |
+
|
| 743 |
+
.services-source-page .category-card p {
|
| 744 |
+
transform: translateY(-2px);
|
| 745 |
+
}
|
| 746 |
+
|
| 747 |
+
.services-source-page .category-card ul {
|
| 748 |
+
transform: translateY(-.6px);
|
| 749 |
+
}
|
| 750 |
+
}
|
| 751 |
+
|
| 752 |
+
@media (min-width: 768px) and (max-width: 1199px) {
|
| 753 |
+
body:has(.source-category-page) .header-inner {
|
| 754 |
+
width: calc(100% - 80px);
|
| 755 |
+
}
|
| 756 |
+
|
| 757 |
+
.moving-source-page .moving-main-layout {
|
| 758 |
+
width: min(1152px, calc(100% - 48px));
|
| 759 |
+
grid-template-columns: minmax(0, calc(100% - 292px)) 244px;
|
| 760 |
+
gap: 48px;
|
| 761 |
+
padding-bottom: 31px;
|
| 762 |
+
}
|
| 763 |
+
|
| 764 |
+
.moving-source-page .moving-hero-copy p {
|
| 765 |
+
max-width: 500px;
|
| 766 |
+
}
|
| 767 |
+
|
| 768 |
+
.moving-source-page .breadcrumb {
|
| 769 |
+
width: min(1152px, calc(100% - 48px));
|
| 770 |
+
}
|
| 771 |
+
|
| 772 |
+
.moving-source-page .service-row {
|
| 773 |
+
grid-template-columns: 175px minmax(0, 1fr);
|
| 774 |
+
}
|
| 775 |
+
|
| 776 |
+
.moving-source-page .moving-sidebar {
|
| 777 |
+
grid-template-columns: 1fr;
|
| 778 |
+
}
|
| 779 |
+
|
| 780 |
+
.moving-source-page .faq-band {
|
| 781 |
+
padding-right: 16px;
|
| 782 |
+
padding-bottom: 81px;
|
| 783 |
+
padding-left: 16px;
|
| 784 |
+
}
|
| 785 |
+
|
| 786 |
+
.moving-source-page .faq-list {
|
| 787 |
+
width: 87.55%;
|
| 788 |
+
}
|
| 789 |
+
|
| 790 |
+
body:has(.source-category-page) .site-footer .footer-badges {
|
| 791 |
+
top: 2px;
|
| 792 |
+
}
|
| 793 |
+
|
| 794 |
+
body:has(.moving-source-page) .site-footer {
|
| 795 |
+
height: 388px;
|
| 796 |
+
min-height: 388px;
|
| 797 |
+
}
|
| 798 |
+
|
| 799 |
+
body:has(.moving-source-page) .site-footer .footer-main {
|
| 800 |
+
transform: translateY(1px);
|
| 801 |
+
}
|
| 802 |
+
|
| 803 |
+
body:has(.moving-source-page) .site-footer .footer-main > :nth-child(4) {
|
| 804 |
+
transform: translateY(-1px);
|
| 805 |
+
}
|
| 806 |
+
|
| 807 |
+
.moving-source-page .moving-affordable-content {
|
| 808 |
+
height: 624px;
|
| 809 |
+
gap: 32px;
|
| 810 |
+
}
|
| 811 |
+
}
|
| 812 |
+
|
| 813 |
+
@media (min-width: 768px) {
|
| 814 |
+
.moving-source-page .service-row {
|
| 815 |
+
display: flex;
|
| 816 |
+
flex-direction: row;
|
| 817 |
+
gap: 0;
|
| 818 |
+
}
|
| 819 |
+
|
| 820 |
+
.moving-source-page .service-row img {
|
| 821 |
+
min-width: 175px;
|
| 822 |
+
flex: 0 0 175px;
|
| 823 |
+
margin-right: 32px;
|
| 824 |
+
}
|
| 825 |
+
|
| 826 |
+
.moving-source-page .service-row > div {
|
| 827 |
+
display: flex;
|
| 828 |
+
min-width: 0;
|
| 829 |
+
flex-direction: column;
|
| 830 |
+
align-items: flex-start;
|
| 831 |
+
}
|
| 832 |
+
|
| 833 |
+
.moving-source-page .service-row p {
|
| 834 |
+
transform: translateY(-1px);
|
| 835 |
+
}
|
| 836 |
+
|
| 837 |
+
.moving-source-page .service-row .btn-primary,
|
| 838 |
+
.moving-source-page .service-row .btn-secondary {
|
| 839 |
+
transform: translateY(-1px);
|
| 840 |
+
}
|
| 841 |
+
|
| 842 |
+
.moving-source-page .moving-affordable-content img {
|
| 843 |
+
height: 345px;
|
| 844 |
+
}
|
| 845 |
+
}
|
| 846 |
+
|
| 847 |
+
@media (min-width: 768px) and (max-width: 1199px) {
|
| 848 |
+
.moving-source-page .service-row:nth-child(6) h2,
|
| 849 |
+
.moving-source-page .service-row:nth-child(7) h2,
|
| 850 |
+
.moving-source-page .service-row:nth-child(10) h2,
|
| 851 |
+
.moving-source-page .service-row:nth-child(n + 12):nth-child(-n + 16) h2 {
|
| 852 |
+
transform: translateY(-1px);
|
| 853 |
+
}
|
| 854 |
+
|
| 855 |
+
.moving-source-page .service-row:nth-child(3) p,
|
| 856 |
+
.moving-source-page .service-row:nth-child(n + 5):nth-child(-n + 8) p,
|
| 857 |
+
.moving-source-page .service-row:nth-child(n + 10):nth-child(-n + 17) p,
|
| 858 |
+
.moving-source-page .service-row:nth-child(19) p {
|
| 859 |
+
transform: none;
|
| 860 |
+
}
|
| 861 |
+
|
| 862 |
+
.moving-source-page .service-row:nth-child(3) .btn-primary,
|
| 863 |
+
.moving-source-page .service-row:nth-child(4) .btn-primary,
|
| 864 |
+
.moving-source-page .service-row:nth-child(n + 7):nth-child(-n + 10) .btn-primary,
|
| 865 |
+
.moving-source-page .service-row:nth-child(13) .btn-primary,
|
| 866 |
+
.moving-source-page .service-row:nth-child(n + 16):nth-child(-n + 18) .btn-primary {
|
| 867 |
+
transform: none;
|
| 868 |
+
}
|
| 869 |
+
|
| 870 |
+
.moving-source-page .service-row:nth-child(3) img,
|
| 871 |
+
.moving-source-page .service-row:nth-child(4) img,
|
| 872 |
+
.moving-source-page .service-row:nth-child(8) img,
|
| 873 |
+
.moving-source-page .service-row:nth-child(9) img,
|
| 874 |
+
.moving-source-page .service-row:nth-child(13) img,
|
| 875 |
+
.moving-source-page .service-row:nth-child(14) img,
|
| 876 |
+
.moving-source-page .service-row:nth-child(17) img,
|
| 877 |
+
.moving-source-page .service-row:nth-child(18) img {
|
| 878 |
+
transform: translateY(-1px);
|
| 879 |
+
}
|
| 880 |
+
}
|
| 881 |
+
|
| 882 |
+
@media (max-width: 767px) {
|
| 883 |
+
body:has(.source-category-page) .header-inner {
|
| 884 |
+
width: calc(100% - 32px);
|
| 885 |
+
}
|
| 886 |
+
|
| 887 |
+
body:has(.source-category-page) .site-header:not(.furniture-header) .brand svg {
|
| 888 |
+
width: 226px;
|
| 889 |
+
height: 30px;
|
| 890 |
+
}
|
| 891 |
+
|
| 892 |
+
.services-source-page .services-hero,
|
| 893 |
+
.services-source-page .services-hero img {
|
| 894 |
+
height: 350px;
|
| 895 |
+
}
|
| 896 |
+
|
| 897 |
+
.moving-source-page .moving-hero,
|
| 898 |
+
.moving-source-page .moving-hero img {
|
| 899 |
+
height: 420px;
|
| 900 |
+
}
|
| 901 |
+
|
| 902 |
+
.services-source-page .services-hero img {
|
| 903 |
+
object-position: center;
|
| 904 |
+
}
|
| 905 |
+
|
| 906 |
+
.source-category-page .services-hero-copy h1,
|
| 907 |
+
.source-category-page .moving-hero-copy h1 {
|
| 908 |
+
font-size: 26px;
|
| 909 |
+
line-height: 36.4px;
|
| 910 |
+
}
|
| 911 |
+
|
| 912 |
+
.source-category-page .services-hero-copy h1 {
|
| 913 |
+
padding-bottom: 16px;
|
| 914 |
+
}
|
| 915 |
+
|
| 916 |
+
.services-source-page .category-grid-section {
|
| 917 |
+
width: 100%;
|
| 918 |
+
padding: 24px 16px 0;
|
| 919 |
+
}
|
| 920 |
+
|
| 921 |
+
.services-source-page .services-subtitle {
|
| 922 |
+
margin-bottom: 8px;
|
| 923 |
+
font-size: 23px;
|
| 924 |
+
line-height: 32.2px;
|
| 925 |
+
}
|
| 926 |
+
|
| 927 |
+
.services-source-page .category-grid {
|
| 928 |
+
grid-template-columns: 1fr;
|
| 929 |
+
margin: 16px 0;
|
| 930 |
+
}
|
| 931 |
+
|
| 932 |
+
.services-source-page .category-card {
|
| 933 |
+
width: 100%;
|
| 934 |
+
min-height: 0 !important;
|
| 935 |
+
margin-bottom: 32px;
|
| 936 |
+
}
|
| 937 |
+
|
| 938 |
+
.services-source-page .category-card h3,
|
| 939 |
+
.services-source-page .category-card h3 a,
|
| 940 |
+
.services-source-page .category-card ul {
|
| 941 |
+
font-size: 14px;
|
| 942 |
+
line-height: 18.62px;
|
| 943 |
+
letter-spacing: -.105px;
|
| 944 |
+
}
|
| 945 |
+
|
| 946 |
+
.services-source-page .category-card p {
|
| 947 |
+
font-size: 14px;
|
| 948 |
+
line-height: 18.48px;
|
| 949 |
+
letter-spacing: -.07px;
|
| 950 |
+
transform: translateY(3px);
|
| 951 |
+
}
|
| 952 |
+
|
| 953 |
+
.services-source-page .category-card h3 {
|
| 954 |
+
transform: translateY(5px);
|
| 955 |
+
}
|
| 956 |
+
|
| 957 |
+
.services-source-page .category-card ul {
|
| 958 |
+
transform: translateY(6.5px);
|
| 959 |
+
}
|
| 960 |
+
|
| 961 |
+
.services-source-page .category-card li {
|
| 962 |
+
min-height: 29.2px;
|
| 963 |
+
}
|
| 964 |
+
|
| 965 |
+
.services-source-page .category-card img {
|
| 966 |
+
height: 200px;
|
| 967 |
+
}
|
| 968 |
+
|
| 969 |
+
.moving-source-page .moving-hero-copy {
|
| 970 |
+
width: calc(100% - 48px);
|
| 971 |
+
transform: none;
|
| 972 |
+
}
|
| 973 |
+
|
| 974 |
+
.moving-source-page .moving-hero-copy h1 {
|
| 975 |
+
padding-bottom: 16px;
|
| 976 |
+
}
|
| 977 |
+
|
| 978 |
+
.moving-source-page .moving-hero-copy p {
|
| 979 |
+
max-width: 200px;
|
| 980 |
+
padding-bottom: 16px;
|
| 981 |
+
font-size: 16px;
|
| 982 |
+
line-height: 21.92px;
|
| 983 |
+
}
|
| 984 |
+
|
| 985 |
+
.moving-source-page .breadcrumb {
|
| 986 |
+
width: 100%;
|
| 987 |
+
height: 54px;
|
| 988 |
+
padding: 31px 16px 0;
|
| 989 |
+
font-size: 16px;
|
| 990 |
+
line-height: 24px;
|
| 991 |
+
letter-spacing: -.12px;
|
| 992 |
+
}
|
| 993 |
+
|
| 994 |
+
.moving-source-page .moving-main-layout {
|
| 995 |
+
width: 100%;
|
| 996 |
+
grid-template-columns: 1fr;
|
| 997 |
+
gap: 0;
|
| 998 |
+
padding: 0 16px 48px;
|
| 999 |
+
}
|
| 1000 |
+
|
| 1001 |
+
.moving-source-page .moving-services {
|
| 1002 |
+
gap: 32px;
|
| 1003 |
+
}
|
| 1004 |
+
|
| 1005 |
+
.moving-source-page .service-row {
|
| 1006 |
+
height: auto;
|
| 1007 |
+
min-height: 0;
|
| 1008 |
+
grid-template-columns: 1fr;
|
| 1009 |
+
gap: 24px;
|
| 1010 |
+
padding: 24px 16px 32px;
|
| 1011 |
+
text-align: center;
|
| 1012 |
+
}
|
| 1013 |
+
|
| 1014 |
+
.moving-source-page .service-row img {
|
| 1015 |
+
width: 145px;
|
| 1016 |
+
height: 145px;
|
| 1017 |
+
margin: 0 auto;
|
| 1018 |
+
}
|
| 1019 |
+
|
| 1020 |
+
.moving-source-page .service-row h2 {
|
| 1021 |
+
font-size: 18px;
|
| 1022 |
+
line-height: 23.76px;
|
| 1023 |
+
letter-spacing: -.09px;
|
| 1024 |
+
}
|
| 1025 |
+
|
| 1026 |
+
.moving-source-page .service-row p {
|
| 1027 |
+
margin-bottom: 24px;
|
| 1028 |
+
font-size: 14px;
|
| 1029 |
+
line-height: 18.62px;
|
| 1030 |
+
letter-spacing: -.07px;
|
| 1031 |
+
}
|
| 1032 |
+
|
| 1033 |
+
.moving-source-page .service-row .btn-primary,
|
| 1034 |
+
.moving-source-page .service-row .btn-secondary {
|
| 1035 |
+
margin: 0 auto;
|
| 1036 |
+
}
|
| 1037 |
+
|
| 1038 |
+
.moving-source-page .moving-sidebar {
|
| 1039 |
+
display: none;
|
| 1040 |
+
}
|
| 1041 |
+
|
| 1042 |
+
.moving-source-page .faq-band {
|
| 1043 |
+
padding: 64px 13px 72px;
|
| 1044 |
+
}
|
| 1045 |
+
|
| 1046 |
+
.moving-source-page .faq-band h2 {
|
| 1047 |
+
font-size: 24px;
|
| 1048 |
+
line-height: 33.6px;
|
| 1049 |
+
}
|
| 1050 |
+
|
| 1051 |
+
.moving-source-page .moving-affordable-band {
|
| 1052 |
+
padding: 40px 0;
|
| 1053 |
+
}
|
| 1054 |
+
|
| 1055 |
+
.moving-source-page .moving-banner {
|
| 1056 |
+
width: 100%;
|
| 1057 |
+
padding: 0 20px;
|
| 1058 |
+
}
|
| 1059 |
+
|
| 1060 |
+
.moving-source-page .moving-affordable-content {
|
| 1061 |
+
height: auto;
|
| 1062 |
+
flex-direction: column;
|
| 1063 |
+
gap: 32px;
|
| 1064 |
+
}
|
| 1065 |
+
|
| 1066 |
+
.moving-source-page .moving-affordable-content img,
|
| 1067 |
+
.moving-source-page .moving-affordable-copy {
|
| 1068 |
+
width: 100%;
|
| 1069 |
+
max-width: none;
|
| 1070 |
+
flex: none;
|
| 1071 |
+
}
|
| 1072 |
+
|
| 1073 |
+
.moving-source-page .moving-affordable-content img {
|
| 1074 |
+
margin-top: 0;
|
| 1075 |
+
}
|
| 1076 |
+
|
| 1077 |
+
.moving-source-page .search-other-tasks {
|
| 1078 |
+
width: 100%;
|
| 1079 |
+
padding: 32px 20px 48px;
|
| 1080 |
+
}
|
| 1081 |
+
|
| 1082 |
+
.moving-source-page .search-other-tasks .chip-row {
|
| 1083 |
+
grid-template-columns: repeat(2, 1fr);
|
| 1084 |
+
}
|
| 1085 |
+
|
| 1086 |
+
body:has(.source-category-page) .help-trigger {
|
| 1087 |
+
display: none;
|
| 1088 |
+
}
|
| 1089 |
+
|
| 1090 |
+
body:has(.source-category-page) .site-footer {
|
| 1091 |
+
height: auto;
|
| 1092 |
+
min-height: 0;
|
| 1093 |
+
}
|
| 1094 |
+
|
| 1095 |
+
body:has(.source-category-page) .site-footer .footer-main {
|
| 1096 |
+
grid-template-columns: 1fr;
|
| 1097 |
+
}
|
| 1098 |
+
|
| 1099 |
+
body:has(.source-category-page) .site-footer .footer-col:first-child {
|
| 1100 |
+
grid-column: 1;
|
| 1101 |
+
}
|
| 1102 |
+
}
|
tasks/taskrabbit/solution/site/implementation/clone/static/dashboard-fidelity.css
ADDED
|
@@ -0,0 +1,615 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.dashboard-shell {
|
| 2 |
+
width: min(1120px, calc(100% - 48px));
|
| 3 |
+
margin: 0 auto;
|
| 4 |
+
}
|
| 5 |
+
|
| 6 |
+
.dashboard-eyebrow {
|
| 7 |
+
margin: 0 0 6px;
|
| 8 |
+
color: #65706b;
|
| 9 |
+
font-size: 13px;
|
| 10 |
+
font-weight: 700;
|
| 11 |
+
letter-spacing: .08em;
|
| 12 |
+
text-transform: uppercase;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
.my-tasks-page h1,
|
| 16 |
+
.account-page h1 {
|
| 17 |
+
margin: 0;
|
| 18 |
+
color: #0a2b14;
|
| 19 |
+
font-size: 40px;
|
| 20 |
+
line-height: 1.18;
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
.taskbook-page {
|
| 24 |
+
min-height: calc(100vh - 91px);
|
| 25 |
+
padding: 0 0 80px;
|
| 26 |
+
background: #fff;
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
.taskbook-shell {
|
| 30 |
+
width: min(1200px, calc(100% - 64px));
|
| 31 |
+
margin: 0 auto;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
.taskbook-launcher {
|
| 35 |
+
width: min(824px, 100%);
|
| 36 |
+
margin: 0 auto;
|
| 37 |
+
padding-top: 43px;
|
| 38 |
+
text-align: center;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.taskbook-launcher h1 {
|
| 42 |
+
margin: 0;
|
| 43 |
+
color: #171a19;
|
| 44 |
+
font-size: 40px;
|
| 45 |
+
font-weight: 750;
|
| 46 |
+
letter-spacing: -.7px;
|
| 47 |
+
line-height: 1.25;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
.taskbook-search {
|
| 51 |
+
display: flex;
|
| 52 |
+
width: 100%;
|
| 53 |
+
height: 84px;
|
| 54 |
+
margin: 31px auto 0;
|
| 55 |
+
overflow: hidden;
|
| 56 |
+
border: 1.5px solid #676d6a;
|
| 57 |
+
border-radius: 999px;
|
| 58 |
+
background: #fff;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.taskbook-search:focus-within {
|
| 62 |
+
border-color: #0d7a5f;
|
| 63 |
+
box-shadow: 0 0 0 3px rgba(13, 122, 95, .14);
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
.taskbook-search input {
|
| 67 |
+
min-width: 0;
|
| 68 |
+
flex: 1;
|
| 69 |
+
border: 0;
|
| 70 |
+
padding: 0 42px;
|
| 71 |
+
background: transparent;
|
| 72 |
+
color: #242a30;
|
| 73 |
+
font: inherit;
|
| 74 |
+
font-size: 23px;
|
| 75 |
+
outline: 0;
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
.taskbook-search input::placeholder { color: #a1a3a2; opacity: 1; }
|
| 79 |
+
|
| 80 |
+
.taskbook-search button {
|
| 81 |
+
position: relative;
|
| 82 |
+
width: 114px;
|
| 83 |
+
flex: 0 0 114px;
|
| 84 |
+
border: 0;
|
| 85 |
+
background: #0d8065;
|
| 86 |
+
cursor: pointer;
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
.taskbook-search button:hover { background: #086f56; }
|
| 90 |
+
|
| 91 |
+
.taskbook-search button span,
|
| 92 |
+
.taskbook-search button span::after {
|
| 93 |
+
position: absolute;
|
| 94 |
+
display: block;
|
| 95 |
+
content: "";
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
.taskbook-search button span {
|
| 99 |
+
top: 27px;
|
| 100 |
+
left: 44px;
|
| 101 |
+
width: 24px;
|
| 102 |
+
height: 24px;
|
| 103 |
+
border: 3px solid #fff;
|
| 104 |
+
border-radius: 50%;
|
| 105 |
+
}
|
| 106 |
+
|
| 107 |
+
.taskbook-search button span::after {
|
| 108 |
+
right: -8px;
|
| 109 |
+
bottom: -5px;
|
| 110 |
+
width: 12px;
|
| 111 |
+
height: 3px;
|
| 112 |
+
border-radius: 2px;
|
| 113 |
+
background: #fff;
|
| 114 |
+
transform: rotate(45deg);
|
| 115 |
+
}
|
| 116 |
+
|
| 117 |
+
.taskbook-chip-row {
|
| 118 |
+
display: flex;
|
| 119 |
+
flex-wrap: wrap;
|
| 120 |
+
justify-content: center;
|
| 121 |
+
gap: 10px;
|
| 122 |
+
margin: 60px auto 0;
|
| 123 |
+
}
|
| 124 |
+
|
| 125 |
+
.taskbook-chip-row a {
|
| 126 |
+
display: inline-flex;
|
| 127 |
+
min-height: 44px;
|
| 128 |
+
align-items: center;
|
| 129 |
+
justify-content: center;
|
| 130 |
+
border: 1.5px solid #0d8065;
|
| 131 |
+
border-radius: 999px;
|
| 132 |
+
padding: 7px 21px;
|
| 133 |
+
color: #0d8065;
|
| 134 |
+
font-size: 18px;
|
| 135 |
+
font-weight: 650;
|
| 136 |
+
line-height: 1.2;
|
| 137 |
+
text-decoration: none;
|
| 138 |
+
}
|
| 139 |
+
|
| 140 |
+
.taskbook-chip-row a:hover,
|
| 141 |
+
.taskbook-chip-row a:focus-visible {
|
| 142 |
+
background: #eaf6f2;
|
| 143 |
+
outline: none;
|
| 144 |
+
}
|
| 145 |
+
|
| 146 |
+
.taskbook-more { margin-top: 10px; }
|
| 147 |
+
.taskbook-more summary {
|
| 148 |
+
display: inline-block;
|
| 149 |
+
color: #087a5f;
|
| 150 |
+
font-size: 19px;
|
| 151 |
+
font-weight: 700;
|
| 152 |
+
list-style: none;
|
| 153 |
+
cursor: pointer;
|
| 154 |
+
}
|
| 155 |
+
.taskbook-more summary::-webkit-details-marker { display: none; }
|
| 156 |
+
.taskbook-see-less { display: none; }
|
| 157 |
+
.taskbook-more[open] .taskbook-see-more { display: none; }
|
| 158 |
+
.taskbook-more[open] .taskbook-see-less { display: inline; }
|
| 159 |
+
.taskbook-more .taskbook-chip-row { margin-top: 13px; }
|
| 160 |
+
|
| 161 |
+
.taskbook-search-results {
|
| 162 |
+
margin: 24px 0 -38px;
|
| 163 |
+
text-align: left;
|
| 164 |
+
}
|
| 165 |
+
.taskbook-result-heading {
|
| 166 |
+
display: flex;
|
| 167 |
+
align-items: baseline;
|
| 168 |
+
justify-content: space-between;
|
| 169 |
+
gap: 24px;
|
| 170 |
+
}
|
| 171 |
+
.taskbook-result-heading p,
|
| 172 |
+
.taskbook-no-results { margin: 0; color: #555d59; }
|
| 173 |
+
.taskbook-result-heading a { font-weight: 650; }
|
| 174 |
+
.taskbook-result-chips { justify-content: flex-start; margin-top: 12px; }
|
| 175 |
+
.taskbook-no-results { margin-top: 8px; }
|
| 176 |
+
|
| 177 |
+
.taskbook-recommendations { margin-top: 47px; }
|
| 178 |
+
.taskbook-recommendations-heading {
|
| 179 |
+
display: flex;
|
| 180 |
+
align-items: center;
|
| 181 |
+
justify-content: space-between;
|
| 182 |
+
gap: 24px;
|
| 183 |
+
margin-bottom: 31px;
|
| 184 |
+
}
|
| 185 |
+
.taskbook-recommendations-heading h2 {
|
| 186 |
+
margin: 0;
|
| 187 |
+
color: #171a19;
|
| 188 |
+
font-size: 39px;
|
| 189 |
+
font-weight: 750;
|
| 190 |
+
letter-spacing: -.8px;
|
| 191 |
+
line-height: 1.25;
|
| 192 |
+
}
|
| 193 |
+
|
| 194 |
+
.taskbook-carousel-controls { display: flex; gap: 10px; }
|
| 195 |
+
.taskbook-carousel-controls button {
|
| 196 |
+
display: grid;
|
| 197 |
+
width: 52px;
|
| 198 |
+
height: 52px;
|
| 199 |
+
place-items: center;
|
| 200 |
+
border: 1px solid #c8cdca;
|
| 201 |
+
border-radius: 50%;
|
| 202 |
+
background: #fff;
|
| 203 |
+
color: #9da3a0;
|
| 204 |
+
cursor: pointer;
|
| 205 |
+
}
|
| 206 |
+
.taskbook-carousel-controls button span {
|
| 207 |
+
transform: translateY(-2px);
|
| 208 |
+
font-family: Arial, sans-serif;
|
| 209 |
+
font-size: 38px;
|
| 210 |
+
font-weight: 200;
|
| 211 |
+
line-height: 1;
|
| 212 |
+
}
|
| 213 |
+
.taskbook-carousel-controls button:not(:disabled):hover { border-color: #0d8065; color: #0d8065; }
|
| 214 |
+
.taskbook-carousel-controls button:disabled { cursor: default; opacity: .62; }
|
| 215 |
+
|
| 216 |
+
.taskbook-carousel {
|
| 217 |
+
display: flex;
|
| 218 |
+
gap: 20px;
|
| 219 |
+
overflow-x: auto;
|
| 220 |
+
padding: 0 0 8px;
|
| 221 |
+
scroll-behavior: smooth;
|
| 222 |
+
scroll-snap-type: x mandatory;
|
| 223 |
+
scrollbar-width: none;
|
| 224 |
+
}
|
| 225 |
+
.taskbook-carousel::-webkit-scrollbar { display: none; }
|
| 226 |
+
|
| 227 |
+
.taskbook-tasker-card {
|
| 228 |
+
min-width: calc((100% - 20px) / 2);
|
| 229 |
+
overflow: hidden;
|
| 230 |
+
border: 1px solid #c9cfcc;
|
| 231 |
+
border-radius: 20px 20px 0 0;
|
| 232 |
+
background: #fff;
|
| 233 |
+
scroll-snap-align: start;
|
| 234 |
+
}
|
| 235 |
+
.taskbook-tasker-card > h3 {
|
| 236 |
+
margin: 0;
|
| 237 |
+
padding: 21px 20px;
|
| 238 |
+
border-bottom: 1px solid #c9cfcc;
|
| 239 |
+
background: #f6f8f7;
|
| 240 |
+
color: #171a19;
|
| 241 |
+
font-size: 23px;
|
| 242 |
+
font-weight: 700;
|
| 243 |
+
line-height: 1.35;
|
| 244 |
+
text-align: center;
|
| 245 |
+
}
|
| 246 |
+
.taskbook-tasker-body { padding: 20px 21px 30px; }
|
| 247 |
+
.taskbook-tasker-profile-link {
|
| 248 |
+
display: block;
|
| 249 |
+
width: fit-content;
|
| 250 |
+
color: inherit;
|
| 251 |
+
text-decoration: none;
|
| 252 |
+
}
|
| 253 |
+
.taskbook-tasker-avatar {
|
| 254 |
+
display: block;
|
| 255 |
+
width: 92px;
|
| 256 |
+
height: 92px;
|
| 257 |
+
border-radius: 50%;
|
| 258 |
+
object-fit: cover;
|
| 259 |
+
}
|
| 260 |
+
.taskbook-tasker-body h4 {
|
| 261 |
+
margin: 8px 0 14px;
|
| 262 |
+
color: #171a19;
|
| 263 |
+
font-size: 23px;
|
| 264 |
+
line-height: 1.25;
|
| 265 |
+
}
|
| 266 |
+
.taskbook-tasker-profile-link:hover h4,
|
| 267 |
+
.taskbook-tasker-profile-link:focus-visible h4 { color: #0d8065; }
|
| 268 |
+
.taskbook-tasker-profile-link:focus-visible { border-radius: 6px; outline: 2px solid #0d8065; outline-offset: 3px; }
|
| 269 |
+
.taskbook-elite {
|
| 270 |
+
display: inline-flex;
|
| 271 |
+
align-items: center;
|
| 272 |
+
gap: 6px;
|
| 273 |
+
margin: 0 0 13px;
|
| 274 |
+
border-radius: 5px;
|
| 275 |
+
padding: 4px 8px;
|
| 276 |
+
background: #f3dfff;
|
| 277 |
+
color: #8b43a9;
|
| 278 |
+
font-size: 14px;
|
| 279 |
+
font-weight: 700;
|
| 280 |
+
letter-spacing: .03em;
|
| 281 |
+
line-height: 1.4;
|
| 282 |
+
text-transform: uppercase;
|
| 283 |
+
}
|
| 284 |
+
.taskbook-tasker-stat {
|
| 285 |
+
margin: 0 0 10px;
|
| 286 |
+
color: #242927;
|
| 287 |
+
font-size: 20px;
|
| 288 |
+
line-height: 1.35;
|
| 289 |
+
}
|
| 290 |
+
.taskbook-check {
|
| 291 |
+
display: inline-grid;
|
| 292 |
+
width: 17px;
|
| 293 |
+
height: 17px;
|
| 294 |
+
place-items: center;
|
| 295 |
+
border: 2px solid currentColor;
|
| 296 |
+
border-radius: 50%;
|
| 297 |
+
font-size: 10px;
|
| 298 |
+
font-weight: 800;
|
| 299 |
+
vertical-align: 2px;
|
| 300 |
+
}
|
| 301 |
+
.taskbook-star { font-size: 24px; vertical-align: -1px; }
|
| 302 |
+
.taskbook-review-count { color: #666c69; }
|
| 303 |
+
.taskbook-skill-divider {
|
| 304 |
+
display: flex;
|
| 305 |
+
align-items: center;
|
| 306 |
+
gap: 13px;
|
| 307 |
+
margin: 28px 0 16px;
|
| 308 |
+
color: #242927;
|
| 309 |
+
font-size: 17px;
|
| 310 |
+
text-align: center;
|
| 311 |
+
}
|
| 312 |
+
.taskbook-skill-divider::before,
|
| 313 |
+
.taskbook-skill-divider::after {
|
| 314 |
+
height: 1px;
|
| 315 |
+
flex: 1;
|
| 316 |
+
background: #d4d8d6;
|
| 317 |
+
content: "";
|
| 318 |
+
}
|
| 319 |
+
.taskbook-skill {
|
| 320 |
+
display: grid;
|
| 321 |
+
border: 1.5px solid #0d8065;
|
| 322 |
+
border-radius: 999px;
|
| 323 |
+
padding: 13px 31px;
|
| 324 |
+
color: #0d8065;
|
| 325 |
+
text-decoration: none;
|
| 326 |
+
}
|
| 327 |
+
.taskbook-skill strong { font-size: 20px; line-height: 1.35; }
|
| 328 |
+
.taskbook-skill span { font-size: 17px; }
|
| 329 |
+
.taskbook-skill:hover,
|
| 330 |
+
.taskbook-skill:focus-visible { background: #eaf6f2; outline: none; }
|
| 331 |
+
.taskbook-view-profile {
|
| 332 |
+
display: inline-flex;
|
| 333 |
+
align-items: center;
|
| 334 |
+
gap: 7px;
|
| 335 |
+
margin-top: 18px;
|
| 336 |
+
color: #0d8065;
|
| 337 |
+
font-weight: 700;
|
| 338 |
+
text-decoration: none;
|
| 339 |
+
}
|
| 340 |
+
.taskbook-view-profile:hover,
|
| 341 |
+
.taskbook-view-profile:focus-visible { text-decoration: underline; }
|
| 342 |
+
|
| 343 |
+
.taskbook-deep-page {
|
| 344 |
+
min-height: calc(100vh - 91px);
|
| 345 |
+
padding: 30px 0 80px;
|
| 346 |
+
background: #fff;
|
| 347 |
+
}
|
| 348 |
+
.taskbook-deep-shell,
|
| 349 |
+
.taskbook-profile-shell {
|
| 350 |
+
width: min(1120px, calc(100% - 64px));
|
| 351 |
+
margin: 0 auto;
|
| 352 |
+
}
|
| 353 |
+
.taskbook-profile-shell { width: min(820px, calc(100% - 64px)); }
|
| 354 |
+
.taskbook-breadcrumb {
|
| 355 |
+
display: flex;
|
| 356 |
+
align-items: center;
|
| 357 |
+
gap: 9px;
|
| 358 |
+
margin-bottom: 28px;
|
| 359 |
+
color: #626966;
|
| 360 |
+
font-size: 14px;
|
| 361 |
+
}
|
| 362 |
+
.taskbook-breadcrumb a { color: #0d8065; font-weight: 650; text-decoration: none; }
|
| 363 |
+
.taskbook-breadcrumb a:hover,
|
| 364 |
+
.taskbook-breadcrumb a:focus-visible { text-decoration: underline; }
|
| 365 |
+
|
| 366 |
+
.taskbook-category-hero {
|
| 367 |
+
display: grid;
|
| 368 |
+
grid-template-columns: minmax(0, 1fr) minmax(320px, 44%);
|
| 369 |
+
min-height: 330px;
|
| 370 |
+
overflow: hidden;
|
| 371 |
+
border-radius: 18px;
|
| 372 |
+
background: #edf7f3;
|
| 373 |
+
}
|
| 374 |
+
.taskbook-category-copy {
|
| 375 |
+
align-self: center;
|
| 376 |
+
padding: 48px 52px;
|
| 377 |
+
}
|
| 378 |
+
.taskbook-deep-eyebrow {
|
| 379 |
+
margin: 0 0 7px;
|
| 380 |
+
color: #52605a;
|
| 381 |
+
font-size: 13px;
|
| 382 |
+
font-weight: 750;
|
| 383 |
+
letter-spacing: .08em;
|
| 384 |
+
text-transform: uppercase;
|
| 385 |
+
}
|
| 386 |
+
.taskbook-category-copy h1 {
|
| 387 |
+
margin: 0;
|
| 388 |
+
color: #123c27;
|
| 389 |
+
font-size: 44px;
|
| 390 |
+
line-height: 1.15;
|
| 391 |
+
}
|
| 392 |
+
.taskbook-category-copy > p:not(.taskbook-deep-eyebrow) {
|
| 393 |
+
margin: 15px 0 0;
|
| 394 |
+
color: #39433e;
|
| 395 |
+
font-size: 17px;
|
| 396 |
+
}
|
| 397 |
+
.taskbook-category-copy .taskbook-category-trending {
|
| 398 |
+
font-size: 14px;
|
| 399 |
+
font-weight: 600;
|
| 400 |
+
}
|
| 401 |
+
.taskbook-category-hero > img {
|
| 402 |
+
width: 100%;
|
| 403 |
+
height: 100%;
|
| 404 |
+
min-height: 330px;
|
| 405 |
+
object-fit: cover;
|
| 406 |
+
}
|
| 407 |
+
.taskbook-category-list { padding: 46px 0 0; }
|
| 408 |
+
.taskbook-category-list h2 {
|
| 409 |
+
margin: 0 0 22px;
|
| 410 |
+
color: #171a19;
|
| 411 |
+
font-size: 30px;
|
| 412 |
+
}
|
| 413 |
+
.taskbook-category-grid {
|
| 414 |
+
display: grid;
|
| 415 |
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
| 416 |
+
overflow: hidden;
|
| 417 |
+
border: 1px solid #d7dcda;
|
| 418 |
+
border-radius: 14px;
|
| 419 |
+
}
|
| 420 |
+
.taskbook-category-grid a {
|
| 421 |
+
display: flex;
|
| 422 |
+
min-height: 66px;
|
| 423 |
+
align-items: center;
|
| 424 |
+
justify-content: space-between;
|
| 425 |
+
gap: 20px;
|
| 426 |
+
padding: 17px 22px;
|
| 427 |
+
border-bottom: 1px solid #e2e6e4;
|
| 428 |
+
color: #202522;
|
| 429 |
+
font-size: 17px;
|
| 430 |
+
font-weight: 650;
|
| 431 |
+
text-decoration: none;
|
| 432 |
+
}
|
| 433 |
+
.taskbook-category-grid a:nth-child(odd) { border-right: 1px solid #e2e6e4; }
|
| 434 |
+
.taskbook-category-grid a:hover,
|
| 435 |
+
.taskbook-category-grid a:focus-visible { background: #edf7f3; color: #0d8065; outline: none; }
|
| 436 |
+
.taskbook-category-grid a span:last-child { color: #0d8065; font-size: 28px; font-weight: 400; }
|
| 437 |
+
|
| 438 |
+
.taskbook-profile-card {
|
| 439 |
+
overflow: hidden;
|
| 440 |
+
border: 1px solid #cfd5d2;
|
| 441 |
+
border-radius: 18px;
|
| 442 |
+
background: #fff;
|
| 443 |
+
box-shadow: 0 5px 20px rgba(30, 42, 36, .07);
|
| 444 |
+
}
|
| 445 |
+
.taskbook-profile-heading {
|
| 446 |
+
display: flex;
|
| 447 |
+
align-items: center;
|
| 448 |
+
gap: 28px;
|
| 449 |
+
padding: 34px 38px;
|
| 450 |
+
border-bottom: 1px solid #dde2df;
|
| 451 |
+
background: #f7faf8;
|
| 452 |
+
}
|
| 453 |
+
.taskbook-profile-heading > img {
|
| 454 |
+
width: 112px;
|
| 455 |
+
height: 112px;
|
| 456 |
+
border-radius: 50%;
|
| 457 |
+
object-fit: cover;
|
| 458 |
+
}
|
| 459 |
+
.taskbook-profile-heading .taskbook-elite { margin-bottom: 9px; }
|
| 460 |
+
.taskbook-profile-heading h1 {
|
| 461 |
+
margin: 0;
|
| 462 |
+
color: #171a19;
|
| 463 |
+
font-size: 36px;
|
| 464 |
+
line-height: 1.15;
|
| 465 |
+
}
|
| 466 |
+
.taskbook-profile-popular { margin: 7px 0 0; color: #626966; }
|
| 467 |
+
.taskbook-profile-stats {
|
| 468 |
+
display: grid;
|
| 469 |
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
| 470 |
+
margin: 0;
|
| 471 |
+
padding: 30px 38px;
|
| 472 |
+
border-bottom: 1px solid #dde2df;
|
| 473 |
+
}
|
| 474 |
+
.taskbook-profile-stats div + div { border-left: 1px solid #dde2df; padding-left: 28px; }
|
| 475 |
+
.taskbook-profile-stats dt { color: #68706c; font-size: 13px; font-weight: 700; text-transform: uppercase; }
|
| 476 |
+
.taskbook-profile-stats dd { margin: 5px 0 0; color: #171a19; font-size: 24px; font-weight: 750; }
|
| 477 |
+
.taskbook-profile-skill {
|
| 478 |
+
display: flex;
|
| 479 |
+
align-items: center;
|
| 480 |
+
justify-content: space-between;
|
| 481 |
+
gap: 28px;
|
| 482 |
+
padding: 31px 38px;
|
| 483 |
+
}
|
| 484 |
+
.taskbook-profile-skill p { margin: 0; color: #68706c; font-size: 13px; font-weight: 700; text-transform: uppercase; }
|
| 485 |
+
.taskbook-profile-skill h2 { margin: 4px 0 1px; color: #183d2a; font-size: 25px; }
|
| 486 |
+
.taskbook-profile-skill strong { color: #0d8065; font-size: 18px; }
|
| 487 |
+
.taskbook-profile-skill .btn-primary { white-space: nowrap; }
|
| 488 |
+
.taskbook-profile-note { margin: 0; padding: 0 38px 31px; color: #626966; font-size: 14px; }
|
| 489 |
+
|
| 490 |
+
.dashboard-empty {
|
| 491 |
+
max-width: 620px;
|
| 492 |
+
margin: 50px auto;
|
| 493 |
+
padding: 48px 32px;
|
| 494 |
+
border: 1px solid #dce0de;
|
| 495 |
+
border-radius: 12px;
|
| 496 |
+
background: #fafcfb;
|
| 497 |
+
text-align: center;
|
| 498 |
+
}
|
| 499 |
+
.dashboard-empty h2 { margin: 0 0 8px; color: #0a2b14; }
|
| 500 |
+
.dashboard-empty p { margin: 0 0 24px; color: #65706b; }
|
| 501 |
+
|
| 502 |
+
.my-tasks-page,
|
| 503 |
+
.account-page { min-height: 620px; padding: 56px 0 80px; }
|
| 504 |
+
.my-tasks-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
|
| 505 |
+
.task-view-tabs { display: flex; gap: 32px; margin-top: 36px; border-bottom: 1px solid #dce0de; }
|
| 506 |
+
.task-view-tabs a {
|
| 507 |
+
display: inline-flex;
|
| 508 |
+
align-items: center;
|
| 509 |
+
gap: 8px;
|
| 510 |
+
border-bottom: 3px solid transparent;
|
| 511 |
+
padding: 0 2px 13px;
|
| 512 |
+
color: #59615e;
|
| 513 |
+
font-weight: 650;
|
| 514 |
+
text-decoration: none;
|
| 515 |
+
}
|
| 516 |
+
.task-view-tabs a.active { border-color: #0d7a5f; color: #075f49; }
|
| 517 |
+
.task-view-tabs span { min-width: 24px; border-radius: 999px; padding: 2px 7px; background: #edf1ef; font-size: 12px; text-align: center; }
|
| 518 |
+
.task-card-list { display: grid; gap: 18px; margin-top: 28px; }
|
| 519 |
+
.task-summary-card {
|
| 520 |
+
display: grid;
|
| 521 |
+
grid-template-columns: 74px 1fr;
|
| 522 |
+
gap: 22px;
|
| 523 |
+
border: 1px solid #dce0de;
|
| 524 |
+
border-radius: 12px;
|
| 525 |
+
padding: 24px;
|
| 526 |
+
box-shadow: 0 3px 12px rgba(20, 31, 27, .06);
|
| 527 |
+
}
|
| 528 |
+
.task-date-badge {
|
| 529 |
+
align-self: start;
|
| 530 |
+
overflow: hidden;
|
| 531 |
+
border: 1px solid #b9c2bd;
|
| 532 |
+
border-radius: 9px;
|
| 533 |
+
text-align: center;
|
| 534 |
+
}
|
| 535 |
+
.task-date-badge span { display: block; padding: 4px; background: #0d7a5f; color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; }
|
| 536 |
+
.task-date-badge strong { display: block; padding: 8px; color: #0a2b14; font-size: 25px; }
|
| 537 |
+
.task-summary-title { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
|
| 538 |
+
.task-status { margin: 0 0 3px; color: #0d7a5f; font-size: 13px; font-weight: 700; text-transform: uppercase; }
|
| 539 |
+
.task-summary-title h2 { margin: 0; color: #0a2b14; font-size: 22px; }
|
| 540 |
+
.task-total { color: #0a2b14; font-size: 18px; }
|
| 541 |
+
.task-summary-main dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 30px; margin: 20px 0; }
|
| 542 |
+
.task-summary-main dl div { min-width: 0; }
|
| 543 |
+
.task-summary-main dt { color: #65706b; font-size: 12px; font-weight: 700; text-transform: uppercase; }
|
| 544 |
+
.task-summary-main dd { margin: 2px 0 0; overflow-wrap: anywhere; }
|
| 545 |
+
.task-details-link { font-weight: 700; text-decoration: none; }
|
| 546 |
+
.my-tasks-empty { margin-top: 42px; }
|
| 547 |
+
.empty-calendar { display: block; width: 58px; height: 54px; margin: 0 auto 18px; border: 3px solid #0d7a5f; border-radius: 7px; box-shadow: inset 0 12px #dff1e8; }
|
| 548 |
+
|
| 549 |
+
.account-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; margin-top: 34px; }
|
| 550 |
+
.account-side-nav { display: grid; align-content: start; overflow: hidden; border: 1px solid #dce0de; border-radius: 10px; }
|
| 551 |
+
.account-side-nav a { padding: 13px 16px; color: #333a37; text-decoration: none; }
|
| 552 |
+
.account-side-nav a + a { border-top: 1px solid #e7e9e8; }
|
| 553 |
+
.account-side-nav a.active { border-left: 4px solid #0d7a5f; background: #f1f8f4; color: #075f49; font-weight: 700; }
|
| 554 |
+
.account-profile-card { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; border: 1px solid #dce0de; border-radius: 12px; padding: 30px; }
|
| 555 |
+
.profile-avatar { display: grid; grid-row: span 1; width: 56px; height: 56px; place-items: center; border-radius: 50%; background: #dff1e8; color: #075f49; font-size: 23px; font-weight: 700; }
|
| 556 |
+
.account-profile-card h2 { margin: 2px 0 0; color: #0a2b14; }
|
| 557 |
+
.account-profile-card .secondary-note { margin: 4px 0; }
|
| 558 |
+
.account-profile-card dl { grid-column: 1 / -1; margin: 28px 0; border-top: 1px solid #e4e7e5; }
|
| 559 |
+
.account-profile-card dl div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid #e4e7e5; }
|
| 560 |
+
.account-profile-card dt { color: #65706b; font-weight: 650; }
|
| 561 |
+
.account-profile-card dd { margin: 0; }
|
| 562 |
+
.account-profile-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; }
|
| 563 |
+
.account-profile-actions .btn-secondary { text-decoration: none; }
|
| 564 |
+
|
| 565 |
+
@media (max-width: 760px) {
|
| 566 |
+
.dashboard-shell { width: calc(100% - 32px); }
|
| 567 |
+
.my-tasks-page h1,
|
| 568 |
+
.account-page h1 { font-size: 32px; }
|
| 569 |
+
.my-tasks-heading { align-items: flex-start; flex-direction: column; }
|
| 570 |
+
.taskbook-shell { width: calc(100% - 32px); }
|
| 571 |
+
.taskbook-launcher { padding-top: 34px; }
|
| 572 |
+
.taskbook-launcher h1 { font-size: 32px; }
|
| 573 |
+
.taskbook-search { height: 64px; margin-top: 24px; }
|
| 574 |
+
.taskbook-search input { padding: 0 20px; font-size: 16px; }
|
| 575 |
+
.taskbook-search button { width: 72px; flex-basis: 72px; }
|
| 576 |
+
.taskbook-search button span { top: 20px; left: 24px; width: 19px; height: 19px; border-width: 2px; }
|
| 577 |
+
.taskbook-chip-row { gap: 8px; margin-top: 34px; }
|
| 578 |
+
.taskbook-chip-row a { min-height: 39px; padding: 7px 14px; font-size: 15px; }
|
| 579 |
+
.taskbook-recommendations { margin-top: 39px; }
|
| 580 |
+
.taskbook-recommendations-heading { align-items: flex-end; margin-bottom: 20px; }
|
| 581 |
+
.taskbook-recommendations-heading h2 { max-width: 250px; font-size: 28px; }
|
| 582 |
+
.taskbook-carousel-controls button { width: 42px; height: 42px; }
|
| 583 |
+
.taskbook-carousel-controls button span { font-size: 30px; }
|
| 584 |
+
.taskbook-tasker-card { min-width: min(88%, 390px); }
|
| 585 |
+
.taskbook-tasker-card > h3 { font-size: 19px; }
|
| 586 |
+
.taskbook-tasker-stat { font-size: 17px; }
|
| 587 |
+
.taskbook-result-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
|
| 588 |
+
.taskbook-deep-page { padding-top: 20px; }
|
| 589 |
+
.taskbook-deep-shell,
|
| 590 |
+
.taskbook-profile-shell { width: calc(100% - 32px); }
|
| 591 |
+
.taskbook-category-hero { grid-template-columns: 1fr; }
|
| 592 |
+
.taskbook-category-copy { padding: 34px 26px; }
|
| 593 |
+
.taskbook-category-copy h1 { font-size: 34px; }
|
| 594 |
+
.taskbook-category-hero > img { min-height: 230px; max-height: 280px; }
|
| 595 |
+
.taskbook-category-grid { grid-template-columns: 1fr; }
|
| 596 |
+
.taskbook-category-grid a:nth-child(odd) { border-right: 0; }
|
| 597 |
+
.taskbook-category-list h2 { font-size: 26px; }
|
| 598 |
+
.taskbook-profile-heading { align-items: flex-start; gap: 20px; padding: 26px 22px; }
|
| 599 |
+
.taskbook-profile-heading > img { width: 84px; height: 84px; }
|
| 600 |
+
.taskbook-profile-heading h1 { font-size: 29px; }
|
| 601 |
+
.taskbook-profile-stats { gap: 17px; padding: 24px 22px; }
|
| 602 |
+
.taskbook-profile-stats div + div { padding-left: 17px; }
|
| 603 |
+
.taskbook-profile-stats dt { font-size: 11px; }
|
| 604 |
+
.taskbook-profile-stats dd { font-size: 19px; }
|
| 605 |
+
.taskbook-profile-skill { align-items: flex-start; flex-direction: column; padding: 27px 22px; }
|
| 606 |
+
.taskbook-profile-note { padding: 0 22px 27px; }
|
| 607 |
+
.task-summary-card { grid-template-columns: 58px 1fr; gap: 15px; padding: 18px 16px; }
|
| 608 |
+
.task-summary-main dl { grid-template-columns: 1fr; }
|
| 609 |
+
.task-summary-title { flex-direction: column; gap: 8px; }
|
| 610 |
+
.account-layout { grid-template-columns: 1fr; }
|
| 611 |
+
.account-side-nav { grid-template-columns: 1fr 1fr; }
|
| 612 |
+
.account-side-nav a + a { border-top: 0; border-left: 1px solid #e7e9e8; }
|
| 613 |
+
.account-profile-card { padding: 22px 18px; }
|
| 614 |
+
.account-profile-card dl div { grid-template-columns: 1fr; gap: 4px; }
|
| 615 |
+
}
|
tasks/taskrabbit/solution/site/implementation/clone/static/furniture-detail-fidelity.css
ADDED
|
@@ -0,0 +1,423 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.furniture-detail-width {
|
| 2 |
+
width: min(1144px, calc(100% - 48px));
|
| 3 |
+
margin-inline: auto;
|
| 4 |
+
}
|
| 5 |
+
|
| 6 |
+
.furniture-detail-hero {
|
| 7 |
+
position: relative;
|
| 8 |
+
display: grid;
|
| 9 |
+
min-height: 550px;
|
| 10 |
+
place-items: center;
|
| 11 |
+
overflow: hidden;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
.furniture-detail-hero > img {
|
| 15 |
+
position: absolute;
|
| 16 |
+
inset: 0;
|
| 17 |
+
width: 100%;
|
| 18 |
+
height: 100%;
|
| 19 |
+
object-fit: cover;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
.furniture-detail-hero-card {
|
| 23 |
+
position: relative;
|
| 24 |
+
width: min(574px, calc(100% - 48px));
|
| 25 |
+
padding: 42px 44px 34px;
|
| 26 |
+
border-radius: 16px;
|
| 27 |
+
background: #fff;
|
| 28 |
+
text-align: center;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
.furniture-detail-hero-card h1 {
|
| 32 |
+
margin: 0 0 30px;
|
| 33 |
+
font-size: 36px;
|
| 34 |
+
line-height: 1.15;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
.furniture-detail-hero-card p {
|
| 38 |
+
max-width: 460px;
|
| 39 |
+
margin: 0 auto 30px;
|
| 40 |
+
font-size: 16px;
|
| 41 |
+
line-height: 1.45;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
.furniture-detail-button {
|
| 45 |
+
display: inline-flex;
|
| 46 |
+
min-width: 258px;
|
| 47 |
+
min-height: 44px;
|
| 48 |
+
align-items: center;
|
| 49 |
+
justify-content: center;
|
| 50 |
+
padding: 11px 24px;
|
| 51 |
+
border-radius: 999px;
|
| 52 |
+
background: #0d7a5f;
|
| 53 |
+
color: #fff;
|
| 54 |
+
font-weight: 700;
|
| 55 |
+
text-decoration: none;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
.furniture-detail-breadcrumb {
|
| 59 |
+
display: flex;
|
| 60 |
+
flex-wrap: wrap;
|
| 61 |
+
gap: 8px;
|
| 62 |
+
padding-block: 17px 18px;
|
| 63 |
+
color: #0d7a5f;
|
| 64 |
+
font-size: 16px;
|
| 65 |
+
font-weight: 600;
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
.furniture-detail-breadcrumb a {
|
| 69 |
+
color: inherit;
|
| 70 |
+
text-decoration: none;
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
.furniture-detail-article {
|
| 74 |
+
position: relative;
|
| 75 |
+
min-height: 420px;
|
| 76 |
+
padding: 20px 0 60px;
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
.furniture-detail-prose {
|
| 80 |
+
width: 62%;
|
| 81 |
+
color: #242a30;
|
| 82 |
+
font-size: 16px;
|
| 83 |
+
line-height: 1.45;
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
.furniture-detail-prose h2 {
|
| 87 |
+
margin: 20px 0 14px;
|
| 88 |
+
font-size: 26px;
|
| 89 |
+
line-height: 1.2;
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
.furniture-detail-prose > h2:first-child {
|
| 93 |
+
margin-top: 0;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
.furniture-detail-prose p {
|
| 97 |
+
margin: 0 0 14px;
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
.furniture-detail-prose li {
|
| 101 |
+
margin: 2px 0;
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
.furniture-detail-article > img {
|
| 105 |
+
position: absolute;
|
| 106 |
+
top: 30px;
|
| 107 |
+
right: 0;
|
| 108 |
+
width: 39%;
|
| 109 |
+
height: auto;
|
| 110 |
+
max-height: 360px;
|
| 111 |
+
object-fit: cover;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.furniture-detail-how {
|
| 115 |
+
padding: 44px 0 54px;
|
| 116 |
+
background: #f6f7f7;
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
.furniture-detail-how h2 {
|
| 120 |
+
margin: 0 0 24px;
|
| 121 |
+
text-align: center;
|
| 122 |
+
font-size: 26px;
|
| 123 |
+
}
|
| 124 |
+
|
| 125 |
+
.furniture-detail-how ol {
|
| 126 |
+
display: grid;
|
| 127 |
+
margin: 0;
|
| 128 |
+
padding: 0;
|
| 129 |
+
grid-template-columns: repeat(3, 1fr);
|
| 130 |
+
gap: 60px;
|
| 131 |
+
list-style: none;
|
| 132 |
+
}
|
| 133 |
+
|
| 134 |
+
.furniture-detail-how li img {
|
| 135 |
+
display: block;
|
| 136 |
+
width: 144px;
|
| 137 |
+
height: 120px;
|
| 138 |
+
margin: 0 auto 12px;
|
| 139 |
+
object-fit: contain;
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
.furniture-detail-how h3 {
|
| 143 |
+
margin: 0 0 6px;
|
| 144 |
+
color: #173d31;
|
| 145 |
+
font-size: 17px;
|
| 146 |
+
}
|
| 147 |
+
|
| 148 |
+
.furniture-detail-how h3 span {
|
| 149 |
+
display: inline-grid;
|
| 150 |
+
width: 20px;
|
| 151 |
+
height: 20px;
|
| 152 |
+
margin-right: 8px;
|
| 153 |
+
border: 1px solid #7d8782;
|
| 154 |
+
border-radius: 50%;
|
| 155 |
+
color: #5f6965;
|
| 156 |
+
place-items: center;
|
| 157 |
+
font-size: 12px;
|
| 158 |
+
font-weight: 400;
|
| 159 |
+
}
|
| 160 |
+
|
| 161 |
+
.furniture-detail-how p {
|
| 162 |
+
margin: 0;
|
| 163 |
+
color: #58615e;
|
| 164 |
+
line-height: 1.45;
|
| 165 |
+
}
|
| 166 |
+
|
| 167 |
+
.furniture-detail-ready {
|
| 168 |
+
padding: 48px 0;
|
| 169 |
+
background: #fffde1;
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
.furniture-detail-ready > div {
|
| 173 |
+
display: grid;
|
| 174 |
+
align-items: center;
|
| 175 |
+
grid-template-columns: 2fr 1fr;
|
| 176 |
+
gap: 48px;
|
| 177 |
+
}
|
| 178 |
+
|
| 179 |
+
.furniture-detail-ready img {
|
| 180 |
+
width: 100%;
|
| 181 |
+
height: 360px;
|
| 182 |
+
object-fit: cover;
|
| 183 |
+
}
|
| 184 |
+
|
| 185 |
+
.furniture-detail-ready h2 {
|
| 186 |
+
margin: 0 0 24px;
|
| 187 |
+
font-size: 31px;
|
| 188 |
+
}
|
| 189 |
+
|
| 190 |
+
.furniture-detail-ready .furniture-detail-button {
|
| 191 |
+
min-width: 150px;
|
| 192 |
+
}
|
| 193 |
+
|
| 194 |
+
.furniture-detail-faq {
|
| 195 |
+
padding-block: 62px 82px;
|
| 196 |
+
}
|
| 197 |
+
|
| 198 |
+
.furniture-detail-faq h2 {
|
| 199 |
+
margin: 0 0 32px;
|
| 200 |
+
color: #25563f;
|
| 201 |
+
font-size: 31px;
|
| 202 |
+
}
|
| 203 |
+
|
| 204 |
+
.furniture-detail-faq details {
|
| 205 |
+
border-bottom: 1px solid #dce0e0;
|
| 206 |
+
}
|
| 207 |
+
|
| 208 |
+
.furniture-detail-faq summary {
|
| 209 |
+
padding: 19px 18px;
|
| 210 |
+
color: #25563f;
|
| 211 |
+
cursor: pointer;
|
| 212 |
+
list-style-position: outside;
|
| 213 |
+
}
|
| 214 |
+
|
| 215 |
+
.furniture-detail-locations {
|
| 216 |
+
padding: 72px 0 90px;
|
| 217 |
+
background: #f6f7f7;
|
| 218 |
+
}
|
| 219 |
+
|
| 220 |
+
.furniture-detail-locations h2 {
|
| 221 |
+
margin: 0 0 34px;
|
| 222 |
+
font-size: 25px;
|
| 223 |
+
}
|
| 224 |
+
|
| 225 |
+
.furniture-detail-locations ul {
|
| 226 |
+
display: grid;
|
| 227 |
+
margin: 0;
|
| 228 |
+
padding: 0;
|
| 229 |
+
grid-template-columns: repeat(5, 1fr);
|
| 230 |
+
gap: 20px 42px;
|
| 231 |
+
list-style: none;
|
| 232 |
+
}
|
| 233 |
+
|
| 234 |
+
.furniture-detail-locations a {
|
| 235 |
+
color: #0d7a5f;
|
| 236 |
+
font-weight: 700;
|
| 237 |
+
text-decoration: none;
|
| 238 |
+
}
|
| 239 |
+
|
| 240 |
+
.furniture-detail-help {
|
| 241 |
+
position: fixed;
|
| 242 |
+
z-index: 10;
|
| 243 |
+
bottom: 18px;
|
| 244 |
+
left: 16px;
|
| 245 |
+
display: inline-flex;
|
| 246 |
+
align-items: center;
|
| 247 |
+
gap: 7px;
|
| 248 |
+
padding: 11px 20px;
|
| 249 |
+
border-radius: 999px;
|
| 250 |
+
background: #0d7a5f;
|
| 251 |
+
color: #fff;
|
| 252 |
+
font-weight: 700;
|
| 253 |
+
text-decoration: none;
|
| 254 |
+
}
|
| 255 |
+
|
| 256 |
+
.furniture-detail-help span {
|
| 257 |
+
display: grid;
|
| 258 |
+
width: 18px;
|
| 259 |
+
height: 18px;
|
| 260 |
+
border: 1px solid currentColor;
|
| 261 |
+
border-radius: 50%;
|
| 262 |
+
place-items: center;
|
| 263 |
+
font-size: 12px;
|
| 264 |
+
}
|
| 265 |
+
|
| 266 |
+
@media (max-width: 700px) {
|
| 267 |
+
.furniture-detail-width {
|
| 268 |
+
width: calc(100% - 32px);
|
| 269 |
+
}
|
| 270 |
+
|
| 271 |
+
.furniture-detail-hero {
|
| 272 |
+
min-height: 365px;
|
| 273 |
+
align-items: end;
|
| 274 |
+
padding-bottom: 24px;
|
| 275 |
+
}
|
| 276 |
+
|
| 277 |
+
.furniture-detail-hero-card {
|
| 278 |
+
width: calc(100% - 32px);
|
| 279 |
+
padding: 22px 20px 20px;
|
| 280 |
+
border-radius: 12px;
|
| 281 |
+
}
|
| 282 |
+
|
| 283 |
+
.furniture-detail-hero-card h1 {
|
| 284 |
+
margin-bottom: 22px;
|
| 285 |
+
font-size: 25px;
|
| 286 |
+
}
|
| 287 |
+
|
| 288 |
+
.furniture-detail-hero-card p {
|
| 289 |
+
margin-bottom: 18px;
|
| 290 |
+
font-size: 14px;
|
| 291 |
+
}
|
| 292 |
+
|
| 293 |
+
.furniture-detail-button {
|
| 294 |
+
width: 100%;
|
| 295 |
+
min-width: 0;
|
| 296 |
+
min-height: 39px;
|
| 297 |
+
padding-block: 8px;
|
| 298 |
+
}
|
| 299 |
+
|
| 300 |
+
.furniture-detail-breadcrumb {
|
| 301 |
+
padding-block: 15px;
|
| 302 |
+
gap: 5px;
|
| 303 |
+
font-size: 12px;
|
| 304 |
+
}
|
| 305 |
+
|
| 306 |
+
.furniture-detail-article {
|
| 307 |
+
display: flex;
|
| 308 |
+
min-height: 0;
|
| 309 |
+
padding: 18px 0 36px;
|
| 310 |
+
flex-direction: column;
|
| 311 |
+
}
|
| 312 |
+
|
| 313 |
+
.furniture-detail-prose {
|
| 314 |
+
width: 100%;
|
| 315 |
+
font-size: 14px;
|
| 316 |
+
}
|
| 317 |
+
|
| 318 |
+
.furniture-detail-prose h2 {
|
| 319 |
+
font-size: 21px;
|
| 320 |
+
}
|
| 321 |
+
|
| 322 |
+
.furniture-detail-article > img {
|
| 323 |
+
position: static;
|
| 324 |
+
width: 100%;
|
| 325 |
+
max-height: none;
|
| 326 |
+
margin: 2px 0 18px;
|
| 327 |
+
order: -1;
|
| 328 |
+
}
|
| 329 |
+
|
| 330 |
+
.furniture-detail-prose:not(.furniture-detail-prose-after-image) + img {
|
| 331 |
+
order: 0;
|
| 332 |
+
}
|
| 333 |
+
|
| 334 |
+
.furniture-detail-how {
|
| 335 |
+
padding: 36px 0 28px;
|
| 336 |
+
}
|
| 337 |
+
|
| 338 |
+
.furniture-detail-how h2 {
|
| 339 |
+
font-size: 19px;
|
| 340 |
+
}
|
| 341 |
+
|
| 342 |
+
.furniture-detail-how ol {
|
| 343 |
+
display: block;
|
| 344 |
+
}
|
| 345 |
+
|
| 346 |
+
.furniture-detail-how li {
|
| 347 |
+
margin-bottom: 24px;
|
| 348 |
+
}
|
| 349 |
+
|
| 350 |
+
.furniture-detail-how li img {
|
| 351 |
+
width: 116px;
|
| 352 |
+
height: 96px;
|
| 353 |
+
}
|
| 354 |
+
|
| 355 |
+
.furniture-detail-how h3,
|
| 356 |
+
.furniture-detail-how p {
|
| 357 |
+
font-size: 13px;
|
| 358 |
+
}
|
| 359 |
+
|
| 360 |
+
.furniture-detail-ready {
|
| 361 |
+
padding: 24px 16px 32px;
|
| 362 |
+
}
|
| 363 |
+
|
| 364 |
+
.furniture-detail-ready > div {
|
| 365 |
+
width: 100%;
|
| 366 |
+
display: block;
|
| 367 |
+
text-align: center;
|
| 368 |
+
}
|
| 369 |
+
|
| 370 |
+
.furniture-detail-ready img {
|
| 371 |
+
height: auto;
|
| 372 |
+
margin-bottom: 22px;
|
| 373 |
+
}
|
| 374 |
+
|
| 375 |
+
.furniture-detail-ready h2 {
|
| 376 |
+
margin-bottom: 15px;
|
| 377 |
+
font-size: 20px;
|
| 378 |
+
}
|
| 379 |
+
|
| 380 |
+
.furniture-detail-ready .furniture-detail-button {
|
| 381 |
+
width: auto;
|
| 382 |
+
min-width: 130px;
|
| 383 |
+
}
|
| 384 |
+
|
| 385 |
+
.furniture-detail-faq {
|
| 386 |
+
padding-block: 38px 46px;
|
| 387 |
+
}
|
| 388 |
+
|
| 389 |
+
.furniture-detail-faq h2 {
|
| 390 |
+
font-size: 20px;
|
| 391 |
+
}
|
| 392 |
+
|
| 393 |
+
.furniture-detail-faq summary {
|
| 394 |
+
padding: 16px 4px;
|
| 395 |
+
font-size: 13px;
|
| 396 |
+
}
|
| 397 |
+
|
| 398 |
+
.furniture-detail-locations {
|
| 399 |
+
padding: 45px 0 56px;
|
| 400 |
+
}
|
| 401 |
+
|
| 402 |
+
.furniture-detail-locations h2 {
|
| 403 |
+
font-size: 19px;
|
| 404 |
+
}
|
| 405 |
+
|
| 406 |
+
.furniture-detail-locations ul {
|
| 407 |
+
grid-template-columns: repeat(2, 1fr);
|
| 408 |
+
gap: 18px 24px;
|
| 409 |
+
}
|
| 410 |
+
|
| 411 |
+
.furniture-detail-locations a {
|
| 412 |
+
font-size: 12px;
|
| 413 |
+
}
|
| 414 |
+
|
| 415 |
+
.furniture-detail-help {
|
| 416 |
+
position: static;
|
| 417 |
+
display: flex;
|
| 418 |
+
border-radius: 0;
|
| 419 |
+
padding: 24px 16px;
|
| 420 |
+
background: #fff;
|
| 421 |
+
color: #6d7775;
|
| 422 |
+
}
|
| 423 |
+
}
|
tasks/taskrabbit/solution/site/implementation/clone/static/furniture-p1.css
ADDED
|
@@ -0,0 +1,609 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.furniture-card-title {
|
| 2 |
+
color: #1a1e1d;
|
| 3 |
+
text-decoration: none;
|
| 4 |
+
}
|
| 5 |
+
|
| 6 |
+
.furniture-card-title:hover,
|
| 7 |
+
.furniture-card-title:focus-visible {
|
| 8 |
+
color: #055240;
|
| 9 |
+
text-decoration: underline;
|
| 10 |
+
text-underline-offset: 3px;
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
.furniture-faq-list details p a {
|
| 14 |
+
color: #0d7a5f;
|
| 15 |
+
font-weight: 600;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
/* Source-direct furniture landing calibration. These rules intentionally live
|
| 19 |
+
in the page stylesheet so the shared home, services, and moving chrome keep
|
| 20 |
+
their independently calibrated geometry. */
|
| 21 |
+
body:has(.furniture-header) {
|
| 22 |
+
color: #242a30;
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
.furniture-header {
|
| 26 |
+
border-bottom-color: #dce0e6;
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
.furniture-brand {
|
| 30 |
+
color: #0d7a5f;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
.furniture-brand svg {
|
| 34 |
+
height: auto;
|
| 35 |
+
fill: currentColor;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
.furniture-main-nav a,
|
| 39 |
+
.furniture-auth-control {
|
| 40 |
+
color: #1a1e1d;
|
| 41 |
+
line-height: normal;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
.furniture-tasker-control {
|
| 45 |
+
border-color: #0d7a5f;
|
| 46 |
+
color: #0d7a5f;
|
| 47 |
+
line-height: normal;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
.furniture-menu-icon {
|
| 51 |
+
display: block;
|
| 52 |
+
width: 24px;
|
| 53 |
+
height: 24px;
|
| 54 |
+
background: none;
|
| 55 |
+
color: #0d7a5f;
|
| 56 |
+
fill: currentColor;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
.furniture-menu-icon::before,
|
| 60 |
+
.furniture-menu-icon::after {
|
| 61 |
+
display: none;
|
| 62 |
+
content: none;
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
.furniture-menu-icon path {
|
| 66 |
+
fill: currentColor;
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
.furniture-hero-shade {
|
| 70 |
+
background: #00000040;
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
.furniture-hero-copy {
|
| 74 |
+
width: 50%;
|
| 75 |
+
text-shadow: none;
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
.furniture-hero-copy p {
|
| 79 |
+
width: 100%;
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
@media (min-width: 900px) {
|
| 83 |
+
.furniture-hero > img {
|
| 84 |
+
object-position: 50% 15%;
|
| 85 |
+
}
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
.furniture-page-body {
|
| 89 |
+
padding-top: 32px;
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
.furniture-breadcrumb {
|
| 93 |
+
height: 27px;
|
| 94 |
+
gap: 0;
|
| 95 |
+
color: #0d7a5f;
|
| 96 |
+
font-size: 18px;
|
| 97 |
+
line-height: 25.2px;
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
.furniture-breadcrumb > span[aria-hidden="true"] {
|
| 101 |
+
display: flex;
|
| 102 |
+
margin: 0 8px;
|
| 103 |
+
font-size: 16px;
|
| 104 |
+
line-height: 25.6px;
|
| 105 |
+
letter-spacing: -0.12px;
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
@media (min-width: 600px) {
|
| 109 |
+
.furniture-breadcrumb > * {
|
| 110 |
+
transform: translateY(-1px);
|
| 111 |
+
}
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.furniture-main-layout {
|
| 115 |
+
padding-bottom: 0;
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
.furniture-card-list {
|
| 119 |
+
display: block;
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
.furniture-card {
|
| 123 |
+
display: flex;
|
| 124 |
+
align-items: center;
|
| 125 |
+
min-height: 223px;
|
| 126 |
+
margin-bottom: 32px;
|
| 127 |
+
gap: 0;
|
| 128 |
+
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
.furniture-image-frame {
|
| 132 |
+
position: relative;
|
| 133 |
+
width: 175px;
|
| 134 |
+
height: 175px;
|
| 135 |
+
min-width: 175px;
|
| 136 |
+
flex: 0 0 175px;
|
| 137 |
+
margin-right: 32px;
|
| 138 |
+
overflow: hidden;
|
| 139 |
+
border-radius: 1000px;
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
.furniture-image-frame > img {
|
| 143 |
+
position: absolute;
|
| 144 |
+
inset: 0;
|
| 145 |
+
display: block;
|
| 146 |
+
width: 175px;
|
| 147 |
+
height: 175px;
|
| 148 |
+
max-width: none;
|
| 149 |
+
object-fit: cover;
|
| 150 |
+
}
|
| 151 |
+
|
| 152 |
+
.furniture-card-copy {
|
| 153 |
+
display: flex;
|
| 154 |
+
min-width: 0;
|
| 155 |
+
flex: 1;
|
| 156 |
+
align-items: flex-start;
|
| 157 |
+
flex-direction: column;
|
| 158 |
+
}
|
| 159 |
+
|
| 160 |
+
.furniture-book-button {
|
| 161 |
+
width: 127px;
|
| 162 |
+
height: 43px;
|
| 163 |
+
min-width: 127px;
|
| 164 |
+
min-height: 43px;
|
| 165 |
+
padding: 12px 24px;
|
| 166 |
+
border-radius: 1000px;
|
| 167 |
+
font-size: 16px;
|
| 168 |
+
line-height: normal;
|
| 169 |
+
}
|
| 170 |
+
|
| 171 |
+
@media (min-width: 1200px) {
|
| 172 |
+
.furniture-card:nth-child(-n + 10) .furniture-card-copy p,
|
| 173 |
+
.furniture-card:nth-child(-n + 10) .furniture-book-button {
|
| 174 |
+
transform: translateY(-1px);
|
| 175 |
+
}
|
| 176 |
+
}
|
| 177 |
+
|
| 178 |
+
@media (min-width: 600px) and (max-width: 1199px) {
|
| 179 |
+
.furniture-card:nth-child(2) .furniture-image-frame,
|
| 180 |
+
.furniture-card:nth-child(5) .furniture-image-frame,
|
| 181 |
+
.furniture-card:nth-child(10) .furniture-image-frame,
|
| 182 |
+
.furniture-card:nth-child(11) .furniture-image-frame {
|
| 183 |
+
transform: translateY(-1px);
|
| 184 |
+
}
|
| 185 |
+
|
| 186 |
+
.furniture-card:nth-child(1) .furniture-card-copy p,
|
| 187 |
+
.furniture-card:nth-child(1) .furniture-book-button,
|
| 188 |
+
.furniture-card:nth-child(n + 3):nth-child(-n + 5) .furniture-card-copy p,
|
| 189 |
+
.furniture-card:nth-child(n + 3):nth-child(-n + 5) .furniture-book-button {
|
| 190 |
+
transform: translateY(-1px);
|
| 191 |
+
}
|
| 192 |
+
}
|
| 193 |
+
|
| 194 |
+
.furniture-review-list blockquote p {
|
| 195 |
+
margin-bottom: 8px;
|
| 196 |
+
font-size: 16px;
|
| 197 |
+
line-height: 25.6px;
|
| 198 |
+
letter-spacing: -0.08px;
|
| 199 |
+
}
|
| 200 |
+
|
| 201 |
+
.furniture-review-list cite {
|
| 202 |
+
font-weight: 600;
|
| 203 |
+
line-height: 25.6px;
|
| 204 |
+
letter-spacing: -0.12px;
|
| 205 |
+
}
|
| 206 |
+
|
| 207 |
+
.furniture-step-number {
|
| 208 |
+
background: #1a1e1d;
|
| 209 |
+
font-size: 16px;
|
| 210 |
+
font-weight: 400;
|
| 211 |
+
line-height: 24px;
|
| 212 |
+
}
|
| 213 |
+
|
| 214 |
+
.furniture-steps li:first-child .furniture-step-number,
|
| 215 |
+
.furniture-steps li:first-child h3,
|
| 216 |
+
.furniture-steps li:nth-child(2) p {
|
| 217 |
+
transform: translateY(-1px);
|
| 218 |
+
}
|
| 219 |
+
|
| 220 |
+
.furniture-other-tasks {
|
| 221 |
+
padding: 32px 0;
|
| 222 |
+
}
|
| 223 |
+
|
| 224 |
+
.furniture-other-tasks ul {
|
| 225 |
+
gap: 0;
|
| 226 |
+
margin-bottom: 16px;
|
| 227 |
+
}
|
| 228 |
+
|
| 229 |
+
.furniture-other-tasks li {
|
| 230 |
+
margin-bottom: 16px;
|
| 231 |
+
}
|
| 232 |
+
|
| 233 |
+
.furniture-other-tasks a,
|
| 234 |
+
.furniture-other-tasks span {
|
| 235 |
+
color: #0d7a5f;
|
| 236 |
+
}
|
| 237 |
+
|
| 238 |
+
body:has(.furniture-header) .furniture-help-trigger {
|
| 239 |
+
background: #0d7a5f;
|
| 240 |
+
right: auto;
|
| 241 |
+
bottom: 16px;
|
| 242 |
+
left: 16px;
|
| 243 |
+
width: 111px;
|
| 244 |
+
min-width: 0;
|
| 245 |
+
height: 43px;
|
| 246 |
+
gap: 0;
|
| 247 |
+
border-radius: 1000px;
|
| 248 |
+
padding: 12px 24px;
|
| 249 |
+
font-size: 16px;
|
| 250 |
+
font-family: "Inter", Helvetica, sans-serif;
|
| 251 |
+
font-weight: 600;
|
| 252 |
+
line-height: normal;
|
| 253 |
+
letter-spacing: -0.12px;
|
| 254 |
+
}
|
| 255 |
+
|
| 256 |
+
body:has(.furniture-header) .furniture-help-icon {
|
| 257 |
+
display: block;
|
| 258 |
+
width: 20px;
|
| 259 |
+
height: 20px;
|
| 260 |
+
margin: -2px 8px 0 -2px;
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
.furniture-footer-social {
|
| 264 |
+
gap: 5px;
|
| 265 |
+
min-height: 26px;
|
| 266 |
+
line-height: 24.66px;
|
| 267 |
+
letter-spacing: -0.09px;
|
| 268 |
+
}
|
| 269 |
+
|
| 270 |
+
.furniture-footer-social > div {
|
| 271 |
+
align-self: flex-start;
|
| 272 |
+
gap: 0;
|
| 273 |
+
margin-left: 8px;
|
| 274 |
+
}
|
| 275 |
+
|
| 276 |
+
.furniture-footer-social > div > * + * {
|
| 277 |
+
margin-left: 8px;
|
| 278 |
+
}
|
| 279 |
+
|
| 280 |
+
.furniture-footer-social img {
|
| 281 |
+
width: 24px;
|
| 282 |
+
height: 24px;
|
| 283 |
+
}
|
| 284 |
+
|
| 285 |
+
.furniture-social-separator {
|
| 286 |
+
align-self: stretch;
|
| 287 |
+
width: 1px;
|
| 288 |
+
border-right: 1px solid #fff;
|
| 289 |
+
}
|
| 290 |
+
|
| 291 |
+
.furniture-footer-column a,
|
| 292 |
+
.furniture-footer-column span {
|
| 293 |
+
font-weight: 600;
|
| 294 |
+
}
|
| 295 |
+
|
| 296 |
+
.furniture-footer-column > h2 + span,
|
| 297 |
+
.furniture-footer-company-primary,
|
| 298 |
+
.furniture-footer-company-secondary {
|
| 299 |
+
padding-top: 8px;
|
| 300 |
+
}
|
| 301 |
+
|
| 302 |
+
.furniture-footer-company-primary,
|
| 303 |
+
.furniture-footer-company-secondary {
|
| 304 |
+
display: flex;
|
| 305 |
+
align-items: flex-start;
|
| 306 |
+
flex-direction: column;
|
| 307 |
+
}
|
| 308 |
+
|
| 309 |
+
.furniture-footer-terms {
|
| 310 |
+
display: flex;
|
| 311 |
+
gap: 4px;
|
| 312 |
+
min-height: 25px;
|
| 313 |
+
padding-top: 8px;
|
| 314 |
+
}
|
| 315 |
+
|
| 316 |
+
.furniture-footer-app p {
|
| 317 |
+
max-width: none;
|
| 318 |
+
}
|
| 319 |
+
|
| 320 |
+
.furniture-footer-app img {
|
| 321 |
+
width: 175px;
|
| 322 |
+
height: 58px;
|
| 323 |
+
margin-bottom: 6px;
|
| 324 |
+
}
|
| 325 |
+
|
| 326 |
+
.furniture-footer-badges {
|
| 327 |
+
padding-top: 8px;
|
| 328 |
+
}
|
| 329 |
+
|
| 330 |
+
.furniture-faq details {
|
| 331 |
+
border-color: #dadcdb;
|
| 332 |
+
}
|
| 333 |
+
|
| 334 |
+
.furniture-faq summary::after {
|
| 335 |
+
content: none;
|
| 336 |
+
}
|
| 337 |
+
|
| 338 |
+
.furniture-faq-chevron {
|
| 339 |
+
position: absolute;
|
| 340 |
+
top: 50%;
|
| 341 |
+
right: 16px;
|
| 342 |
+
width: 16px;
|
| 343 |
+
height: 16px;
|
| 344 |
+
color: rgba(0, 0, 0, 0.54);
|
| 345 |
+
fill: currentColor;
|
| 346 |
+
transform: translateY(-50%);
|
| 347 |
+
}
|
| 348 |
+
|
| 349 |
+
.furniture-faq details[open] .furniture-faq-chevron {
|
| 350 |
+
transform: translateY(-50%) rotate(180deg);
|
| 351 |
+
}
|
| 352 |
+
|
| 353 |
+
@media (max-width: 1199px) {
|
| 354 |
+
body:has(.furniture-header) .site-footer.furniture-footer {
|
| 355 |
+
min-height: 387px;
|
| 356 |
+
}
|
| 357 |
+
|
| 358 |
+
.furniture-header .header-inner {
|
| 359 |
+
width: 92%;
|
| 360 |
+
}
|
| 361 |
+
|
| 362 |
+
.furniture-faq {
|
| 363 |
+
width: 100vw;
|
| 364 |
+
margin-left: calc(50% - 50vw);
|
| 365 |
+
padding-right: 16px;
|
| 366 |
+
padding-left: 16px;
|
| 367 |
+
}
|
| 368 |
+
|
| 369 |
+
.furniture-faq-list {
|
| 370 |
+
width: 87.55%;
|
| 371 |
+
}
|
| 372 |
+
|
| 373 |
+
.furniture-main-layout {
|
| 374 |
+
height: 2814px;
|
| 375 |
+
}
|
| 376 |
+
|
| 377 |
+
.furniture-other-tasks {
|
| 378 |
+
min-height: 239px;
|
| 379 |
+
}
|
| 380 |
+
}
|
| 381 |
+
|
| 382 |
+
@media (max-width: 899px) {
|
| 383 |
+
.furniture-main-layout {
|
| 384 |
+
grid-template-columns: 1fr;
|
| 385 |
+
}
|
| 386 |
+
|
| 387 |
+
.furniture-sidebar {
|
| 388 |
+
position: static;
|
| 389 |
+
padding: 16px;
|
| 390 |
+
}
|
| 391 |
+
}
|
| 392 |
+
|
| 393 |
+
@media (min-width: 600px) and (max-width: 899px) {
|
| 394 |
+
.furniture-faq {
|
| 395 |
+
padding-top: 48px;
|
| 396 |
+
padding-bottom: 48px;
|
| 397 |
+
}
|
| 398 |
+
|
| 399 |
+
.furniture-faq-list {
|
| 400 |
+
width: 70%;
|
| 401 |
+
}
|
| 402 |
+
}
|
| 403 |
+
|
| 404 |
+
@media (max-width: 599px) {
|
| 405 |
+
.furniture-breadcrumb {
|
| 406 |
+
gap: 0.45rem;
|
| 407 |
+
}
|
| 408 |
+
|
| 409 |
+
.furniture-breadcrumb > span[aria-hidden="true"] {
|
| 410 |
+
display: inline;
|
| 411 |
+
margin: 0;
|
| 412 |
+
font-size: inherit;
|
| 413 |
+
line-height: inherit;
|
| 414 |
+
letter-spacing: inherit;
|
| 415 |
+
}
|
| 416 |
+
|
| 417 |
+
.furniture-breadcrumb > * {
|
| 418 |
+
transform: none;
|
| 419 |
+
}
|
| 420 |
+
|
| 421 |
+
.furniture-hero-copy {
|
| 422 |
+
width: 255px;
|
| 423 |
+
transform: none;
|
| 424 |
+
}
|
| 425 |
+
|
| 426 |
+
.furniture-hero-copy h1 {
|
| 427 |
+
padding-bottom: 16px;
|
| 428 |
+
font-size: 26px;
|
| 429 |
+
font-weight: 800;
|
| 430 |
+
line-height: 36.4px;
|
| 431 |
+
letter-spacing: normal;
|
| 432 |
+
}
|
| 433 |
+
|
| 434 |
+
.furniture-hero-copy p {
|
| 435 |
+
padding-bottom: 16px;
|
| 436 |
+
font-size: 16px;
|
| 437 |
+
line-height: 21.92px;
|
| 438 |
+
letter-spacing: -0.08px;
|
| 439 |
+
}
|
| 440 |
+
|
| 441 |
+
.furniture-breadcrumb {
|
| 442 |
+
height: 22px;
|
| 443 |
+
font-size: 16px;
|
| 444 |
+
line-height: 22.4px;
|
| 445 |
+
letter-spacing: -0.08px;
|
| 446 |
+
}
|
| 447 |
+
|
| 448 |
+
.furniture-card {
|
| 449 |
+
min-height: 0;
|
| 450 |
+
flex-direction: column;
|
| 451 |
+
gap: 24px;
|
| 452 |
+
padding: 24px 16px;
|
| 453 |
+
}
|
| 454 |
+
|
| 455 |
+
.furniture-image-frame {
|
| 456 |
+
width: 145px;
|
| 457 |
+
height: 145px;
|
| 458 |
+
min-width: 145px;
|
| 459 |
+
flex-basis: 145px;
|
| 460 |
+
margin-right: 0;
|
| 461 |
+
}
|
| 462 |
+
|
| 463 |
+
.furniture-image-frame > img {
|
| 464 |
+
width: 145px;
|
| 465 |
+
height: 145px;
|
| 466 |
+
}
|
| 467 |
+
|
| 468 |
+
.furniture-card-copy {
|
| 469 |
+
display: flex;
|
| 470 |
+
align-items: center;
|
| 471 |
+
flex-direction: column;
|
| 472 |
+
}
|
| 473 |
+
|
| 474 |
+
.furniture-card-copy h2 {
|
| 475 |
+
font-size: 18px;
|
| 476 |
+
line-height: 23.76px;
|
| 477 |
+
letter-spacing: -0.09px;
|
| 478 |
+
}
|
| 479 |
+
|
| 480 |
+
.furniture-card-copy p {
|
| 481 |
+
margin-bottom: 24px;
|
| 482 |
+
font-size: 14px;
|
| 483 |
+
line-height: 18.62px;
|
| 484 |
+
letter-spacing: -0.07px;
|
| 485 |
+
text-align: center;
|
| 486 |
+
}
|
| 487 |
+
|
| 488 |
+
.furniture-faq {
|
| 489 |
+
padding-top: 48px;
|
| 490 |
+
padding-bottom: 48px;
|
| 491 |
+
}
|
| 492 |
+
|
| 493 |
+
.furniture-faq > h2,
|
| 494 |
+
.furniture-other-tasks h2 {
|
| 495 |
+
font-size: 23px;
|
| 496 |
+
line-height: 32.2px;
|
| 497 |
+
}
|
| 498 |
+
|
| 499 |
+
.furniture-faq-list {
|
| 500 |
+
width: 100%;
|
| 501 |
+
max-width: 375px;
|
| 502 |
+
}
|
| 503 |
+
|
| 504 |
+
.furniture-other-tasks {
|
| 505 |
+
padding: 32px 0;
|
| 506 |
+
}
|
| 507 |
+
}
|
| 508 |
+
|
| 509 |
+
.furniture-detail-breadcrumb {
|
| 510 |
+
padding-bottom: 0;
|
| 511 |
+
padding-top: 32px;
|
| 512 |
+
}
|
| 513 |
+
|
| 514 |
+
.furniture-detail-shell {
|
| 515 |
+
align-items: center;
|
| 516 |
+
display: grid;
|
| 517 |
+
gap: 56px;
|
| 518 |
+
grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
|
| 519 |
+
margin: 0 auto;
|
| 520 |
+
max-width: 1152px;
|
| 521 |
+
min-height: 560px;
|
| 522 |
+
padding: 56px 24px 88px;
|
| 523 |
+
}
|
| 524 |
+
|
| 525 |
+
.furniture-detail-shell img {
|
| 526 |
+
background: #f4f7f6;
|
| 527 |
+
border-radius: 16px;
|
| 528 |
+
height: auto;
|
| 529 |
+
max-width: 100%;
|
| 530 |
+
object-fit: cover;
|
| 531 |
+
width: 100%;
|
| 532 |
+
}
|
| 533 |
+
|
| 534 |
+
.furniture-detail-shell h1,
|
| 535 |
+
.furniture-related-shell h1 {
|
| 536 |
+
color: #1a1e1d;
|
| 537 |
+
font-size: clamp(2rem, 4vw, 3.5rem);
|
| 538 |
+
line-height: 1.08;
|
| 539 |
+
margin: 8px 0 24px;
|
| 540 |
+
}
|
| 541 |
+
|
| 542 |
+
.furniture-detail-shell p {
|
| 543 |
+
color: #454947;
|
| 544 |
+
font-size: 18px;
|
| 545 |
+
line-height: 1.55;
|
| 546 |
+
margin: 0 0 18px;
|
| 547 |
+
}
|
| 548 |
+
|
| 549 |
+
.furniture-detail-eyebrow {
|
| 550 |
+
color: #0d7a5f !important;
|
| 551 |
+
font-size: 14px !important;
|
| 552 |
+
font-weight: 700;
|
| 553 |
+
letter-spacing: 0.08em;
|
| 554 |
+
text-transform: uppercase;
|
| 555 |
+
}
|
| 556 |
+
|
| 557 |
+
.furniture-detail-book {
|
| 558 |
+
display: inline-flex;
|
| 559 |
+
margin-top: 14px;
|
| 560 |
+
}
|
| 561 |
+
|
| 562 |
+
.furniture-related-shell {
|
| 563 |
+
margin: 0 auto;
|
| 564 |
+
max-width: 900px;
|
| 565 |
+
min-height: 420px;
|
| 566 |
+
padding: 72px 24px 104px;
|
| 567 |
+
}
|
| 568 |
+
|
| 569 |
+
.furniture-related-shell > p:not(.furniture-detail-eyebrow) {
|
| 570 |
+
color: #454947;
|
| 571 |
+
font-size: 18px;
|
| 572 |
+
line-height: 1.55;
|
| 573 |
+
max-width: 650px;
|
| 574 |
+
}
|
| 575 |
+
|
| 576 |
+
.furniture-related-actions {
|
| 577 |
+
align-items: center;
|
| 578 |
+
display: flex;
|
| 579 |
+
flex-wrap: wrap;
|
| 580 |
+
gap: 24px;
|
| 581 |
+
margin-top: 32px;
|
| 582 |
+
}
|
| 583 |
+
|
| 584 |
+
.furniture-related-back {
|
| 585 |
+
color: #0d7a5f;
|
| 586 |
+
font-weight: 600;
|
| 587 |
+
}
|
| 588 |
+
|
| 589 |
+
@media (max-width: 767px) {
|
| 590 |
+
.furniture-detail-breadcrumb {
|
| 591 |
+
padding-top: 20px;
|
| 592 |
+
}
|
| 593 |
+
|
| 594 |
+
.furniture-detail-shell {
|
| 595 |
+
gap: 28px;
|
| 596 |
+
grid-template-columns: 1fr;
|
| 597 |
+
min-height: auto;
|
| 598 |
+
padding: 32px 16px 64px;
|
| 599 |
+
}
|
| 600 |
+
|
| 601 |
+
.furniture-detail-shell img {
|
| 602 |
+
margin: 0 auto;
|
| 603 |
+
max-width: 320px;
|
| 604 |
+
}
|
| 605 |
+
|
| 606 |
+
.furniture-related-shell {
|
| 607 |
+
padding: 48px 16px 72px;
|
| 608 |
+
}
|
| 609 |
+
}
|
tasks/taskrabbit/solution/site/implementation/clone/static/home-assets/help-moving-8ff5b956fe8d.webp
ADDED
|
Git LFS Details
|
tasks/taskrabbit/solution/site/implementation/clone/static/home-assets/promotion-close-lossless.webp
ADDED
|
Git LFS Details
|
tasks/taskrabbit/solution/site/implementation/clone/static/home-assets/promotion-desktop-tablet.png
ADDED
|
Git LFS Details
|
tasks/taskrabbit/solution/site/implementation/clone/static/home-assets/promotion-desktop-wide.png
ADDED
|
Git LFS Details
|
tasks/taskrabbit/solution/site/implementation/clone/static/home-assets/promotion-mobile.png
ADDED
|
Git LFS Details
|
tasks/taskrabbit/solution/site/implementation/clone/static/home-fidelity.css
ADDED
|
@@ -0,0 +1,1638 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@font-face {
|
| 2 |
+
font-family: "Ivy Presto";
|
| 3 |
+
src: url("/static/assets/source-current/2026-07-25/home/ivy-presto-headline.otf") format("opentype");
|
| 4 |
+
font-display: swap;
|
| 5 |
+
}
|
| 6 |
+
|
| 7 |
+
body:has(.home-fidelity) {
|
| 8 |
+
background: #fff;
|
| 9 |
+
color: #242a30;
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
body:has(.home-fidelity) .site-header {
|
| 13 |
+
position: relative;
|
| 14 |
+
z-index: 61;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
body:has(.home-fidelity) .site-header .header-inner {
|
| 18 |
+
width: 100%;
|
| 19 |
+
max-width: 1440px;
|
| 20 |
+
padding-right: 4%;
|
| 21 |
+
padding-left: 4%;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
body:has(.home-fidelity) .site-header:not(.furniture-header) .main-nav {
|
| 25 |
+
height: 43px;
|
| 26 |
+
letter-spacing: -0.12px;
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
body:has(.home-fidelity) .site-header:not(.furniture-header) .main-nav > a {
|
| 30 |
+
display: inline-flex;
|
| 31 |
+
height: 36px;
|
| 32 |
+
align-items: center;
|
| 33 |
+
line-height: normal;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
body:has(.home-fidelity) .site-header:not(.furniture-header) .main-nav .become-tasker {
|
| 37 |
+
width: 180px;
|
| 38 |
+
height: 43px;
|
| 39 |
+
padding: 12px 24px;
|
| 40 |
+
line-height: normal;
|
| 41 |
+
white-space: nowrap;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
body:has(.home-fidelity) .site-footer {
|
| 45 |
+
position: relative;
|
| 46 |
+
z-index: 2;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
.home-fidelity {
|
| 50 |
+
position: relative;
|
| 51 |
+
overflow: hidden;
|
| 52 |
+
background: #fff;
|
| 53 |
+
color: #242a30;
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
.home-shapes {
|
| 57 |
+
position: absolute;
|
| 58 |
+
z-index: 0;
|
| 59 |
+
inset: 0;
|
| 60 |
+
pointer-events: none;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
.home-shape {
|
| 64 |
+
position: absolute;
|
| 65 |
+
max-width: none;
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
.home-shape.top-right { top: 0; right: 0; width: 445px; height: 262px; }
|
| 69 |
+
.home-shape.top-left { top: 50px; left: 0; width: 145px; height: 462px; }
|
| 70 |
+
.home-shape.middle-right-one { top: 1240px; right: 0; width: 77px; height: 314px; }
|
| 71 |
+
.home-shape.middle-left { top: 2053px; left: 0; width: 136px; height: 386px; }
|
| 72 |
+
.home-shape.middle-right-two { top: 3440px; right: 0; width: 144px; height: 446px; }
|
| 73 |
+
.home-shape.bottom-right { top: 4646px; right: 0; width: 150px; height: 343px; }
|
| 74 |
+
.home-shape.bottom-left { top: 4964px; left: 0; width: 161px; height: 182px; }
|
| 75 |
+
|
| 76 |
+
/* The source capture paints the first middle ornament above the stats and
|
| 77 |
+
projects section backgrounds. Its two bottom ornaments were present in
|
| 78 |
+
the DOM but did not paint in any of the three independent browser frames. */
|
| 79 |
+
.home-shape.middle-right-one { z-index: 2; }
|
| 80 |
+
.home-shape.bottom-right,
|
| 81 |
+
.home-shape.bottom-left { display: none; }
|
| 82 |
+
|
| 83 |
+
.home-intro,
|
| 84 |
+
.home-stats,
|
| 85 |
+
.popular-projects,
|
| 86 |
+
.testimonial-band,
|
| 87 |
+
.guarantee-band,
|
| 88 |
+
.how-it-works,
|
| 89 |
+
.get-help {
|
| 90 |
+
position: relative;
|
| 91 |
+
z-index: 1;
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
.home-title-block {
|
| 95 |
+
position: relative;
|
| 96 |
+
width: 1200px;
|
| 97 |
+
height: 450px;
|
| 98 |
+
margin: 0 auto;
|
| 99 |
+
padding-top: 112px;
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
.home-title-block h1 {
|
| 103 |
+
display: flex;
|
| 104 |
+
flex-direction: column;
|
| 105 |
+
align-items: center;
|
| 106 |
+
margin: 0;
|
| 107 |
+
color: #2b4c32;
|
| 108 |
+
font-family: "Ivy Presto", "Inter", sans-serif;
|
| 109 |
+
font-size: 55px;
|
| 110 |
+
font-weight: 800;
|
| 111 |
+
line-height: 77px;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.home-ikea-badge {
|
| 115 |
+
object-fit: contain;
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
.intro-badge {
|
| 119 |
+
position: absolute;
|
| 120 |
+
top: 16px;
|
| 121 |
+
left: 32px;
|
| 122 |
+
width: 90px;
|
| 123 |
+
height: 90px;
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
.home-search {
|
| 127 |
+
display: flex;
|
| 128 |
+
width: 630px;
|
| 129 |
+
height: 64px;
|
| 130 |
+
margin: 56px auto 0;
|
| 131 |
+
overflow: hidden;
|
| 132 |
+
border: 1px solid #8a8d8c;
|
| 133 |
+
border-radius: 1000px;
|
| 134 |
+
background: #fff;
|
| 135 |
+
}
|
| 136 |
+
|
| 137 |
+
.home-search input {
|
| 138 |
+
min-width: 0;
|
| 139 |
+
flex: 1;
|
| 140 |
+
border: 0;
|
| 141 |
+
outline: 0;
|
| 142 |
+
padding: 4px 0 5px 24px;
|
| 143 |
+
background: transparent;
|
| 144 |
+
color: #242a30;
|
| 145 |
+
font: inherit;
|
| 146 |
+
font-size: 18px;
|
| 147 |
+
}
|
| 148 |
+
|
| 149 |
+
.home-search input::placeholder { color: #8a8d8c; opacity: 1; }
|
| 150 |
+
|
| 151 |
+
.home-search button {
|
| 152 |
+
position: relative;
|
| 153 |
+
width: 88px;
|
| 154 |
+
border: 0;
|
| 155 |
+
border-radius: 0 1000px 1000px 0;
|
| 156 |
+
background: #0d7a5f;
|
| 157 |
+
}
|
| 158 |
+
|
| 159 |
+
.home-search button span,
|
| 160 |
+
.home-search button span::after {
|
| 161 |
+
position: absolute;
|
| 162 |
+
display: block;
|
| 163 |
+
content: "";
|
| 164 |
+
}
|
| 165 |
+
|
| 166 |
+
.home-search button span {
|
| 167 |
+
top: 20px;
|
| 168 |
+
left: 32px;
|
| 169 |
+
width: 15px;
|
| 170 |
+
height: 15px;
|
| 171 |
+
border: 2px solid #fff;
|
| 172 |
+
border-radius: 50%;
|
| 173 |
+
}
|
| 174 |
+
|
| 175 |
+
.home-search button span::after {
|
| 176 |
+
right: -5px;
|
| 177 |
+
bottom: -4px;
|
| 178 |
+
width: 7px;
|
| 179 |
+
height: 2px;
|
| 180 |
+
background: #fff;
|
| 181 |
+
transform: rotate(45deg);
|
| 182 |
+
}
|
| 183 |
+
|
| 184 |
+
.home-category-panel {
|
| 185 |
+
width: 1200px;
|
| 186 |
+
height: 201px;
|
| 187 |
+
margin: 0 auto;
|
| 188 |
+
padding: 0 24px;
|
| 189 |
+
}
|
| 190 |
+
|
| 191 |
+
.home-category-panel .category-tabs {
|
| 192 |
+
display: grid;
|
| 193 |
+
grid-template-columns: repeat(8, 1fr);
|
| 194 |
+
gap: 0;
|
| 195 |
+
height: 101px;
|
| 196 |
+
margin: 0;
|
| 197 |
+
border-bottom: 1px solid #dce0e6;
|
| 198 |
+
}
|
| 199 |
+
|
| 200 |
+
.home-category-panel .category-tab {
|
| 201 |
+
display: flex;
|
| 202 |
+
height: 101px;
|
| 203 |
+
flex-direction: column;
|
| 204 |
+
align-items: center;
|
| 205 |
+
justify-content: flex-end;
|
| 206 |
+
gap: 2px;
|
| 207 |
+
border: 0;
|
| 208 |
+
border-bottom: 2px solid transparent;
|
| 209 |
+
border-radius: 0;
|
| 210 |
+
padding: 1px 6px 7px;
|
| 211 |
+
background: transparent;
|
| 212 |
+
color: #242a30;
|
| 213 |
+
font-size: 14px;
|
| 214 |
+
font-weight: 700;
|
| 215 |
+
line-height: 19px;
|
| 216 |
+
text-decoration: none;
|
| 217 |
+
}
|
| 218 |
+
|
| 219 |
+
.home-category-panel .category-tab.active {
|
| 220 |
+
border-bottom-color: #066599;
|
| 221 |
+
color: #066599;
|
| 222 |
+
}
|
| 223 |
+
|
| 224 |
+
.category-symbol {
|
| 225 |
+
position: relative;
|
| 226 |
+
display: block;
|
| 227 |
+
width: 60px;
|
| 228 |
+
height: 52px;
|
| 229 |
+
}
|
| 230 |
+
|
| 231 |
+
.category-symbol-blob {
|
| 232 |
+
position: absolute;
|
| 233 |
+
top: 0;
|
| 234 |
+
left: 0;
|
| 235 |
+
width: 60px;
|
| 236 |
+
height: 50px;
|
| 237 |
+
}
|
| 238 |
+
|
| 239 |
+
.category-symbol-icon {
|
| 240 |
+
position: absolute;
|
| 241 |
+
top: 9px;
|
| 242 |
+
left: 15px;
|
| 243 |
+
width: 32px;
|
| 244 |
+
height: 32px;
|
| 245 |
+
}
|
| 246 |
+
|
| 247 |
+
.home-category-panel .trending-list {
|
| 248 |
+
display: flex;
|
| 249 |
+
flex-wrap: nowrap;
|
| 250 |
+
gap: 24px;
|
| 251 |
+
margin: 24px 0 32px;
|
| 252 |
+
color: #242a30;
|
| 253 |
+
font-size: 16px;
|
| 254 |
+
}
|
| 255 |
+
|
| 256 |
+
.home-category-panel .trending-list li {
|
| 257 |
+
flex: 1;
|
| 258 |
+
border: 1px solid #8a8d8c;
|
| 259 |
+
border-radius: 1000px;
|
| 260 |
+
padding: 0;
|
| 261 |
+
overflow: hidden;
|
| 262 |
+
text-align: center;
|
| 263 |
+
text-overflow: ellipsis;
|
| 264 |
+
white-space: nowrap;
|
| 265 |
+
}
|
| 266 |
+
|
| 267 |
+
.home-category-panel .trending-list a {
|
| 268 |
+
display: block;
|
| 269 |
+
padding: 9px 17px;
|
| 270 |
+
overflow: hidden;
|
| 271 |
+
color: inherit;
|
| 272 |
+
text-decoration: none;
|
| 273 |
+
text-overflow: ellipsis;
|
| 274 |
+
}
|
| 275 |
+
|
| 276 |
+
.home-category-panel .trending-list a:hover,
|
| 277 |
+
.home-category-panel .trending-list a:focus-visible {
|
| 278 |
+
background: #f1f8f4;
|
| 279 |
+
color: #075f49;
|
| 280 |
+
outline: none;
|
| 281 |
+
}
|
| 282 |
+
|
| 283 |
+
.home-category-panel [data-home-category-panel][hidden],
|
| 284 |
+
.home-family-showcase[hidden] {
|
| 285 |
+
display: none !important;
|
| 286 |
+
}
|
| 287 |
+
|
| 288 |
+
.assembly-showcase {
|
| 289 |
+
position: relative;
|
| 290 |
+
width: 1200px;
|
| 291 |
+
height: 574px;
|
| 292 |
+
margin: 0 auto;
|
| 293 |
+
border-radius: 16px;
|
| 294 |
+
background: rgba(186, 231, 255, .5);
|
| 295 |
+
overflow: hidden;
|
| 296 |
+
}
|
| 297 |
+
|
| 298 |
+
.assembly-photo {
|
| 299 |
+
position: absolute;
|
| 300 |
+
top: 40px;
|
| 301 |
+
left: 165px;
|
| 302 |
+
width: 950px;
|
| 303 |
+
height: 491px;
|
| 304 |
+
border-radius: 8px;
|
| 305 |
+
object-fit: cover;
|
| 306 |
+
}
|
| 307 |
+
|
| 308 |
+
.assembly-card {
|
| 309 |
+
position: absolute;
|
| 310 |
+
z-index: 2;
|
| 311 |
+
top: 104px;
|
| 312 |
+
left: 40px;
|
| 313 |
+
width: 384px;
|
| 314 |
+
min-height: 366px;
|
| 315 |
+
border-radius: 8px;
|
| 316 |
+
padding: 64px 40px 40px;
|
| 317 |
+
background: #fff;
|
| 318 |
+
}
|
| 319 |
+
|
| 320 |
+
.assembly-card h2 {
|
| 321 |
+
margin: 0 0 30px;
|
| 322 |
+
color: #0a2b14;
|
| 323 |
+
font-size: 24px;
|
| 324 |
+
line-height: 32px;
|
| 325 |
+
}
|
| 326 |
+
|
| 327 |
+
.assembly-card p {
|
| 328 |
+
display: grid;
|
| 329 |
+
grid-template-columns: 8px 1fr;
|
| 330 |
+
gap: 24px;
|
| 331 |
+
margin: 0 0 28px;
|
| 332 |
+
font-size: 18px;
|
| 333 |
+
line-height: 24.66px;
|
| 334 |
+
letter-spacing: -.09px;
|
| 335 |
+
}
|
| 336 |
+
|
| 337 |
+
.assembly-card p span { font-size: 9px; padding-top: 4px; }
|
| 338 |
+
|
| 339 |
+
.home-stats {
|
| 340 |
+
height: 188px;
|
| 341 |
+
background: linear-gradient(
|
| 342 |
+
to bottom,
|
| 343 |
+
#fff 0%,
|
| 344 |
+
#fbfdfc 5.3%,
|
| 345 |
+
#f8fcf9 13.4%,
|
| 346 |
+
#f5fbf7 26.7%,
|
| 347 |
+
#f3faf5 40.1%,
|
| 348 |
+
#f1f9f3 53.5%,
|
| 349 |
+
#f0f9f2 66.8%,
|
| 350 |
+
#eef8f0 80.2%,
|
| 351 |
+
#edf7f0 93.6%,
|
| 352 |
+
#ecf7ef 100%
|
| 353 |
+
);
|
| 354 |
+
}
|
| 355 |
+
|
| 356 |
+
.home-stats-inner {
|
| 357 |
+
display: grid;
|
| 358 |
+
width: 1200px;
|
| 359 |
+
height: 188px;
|
| 360 |
+
grid-template-columns: 179px 179px 179px 179px 179px 130px;
|
| 361 |
+
gap: 8px;
|
| 362 |
+
align-items: center;
|
| 363 |
+
margin: 0 auto;
|
| 364 |
+
padding: 0 24px 0 64px;
|
| 365 |
+
}
|
| 366 |
+
|
| 367 |
+
.home-stats-inner > div {
|
| 368 |
+
display: flex;
|
| 369 |
+
height: 82px;
|
| 370 |
+
flex-direction: column;
|
| 371 |
+
justify-content: center;
|
| 372 |
+
}
|
| 373 |
+
|
| 374 |
+
.home-stats-inner span {
|
| 375 |
+
color: #0a2b14;
|
| 376 |
+
font-size: 18px;
|
| 377 |
+
font-weight: 600;
|
| 378 |
+
line-height: 25.2px;
|
| 379 |
+
letter-spacing: -.09px;
|
| 380 |
+
}
|
| 381 |
+
|
| 382 |
+
.home-stats-inner strong {
|
| 383 |
+
color: #0d7a5f;
|
| 384 |
+
font-size: 24px;
|
| 385 |
+
font-weight: 600;
|
| 386 |
+
line-height: 31.68px;
|
| 387 |
+
letter-spacing: -.12px;
|
| 388 |
+
}
|
| 389 |
+
|
| 390 |
+
.stats-badge {
|
| 391 |
+
width: 130px;
|
| 392 |
+
height: 86px;
|
| 393 |
+
}
|
| 394 |
+
|
| 395 |
+
.popular-projects {
|
| 396 |
+
width: 1200px;
|
| 397 |
+
height: 1122px;
|
| 398 |
+
margin: 0 auto;
|
| 399 |
+
padding: 88px 24px;
|
| 400 |
+
}
|
| 401 |
+
|
| 402 |
+
.popular-projects h2,
|
| 403 |
+
.testimonial-band h2,
|
| 404 |
+
.get-help h2 {
|
| 405 |
+
margin: 0 0 30px;
|
| 406 |
+
color: #0a2b14;
|
| 407 |
+
font-size: 30px;
|
| 408 |
+
font-weight: 700;
|
| 409 |
+
line-height: 42px;
|
| 410 |
+
}
|
| 411 |
+
|
| 412 |
+
.popular-projects .project-grid {
|
| 413 |
+
display: grid;
|
| 414 |
+
grid-template-columns: repeat(4, 240px);
|
| 415 |
+
grid-auto-rows: 273px;
|
| 416 |
+
gap: 32px 48px;
|
| 417 |
+
padding-left: 40px;
|
| 418 |
+
}
|
| 419 |
+
|
| 420 |
+
.popular-projects .project-card {
|
| 421 |
+
display: flex;
|
| 422 |
+
height: 250px;
|
| 423 |
+
flex-direction: column;
|
| 424 |
+
border: 0;
|
| 425 |
+
border-radius: 16px;
|
| 426 |
+
background: #f5f7f7;
|
| 427 |
+
box-shadow: 0 2px 8px rgba(20, 31, 27, .16);
|
| 428 |
+
overflow: hidden;
|
| 429 |
+
text-align: center;
|
| 430 |
+
}
|
| 431 |
+
|
| 432 |
+
.popular-projects .project-card a { color: inherit; text-decoration: none; }
|
| 433 |
+
|
| 434 |
+
.popular-projects .project-card img,
|
| 435 |
+
.source-missing-project-image {
|
| 436 |
+
display: block;
|
| 437 |
+
width: 240px;
|
| 438 |
+
height: 163px;
|
| 439 |
+
background: #f5f7f7;
|
| 440 |
+
object-fit: cover;
|
| 441 |
+
}
|
| 442 |
+
|
| 443 |
+
.source-unloaded-project-image {
|
| 444 |
+
visibility: hidden;
|
| 445 |
+
}
|
| 446 |
+
|
| 447 |
+
.popular-projects .project-card h3,
|
| 448 |
+
.popular-projects .project-card h4 {
|
| 449 |
+
margin: 16px 16px 0;
|
| 450 |
+
overflow: hidden;
|
| 451 |
+
color: #0a2b14;
|
| 452 |
+
font-size: 16px;
|
| 453 |
+
font-weight: 600;
|
| 454 |
+
letter-spacing: -.12px;
|
| 455 |
+
line-height: 25.6px;
|
| 456 |
+
text-overflow: ellipsis;
|
| 457 |
+
white-space: nowrap;
|
| 458 |
+
}
|
| 459 |
+
|
| 460 |
+
.popular-projects .project-card p {
|
| 461 |
+
margin: 8px 16px 0;
|
| 462 |
+
color: #0a2b14;
|
| 463 |
+
font-size: 14px;
|
| 464 |
+
letter-spacing: -.07px;
|
| 465 |
+
line-height: 20.16px;
|
| 466 |
+
}
|
| 467 |
+
|
| 468 |
+
.testimonial-band {
|
| 469 |
+
height: 841px;
|
| 470 |
+
background: #fff;
|
| 471 |
+
}
|
| 472 |
+
|
| 473 |
+
.testimonial-inner {
|
| 474 |
+
width: 1136px;
|
| 475 |
+
margin: 0 auto;
|
| 476 |
+
padding: 80px 0;
|
| 477 |
+
}
|
| 478 |
+
|
| 479 |
+
.testimonial-band h2 {
|
| 480 |
+
margin-bottom: 48px;
|
| 481 |
+
color: #2b4c32;
|
| 482 |
+
}
|
| 483 |
+
|
| 484 |
+
.testimonial-band .reviews-grid {
|
| 485 |
+
display: grid;
|
| 486 |
+
grid-template-columns: repeat(3, 1fr);
|
| 487 |
+
grid-auto-rows: 236px;
|
| 488 |
+
gap: 48px 56px;
|
| 489 |
+
}
|
| 490 |
+
|
| 491 |
+
.testimonial-band blockquote {
|
| 492 |
+
margin: 0;
|
| 493 |
+
border: 0;
|
| 494 |
+
padding: 0;
|
| 495 |
+
color: #0a2b14;
|
| 496 |
+
}
|
| 497 |
+
|
| 498 |
+
.testimonial-band blockquote header {
|
| 499 |
+
display: flex;
|
| 500 |
+
align-items: center;
|
| 501 |
+
height: 30px;
|
| 502 |
+
gap: 0;
|
| 503 |
+
margin-bottom: 17px;
|
| 504 |
+
font-size: 20px;
|
| 505 |
+
line-height: 26.4px;
|
| 506 |
+
}
|
| 507 |
+
|
| 508 |
+
.testimonial-band blockquote header strong {
|
| 509 |
+
padding-right: 9.6px;
|
| 510 |
+
font-weight: 600;
|
| 511 |
+
letter-spacing: -.3px;
|
| 512 |
+
}
|
| 513 |
+
|
| 514 |
+
.testimonial-band .review-stars {
|
| 515 |
+
display: inline-flex;
|
| 516 |
+
align-items: flex-start;
|
| 517 |
+
width: 144px;
|
| 518 |
+
height: 30px;
|
| 519 |
+
gap: 6px;
|
| 520 |
+
color: #fdbb30;
|
| 521 |
+
font-size: 0;
|
| 522 |
+
letter-spacing: 0;
|
| 523 |
+
line-height: 0;
|
| 524 |
+
}
|
| 525 |
+
|
| 526 |
+
.testimonial-band .review-stars svg {
|
| 527 |
+
flex: 0 0 24px;
|
| 528 |
+
}
|
| 529 |
+
|
| 530 |
+
.testimonial-band blockquote p {
|
| 531 |
+
display: -webkit-box;
|
| 532 |
+
width: 313px;
|
| 533 |
+
margin: 0 0 16px;
|
| 534 |
+
overflow: hidden;
|
| 535 |
+
font-size: 18px;
|
| 536 |
+
letter-spacing: -.09px;
|
| 537 |
+
line-height: 24.66px;
|
| 538 |
+
-webkit-box-orient: vertical;
|
| 539 |
+
-webkit-line-clamp: 6;
|
| 540 |
+
}
|
| 541 |
+
|
| 542 |
+
.testimonial-band blockquote cite {
|
| 543 |
+
color: #007a5e;
|
| 544 |
+
font-size: 18px;
|
| 545 |
+
font-style: normal;
|
| 546 |
+
font-weight: 600;
|
| 547 |
+
letter-spacing: -.09px;
|
| 548 |
+
line-height: 25.2px;
|
| 549 |
+
}
|
| 550 |
+
|
| 551 |
+
.guarantee-band {
|
| 552 |
+
height: 459px;
|
| 553 |
+
padding: 16px 0;
|
| 554 |
+
background: #fbfdfc;
|
| 555 |
+
}
|
| 556 |
+
|
| 557 |
+
.guarantee-inner {
|
| 558 |
+
width: 1440px;
|
| 559 |
+
height: 427px;
|
| 560 |
+
margin: 0 auto;
|
| 561 |
+
padding: 80px 152px;
|
| 562 |
+
}
|
| 563 |
+
|
| 564 |
+
.guarantee-band h2 {
|
| 565 |
+
margin: 0 0 48px;
|
| 566 |
+
color: #2b4c32;
|
| 567 |
+
font-size: 34px;
|
| 568 |
+
font-weight: 800;
|
| 569 |
+
line-height: 47.6px;
|
| 570 |
+
}
|
| 571 |
+
|
| 572 |
+
.guarantee-band h2 em {
|
| 573 |
+
color: #625be7;
|
| 574 |
+
font-style: normal;
|
| 575 |
+
}
|
| 576 |
+
|
| 577 |
+
.guarantee-band .guarantee-grid {
|
| 578 |
+
display: grid;
|
| 579 |
+
grid-template-columns: repeat(3, 1fr);
|
| 580 |
+
gap: 80px;
|
| 581 |
+
}
|
| 582 |
+
|
| 583 |
+
.guarantee-grid > div {
|
| 584 |
+
display: flex;
|
| 585 |
+
min-height: 171px;
|
| 586 |
+
flex-direction: column;
|
| 587 |
+
gap: 16px;
|
| 588 |
+
}
|
| 589 |
+
|
| 590 |
+
.guarantee-grid img {
|
| 591 |
+
width: 150px;
|
| 592 |
+
height: 28px;
|
| 593 |
+
}
|
| 594 |
+
|
| 595 |
+
/* The logo request did not produce painted pixels in the frozen source
|
| 596 |
+
frames; retain its semantic image in the DOM without inventing pixels. */
|
| 597 |
+
.guarantee-grid img { visibility: hidden; }
|
| 598 |
+
|
| 599 |
+
.guarantee-grid h3 {
|
| 600 |
+
margin: 0;
|
| 601 |
+
color: #0a2b14;
|
| 602 |
+
font-size: 24px;
|
| 603 |
+
font-weight: 600;
|
| 604 |
+
letter-spacing: -.12px;
|
| 605 |
+
line-height: 31.68px;
|
| 606 |
+
}
|
| 607 |
+
|
| 608 |
+
.guarantee-grid p {
|
| 609 |
+
margin: 0;
|
| 610 |
+
color: #1a1e1d;
|
| 611 |
+
font-size: 18px;
|
| 612 |
+
letter-spacing: -.09px;
|
| 613 |
+
line-height: 24.66px;
|
| 614 |
+
}
|
| 615 |
+
|
| 616 |
+
.how-it-works {
|
| 617 |
+
height: 670px;
|
| 618 |
+
background: #fffce4;
|
| 619 |
+
}
|
| 620 |
+
|
| 621 |
+
.how-inner {
|
| 622 |
+
position: relative;
|
| 623 |
+
width: 1136px;
|
| 624 |
+
height: 510px;
|
| 625 |
+
margin: 0 auto;
|
| 626 |
+
padding-top: 80px;
|
| 627 |
+
}
|
| 628 |
+
|
| 629 |
+
.how-media {
|
| 630 |
+
position: absolute;
|
| 631 |
+
top: 80px;
|
| 632 |
+
left: 80px;
|
| 633 |
+
width: 1056px;
|
| 634 |
+
height: 510px;
|
| 635 |
+
max-width: none;
|
| 636 |
+
border-radius: 0;
|
| 637 |
+
object-fit: cover;
|
| 638 |
+
}
|
| 639 |
+
|
| 640 |
+
.how-card {
|
| 641 |
+
position: absolute;
|
| 642 |
+
z-index: 2;
|
| 643 |
+
top: 108px;
|
| 644 |
+
left: 0;
|
| 645 |
+
width: 393px;
|
| 646 |
+
height: 450px;
|
| 647 |
+
border-radius: 24px;
|
| 648 |
+
padding: 24px;
|
| 649 |
+
background: #fff;
|
| 650 |
+
}
|
| 651 |
+
|
| 652 |
+
.how-card h2 {
|
| 653 |
+
margin: 0 0 40px;
|
| 654 |
+
padding-top: 41px;
|
| 655 |
+
color: #0a2b14;
|
| 656 |
+
font-size: 24px;
|
| 657 |
+
letter-spacing: -.12px;
|
| 658 |
+
line-height: 31.68px;
|
| 659 |
+
}
|
| 660 |
+
|
| 661 |
+
.how-card .three-step {
|
| 662 |
+
display: grid;
|
| 663 |
+
grid-template-columns: 1fr;
|
| 664 |
+
gap: 40px;
|
| 665 |
+
margin: 0;
|
| 666 |
+
}
|
| 667 |
+
|
| 668 |
+
.how-card .three-step li {
|
| 669 |
+
display: grid;
|
| 670 |
+
grid-template-columns: 56px 1fr;
|
| 671 |
+
gap: 24px;
|
| 672 |
+
align-items: center;
|
| 673 |
+
}
|
| 674 |
+
|
| 675 |
+
.how-card .step-number {
|
| 676 |
+
width: 56px;
|
| 677 |
+
height: 56px;
|
| 678 |
+
background: #d7d4ff;
|
| 679 |
+
color: #0a2b14;
|
| 680 |
+
font-size: 24px;
|
| 681 |
+
font-weight: 700;
|
| 682 |
+
letter-spacing: -.12px;
|
| 683 |
+
line-height: 31.68px;
|
| 684 |
+
}
|
| 685 |
+
|
| 686 |
+
.how-card li:nth-child(2) .step-number { background: #fff9df; }
|
| 687 |
+
.how-card li:nth-child(3) .step-number { background: #dcfaec; }
|
| 688 |
+
.how-card p {
|
| 689 |
+
margin: 0;
|
| 690 |
+
color: #0a2b14;
|
| 691 |
+
font-size: 18px;
|
| 692 |
+
letter-spacing: -.09px;
|
| 693 |
+
line-height: 24.66px;
|
| 694 |
+
}
|
| 695 |
+
|
| 696 |
+
.get-help {
|
| 697 |
+
width: 1200px;
|
| 698 |
+
height: 517px;
|
| 699 |
+
margin: 0 auto;
|
| 700 |
+
padding: 88px 24px;
|
| 701 |
+
}
|
| 702 |
+
|
| 703 |
+
.get-help h2 { margin-bottom: 48px; color: #2b4c32; }
|
| 704 |
+
|
| 705 |
+
.get-help-grid {
|
| 706 |
+
display: flex;
|
| 707 |
+
flex-wrap: wrap;
|
| 708 |
+
gap: 24px;
|
| 709 |
+
margin-bottom: 48px;
|
| 710 |
+
}
|
| 711 |
+
|
| 712 |
+
.get-help-grid a {
|
| 713 |
+
display: inline-flex;
|
| 714 |
+
height: 43px;
|
| 715 |
+
align-items: center;
|
| 716 |
+
border: 1px solid #8a8d8c;
|
| 717 |
+
border-radius: 1000px;
|
| 718 |
+
padding: 12px 24px;
|
| 719 |
+
color: #1a1e1d;
|
| 720 |
+
font-size: 16px;
|
| 721 |
+
font-weight: 600;
|
| 722 |
+
letter-spacing: -.12px;
|
| 723 |
+
line-height: normal;
|
| 724 |
+
text-decoration: none;
|
| 725 |
+
}
|
| 726 |
+
|
| 727 |
+
.see-all-services {
|
| 728 |
+
display: inline-flex;
|
| 729 |
+
height: 26px;
|
| 730 |
+
align-items: center;
|
| 731 |
+
color: #007a5e;
|
| 732 |
+
font-size: 16px;
|
| 733 |
+
font-weight: 600;
|
| 734 |
+
text-decoration: none;
|
| 735 |
+
}
|
| 736 |
+
|
| 737 |
+
.see-all-services span { margin-left: 8px; color: #242a30; font-size: 30px; vertical-align: -3px; }
|
| 738 |
+
|
| 739 |
+
.home-shape.bottom-left {
|
| 740 |
+
width: 160px;
|
| 741 |
+
height: 181px;
|
| 742 |
+
}
|
| 743 |
+
|
| 744 |
+
.promotion-modal {
|
| 745 |
+
position: fixed;
|
| 746 |
+
z-index: 70;
|
| 747 |
+
inset: 0;
|
| 748 |
+
display: grid;
|
| 749 |
+
place-items: center;
|
| 750 |
+
padding: 0;
|
| 751 |
+
}
|
| 752 |
+
|
| 753 |
+
.promotion-backdrop {
|
| 754 |
+
position: absolute;
|
| 755 |
+
inset: 0;
|
| 756 |
+
background: transparent;
|
| 757 |
+
}
|
| 758 |
+
|
| 759 |
+
.promotion-card {
|
| 760 |
+
position: relative;
|
| 761 |
+
z-index: 1;
|
| 762 |
+
display: grid;
|
| 763 |
+
width: min(75vw, 1080px);
|
| 764 |
+
height: auto;
|
| 765 |
+
aspect-ratio: 730 / 455;
|
| 766 |
+
grid-template-columns: 1fr 1fr;
|
| 767 |
+
border: max(2px, .21vw) solid #0d7a5f;
|
| 768 |
+
border-radius: 0;
|
| 769 |
+
background: #fff;
|
| 770 |
+
box-shadow: none;
|
| 771 |
+
overflow: hidden;
|
| 772 |
+
}
|
| 773 |
+
|
| 774 |
+
.promotion-card picture {
|
| 775 |
+
min-width: 0;
|
| 776 |
+
height: 100%;
|
| 777 |
+
overflow: hidden;
|
| 778 |
+
}
|
| 779 |
+
|
| 780 |
+
.promotion-card picture img {
|
| 781 |
+
display: block;
|
| 782 |
+
width: 100%;
|
| 783 |
+
height: 100%;
|
| 784 |
+
max-width: none;
|
| 785 |
+
object-fit: cover;
|
| 786 |
+
}
|
| 787 |
+
|
| 788 |
+
.promotion-copy {
|
| 789 |
+
display: flex;
|
| 790 |
+
align-self: stretch;
|
| 791 |
+
flex-direction: column;
|
| 792 |
+
align-items: center;
|
| 793 |
+
justify-content: flex-start;
|
| 794 |
+
padding: clamp(17px, 1.7vw, 24px) clamp(25px, 3.6vw, 52px) 10px;
|
| 795 |
+
color: #000;
|
| 796 |
+
text-align: center;
|
| 797 |
+
transform: translateX(clamp(-61px, -4.24vw, -43px));
|
| 798 |
+
}
|
| 799 |
+
|
| 800 |
+
.promotion-copy h2 {
|
| 801 |
+
margin: 0 0 clamp(23px, 2.3vw, 33px);
|
| 802 |
+
color: #000;
|
| 803 |
+
font-family: Arial, Helvetica, sans-serif;
|
| 804 |
+
font-size: clamp(29px, 2.88vw, 41px);
|
| 805 |
+
font-weight: 900;
|
| 806 |
+
line-height: 1.08;
|
| 807 |
+
text-transform: uppercase;
|
| 808 |
+
}
|
| 809 |
+
|
| 810 |
+
.promotion-title-wide,
|
| 811 |
+
.promotion-title-mobile,
|
| 812 |
+
.promotion-body-wide,
|
| 813 |
+
.promotion-body-mobile {
|
| 814 |
+
display: block;
|
| 815 |
+
}
|
| 816 |
+
|
| 817 |
+
.promotion-title-mobile,
|
| 818 |
+
.promotion-body-mobile {
|
| 819 |
+
display: none;
|
| 820 |
+
}
|
| 821 |
+
|
| 822 |
+
.promotion-copy > p {
|
| 823 |
+
margin: 0 0 clamp(38px, 3.8vw, 55px);
|
| 824 |
+
color: #000;
|
| 825 |
+
font-family: Arial, Helvetica, sans-serif;
|
| 826 |
+
font-size: clamp(16px, 1.64vw, 23px);
|
| 827 |
+
font-weight: 700;
|
| 828 |
+
line-height: 1.17;
|
| 829 |
+
}
|
| 830 |
+
|
| 831 |
+
.promotion-copy form {
|
| 832 |
+
display: grid;
|
| 833 |
+
justify-items: center;
|
| 834 |
+
gap: clamp(29px, 2.9vw, 42px);
|
| 835 |
+
}
|
| 836 |
+
|
| 837 |
+
.promotion-copy input {
|
| 838 |
+
width: min(25.7vw, 370px);
|
| 839 |
+
height: min(5.14vw, 74px);
|
| 840 |
+
border: 2px solid #202020;
|
| 841 |
+
border-radius: 8px;
|
| 842 |
+
background: #fffbe5;
|
| 843 |
+
color: #000;
|
| 844 |
+
font-size: clamp(16px, 1.6vw, 23px);
|
| 845 |
+
text-align: center;
|
| 846 |
+
}
|
| 847 |
+
|
| 848 |
+
.promotion-copy .btn-primary {
|
| 849 |
+
width: min(25.7vw, 370px);
|
| 850 |
+
height: min(4.65vw, 67px);
|
| 851 |
+
margin: 0;
|
| 852 |
+
border: 2px solid #111;
|
| 853 |
+
border-radius: 6px;
|
| 854 |
+
padding: 0;
|
| 855 |
+
background: #118468;
|
| 856 |
+
font-size: clamp(17px, 1.7vw, 24px);
|
| 857 |
+
font-weight: 400;
|
| 858 |
+
}
|
| 859 |
+
|
| 860 |
+
.promotion-copy small {
|
| 861 |
+
display: block;
|
| 862 |
+
margin-top: clamp(31px, 3.1vw, 45px);
|
| 863 |
+
color: #000;
|
| 864 |
+
font-family: Arial, Helvetica, sans-serif;
|
| 865 |
+
font-size: clamp(7px, .7vw, 10px);
|
| 866 |
+
line-height: 1.08;
|
| 867 |
+
}
|
| 868 |
+
|
| 869 |
+
.promotion-close {
|
| 870 |
+
position: absolute;
|
| 871 |
+
z-index: 2;
|
| 872 |
+
top: clamp(13px, 1.3vw, 19px);
|
| 873 |
+
right: clamp(14px, 1.4vw, 20px);
|
| 874 |
+
display: grid;
|
| 875 |
+
width: clamp(11px, 1.1vw, 16px);
|
| 876 |
+
height: clamp(11px, 1.1vw, 16px);
|
| 877 |
+
place-items: center;
|
| 878 |
+
background: transparent;
|
| 879 |
+
}
|
| 880 |
+
|
| 881 |
+
.promotion-close img { display: block; width: 100%; height: 100%; }
|
| 882 |
+
|
| 883 |
+
body:has(.promotion-modal) .help-trigger { display: none; }
|
| 884 |
+
|
| 885 |
+
body:has(.promotion-modal) .how-media {
|
| 886 |
+
visibility: hidden;
|
| 887 |
+
}
|
| 888 |
+
|
| 889 |
+
body:has(.home-fidelity) .site-footer {
|
| 890 |
+
min-height: 387px;
|
| 891 |
+
padding: 24px 0;
|
| 892 |
+
background: #67727e;
|
| 893 |
+
}
|
| 894 |
+
|
| 895 |
+
body:has(.home-fidelity) .site-footer .footer-main {
|
| 896 |
+
display: grid;
|
| 897 |
+
width: 1200px;
|
| 898 |
+
max-width: none;
|
| 899 |
+
min-height: 339px;
|
| 900 |
+
grid-template-columns: 373px 373px 373px;
|
| 901 |
+
gap: 16px;
|
| 902 |
+
margin: 0 auto;
|
| 903 |
+
padding: 42px 24px 0;
|
| 904 |
+
}
|
| 905 |
+
|
| 906 |
+
body:has(.home-fidelity) .site-footer .footer-main > .footer-col:first-child {
|
| 907 |
+
position: absolute;
|
| 908 |
+
width: 1152px;
|
| 909 |
+
margin-top: -42px;
|
| 910 |
+
}
|
| 911 |
+
|
| 912 |
+
body:has(.home-fidelity) .site-footer .footer-main > :nth-child(2) { grid-column: 1; }
|
| 913 |
+
body:has(.home-fidelity) .site-footer .footer-main > :nth-child(3) { grid-column: 2; }
|
| 914 |
+
body:has(.home-fidelity) .site-footer .footer-main > :nth-child(4) { grid-column: 3; }
|
| 915 |
+
|
| 916 |
+
body:has(.home-fidelity) .site-footer .footer-col h3 {
|
| 917 |
+
margin: 0 0 10px;
|
| 918 |
+
color: #b1b9c3;
|
| 919 |
+
font-size: 18px;
|
| 920 |
+
font-weight: 400;
|
| 921 |
+
line-height: 24.66px;
|
| 922 |
+
}
|
| 923 |
+
|
| 924 |
+
body:has(.home-fidelity) .site-footer .footer-main > :not(:first-child) h3 {
|
| 925 |
+
margin-bottom: 8px;
|
| 926 |
+
}
|
| 927 |
+
|
| 928 |
+
body:has(.home-fidelity) .site-footer .footer-col a,
|
| 929 |
+
body:has(.home-fidelity) .site-footer .footer-col span {
|
| 930 |
+
margin: 0;
|
| 931 |
+
color: #fff;
|
| 932 |
+
font-size: 16px;
|
| 933 |
+
font-weight: 600;
|
| 934 |
+
line-height: 24px;
|
| 935 |
+
}
|
| 936 |
+
|
| 937 |
+
body:has(.home-fidelity) .site-footer .footer-col p {
|
| 938 |
+
margin: 0;
|
| 939 |
+
color: #fff;
|
| 940 |
+
font-size: 18px;
|
| 941 |
+
line-height: 24.66px;
|
| 942 |
+
letter-spacing: -.09px;
|
| 943 |
+
}
|
| 944 |
+
|
| 945 |
+
body:has(.home-fidelity) .site-footer .footer-social {
|
| 946 |
+
position: absolute;
|
| 947 |
+
top: 0;
|
| 948 |
+
left: 225px;
|
| 949 |
+
gap: 17px;
|
| 950 |
+
}
|
| 951 |
+
|
| 952 |
+
body:has(.home-fidelity) .site-footer .footer-social img {
|
| 953 |
+
width: 24px;
|
| 954 |
+
height: 24px;
|
| 955 |
+
opacity: 0;
|
| 956 |
+
}
|
| 957 |
+
|
| 958 |
+
body:has(.home-fidelity) .site-footer .footer-social {
|
| 959 |
+
background:
|
| 960 |
+
repeating-linear-gradient(
|
| 961 |
+
90deg,
|
| 962 |
+
transparent 0 32px,
|
| 963 |
+
#b1b9c3 32px 33px,
|
| 964 |
+
transparent 33px 41px
|
| 965 |
+
);
|
| 966 |
+
}
|
| 967 |
+
|
| 968 |
+
body:has(.home-fidelity) .site-footer .footer-badges {
|
| 969 |
+
display: grid;
|
| 970 |
+
visibility: hidden;
|
| 971 |
+
gap: 6px;
|
| 972 |
+
margin-top: 16px;
|
| 973 |
+
}
|
| 974 |
+
|
| 975 |
+
body:has(.home-fidelity) .site-footer .footer-badges img {
|
| 976 |
+
width: 175px;
|
| 977 |
+
height: 58px;
|
| 978 |
+
}
|
| 979 |
+
|
| 980 |
+
body:has(.home-fidelity) .site-footer .footer-main > :nth-child(2) > :not(h3) {
|
| 981 |
+
transform: translateY(-1px);
|
| 982 |
+
}
|
| 983 |
+
|
| 984 |
+
body:has(.home-fidelity) .site-footer .footer-main > :nth-child(3) > span:nth-of-type(-n + 7) {
|
| 985 |
+
transform: translateY(-1px);
|
| 986 |
+
}
|
| 987 |
+
|
| 988 |
+
body:has(.home-fidelity) .site-footer .footer-main > :nth-child(3) > span:nth-of-type(7) {
|
| 989 |
+
margin-top: 8px;
|
| 990 |
+
margin-bottom: 8px;
|
| 991 |
+
}
|
| 992 |
+
|
| 993 |
+
body:has(.home-fidelity) .site-footer .footer-main > :nth-child(3) > span:nth-of-type(3) {
|
| 994 |
+
height: 24px;
|
| 995 |
+
font-size: 0;
|
| 996 |
+
line-height: 24px;
|
| 997 |
+
}
|
| 998 |
+
|
| 999 |
+
body:has(.home-fidelity) .site-footer .footer-main > :nth-child(3) > span:nth-of-type(3)::before {
|
| 1000 |
+
content: "Partner with Taskrabbit";
|
| 1001 |
+
font-size: 16px;
|
| 1002 |
+
}
|
| 1003 |
+
|
| 1004 |
+
body:has(.home-fidelity) .site-footer .footer-main > :nth-child(4) {
|
| 1005 |
+
transform: translateX(1px);
|
| 1006 |
+
}
|
| 1007 |
+
|
| 1008 |
+
body:has(.home-fidelity) .site-footer .footer-main > :nth-child(4) > p {
|
| 1009 |
+
transform: translateY(-9px);
|
| 1010 |
+
}
|
| 1011 |
+
|
| 1012 |
+
@media (min-width: 900px) {
|
| 1013 |
+
.promotion-card {
|
| 1014 |
+
width: 730px;
|
| 1015 |
+
height: 455px;
|
| 1016 |
+
aspect-ratio: auto;
|
| 1017 |
+
border-width: 2px;
|
| 1018 |
+
}
|
| 1019 |
+
|
| 1020 |
+
.promotion-copy {
|
| 1021 |
+
padding: 12px 35px 7px;
|
| 1022 |
+
transform: translateX(-41px);
|
| 1023 |
+
}
|
| 1024 |
+
|
| 1025 |
+
.promotion-copy h2 {
|
| 1026 |
+
margin-bottom: 30px;
|
| 1027 |
+
font-size: 28px;
|
| 1028 |
+
line-height: 1.08;
|
| 1029 |
+
transform: translate(12px, -.5px) scale(1.07, 1.09);
|
| 1030 |
+
transform-origin: top center;
|
| 1031 |
+
}
|
| 1032 |
+
|
| 1033 |
+
.promotion-copy > p {
|
| 1034 |
+
margin-bottom: 35px;
|
| 1035 |
+
font-size: 16px;
|
| 1036 |
+
line-height: 18px;
|
| 1037 |
+
transform: translateX(2px);
|
| 1038 |
+
}
|
| 1039 |
+
|
| 1040 |
+
.promotion-copy form {
|
| 1041 |
+
gap: 28px;
|
| 1042 |
+
}
|
| 1043 |
+
|
| 1044 |
+
.promotion-copy input {
|
| 1045 |
+
width: 250px;
|
| 1046 |
+
height: 50px;
|
| 1047 |
+
border-width: 2px;
|
| 1048 |
+
border-radius: 5px;
|
| 1049 |
+
font-size: 16px;
|
| 1050 |
+
transform: translate(-1px, 1px) scaleY(1.02);
|
| 1051 |
+
}
|
| 1052 |
+
|
| 1053 |
+
.promotion-copy .btn-primary {
|
| 1054 |
+
width: 250px;
|
| 1055 |
+
height: 45px;
|
| 1056 |
+
border-width: 1px;
|
| 1057 |
+
border-radius: 4px;
|
| 1058 |
+
font-size: 16px;
|
| 1059 |
+
transform: translateY(1px);
|
| 1060 |
+
}
|
| 1061 |
+
|
| 1062 |
+
.promotion-copy small {
|
| 1063 |
+
margin-top: 30px;
|
| 1064 |
+
font-size: 9px;
|
| 1065 |
+
line-height: 1.06;
|
| 1066 |
+
transform: translate(-1px, 1px);
|
| 1067 |
+
}
|
| 1068 |
+
|
| 1069 |
+
.promotion-close {
|
| 1070 |
+
top: 13px;
|
| 1071 |
+
right: 14px;
|
| 1072 |
+
width: 36px;
|
| 1073 |
+
height: 36px;
|
| 1074 |
+
}
|
| 1075 |
+
|
| 1076 |
+
.promotion-close img {
|
| 1077 |
+
width: 10px;
|
| 1078 |
+
height: 10px;
|
| 1079 |
+
}
|
| 1080 |
+
|
| 1081 |
+
.promotion-card picture img {
|
| 1082 |
+
width: calc(100% - 18px);
|
| 1083 |
+
margin-left: 8px;
|
| 1084 |
+
}
|
| 1085 |
+
}
|
| 1086 |
+
|
| 1087 |
+
@media (min-width: 1200px) {
|
| 1088 |
+
.promotion-card {
|
| 1089 |
+
transform: scale(1.4794520547945205);
|
| 1090 |
+
}
|
| 1091 |
+
|
| 1092 |
+
body:has(.home-fidelity) .site-header .header-inner {
|
| 1093 |
+
padding-right: 152px;
|
| 1094 |
+
padding-left: 152px;
|
| 1095 |
+
}
|
| 1096 |
+
|
| 1097 |
+
.assembly-showcase {
|
| 1098 |
+
background: transparent;
|
| 1099 |
+
}
|
| 1100 |
+
|
| 1101 |
+
.assembly-showcase::before {
|
| 1102 |
+
position: absolute;
|
| 1103 |
+
inset: 0 44px;
|
| 1104 |
+
border-radius: 16px;
|
| 1105 |
+
background: rgba(186, 231, 255, .5);
|
| 1106 |
+
content: "";
|
| 1107 |
+
}
|
| 1108 |
+
|
| 1109 |
+
.assembly-card {
|
| 1110 |
+
left: 85px;
|
| 1111 |
+
}
|
| 1112 |
+
}
|
| 1113 |
+
|
| 1114 |
+
@media (min-width: 900px) and (max-width: 1199px) {
|
| 1115 |
+
body:has(.home-fidelity) .site-header:not(.furniture-header) .brand svg {
|
| 1116 |
+
transform: translateY(-1px);
|
| 1117 |
+
}
|
| 1118 |
+
|
| 1119 |
+
body:has(.home-fidelity) .site-header:not(.furniture-header) .main-nav {
|
| 1120 |
+
transform: translateX(-0.32px);
|
| 1121 |
+
}
|
| 1122 |
+
|
| 1123 |
+
.promotion-card {
|
| 1124 |
+
transform: scale(1.052054794520548);
|
| 1125 |
+
}
|
| 1126 |
+
|
| 1127 |
+
.home-shapes {
|
| 1128 |
+
display: none;
|
| 1129 |
+
}
|
| 1130 |
+
|
| 1131 |
+
.home-title-block,
|
| 1132 |
+
.home-category-panel,
|
| 1133 |
+
.assembly-showcase,
|
| 1134 |
+
.home-stats-inner,
|
| 1135 |
+
.popular-projects,
|
| 1136 |
+
.get-help,
|
| 1137 |
+
body:has(.home-fidelity) .site-footer .footer-main {
|
| 1138 |
+
width: 100%;
|
| 1139 |
+
}
|
| 1140 |
+
|
| 1141 |
+
.home-title-block { height: 517px; }
|
| 1142 |
+
.home-category-panel { padding-right: 36px; padding-left: 36px; }
|
| 1143 |
+
body:has(.home-fidelity) .home-fidelity .home-category-panel .category-tabs {
|
| 1144 |
+
min-height: 0;
|
| 1145 |
+
grid-template-columns: repeat(8, 1fr);
|
| 1146 |
+
gap: 0;
|
| 1147 |
+
padding-bottom: 0;
|
| 1148 |
+
transform: translateY(-67px);
|
| 1149 |
+
}
|
| 1150 |
+
body:has(.home-fidelity) .home-fidelity .home-category-panel .category-tab {
|
| 1151 |
+
padding: 1px 6px 7px;
|
| 1152 |
+
background: transparent;
|
| 1153 |
+
font-weight: 700;
|
| 1154 |
+
}
|
| 1155 |
+
body:has(.home-fidelity) .home-fidelity .home-category-panel .trending-list {
|
| 1156 |
+
display: grid;
|
| 1157 |
+
min-height: 112px;
|
| 1158 |
+
grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
|
| 1159 |
+
gap: 12px;
|
| 1160 |
+
font-weight: 600;
|
| 1161 |
+
transform: translateY(-66px);
|
| 1162 |
+
}
|
| 1163 |
+
body:has(.home-fidelity) .home-fidelity .home-category-panel .trending-list li {
|
| 1164 |
+
width: auto !important;
|
| 1165 |
+
border-color: #595c5b;
|
| 1166 |
+
padding: 0;
|
| 1167 |
+
overflow: visible;
|
| 1168 |
+
text-overflow: clip;
|
| 1169 |
+
}
|
| 1170 |
+
body:has(.home-fidelity) .home-fidelity .home-category-panel .trending-list li:nth-child(1) { width: 262px; }
|
| 1171 |
+
body:has(.home-fidelity) .home-fidelity .home-category-panel .trending-list li:nth-child(2) { width: 166px; }
|
| 1172 |
+
body:has(.home-fidelity) .home-fidelity .home-category-panel .trending-list li:nth-child(3) { width: 162px; }
|
| 1173 |
+
body:has(.home-fidelity) .home-fidelity .home-category-panel .trending-list li:nth-child(4) { width: 206px; }
|
| 1174 |
+
body:has(.home-fidelity) .home-fidelity .home-category-panel .trending-list li:nth-child(5) { width: 168px; }
|
| 1175 |
+
.assembly-showcase { border-radius: 16px; }
|
| 1176 |
+
.assembly-photo { left: 120px; width: calc(100% - 160px); }
|
| 1177 |
+
.assembly-card { left: 40px; }
|
| 1178 |
+
|
| 1179 |
+
.home-stats-inner {
|
| 1180 |
+
grid-template-columns: repeat(5, 153.5px) 86px;
|
| 1181 |
+
padding-right: 40px;
|
| 1182 |
+
padding-left: 40px;
|
| 1183 |
+
transform: translateY(-1px);
|
| 1184 |
+
}
|
| 1185 |
+
|
| 1186 |
+
.home-stats-inner > div {
|
| 1187 |
+
justify-content: flex-start;
|
| 1188 |
+
transform: translateY(-1px);
|
| 1189 |
+
}
|
| 1190 |
+
.home-stats-inner > div:nth-child(4),
|
| 1191 |
+
.home-stats-inner > div:nth-child(5) { transform: translate(-1px, -1px); }
|
| 1192 |
+
|
| 1193 |
+
.home-stats-inner span { font-size: 18px; }
|
| 1194 |
+
.home-stats-inner strong { font-size: 24px; }
|
| 1195 |
+
.stats-badge {
|
| 1196 |
+
width: 86px;
|
| 1197 |
+
height: 86px;
|
| 1198 |
+
margin-left: 21.5px;
|
| 1199 |
+
transform: translateY(1px);
|
| 1200 |
+
}
|
| 1201 |
+
|
| 1202 |
+
.popular-projects {
|
| 1203 |
+
height: 1080px;
|
| 1204 |
+
padding-right: 24px;
|
| 1205 |
+
padding-left: 24px;
|
| 1206 |
+
}
|
| 1207 |
+
|
| 1208 |
+
.popular-projects .project-grid {
|
| 1209 |
+
grid-template-columns: repeat(3, 240px);
|
| 1210 |
+
grid-auto-rows: 249px;
|
| 1211 |
+
gap: 32px 80px;
|
| 1212 |
+
justify-content: start;
|
| 1213 |
+
padding-left: 40px;
|
| 1214 |
+
}
|
| 1215 |
+
|
| 1216 |
+
.testimonial-band { height: 1119px; }
|
| 1217 |
+
.testimonial-inner {
|
| 1218 |
+
width: 100%;
|
| 1219 |
+
padding: 74px 16px 80px;
|
| 1220 |
+
}
|
| 1221 |
+
.testimonial-band h2 { margin-bottom: 66px; }
|
| 1222 |
+
.testimonial-band blockquote header { margin-bottom: 15px; }
|
| 1223 |
+
.testimonial-band .reviews-grid {
|
| 1224 |
+
grid-template-columns: repeat(2, 305px);
|
| 1225 |
+
grid-auto-rows: 236px;
|
| 1226 |
+
gap: 48px 56px;
|
| 1227 |
+
}
|
| 1228 |
+
|
| 1229 |
+
.guarantee-band { height: 531px; }
|
| 1230 |
+
.guarantee-inner {
|
| 1231 |
+
width: 100%;
|
| 1232 |
+
height: 499px;
|
| 1233 |
+
padding: 64px 16px 80px;
|
| 1234 |
+
}
|
| 1235 |
+
.guarantee-band .guarantee-grid {
|
| 1236 |
+
grid-template-columns: 448px 464px;
|
| 1237 |
+
gap: 56px 80px;
|
| 1238 |
+
}
|
| 1239 |
+
.guarantee-grid > div { min-height: 0; }
|
| 1240 |
+
.guarantee-grid > div:first-child img { height: 31px; }
|
| 1241 |
+
|
| 1242 |
+
.how-it-works { height: 670px; }
|
| 1243 |
+
.how-inner { width: 100%; padding-right: 16px; padding-left: 16px; }
|
| 1244 |
+
.how-media { left: 16px; width: calc(100% - 32px); }
|
| 1245 |
+
.how-card { left: 16px; }
|
| 1246 |
+
.how-card h2 {
|
| 1247 |
+
margin-bottom: 37px;
|
| 1248 |
+
padding-top: 40px;
|
| 1249 |
+
}
|
| 1250 |
+
|
| 1251 |
+
.get-help { height: 516px; padding-right: 24px; padding-left: 24px; }
|
| 1252 |
+
|
| 1253 |
+
body:has(.home-fidelity) .site-footer .footer-main {
|
| 1254 |
+
grid-template-columns: repeat(3, 1fr);
|
| 1255 |
+
padding-right: 24px;
|
| 1256 |
+
padding-left: 24px;
|
| 1257 |
+
}
|
| 1258 |
+
|
| 1259 |
+
body:has(.home-fidelity) .site-footer {
|
| 1260 |
+
min-height: 388px;
|
| 1261 |
+
}
|
| 1262 |
+
|
| 1263 |
+
body:has(.home-fidelity) .site-footer .footer-badges {
|
| 1264 |
+
display: none;
|
| 1265 |
+
}
|
| 1266 |
+
}
|
| 1267 |
+
|
| 1268 |
+
@media (max-width: 899px) {
|
| 1269 |
+
body:has(.home-fidelity) .site-header .header-inner {
|
| 1270 |
+
width: 100%;
|
| 1271 |
+
padding-right: 16px;
|
| 1272 |
+
padding-left: 16px;
|
| 1273 |
+
}
|
| 1274 |
+
|
| 1275 |
+
.home-shapes { display: none; }
|
| 1276 |
+
.category-symbol-icon {
|
| 1277 |
+
top: 12px;
|
| 1278 |
+
left: 19px;
|
| 1279 |
+
width: 24px;
|
| 1280 |
+
height: 24px;
|
| 1281 |
+
}
|
| 1282 |
+
.home-title-block {
|
| 1283 |
+
width: 100%;
|
| 1284 |
+
height: 420px;
|
| 1285 |
+
padding: 105px 16px 0;
|
| 1286 |
+
}
|
| 1287 |
+
.home-title-block h1 {
|
| 1288 |
+
align-items: flex-start;
|
| 1289 |
+
font-size: 40px;
|
| 1290 |
+
line-height: 56px;
|
| 1291 |
+
}
|
| 1292 |
+
.intro-badge { top: 16px; left: 16px; width: 64px; height: 64px; }
|
| 1293 |
+
.home-search { width: 100%; margin-top: 24px; }
|
| 1294 |
+
|
| 1295 |
+
.home-category-panel {
|
| 1296 |
+
width: 100%;
|
| 1297 |
+
height: 201px;
|
| 1298 |
+
padding: 0 16px;
|
| 1299 |
+
overflow-x: auto;
|
| 1300 |
+
overflow-y: hidden;
|
| 1301 |
+
overscroll-behavior-inline: contain;
|
| 1302 |
+
scroll-snap-type: x proximity;
|
| 1303 |
+
scrollbar-width: none;
|
| 1304 |
+
}
|
| 1305 |
+
.home-category-panel::-webkit-scrollbar { display: none; }
|
| 1306 |
+
.home-category-panel .category-tabs {
|
| 1307 |
+
width: 768px;
|
| 1308 |
+
grid-template-columns: repeat(8, 96px);
|
| 1309 |
+
transform: translateX(0);
|
| 1310 |
+
}
|
| 1311 |
+
.home-category-panel .category-tab { scroll-snap-align: start; }
|
| 1312 |
+
.home-category-panel .trending-list {
|
| 1313 |
+
width: max-content;
|
| 1314 |
+
}
|
| 1315 |
+
|
| 1316 |
+
.assembly-showcase {
|
| 1317 |
+
width: 100%;
|
| 1318 |
+
height: 574px;
|
| 1319 |
+
border-radius: 0;
|
| 1320 |
+
overflow: visible;
|
| 1321 |
+
}
|
| 1322 |
+
.assembly-photo {
|
| 1323 |
+
top: 130px;
|
| 1324 |
+
left: 0;
|
| 1325 |
+
width: 100%;
|
| 1326 |
+
height: auto;
|
| 1327 |
+
border-radius: 8px;
|
| 1328 |
+
clip-path: inset(0 16px 0 0 round 8px);
|
| 1329 |
+
}
|
| 1330 |
+
.assembly-card {
|
| 1331 |
+
top: -98px;
|
| 1332 |
+
left: 16px;
|
| 1333 |
+
width: calc(100% - 32px);
|
| 1334 |
+
min-height: 340px;
|
| 1335 |
+
padding: 24px 0;
|
| 1336 |
+
background: transparent;
|
| 1337 |
+
}
|
| 1338 |
+
|
| 1339 |
+
.home-stats,
|
| 1340 |
+
.popular-projects,
|
| 1341 |
+
.testimonial-band,
|
| 1342 |
+
.guarantee-band,
|
| 1343 |
+
.how-it-works,
|
| 1344 |
+
.get-help,
|
| 1345 |
+
body:has(.home-fidelity) .site-footer {
|
| 1346 |
+
height: auto;
|
| 1347 |
+
}
|
| 1348 |
+
}
|
| 1349 |
+
|
| 1350 |
+
@media (max-width: 640px) {
|
| 1351 |
+
body:has(.promotion-modal) {
|
| 1352 |
+
position: fixed;
|
| 1353 |
+
inset: 0;
|
| 1354 |
+
width: 100%;
|
| 1355 |
+
height: 100vh;
|
| 1356 |
+
overflow: hidden;
|
| 1357 |
+
}
|
| 1358 |
+
|
| 1359 |
+
.home-title-block .home-search {
|
| 1360 |
+
width: calc(100% + 16px);
|
| 1361 |
+
height: 56px;
|
| 1362 |
+
margin-top: 12px;
|
| 1363 |
+
margin-left: -8px;
|
| 1364 |
+
}
|
| 1365 |
+
|
| 1366 |
+
.home-category-panel {
|
| 1367 |
+
transform: translateY(-100px);
|
| 1368 |
+
}
|
| 1369 |
+
|
| 1370 |
+
.category-symbol { height: 46px; }
|
| 1371 |
+
|
| 1372 |
+
.promotion-card {
|
| 1373 |
+
width: 272px;
|
| 1374 |
+
height: 526px;
|
| 1375 |
+
aspect-ratio: auto;
|
| 1376 |
+
grid-template-columns: 1fr;
|
| 1377 |
+
grid-template-rows: 210px 1fr;
|
| 1378 |
+
border-width: 1px;
|
| 1379 |
+
padding: 1px;
|
| 1380 |
+
box-shadow:
|
| 1381 |
+
0 0 0 1px rgba(13, 122, 95, .25),
|
| 1382 |
+
inset 0 0 0 1px rgba(13, 122, 95, .38);
|
| 1383 |
+
}
|
| 1384 |
+
|
| 1385 |
+
.promotion-card picture {
|
| 1386 |
+
height: 210px;
|
| 1387 |
+
}
|
| 1388 |
+
|
| 1389 |
+
.promotion-card picture img {
|
| 1390 |
+
width: 268px;
|
| 1391 |
+
height: 212px;
|
| 1392 |
+
object-fit: cover;
|
| 1393 |
+
object-position: center top;
|
| 1394 |
+
}
|
| 1395 |
+
|
| 1396 |
+
.promotion-copy {
|
| 1397 |
+
padding: 8px 18px 10px;
|
| 1398 |
+
transform: translateX(8px);
|
| 1399 |
+
}
|
| 1400 |
+
|
| 1401 |
+
.promotion-copy h2 {
|
| 1402 |
+
margin-bottom: 10px;
|
| 1403 |
+
font-size: 13px;
|
| 1404 |
+
line-height: 1.05;
|
| 1405 |
+
}
|
| 1406 |
+
|
| 1407 |
+
.promotion-title-wide {
|
| 1408 |
+
display: none;
|
| 1409 |
+
}
|
| 1410 |
+
|
| 1411 |
+
.promotion-title-mobile {
|
| 1412 |
+
display: block;
|
| 1413 |
+
transform: translateX(.625px) scaleX(.95);
|
| 1414 |
+
}
|
| 1415 |
+
|
| 1416 |
+
.promotion-body-wide {
|
| 1417 |
+
display: none;
|
| 1418 |
+
}
|
| 1419 |
+
|
| 1420 |
+
.promotion-body-mobile {
|
| 1421 |
+
display: block;
|
| 1422 |
+
transform: translateX(-.25px) scaleX(.91);
|
| 1423 |
+
}
|
| 1424 |
+
|
| 1425 |
+
.promotion-copy > p {
|
| 1426 |
+
margin-bottom: 12px;
|
| 1427 |
+
font-size: 11px;
|
| 1428 |
+
line-height: 1.05;
|
| 1429 |
+
}
|
| 1430 |
+
|
| 1431 |
+
.promotion-copy form {
|
| 1432 |
+
gap: 10px;
|
| 1433 |
+
transform: translate(-1.375px, .375px);
|
| 1434 |
+
}
|
| 1435 |
+
|
| 1436 |
+
.promotion-copy input {
|
| 1437 |
+
width: 99px;
|
| 1438 |
+
height: 27px;
|
| 1439 |
+
border-width: 1px;
|
| 1440 |
+
border-radius: 4px;
|
| 1441 |
+
padding: 2px;
|
| 1442 |
+
background: #fffce4;
|
| 1443 |
+
font-size: 10px;
|
| 1444 |
+
}
|
| 1445 |
+
|
| 1446 |
+
.promotion-copy .btn-primary {
|
| 1447 |
+
width: 113px;
|
| 1448 |
+
height: 24px;
|
| 1449 |
+
border-width: 1px;
|
| 1450 |
+
border-radius: 3px;
|
| 1451 |
+
background: #0d7a5f;
|
| 1452 |
+
font-size: 9px;
|
| 1453 |
+
transform: scale(1.00885, 1.041667);
|
| 1454 |
+
transform-origin: top left;
|
| 1455 |
+
}
|
| 1456 |
+
|
| 1457 |
+
.promotion-copy small {
|
| 1458 |
+
margin-top: 14px;
|
| 1459 |
+
font-size: 6px;
|
| 1460 |
+
transform: translate(-.625px, -.375px);
|
| 1461 |
+
}
|
| 1462 |
+
|
| 1463 |
+
.promotion-copy small .promotion-desktop-break {
|
| 1464 |
+
display: initial;
|
| 1465 |
+
}
|
| 1466 |
+
|
| 1467 |
+
.promotion-close {
|
| 1468 |
+
top: 13px;
|
| 1469 |
+
right: 13px;
|
| 1470 |
+
width: 8px;
|
| 1471 |
+
height: 8px;
|
| 1472 |
+
}
|
| 1473 |
+
|
| 1474 |
+
.promotion-desktop-break { display: none; }
|
| 1475 |
+
|
| 1476 |
+
.assembly-showcase {
|
| 1477 |
+
background: #fff;
|
| 1478 |
+
}
|
| 1479 |
+
|
| 1480 |
+
.assembly-card h2 {
|
| 1481 |
+
visibility: hidden;
|
| 1482 |
+
}
|
| 1483 |
+
|
| 1484 |
+
.assembly-card p {
|
| 1485 |
+
grid-template-columns: 8px 1fr;
|
| 1486 |
+
gap: 17px;
|
| 1487 |
+
margin-bottom: 14px;
|
| 1488 |
+
}
|
| 1489 |
+
|
| 1490 |
+
body:has(.home-fidelity) .site-footer .footer-main {
|
| 1491 |
+
position: static;
|
| 1492 |
+
display: grid;
|
| 1493 |
+
width: 100%;
|
| 1494 |
+
min-height: 0;
|
| 1495 |
+
grid-template-columns: 1fr;
|
| 1496 |
+
padding: 24px 16px;
|
| 1497 |
+
}
|
| 1498 |
+
|
| 1499 |
+
body:has(.home-fidelity) .site-footer .footer-main > .footer-col:first-child {
|
| 1500 |
+
position: static;
|
| 1501 |
+
width: auto;
|
| 1502 |
+
margin: 0;
|
| 1503 |
+
}
|
| 1504 |
+
|
| 1505 |
+
body:has(.home-fidelity) .site-footer .footer-main > :nth-child(n) { grid-column: 1; }
|
| 1506 |
+
body:has(.home-fidelity) .site-footer .footer-social { position: static; }
|
| 1507 |
+
}
|
| 1508 |
+
|
| 1509 |
+
/*
|
| 1510 |
+
* The shared stylesheet contains a historical promotion-page reconstruction
|
| 1511 |
+
* keyed only on `body:has(.promotion-modal)`. The source-faithful home owns
|
| 1512 |
+
* its layout, so explicitly reset every inherited positioning/layout property
|
| 1513 |
+
* rather than clipping the resulting overflow.
|
| 1514 |
+
*/
|
| 1515 |
+
body:has(.home-fidelity) .home-fidelity .home-category-panel .category-tabs {
|
| 1516 |
+
position: static;
|
| 1517 |
+
top: auto;
|
| 1518 |
+
left: auto;
|
| 1519 |
+
width: auto;
|
| 1520 |
+
padding: 0;
|
| 1521 |
+
}
|
| 1522 |
+
|
| 1523 |
+
body:has(.home-fidelity) .home-fidelity .home-category-panel .trending-list {
|
| 1524 |
+
position: static;
|
| 1525 |
+
top: auto;
|
| 1526 |
+
left: auto;
|
| 1527 |
+
width: auto;
|
| 1528 |
+
}
|
| 1529 |
+
|
| 1530 |
+
body:has(.home-fidelity) .home-fidelity .popular-projects {
|
| 1531 |
+
order: initial;
|
| 1532 |
+
width: 1200px;
|
| 1533 |
+
min-height: 0;
|
| 1534 |
+
padding-top: 88px;
|
| 1535 |
+
padding-bottom: 72px;
|
| 1536 |
+
}
|
| 1537 |
+
|
| 1538 |
+
body:has(.home-fidelity) .home-fidelity .popular-projects .project-grid {
|
| 1539 |
+
grid-template-columns: repeat(4, 240px);
|
| 1540 |
+
gap: 32px 48px;
|
| 1541 |
+
}
|
| 1542 |
+
|
| 1543 |
+
body:has(.home-fidelity) .home-fidelity .popular-projects .project-card {
|
| 1544 |
+
height: 249px;
|
| 1545 |
+
}
|
| 1546 |
+
|
| 1547 |
+
body:has(.home-fidelity) .home-fidelity .testimonial-band {
|
| 1548 |
+
order: initial;
|
| 1549 |
+
width: 100%;
|
| 1550 |
+
min-height: 0;
|
| 1551 |
+
}
|
| 1552 |
+
|
| 1553 |
+
body:has(.home-fidelity) .home-fidelity .testimonial-band h2 {
|
| 1554 |
+
margin-bottom: 64px;
|
| 1555 |
+
}
|
| 1556 |
+
|
| 1557 |
+
body:has(.home-fidelity) .home-fidelity .testimonial-band .reviews-grid {
|
| 1558 |
+
grid-template-columns: repeat(3, 313px);
|
| 1559 |
+
gap: 48px;
|
| 1560 |
+
}
|
| 1561 |
+
|
| 1562 |
+
body:has(.home-fidelity) .home-fidelity .guarantee-band {
|
| 1563 |
+
order: initial;
|
| 1564 |
+
width: 100%;
|
| 1565 |
+
max-width: none;
|
| 1566 |
+
margin-top: 72px;
|
| 1567 |
+
padding: 16px 0;
|
| 1568 |
+
}
|
| 1569 |
+
|
| 1570 |
+
body:has(.home-fidelity) .home-fidelity .how-it-works {
|
| 1571 |
+
order: initial;
|
| 1572 |
+
width: 100%;
|
| 1573 |
+
max-width: none;
|
| 1574 |
+
min-height: 0;
|
| 1575 |
+
padding: 0;
|
| 1576 |
+
background: #fffce4;
|
| 1577 |
+
}
|
| 1578 |
+
|
| 1579 |
+
body:has(.home-fidelity) .home-fidelity .how-it-works .how-media {
|
| 1580 |
+
display: block;
|
| 1581 |
+
}
|
| 1582 |
+
|
| 1583 |
+
body:has(.home-fidelity) .home-fidelity .how-it-works .three-step {
|
| 1584 |
+
width: auto;
|
| 1585 |
+
padding: 0;
|
| 1586 |
+
}
|
| 1587 |
+
|
| 1588 |
+
@media (min-width: 900px) and (max-width: 1199px) {
|
| 1589 |
+
body:has(.home-fidelity) .home-fidelity .popular-projects {
|
| 1590 |
+
width: 100%;
|
| 1591 |
+
}
|
| 1592 |
+
|
| 1593 |
+
body:has(.home-fidelity) .home-fidelity .popular-projects .project-grid {
|
| 1594 |
+
grid-template-columns: repeat(3, 240px);
|
| 1595 |
+
grid-auto-rows: 249px;
|
| 1596 |
+
gap: 32px 80px;
|
| 1597 |
+
}
|
| 1598 |
+
|
| 1599 |
+
body:has(.home-fidelity) .home-fidelity .testimonial-band .reviews-grid {
|
| 1600 |
+
grid-template-columns: repeat(2, 305px);
|
| 1601 |
+
grid-auto-rows: 236px;
|
| 1602 |
+
gap: 48px 56px;
|
| 1603 |
+
}
|
| 1604 |
+
|
| 1605 |
+
body:has(.home-fidelity) .home-fidelity .testimonial-band blockquote header strong {
|
| 1606 |
+
transform: translateY(2px);
|
| 1607 |
+
}
|
| 1608 |
+
|
| 1609 |
+
body:has(.home-fidelity) .home-fidelity .testimonial-band blockquote p,
|
| 1610 |
+
body:has(.home-fidelity) .home-fidelity .testimonial-band blockquote cite {
|
| 1611 |
+
position: relative;
|
| 1612 |
+
top: 1px;
|
| 1613 |
+
}
|
| 1614 |
+
|
| 1615 |
+
body:has(.home-fidelity) .home-fidelity .how-it-works .how-media {
|
| 1616 |
+
display: none;
|
| 1617 |
+
}
|
| 1618 |
+
|
| 1619 |
+
body:has(.home-fidelity) .site-footer .footer-main > .footer-col:first-child {
|
| 1620 |
+
width: calc(100% - 48px);
|
| 1621 |
+
transform: translateX(-1px);
|
| 1622 |
+
}
|
| 1623 |
+
|
| 1624 |
+
body:has(.home-fidelity) .site-footer .footer-main > :nth-child(2),
|
| 1625 |
+
body:has(.home-fidelity) .site-footer .footer-main > :nth-child(3) {
|
| 1626 |
+
transform: translateY(1px);
|
| 1627 |
+
}
|
| 1628 |
+
|
| 1629 |
+
body:has(.home-fidelity) .site-footer .footer-main > :nth-child(4) {
|
| 1630 |
+
transform: translateY(1px);
|
| 1631 |
+
}
|
| 1632 |
+
}
|
| 1633 |
+
|
| 1634 |
+
@media (max-width: 899px) {
|
| 1635 |
+
body:has(.home-fidelity) .home-fidelity .popular-projects {
|
| 1636 |
+
width: 100%;
|
| 1637 |
+
}
|
| 1638 |
+
}
|
tasks/taskrabbit/solution/site/implementation/clone/static/home-icons/assembly.svg
ADDED
|
|
tasks/taskrabbit/solution/site/implementation/clone/static/home-icons/cleaning.svg
ADDED
|
|
tasks/taskrabbit/solution/site/implementation/clone/static/home-icons/home-repairs.svg
ADDED
|
|
tasks/taskrabbit/solution/site/implementation/clone/static/home-icons/mounting.svg
ADDED
|
|
tasks/taskrabbit/solution/site/implementation/clone/static/home-icons/moving.svg
ADDED
|
|
tasks/taskrabbit/solution/site/implementation/clone/static/home-icons/outdoor-help.svg
ADDED
|
|
tasks/taskrabbit/solution/site/implementation/clone/static/home-icons/painting.svg
ADDED
|
|
tasks/taskrabbit/solution/site/implementation/clone/static/home-icons/selected-blob.svg
ADDED
|
|
tasks/taskrabbit/solution/site/implementation/clone/static/home-icons/trending.svg
ADDED
|
|
tasks/taskrabbit/solution/site/implementation/clone/static/home-icons/unselected-blob.svg
ADDED
|
|
tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/a9rhae4brmbakfqesxtx-b2d76cd1fd4b.webp
ADDED
|
Git LFS Details
|
tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/abn9scc6hp7zgw1yvwlx-7cbc37286d4c.webp
ADDED
|
Git LFS Details
|
tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/aco4bjue3lqbrczq6kiu-07309bdb1a3c.webp
ADDED
|
Git LFS Details
|
tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/ajvm7mgxfi4xoccfpaaf-f69e954e06c5.webp
ADDED
|
Git LFS Details
|
tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/apdrgcjrgiu4s1vlo7gl-77a107e4453f.webp
ADDED
|
Git LFS Details
|
tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/aqzow6hr0rwf0f3r4a47-f3bb59aeed72.webp
ADDED
|
Git LFS Details
|
tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/asdx8dosliv5a1iskb4c-0e5aa01c60d9.webp
ADDED
|
Git LFS Details
|
tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/aspxjtyz1idbblzzjlqb-a71338cdeecd.webp
ADDED
|
Git LFS Details
|
tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/avqmcao4jscu3fqj7fqs-3865c3d269c0.webp
ADDED
|
Git LFS Details
|
tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/aysurklwqrgsblzv8yg7-95428210103e.webp
ADDED
|
Git LFS Details
|
tasks/taskrabbit/solution/site/implementation/clone/static/service-catalog-assets/azq1uylz9c56mbmk8hee-ae57c71d4e26.webp
ADDED
|
Git LFS Details
|