1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="090e61d5-19c9-e432-5bfc-62cdbaed3623")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,865426,e=>{"use strict";var t=e.i(810121),o=e.i(833727),r=e.i(928737);let a={MANAGER_SUBTITLE:"Click to edit a product. Drag to change the order they appear on your website.",LOAD_ERROR:"We couldn't load your products. Please refresh and try again.",CREATE_ERROR:"We couldn't create the product. Please try again.",ACTIVATE_INCOMPLETE_ERROR:"Add a title and a price before showing this product on your website.",ADD_PRODUCT:"Add product",NEW_LISTING:"New product",UNTITLED_LISTING:"Untitled product",SAVE:"Save",LIST_EMPTY_TITLE:"No products yet",LIST_EMPTY_DESCRIPTION:"Add a physical product or digital download to start selling.",NO_SELECTION_TITLE:"Select a product to edit",NO_SELECTION_DESCRIPTION:"Choose a product from the list, or add a new one.",DELETE_TITLE:"Delete product?",DELETE_MESSAGE:e=>`"${e}" will be removed from your store. This can't be undone.`,DELETE_MESSAGE_NOTE:"Anyone who already bought it keeps their purchase â past orders aren't affected.",DELETE_CONFIRM:"Delete",DETAILS_TAB:"Details",VARIANTS_TAB:"Variants",ADD_PRODUCT_TITLE:"What are you selling?",PHYSICAL_TITLE:"Physical product",PHYSICAL_DESCRIPTION:"Something you ship â apparel, prints, signed items.",DIGITAL_TITLE:"Digital download",DIGITAL_DESCRIPTION:"A file buyers download after purchase.",ACTIVE:"Active",ACTIVE_INPUT_LABEL:"Display on your website",TITLE:"Title",TITLE_REQUIRED:"Title is required",TITLE_TOO_LONG:`Title must not exceed ${t.STORE_PRODUCT_NAME_MAX_LENGTH} characters`,DESCRIPTION:"Description",IMAGES:"Images",PRICE:"Price",PRICE_DESCRIPTION:"The amount the customer is charged, before shipping.",PRICE_DESCRIPTION_DIGITAL:"The amount the customer is charged for the download.",PRICE_DESCRIPTION_WITH_VARIANTS:"The base price. New combinations start at this price.",PRICE_TOO_HIGH:e=>`Price must be ${e} or less.`,PRICE_TOO_LOW:e=>`Price must be at least ${e}.`,PRICE_INVALID:"Please enter a valid price (e.g., 12 or 12.50).",INVENTORY:"Inventory",TRACK_INVENTORY:"Track inventory",ITEMS_IN_STOCK:"Items in stock",FULFILLMENT:"Fulfillment",FULFILLMENT_DESCRIPTION:"Buyers download this file after paying.",FULFILLMENT_FILE_REQUIREMENTS:e=>`Max file size: ${e}. Supported file-formats: ${o.DIGITAL_MERCH_SUPPORTED_FORMATS_LABEL}.`,FULFILLMENT_FILE_TOO_LARGE:e=>`The file must be ${e} or less.`,FULFILLMENT_UPLOAD_UNAVAILABLE:"This product isn't ready to take a file yet. Reload the page and try again.",AVAILABILITY:"Availability",MARK_AS_SOLD_OUT:"Mark as Sold Out",MARK_AS_SOLD_OUT_DESCRIPTION:"Overrides counts â buyers see Sold Out while checked.",VARIANTS_STOCK_NOTE:"Per-combination counts are set on the Variants tab.",SEARCH_ENGINE_SETTINGS:"Search Engine Settings",PAGE_ADDRESS:"Page Address",PAGE_ADDRESS_DESCRIPTION:"Use only lowercase letters, numbers, and hyphens. No special characters or spaces (e.g., 'story-world-tote'). Must be unique across your products.",VARIANTS_HELPER:e=>`Add up to two options (e.g. Color, Size), to a maximum of ${e} combinations.`,PRIMARY_OPTION:"Primary option",SECONDARY_OPTION:"Secondary option",PRIMARY_OPTION_CAPTION:"Appears first on the product page. Each choice can have its own photo.",ADD_OPTION:"Add option",OPTION_NAME_PLACEHOLDER:"Choose a nameâ¦",OPTION_NAME_CUSTOM:"Custom nameâ¦",CUSTOM_OPTION_PLACEHOLDER:"e.g. Scent",CUSTOM_OPTION_ARIA_LABEL:"Custom option name",OPTION_NAME_DUPLICATE:"You've already used this option name.",REMOVE_OPTION:"Remove",REMOVE_OPTION_TITLE:"Remove this option?",REMOVE_OPTION_MESSAGE:"The prices and stock counts you set for each combination will be lost. This can't be undone.",CHOICE_PLACEHOLDER:"Choice",CHOICE_UNTITLED:e=>`choice ${e}`,ADD_CHOICE:"Add choice",CHOICE_CAP_REACHED:e=>`Maximum of ${e} combinations reached.`,CHOICE_DUPLICATE:"Each choice name must be unique.",DRAG_TO_REORDER_CHOICE:"Drag to reorder
2choice",COMBINATIONS_TITLE:"Manage price & inventory",COMBINATIONS_HELPER:e=>`Photos attach to your ${e} choices â buyers see the photo change as they pick. Remove any combination you don't sell.`,COMBINATIONS_HELPER_INVENTORY:" To show one as temporarily sold out, keep it and set its stock to 0 instead.",COMBINATIONS_FIRST_OPTION_FALLBACK:"first option",COMBINATION_PRICE:"Price",COMBINATION_STOCK:"Stock",COMBINATION_LABEL_SINGULAR:"combination",COMBINATION_LABEL_PLURAL:"combinations",COMBINATION_UNTITLED:"Untitled",COMBINATION_PRICE_ARIA:e=>`Price for ${e}`,COMBINATION_STOCK_ARIA:e=>`Stock for ${e}`,COMBINATION_REMOVE_ARIA:e=>`Remove ${e}`,COMBINATION_REMOVE_TITLE:"Remove combination",COMBINATION_RESTORE_ARIA:e=>`Restore ${e}`,COMBINATION_RESTORE_TITLE:"Restore combination",CHOICE_IMAGE_ARIA:e=>`Image â ${e}`,CHOICE_IMAGE_PICKER_TITLE:"Link an image",CHOICE_IMAGE_NONE:"No image",CHOICE_IMAGE_EMPTY_GALLERY:"No images yet. Add images to this listing's gallery on the Details tab, then link one here.",COMBINATION_PRICE_INVALID:"Enter a valid price (e.g., 12 or 12.50).",STRANDED_PRICES_TITLE:"Update combination prices?",STRANDED_PRICES_SUBJECT_SINGULAR:"combination still costs",STRANDED_PRICES_SUBJECT_PLURAL:"combinations still cost",STRANDED_PRICES_MESSAGE:(e,t,o)=>`${e} ${t}, the base price before this change. Update to ${o}?`,STRANDED_PRICES_AFFECTED:e=>`Affected: ${e}.`,STRANDED_PRICES_KEEP:"Keep their prices",STRANDED_PRICES_UPDATE:"Update prices",STRANDED_PRICES_ERROR:"We couldn't update the combination prices. Please try again.",VARIANTS_DIGITAL_UNSUPPORTED:"Digital downloads are a single file, so they have no variants.",STOREFRONT_EMPTY_HEADING:"No products yet",STOREFRONT_EMPTY_BODY:"Check back soon â new products are on the way.",STOREFRONT_PREVIEW_ONLY_VISIBLE_TO_YOU:"This store is only visible to you.",STOREFRONT_PREVIEW_SET_UP_PAYOUTS:"Set up payouts",STOREFRONT_PREVIEW_TO_SHOW_IT_TO_VISITORS:"to show it to visitors."},i={YOUR_CART:"Your Cart",CART_IS_EMPTY:"Your cart is empty",ADD_ITEMS_TO_GET_STARTED:"Add some items to get started!",REMOVE:"Remove",QUANTITY:"Quantity",VIEW_CART:"View Cart",CHECK_OUT:"Checkout",SUBTOTAL:"Subtotal",ACCEPT_PROMOTIONAL_EMAIL_LABEL:"YES, email me about new releases and special offers",CHECKOUT_NOTE:"Shipping is calculated at checkout",CHECKOUT_ERROR:"Checkout failed, please try again",CHECKOUT_STRIPE_CONFIG_ERROR:"Payments are temporarily unavailable. Please try again later.",CHECKOUT_SHIPPING_REJECT_FALLBACK:"Shipping could not be calculated for this address.",CHECKOUT_INVALID_CART_ERROR:"Some items in your cart are no longer available and have been removed",STOCK_UNIT_COPY:{singular:"copy",plural:"copies"},STOCK_UNIT_ITEM:{singular:"item",plural:"items"},CHECKOUT_INSUFFICIENT_STOCK_ERROR:(e,t,o)=>`Only ${t} ${(0,r.pluralize)(o.singular,o.plural,t)} of "${e}" ${(0,r.pluralize)("is","are",t)} left. We've updated your cart â please review it before checking out.`,CHECKOUT_INSUFFICIENT_STOCK_ERROR_MULTIPLE:"Some items in your cart had fewer available than requested. We've updated your cart â please review it before checking out.",POST_CHECKOUT_MISSING_SESSION_ID:"Missing checkout session ID",POST_CHECKOUT_TIMEOUT:"Timeout: Could not confirm your purchase. Please contact support.",POST_CHECKOUT_PROCESSING_ERROR:"An error occurred while processing your checkout. Please contact support.",POST_CHECKOUT_PROCESSING:"Processing your purchase...",POST_CHECKOUT_WAITING:"Please wait while we confirm your payment.",PURCHASE_COMPLETE_MISSING_TOKEN:"Missing download token",PURCHASE_COMPLETE_DOWNLOAD_REVOKED:"This download link has been revoked.",PURCHASE_COMPLETE_DOWNLOAD_NOT_FOUND:"This link has already been used. To download your file, find the most recent email with the subject line 'Your download is ready' in your inbox.",PURCHASE_COMPLETE_DOWNLOAD_EXPIRED:"This download link has expired.",PURCHASE_COMPLETE_LOADING_ERROR:"An error occurred while loading your downloads. Please try again later.",PURCHASE_COMPLETE_LOADING:"Loading your downloads...",PURCHASE_COMPLETE_ERROR_HEADING:"Link already used",PURCHASE_COMPLETE_TITLE:"Your purchase is complete",YOUR_DOWNLOADS_TITLE:"Your Downloads",PURCHASE_COMPLETE_PRODUCT_COVER_ALT:"Product cover",PURCHASE_COMPLETE_UNTITLED_PRODUCT:"Untitled Product",PURCHASE_COMPLETE_BY_AUTHOR:"by {authorName}",PURCHASE_COMPLETE_DOWNLOAD:"Download",PURCHASE_COMPLETE_NO_DOWNLOADS_TITLE:"No Downloads Available",PURCHASE_COMPLETE_NO_DOWNLOADS_MESSAGE:"No download files were found for this purchase.",PURCHASE_COMPLETE_DOWNLOAD_MISSING_TOKEN:"Missing download token. Please refresh the page.",PURCHASE_COMPLETE_DOWNLOAD_SELECT_FORMAT:"Please select a format to download.",PURCHASE_COMPLETE_DOWNLOAD_FAILED:"Failed to download file. Please try again.",PURCHASE_COMPLETE_DOWNLOAD_NO_FILE:"No file available for this format. Please try another format.",PURCHASE_COMPLETE_DOWNLOAD_SERVER_ERROR:"Server error. Please try again later.",PURCHASE_COMPLETE_EMAIL_SENT:"A receipt and download link has also been sent to {email}",PURCHASE_COMPLETE_LINK_EXPIRED_TITLE:"This download link has expired",PURCHASE_COMPLETE_LINK_EXPIRED_MESSAGE:"Request a new link to be sent to {email} below:",PURCHASE_COMPLETE_REQUEST_NEW_LINK:"Request new link",PURCHASE_COMPLETE_NEW_LINK_SENT:"A new link has been sent your your email",PURCHASE_COMPLETE_REQUEST_NEW_LINK_ERROR:"Failed to request new link. Please try again.",PURCHASE_COMPLETE_PHYSICAL_QTY:"Qty: {quantity}
2",PURCHASE_COMPLETE_PHYSICAL_SECTION_TITLE:"Physical Books",PURCHASE_COMPLETE_DIGITAL_SECTION_TITLE:"Digital Downloads",PURCHASE_COMPLETE_PHYSICAL_REFRESH_MESSAGE:"Your order has been placed. Check your email for order confirmation and details.",EBOOK:"eBook",AUDIOBOOK:"Audiobook",DIGITAL_DOWNLOAD:"Digital download",BUY_DIRECTLY:"Buy directly",ADD_TO_CART:"Add to Cart",ALREADY_IN_CART:"Already in Cart",IN_CART:"In Cart",ADDED_TO_CART:"Added to Cart!",CONTINUE_SHOPPING:"Keep Shopping",BOOK_COVER_ALT:"Book cover",PRICE_FROM:e=>`from ${e}`,SELECT_AN_OPTION:e=>`Select a ${e.toLowerCase()}`,PRICE_REQUIRED:"Price is required",PRICE_INVALID_FORMAT:"Please enter a valid price (e.g., 12 or 12.50)",PRICE_MUST_BE_POSITIVE:"Price must be a positive number",PRICE_EXCEEDS_MAX:`Price cannot exceed ${t.MAX_PRODUCT_PRICE}.`,PRODUCT_PRICE_TAX_NOTICE:"Enter the amount the customer will be charged. Taxes are not calculated automatically and, if applicable, should be included in this price. You're responsible for determining and handling any applicable taxes.",EACH:"each",PRODUCT_PRICE_LABEL:"Price",PRODUCT_PRICE_PLACEHOLDER:"0.00",PRODUCT_PRICE_PREFIX:"$",PRODUCT_LABEL_LABEL:"Label",PRODUCT_LABEL_OPTIONAL:!0,PRODUCT_LABEL_PLACEHOLDER:"e.g, 'Special Edition'",PRODUCT_LABEL_DESCRIPTION:"Helps readers distinguish between different versions of your book. Only recommended if you have different versions of your book.",UPLOAD_FILES_LABEL:"Upload Files",UPLOAD_FILES_DESCRIPTION_EBOOK:"Maximum file size: 200 MB per file.",UPLOAD_FILES_DESCRIPTION_AUDIOBOOK:"Maximum file size: 2 GB per file.",FILE_SIZE_EXCEEDS_EBOOK_LIMIT:(e,t)=>`This eBook is ${e} MB. eBooks must be ${t} MB or smaller.`,FILE_SIZE_EXCEEDS_AUDIOBOOK_LIMIT:e=>`This audiobook is ${e} MB. Audiobooks must be 2 GB or smaller.`,ADD_EBOOK:"Ebook",ADD_AUDIOBOOK:"Audiobook",ADD_PRINT_BOOK:"Print book",PRODUCT_ADD_RESTRICTED:"Adding eCommerce products is unavailable on your current plan.",PAYOUT_SETUP_WARNING:"You need to set up a payout bank account for products to be visible and purchasable on your website. [LINK]Set up Payouts[/LINK]",PAYOUT_SETUP_MODAL_TITLE:"Set up payouts to start selling <br />this product on your website",PAYOUT_SETUP_MODAL_CTA:"Set up payments",PAYOUT_SETUP_MODAL_DISMISS:"Do it later",SELL_DIRECTLY:"Sell Directly",NO_ECOMMERCE_PRODUCTS_DESCRIPTION:"<div><b>No eCommerce products added yet.</b></div>Add an eBook, Audiobook, or Print book to get started.",UNTITLED_PRODUCT:"Untitled Product",DELETE_PRODUCT:"Delete Product",CONFIRM_DELETE_PRODUCT_TITLE:"Delete Product",CONFIRM_DELETE_PRODUCT_MESSAGE_MAIN:"You're about to delete",CONFIRM_DELETE_PRODUCT_MESSAGE_SECONDARY:"This product will no longer be available to purchase.",CONFIRM_DELETE_PRODUCT_MESSAGE_NOTE:"People who bought this product in the past will still be able to download their purchase.",FULFILLMENT_MODAL_TITLE:"How should this book be fulfilled?",FULFILLMENT_AUTHOR:"I ship it myself",FULFILLMENT_AUTHOR_DESCRIPTION:"You handle printing, packing, and shipping.",FULFILLMENT_POD:"Printed & fulfilled by Tertulia",FULFILLMENT_POD_COMING_SOON:"Coming soon",FULFILLED_BY_AUTHOR:"Fulfilled by you",SHIPS_INTL:"Intl",SHIPS_DOMESTICALLY:"Ships within {country}",SHIPS_INTERNATIONALLY:"Ships internationally",DELIVERED_VIA_EMAIL:"Delivered via email",SHIPPING_LABEL:"Shipping",SHIPPING_DOMESTIC_ONLY:"${{price}} ({{country}} only)",SHIPPING_DOMESTIC_AND_INTERNATIONAL:"${{domesticPrice}} ({{country}}) / ${{internationalPrice}} (International)",PRINT_BOOK:"Print book",PAPERBACK:"Paperback",HARDCOVER:"Hardcover",BINDING_LABEL:"Binding",BINDING_REQUIRED:"Please select a binding type (Paperback or Hardcover)",SOLD_OUT:"Sold Out",SOLD_OUT_LABEL:"Mark as Sold Out",SOLD_OUT_DESCRIPTION:"Product will still appear on your website but be marked as Sold Out. To remove it entirely, deactivate or delete it.",TRACK_INVENTORY_LABEL:"Track inventory",COPIES_IN_STOCK_LABEL:"Copies in stock",STOCK_ZERO_HELPER:"Buyers see this product as Sold Out.",STOCK_OVERSOLD_HELPER:"More were sold than you had in stock. Refund a buyer or update your count.",INVENTORY_STATUS_IN_STOCK:"In stock",INVENTORY_STATUS_LOW_STOCK:"Low stock",INVENTORY_STATUS_OVERSOLD:"Oversold",INVENTORY_STATUS_NOT_TRACKED:"Not tracked",STOCK_IN_STOCK_COUNT:e=>`${e} in stock`,ACTIVATE_DEACTIVATE_ERROR:"We could not update the product. Please try again.",STOCK_VERSION_CONFLICT_MESSAGE:e=>`The stock changed while you were editing â it is now ${e}. Your count was not saved. Check the new value and try again.`,STOCK_VERSION_CONFLICT_MESSAGE_GENERIC:"The stock changed while you were editing, so your count was not saved. Reload the product and try again.",INVENTORY_COLUMN_PRODUCT:"Product",INVENTORY_COLUMN_PRICE:"Price",INVENTORY_COLUMN_STOCK_STATUS:"Stock status",INVENTORY_EMPTY_MESSAGE:"No products to track yet",INVENTORY_STOCK_INPUT_ARIA:e=>`Stock for ${e}`,INVENTORY_SAVE_STOCK_ARIA:"Save stock count",INVENTORY_STOCK_UPDATED_TOAST:e=>`Stock updated â ${e}`,INVENTORY_STOCK_UPDATE_ERROR:"Could not update the stock count. Please try again.",INVENTORY_PRICE_UNAVAILABLE:"â",INVENTORY_LOAD_ERROR:"We couldn't load your inventory. Please try again.",CHOOSE_FILE:"Choose File",UNSUPPORTED_FILE_FORMAT:"Please upload a supp
2orted file format:",HIDE_DETAILS:"Hide Details",LEARN_MORE:"Learn more",FILE_LABEL_MP3:"MP3",FILE_LABEL_M4B:"M4B",FILE_LABEL_ZIP:"ZIP of MP3 chapters",FILE_LABEL_EPUB:"EPUB",FILE_LABEL_PDF:"PDF",FILE_LABEL_TXT:"TXT",FILE_LABEL_MOBI:"MOBI",PRODUCT_UPLOAD_RESTRICTED:"Uploading product files is unavailable on your current plan.",PRODUCT_UPLOAD_RESTRICTED_TITLE:"Subscribe to start selling directly",PRODUCT_UPLOAD_RESTRICTED_DESCRIPTION:"You need a Pro subscription to upload files and make books purchasable on your website.",CLICK_TO_DOWNLOAD:"Click to download",DOWNLOADING:"Downloading...",UPLOAD_SPEED_SUFFIX:"/s",UPLOAD_TIME_SECONDS_REMAINING:"{seconds}s remaining",UPLOAD_TIME_MINUTES_REMAINING:"{minutes}m remaining",UPLOAD_TIME_HOURS_REMAINING:"{hours}h remaining",DELETE_FILE_TITLE:"Delete File",DELETE_FILE_CONFIRM:"Delete",DELETE_FILE_DESCRIPTION_MAIN:"You're about to delete <b>{fileName}</b>. This file will no longer be available to new purchases.",DELETE_FILE_DESCRIPTION_NOTE:"The file will still be available to people who bought it in the past who requests to re-download their purchase.",FILE_TYPES:{ebooks:{EPUB:{badge:"Highly Recommended",overview:"Works in all e-readers, best reading experience for text-rich books.",details:'Universal eBook format compatible with most e-readers and reading apps. Create by saving to ePub from Microsoft Word or create using software like <a href="https://calibre-ebook.com/" target="_blank" rel="noopener noreferrer">Calibre</a> (Mac/PC, Free) or <a href="https://vellum.pub/" target="_blank" rel="noopener noreferrer">Vellum</a> (Mac, Paid).'},PDF:{badge:"Recommended",overview:"Fixed-layout format best for computers, printing, and visually complex books. Formatting does not adjust to screen size.",details:"Fixed-layout format preserving exact design. Good for books with complex layouts or images. Export from design software like Adobe InDesign or save as PDF from your word processor. Not good on mobile."},TXT:{badge:"Optional",overview:"Accessible universal format. No image or formatting support.",details:"Plain text format (.txt) for simple text-only books. Create by saving your document as a plain text file from any text editor."},MOBI:{badge:"Optional",overview:"Legacy Kindle format.",details:'Legacy Kindle format. No longer recommended by Amazon and not supported by Send to Kindle. Only relevant for older Kindle devices where readers side-load files through a USB cable. Create using <a href="https://calibre-ebook.com/" target="_blank" rel="noopener noreferrer">Calibre</a> or other conversion tools.'}},audiobooks:{MP3:{badge:"Highly recommended",overview:"Single-file format with universal compatibility. Best if you want an audiobook that works everywhere, but does not support chapters.",details:"Standard audio format compatible with nearly all devices and players. Chapters aren't reliably supported across players. Cover art can be included in the MP3 file. Recommended export settings: constant bitrate (CBR) for widest compatibility; recommended bitrate 128 kbps or higher at 44.1 kHz."},M4B:{badge:"Recommended",overview:"Single-file format that supports chapters and artwork. Ideal for audiobook apps like Apple Books and other modern players.",details:'Modern format that supports chapters, bookmarks, and resume position. Embed title, author, narrator, and cover art before uploading. Create chapterized M4B files using tools like <a href="https://www.splasm.com/audiobookbuilder/" target="_blank" rel="noopener noreferrer">Audiobook Builder</a> (Mac, ~$10) or <a href="https://apps.microsoft.com/detail/9n44m266p5qf?hl=en-US&gl=PN" target="_blank" rel="noopener noreferrer">ChapterForge</a> (PC, ~$10). Recommended settings: 44.1 kHz sample rate, 96â128 kbps AAC for good quality and file size balance.'},ZIP_of_MP3_chapters:{badge:"Recommended",overview:"Provides chapter support with broad compatibility.",details:"Bundle multiple MP3s (one per chapter) into a single .zip. Buyers unzip and play in order. Name files with leading track numbers (e.g., 01_Intro.mp3, 02_Chapter_1.mp3) so they play sequentially. You may include an optional playlist.m3u and cover.jpg inside the ZIP."}}}},E={PAPERBACK:i.PAPERBACK,HARDCOVER:i.HARDCOVER},n={EBOOK:i.EBOOK,AUDIOBOOK:i.AUDIOBOOK,DIGITAL_DOWNLOAD:i.DIGITAL_DOWNLOAD};e.s(["AUDIENCE",0,{REPUTATION_VALIDATION_PENDING_TITLE:"Contact validation will start soon",REPUTATION_VALIDATION_PENDING_DESCRIPTION:"We will start validating your contacts in the next few minutes to protect your sender reputation.",REPUTATION_VALIDATION_IN_PROGRESS_TITLE:"Validating your contacts",REPUTATION_VALIDATION_IN_PROGRESS:e=>e>
20?`Validating ${e.toLocaleString()} contacts⦠This can take a few minutes â feel free to keep working.`:"Validating your contacts⦠This can take a few minutes â feel free to keep working.",REPUTATION_VALIDATED_TITLE:"Contact validation completed",REPUTATION_VALIDATED_INTRO:e=>`We validated ${e} contacts in your audience.`,REPUTATION_VALIDATED_BLOCKED_FOR_DELIVERABILITY:e=>1===e?"1 was known to cause deliverability issues and has been blocked to protect your sender reputation.":`${e} were known to cause deliverability issues and have been blocked to protect your sender reputation.`,REPUTATION_VALIDATED_GUIDANCE_LEADING:'Our checks catch technical issues, but you know your audience best. Mark anyone who is invalid, inactive, or unlikely to want to hear from you as "Blocked." Once that\'s done, email ',REPUTATION_VALIDATED_GUIDANCE_TRAILING:"and we'll take it from there.",TOTAL_CONTACTS:"Total Contacts",EMAIL_SUBSCRIBERS:"All Subscribers",BOOK_BUYERS:"Subscribed Buyers",FILTER_UNSUBSCRIBED:"Unsubscribed",FILTER_BLOCKED:"Blocked",FILTER_SCROLL_LEFT:"Scroll filters left",FILTER_SCROLL_RIGHT:"Scroll filters right",IMPORT:"Import",EXPORT:"Export",DOWNLOAD:"Download",NEW_CONTACT:"New Contact",NO_CONTACTS_YET:"No contacts yet",EMPTY_SEARCH_PREFIX:"No contacts matching ",EMPTY_CLEAR:"Clear search",SEARCH_PLACEHOLDER:"Filter by name or email...",ITEM_LABEL_SINGULAR:"contact",ITEM_LABEL_PLURAL:"contacts",TABLE_HEADER_CONTACT:"Contact",TABLE_HEADER_STATUS:"Status",TABLE_HEADER_ORDERS:"Orders",TABLE_HEADER_ADDED:"Added",ROW_OPEN_ARIA:e=>`Open ${e}`,ROW_ACTIONS_ARIA:e=>`Actions for ${e}`,SELECT_CONTACT_ARIA:e=>`Select ${e}`,EDIT:"Edit",BLOCK:"Block",UNBLOCK:"Unblock",DELETE:"Delete",BACK_TO_AUDIENCE:"Audience",STATUS:"Status",STATUS_SUBSCRIBED:"Subscribed",STATUS_UNSUBSCRIBED:"Unsubscribed",STATUS_BLOCKED:"Blocked",STATUS_NOT_SUBSCRIBED:"Not subscribed",STATUS_DESCRIPTION_SUBSCRIBED:"Receives marketing emails.",STATUS_DESCRIPTION_UNSUBSCRIBED:"Unsubscribed from marketing emails.",STATUS_DESCRIPTION_BLOCKED:"Blocked from receiving emails.",STATUS_DESCRIPTION_NOT_SUBSCRIBED:"Not subscribed to marketing emails.",FIRST_NAME:"First Name",LAST_NAME:"Last Name",SIGNUP_SOURCE:"Signup Source",ADDED:"Added",LOCATION_TITLE:"Location based on IP upon sign-up",MAP_NOT_AVAILABLE:"View location on Google Maps",EMAIL_HISTORY:"Email History",EMAIL_DELIVERED:"Email Delivered",EMAILS_OPENED:"Emails Opened",EMAILS_CLICKED:"Emails Clicked",ORDER_HISTORY:"Order History",TOTAL_ORDERS:"Total Orders",TOTAL_SPENT:"Total Spent",LAST_ORDER:"Last Order",ORDER:"Order",BOOKS:"Books",AMOUNT:"Amount",EMAIL_ADDRESS:"Email Address",EMAIL_ADDRESS_REQUIRED:"Email Address is required.",EMAIL_ADDRESS_INVALID:"Please enter a valid email address.",EMAIL_ADDRESS_DUPLICATE:"This email address is already in use by another contact.",EMAIL_ADDRESS_PLACEHOLDER:"[email protected]",SUBSCRIPTION_STATUS:"Customer agreed to receive marketing emails",SUBSCRIPTION_REQUIRED:"You must confirm that this contact has agreed to receive marketing emails before adding them.",SUBSCRIPTION_HELPER_NOT_SUBSCRIBED:"This contact was added through e-commerce and hasn't opted in to marketing emails. They can subscribe through a newsletter form or checkout opt-in.",SUBSCRIPTION_HELPER_UNSUBSCRIBED:"This contact unsubscribed from marketing emails. They can re-subscribe through a newsletter form or checkout opt-in.",FIRST_NAME_LABEL:"First Name",FIRST_NAME_PLACEHOLDER:"First name",LAST_NAME_LABEL:"Last Name",LAST_NAME_PLACEHOLDER:"Last name",SAVE:"Save",CANCEL:"Cancel",BACK_TO_CONTACT:"Contact",LOADING_CONTACT:"Loading contact...",ERROR_LOADING_CONTACT:"We could not load this contact. Please try again.",CONTACT_NOT_FOUND:"Contact not found.",ERROR_SAVING_CONTACT:"Error saving contact",NOT_AVAILABLE:"N/A",BLOCK_CONTACT_TITLE:"Block Contact",BLOCK_CONTACT_MESSAGE:"Are you sure you want to block this contact? They will no longer receive any emails from you.",BLOCK_CONTACT_DESCRIPTION:"You are about to block {email}. This retains all their information but will block them from receiving any marketing email, even if they re-subscribe in the future.",BLOCK_CONTACT_TRANSACTIONAL_NOTE:"Contact will still receive transactional email (e.g. receipts for purchases.)",BLOCK_CONTACT_CONFIRM:"Block Contact",UNBLOCK_CONTACT_TITLE:"Unblock Contact",UNBLOCK_CONTACT_DESCRIPTION:"Are you sure you want to unblock this contact? {email}
2",UNBLOCK_CONTACT_CONFIRM:"Unblock Contact",DELETE_CONTACT_TITLE:"Delete Contact",DELETE_CONTACT_DESCRIPTION:"You're about to permanently delete {email} from your audience. This action cannot be undone.",DELETE_CONTACT_CONFIRM:"Delete Contact",ERROR_DELETING_CONTACT:"Error deleting contact",ERROR_BLOCKING_CONTACT:"Error blocking contact",ERROR_UNBLOCKING_CONTACT:"Error unblocking contact",IMPORT_TITLE:"Import Contacts",IMPORT_STEP1_QUESTION:"Where are your contacts currently stored?",IMPORT_SOURCE_MAILCHIMP:"MailChimp",IMPORT_SOURCE_MAILERLITE:"MailerLite",IMPORT_SOURCE_KIT:"Kit.com",IMPORT_SOURCE_OTHER:"Other",IMPORT_STEP2_TITLE:"Importing from {source}",IMPORT_STEP2_OTHER_TITLE:"Importing from Other Sources",IMPORT_STEP2_STEPS_TITLE:"Steps:",IMPORT_STEP2_EXPORT:"Export your subscribers list from {source}.",IMPORT_STEP2_ACTIVE_SUBSCRIBERS:"Make sure your CSV file only contains active subscribers (no unsubscribed or bounced subscribers).",IMPORT_STEP2_UPLOAD_NEXT:"Upload the file on the next step.",IMPORT_STEP2_OTHER_DESCRIPTION:"Download one of these templates and add your contacts without changing the format of the file:",IMPORT_TEMPLATE_EMAIL_ONLY:"TertuliaImportTemplate_EmailOnly.csv",IMPORT_TEMPLATE_EMAIL_NAME:"TertuliaImportTemplate_EmailFirstnameLastname.csv",IMPORT_STEP2_OTHER_NOTE:"Make sure you've received permission to email everyone on your list. Only import active subscribers and exclude non-subscribers.",IMPORT_STEP3_TITLE:"Select CSV File",IMPORT_STEP3_5_TITLE_OTHER:"How were these emails collected?",IMPORT_STEP3_5_TITLE_CONFIRMATION:"Confirm Import Requirements",IMPORT_CHOOSE_FILE:"Choose File",IMPORT_OR_DRAG_DROP:"or drag and drop",IMPORT_FILE_REQUIREMENTS:"CSV files only. Maximum file size: 10MB",IMPORT_REMOVE_FILE:"Remove",IMPORT_CONTACTS:"Import Contacts",IMPORT_ERROR_CSV_ONLY:"Please upload a CSV file",IMPORT_ERROR_FILE_TOO_LARGE:"This file is too large. Maximum size is 10MB",IMPORT_ERROR_NO_FILE:"Please select a file to import",IMPORT_ERROR_GENERIC:"An error occurred while importing contacts. Please try again.",IMPORT_STEP4_TITLE:"Importing Contacts",IMPORT_PROCESSING:"Processing...",IMPORT_PROCESSING_MESSAGE:"Importing your contacts...",IMPORT_EMAIL_ME_WHEN_COMPLETE:"Email me when import is complete",IMPORT_EMAIL_CONFIRMATION:"You will receive an email when the import is complete.",IMPORT_COMPLETE:"Import Complete",IMPORT_ALL_DONE:"All done!",IMPORT_SUCCESS_MESSAGE:"Your contacts have been imported successfully",IMPORT_VALIDATION_DISCLAIMER:"Tertulia checks imported lists for invalid/risky email addresses before sending. This helps reduce bounces and protect your deliverability.",IMPORT_RESULT_IMPORTED:"Contacts Imported",IMPORT_RESULT_DUPLICATES:"Duplicates Skipped",IMPORT_RESULT_ERRORS:"Could not be imported",IMPORT_DONE:"Done",IMPORT_ERROR_TITLE:"Import Error",FILE:"File",UPLOAD:"Upload",CLOSE:"Close",EXPORT_CONTACTS_TITLE:"Export Contacts",EXPORT_SUBSCRIBERS:"Export subscribers ({count})",EXPORT_ALL_CONTACTS:"Export all contacts ({count})",EXPORT_RECOMMENDED:"RECOMMENDED",EXPORT_NOTE:"We recommend that you only export active subscribers. Using contacts with unsubscribed, bounced, or complaint statuses for marketing purposes can damage your sender reputation, reduce deliverability, and violate email marketing laws.",EXPORT_TRY_AGAIN:"Try Again",EXPORT_PREPARING_FILE:"Preparing file",EXPORT_EMAIL_MESSAGE:"The file will be sent to your email when complete. You can close this window.",EXPORT_EMAIL_SENT:"A link to download the file has also been sent to your email",EXPORT_ERROR_GENERIC:"An error occurred while exporting contacts. Please try again.",SIGNUP_METHOD_WEBSITE:"Signup form on my website",SIGNUP_METHOD_PURCHASE:"Book purchase or checkout",SIGNUP_METHOD_EVENT:"In-person event",SIGNUP_METHOD_NEWSLETTER:"Existing newsletter or mailing list",SIGNUP_METHOD_OTHER:"Other (please specify)",SIGNUP_METHOD_OTHER_PLACEHOLDER:"Please specify how contacts opted in",SIGNUP_METHOD_WARNING:"Only import contacts who opted in to receive your emails. Purchased, scraped, or shared lists could result in your account being suspended.",IMPORT_CONFIRM_INTRO:"Before we import, please confirm:",IMPORT_CONFIRM_PERMISSION:"Everyone on this list has given me permission to email them",IMPORT_CONFIRM_ACTIVE_SUBSCRIBERS:"This file only has active subscribers (no unsubscribed or bounced contacts)",IMPORT_CONFIRM_WARNING:"Only import contacts who opted in to receive your emails. Purchased, scraped, or shared lists could result in your account being suspended.",IMPORT_CONFIRM_ERROR:"Please confirm both requirements to continue.",IMPORT_CONFIRM_IMPORTANT_TITLE:"Important",IMPORT_CONFIRM_IMPORTANT:"Imported contacts must have explicitly opted in to receive emails from you."},"BINDING_TYPE_LABELS",0,E,"ECOMMERCE",0,i,"ECOMMERCE_MEDIA_TYPE",0,{EBOOK:"eBook",AUDIOBOOK:"AudioBook"},"ECOMMERCE_SETTINGS",0,{CURRENCY_TITLE:"Store Currency",CURRENCY_DESCRIPTION:"The currency shown to buyers and used to charge them.",CURRENCY_LABEL:"Currency",CURRENCY_DISABLED_HINT:"Complete Stripe onboarding to enable currency selection.",FX_WARNING:(e,t)=>
2`Your Stripe account settles in ${t}. Sales in ${e} will be converted to ${t} (~2% FX fee).`,CURRENCY_CHANGE_WARNING:"Switching currency will not convert your existing product prices or shipping rates. The numeric values stay the same â a 20.00 price will display as 20.00 in the new currency. Review your products and shipping rates after saving.",CURRENCY_CHANGE_CONFIRM_TITLE:"Save changes?",SAVE_SUCCESS:"Settings saved successfully.",SAVE_ERROR:"Failed to save settings. Please try again.",LOAD_ERROR:"Failed to load settings. Please try again."},"GALLERY_MANAGER",0,{ADD_IMAGE:"Add image",IMAGE:"Image",REMOVE:"Remove",IMAGE_OPTIONS:"Image options",LIMIT_REACHED:e=>`${e} of ${e}`},"MEDIA_TYPE_LABELS",0,n,"MERCHANDISE",0,a,"PAYOUTS",0,{SUBTITLE:"Payment processing and earnings overview",SETUP_TITLE:"Set Up Payment Processing",SETUP_DESCRIPTION:"To receive payouts from your book sales, you need to set up Stripe Express. This secure payment processor will handle all transactions and automatically deposit earnings into your bank account.",SETUP_REQUIREMENTS_TITLE:"What you'll need:",SETUP_REQUIREMENTS:["Valid government-issued ID","Bank account information for deposits","Tax information (SSN or EIN)","Business information (if applicable)"],SETUP_BUTTON_LABEL:"Set Up Stripe Express",LOGIN_BUTTON_LABEL:"Login to Express",STRIPE_DASHBOARD_LINK:"Visit your Str
2ipe Dashboard",CONTINUE_IN_STRIPE_BUTTON:"Set Up Payouts",SCHEDULE_TITLE:"Helpful Information",SCHEDULE_STANDARD_TITLE:"Payout Schedule",SCHEDULE_STANDARD_DESCRIPTION:"Payouts are sent weekly on Mondays by default, but you can change this anytime in your Stripe dashboard. Funds typically arrive within 2â3 business days (may vary by country).",SCHEDULE_MINIMUM_TITLE:"Minimum Balance",SCHEDULE_MINIMUM_DESCRIPTION:"We keep a small buffer to cover refunds and disputes, so payouts may pause until your balance exceeds $20.",SETUP_RESTRICTED_TITLE:"Subscribe to start selling directly",SETUP_RESTRICTED_DESCRIPTION:"Sell directly to readers and keep 100% of earnings (minus credit card fees). Available on the Pro plan.",SETUP_RESTRICTED:"Payout setup is unavailable on your current plan.",STATUS_NOT_STARTED_TITLE:"Ready to start receiving payouts?",STATUS_NOT_STARTED_MESSAGE:"Setting up payouts is easy. We use Stripe, a trusted payment processor, to send your earnings straight to your bank account. Just have your bank account details and tax ID readyâit only takes a few minutes to set up.",STATUS_VERIFICATION_IN_PROGRESS_TITLE:"Your account is being verified",STATUS_VERIFICATION_IN_PROGRESS_MESSAGE:"Stripe is reviewing your details nowâmost accounts are approved within an hour. In rare cases, it may take up to 1â2 business days. Once you're verified, we'll send you an email, and youâll be ready to receive payouts!",STATUS_ACTION_REQUIRED_TITLE:"We need a few more details from you",STATUS_ACTION_REQUIRED_MESSAGE:"To keep your payouts flowing smoothly, we just need a few more details from you. Itâll only take a minute!",STATUS_ACTION_REQUIRED_BUTTON:"Update info",STATUS_COMPLETED_TITLE:"You're all set up to get paid!",STATUS_COMPLETED_MESSAGE:"Your earnings will be sent straight to your bank accountâno extra steps needed.<br><br>Need to update your bank details, check your payout schedule, or view tax forms?",STATUS_REJECTED_TITLE:"Verification failedâletâs fix this",STATUS_REJECTED_MESSAGE:"Unfortunately, Stripe couldn't verify your details. Donât worryâweâre here to help! Contact us at <a href='mailto:[email protected]'>[email protected]</a>, and weâll help you get everything sorted.",STATUS_PAYMENTS_PAUSED_TITLE:"Your payouts are on hold",STATUS_PAYMENTS_PAUSED_MESSAGE:"Your payouts have been paused temporarily. This can happen for a few reasons. Head to your Stripe account to see more details and resolve the issue.",STATUS_PAYMENTS_PAUSED_BUTTON:"Open Stripe",RESET_COUNTRY_MESSAGE_PREFIX:"Your selected country is:",RESET_COUNTRY_PROMPT:"If you want to change it,",RESET_COUNTRY_LINK:"click here.",RESET_MODAL_TITLE:"Change your payout country?",RESET_MODAL_MESSAGE:"This will permanently reset your payout account so you can restart onboarding with a different country. You'll need to go through Stripe verification again, and this action can't be undone.",RESET_MODAL_CONFIRM_BUTTON:"Reset account",RESET_MODAL_CANCEL_BUTTON:"Cancel",RESET_SUCCESS_MESSAGE:"Your payout account was reset. You can now restart onboarding.",RESET_ERROR_MESSAGE:"We couldn't reset your payout account. Please try again in a moment.",ONBOARDING_START_ERROR_MESSAGE:"We couldn't start your payout setup. Please try again in a moment."},"SHIPPING",0,{CURRENCY_SYMBOL:"$",RATES_TITLE:"Shipping Rates",RATES_DESCRIPTION:"Flat rate shipping charges applied to all physical orders.",DOMESTIC_RATE_LABEL:e=>`Domestic (${e}) Flat Rate`,DOMESTIC_RATE_PLACEHOLDER:"6.00",RATE_VALIDATION_ERROR:"Enter a valid amount with up to 2 decimal places.",INTERNATIONAL_TITLE:"International Shipping",INTERNATIONAL_DESCRIPTION:e=>`Accept orders from outside ${e}.`,INTERNATIONAL_RATE_LABEL:"International Flat Rate",INTERNATIONAL_RATE_PLACEHOLDER:"25.00",NOTICE_TITLE:"Shipping Notice",NOTICE_DESCRIPTION:"This notice will be displayed on your website.",NOTICE_LABEL:"Notice Text",NOTICE_PLACEHOLDER:"eBooks delivered instantly. Print books ship in 1-3 business days.",NOTICE_CHARACTER_COUNT:(e,t)=>`${e}/${t} characters`,SAVE_SUCCESS:"Shipping configuration saved successfully.",SAVE_ERROR:"Failed to save shipping configuration. Please try again.",LOAD_ERROR:"Failed to load shipping configuration. Please try again."}])},646965,e=>{"use strict";var t=e.i(618566),o=e.i(429741),r=e.i(962008);e.s(["default",0,function(){let e=(0,t.useSearchParams)(),{globalData:a}=(0,r.useStoreContext)(),i=e?.get("site"),E=a?.site?.global?.siteSlug;return(0,o.cleanSiteParam)(i||E||"")}])},815126,e=>{"use strict";var t=e.i(810121);let o=t.PRODUCT_TYPE,r=t.BINDING_TYPE,a=t.MEDIA_TYPE,i=t.ORDER_STATUS,E=t.ORDER_SOURCE;t.INVENTORY_STATUS,e.s(["BindingTypeEnum",0,r,"MediaTypeEnum",0,a,"OrderSourceEnum",0,E,"OrderStatusEnum",0,i,"ProductTypeEnum",0,o])},829310,e=>{"use strict";var t=e.i(810121);let o=e=>{let o=e?.trim().toUpperCase();return o&&3===o.length?o:t.DEFAULT_STORE_CURRENCY},r=e=>t.FULL_SYMBOL_CURRENCIES.has(e)?"symbol":"narrowSymbol",a=()=>"u">typeof navigator&&navigator.language?navigator.language:"en-US",i=(e,...o)=>
2o.some(e=>t.FULL_SYMBOL_CURRENCIES.has(e))?"en":e??a(),E=(e,a,E)=>{let n=o(a);try{return new Intl.NumberFormat(i(E,n),{style:"currency",currency:n,currencyDisplay:r(n)}).format(e)}catch{return new Intl.NumberFormat("en-US",{style:"currency",currency:t.DEFAULT_STORE_CURRENCY,currencyDisplay:r(t.DEFAULT_STORE_CURRENCY)}).format(e)}},n=new Map,s=e=>{let t=o(e),a=n.get(t);if(void 0!==a)return a;let i="$";try{i=new Intl.NumberFormat("en",{style:"currency",currency:t,currencyDisplay:r(t)}).formatToParts(0).find(e=>"currency"===e.type)?.value??"$"}catch{i="$"}return n.set(t,i),i},T=/^([^\d]*)([\d.,]+)/;e.s(["formatCurrencyAsCode",0,(e,r,a)=>{let E=o(r);try{return new Intl.NumberFormat(i(a,E),{style:"currency",currency:E,currencyDisplay:"code"}).format(e)}catch{return new Intl.NumberFormat("en-US",{style:"currency",currency:t.DEFAULT_STORE_CURRENCY,currencyDisplay:"code"}).format(e)}},"formatCurrencyConversion",0,(e,t,r,a,n)=>{let s=o(t),T=o(a),_=i(n,s,T);return`${E(e,s,_)} ${s} â ${E(r,T,_)} ${T}`},"formatExchangeRateLabel",0,(e,t,r,n)=>{let T=o(e),_=o(t),l=i(n,T,_),O=E(1,T,l),I=`${s(_)}${r.toLocaleString(l??a(),{minimumFractionDigits:2,maximumFractionDigits:5})}`;return`(${O} ${T} = ${I} ${_})`},"formatLeadingPrice",0,(e,t)=>e?e.replace(T,(e,o,r)=>{let a=Number(r.replace(/,/g,""));return Number.isNaN(a)?e:t(a)}):"","formatOrderCurrencyWithCode",0,(e,t,r)=>{let a=o(t);return`${E(e,a,r)} ${a}`},"formatStoreCurrency",0,E,"getSiteEditorCurrencyPrefix",0,s,"hasOrderCurrencyConversion",0,(e,t)=>o(e)!==o(t),"resolveCurrencyCode",0,o])},418433,e=>{"use strict";let t,o="United States",r=e=>{let t=e?.trim();return t?t.toUpperCase():"US"};e.s(["getCountryDisplayName",0,e=>{let a=r(e),i=(()=>{if(void 0!==t)return t;if("u"<typeof Intl||"function"!=typeof Intl.DisplayNames)return t=null;try{t=new Intl.DisplayNames(["en"],{type:"region"})}catch{t=null}return t})();if(!i)return o;try{return i.of(a)??o}catch{return o}},"resolveSellerCountryIso",0,r])},657121,e=>{"use strict";var t=e.i(865426),o=e.i(334255),r=e.i(810121),a=e.i(829310),i=e.i(418433),E=e.i(815126),n=e.i(799819);let s={COMPLETE:"Complete",REFUNDED:"Refunded",IN_PROGRESS:"In Progress",UNFULFILLED:"Unfulfilled"};E.MediaTypeEnum.EBOOK,E.MediaTypeEnum.AUDIOBOOK;let T={[E.OrderStatusEnum.COMPLETE]:s.COMPLETE,[E.OrderStatusEnum.REFUNDED]:s.REFUNDED,[E.OrderStatusEnum.IN_PROGRESS]:s.IN_PROGRESS,[E.OrderStatusEnum.UNFULFILLED]:s.UNFULFILLED,[E.OrderStatusEnum.PENDING]:s.COMPLETE,[E.OrderStatusEnum.FAILED]:s.REFUNDED}
2,_={PDF:"PDF",TEXT:"Text",MOBI:"Mobi",EPUB:"ePub",MP3:"MP3",MP4:"MP4",ZIP:"ZIP"},l=new Set([E.ProductTypeEnum.PHYSICAL]),O=e=>!!e&&l.has(e),I=e=>{if(null==e||""===String(e).trim())return null;let t=Number(e);return Number.isFinite(t)?t:null},c=e=>e?Array.isArray(e)?e.map(e=>_[e.fileType?.toUpperCase()]||e.fileType).filter(Boolean).join("/"):e:"";e.s(["API_STATUS_TO_UI_STATUS",0,T,"ORDER_UI_STATUS",0,s,"byDisplayOrder",0,(e,t)=>(e.displayOrder??Number.MAX_SAFE_INTEGER)-(t.displayOrder??Number.MAX_SAFE_INTEGER),"deriveInventoryStatus",0,e=>{if(!e?.trackInventory)return r.INVENTORY_STATUS.NOT_TRACKED;if(e.isSoldOut)return r.INVENTORY_STATUS.SOLD_OUT;let t=I(e.stockQuantity);return null===t?e.isStockZero?r.INVENTORY_STATUS.SOLD_OUT:r.INVENTORY_STATUS.IN_STOCK:t<0?r.INVENTORY_STATUS.OVERSOLD:0===t?r.INVENTORY_STATUS.SOLD_OUT:t<=r.LOW_STOCK_THRESHOLD?r.INVENTORY_STATUS.LOW_STOCK:r.INVENTORY_STATUS.IN_STOCK},"formatDeliveryLabel",0,e=>O(e.type)?"":t.ECOMMERCE.DELIVERED_VIA_EMAIL,"formatDomesticOrderShippingLabel",0,e=>o.SHARED_ORDERS.DOMESTIC_SHIPPING_LABEL((0,i.getCountryDisplayName)(e)),"formatFileTypes",0,c,"formatProductFormats",0,e=>O(e.type)?e.binding===E.BindingTypeEnum.HARDCOVER?t.ECOMMERCE.HARDCOVER:e.binding===E.BindingTypeEnum.PAPERBACK?t.ECOMMERCE.PAPERBACK:t.ECOMMERCE.PRINT_BOOK:c(e.formats),"formatShippingLabel",0,(e,o,r)=>e.type===E.ProductTypeEnum.PHYSICAL?o?.internationalShippingEnabled?t.ECOMMERCE.SHIPS_INTERNATIONALLY:t.ECOMMERCE.SHIPS_DOMESTICALLY.replace("{country}",(0,i.getCountryDisplayName)(r)):"","formatShippingPriceLine",0,(e,o,r)=>{let E=e?.domesticFlatRate??n.DEFAULT_DOMESTIC_FLAT_RATE,s=e?.internationalFlatRate??n.DEFAULT_INTERNATIONAL_FLAT_RATE,T=(0,i.getCountryDisplayName)(r);return e?.internationalShippingEnabled?t.ECOMMERCE.SHIPPING_DOMESTIC_AND_INTERNATIONAL.replace("${{domesticPrice}}",(0,a.formatStoreCurrency)(E,o)).replace("${{internationalPrice}}",(0,a.formatStoreCurrency)(s,o)).replace("{{country}}",T):t.ECOMMERCE.SHIPPING_DOMESTIC_ONLY.replace("${{price}}",(0,a.formatStoreCurrency)(E,o)).replace("{{country}}",T)},"getBuyerAvailableStock",0,e=>{if(!e?.trackInventory)return null;let t=I(e?.stockQuantity);return null==t?null:Math.max(0,t)},"getMerchandiseLeadImage",0,e=>e.images?.[0],"isPhysicalProduct",0,O,"isProductSoldOutForBuyers",0,e=>{if(e?.isSoldOut)return!0;if(!e?.trackInventory)return!1;let t=I(e?.stockQuantity);return null!=t?t<=0:!!e?.isStockZero},"parseBuyerStockCount",0,I,"stockConflictMessage",0,e=>"number"==typeof e?t.ECOMMERCE.STOCK_VERSION_CONFLICT_MESSAGE(e):t.ECOMMERCE.STOCK_VERSION_CONFLICT_MESSAGE_GENERIC])},799819,e=>{"use strict";e.s(["DEFAULT_DOMESTIC_FLAT_RATE",0,6,"DEFAULT_INTERNATIONAL_FLAT_RATE",0,25,"normalizeShippingConfiguration",0,e=>{if(!e||"string"==typeof e||0===Object.keys(e).length)return{domesticFlatRate:6,internationalShippingEnabled:!1,internationalFlatRate:25,shippingNotice:null};let t="domestic_flat_rate"in e||"international_shipping_enabled"in e||"international_flat_rate"in e||"shipping_notice"in e;return{domesticFlatRate:t?"number"==typeof e.domestic_flat_rate?e.domestic_flat_rate:6:"number"==typeof e.domesticFlatRate?e.domesticFlatRate:6,internationalShippingEnabled:t?e.international_shipping_enabled??!1:e.internationalShippingEnabled??!1,internationalFlatRate:t?"number"==typeof e.international_flat_rate?e.international_flat_rate:25:"number"==typeof e.internationalFlatRate?e.internationalFlatRate:25,shippingNotice:t?"string"==typeof e.shipping_notice?e.shipping_notice:null:"string"==typeof e.shippingNotice?e.shippingNotice:null}}])},928737,e=>{"use strict";e.s(["pluralize",0,(e,t,o)=>1===o?e:t])},200590,e=>{"use strict";var t=e.i(337882);let o=/^<p>(?:<br>| |\s)*<\/p>$/i,r=/<p><br><\/p>(?=<p>)/g,a=/\s+style=""(?=[\s>])/g;e.s(["EMPTY_RICH_TEXT_HTML_PATTERN",0,o,"normalizeRichTextForComparison",0,e=>{let t=(e||"").trim();if(!t||o.test(t))return"";let r=t,i=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=r.replace(/<b(\s[^>]*)?>/gi,"<strong$1>")).replace(/<\/b>/gi,"</strong>")).replace(/<i(\s[^>]*)?>/gi,"<em$1>")).replace(/<\/i>/gi,"</em>")).replace(/<(br|hr|img)(\s[^>]*)?\s*\/>/gi,(e,t,o)=>{if(!o||!o.trim())return`<${t}>`;let r=o.replace(/\s+$/,"");return`<${t}${r}>`})).replace(/&/g,"&")).replace(/"/g,'"')).replace(/'/g,"'")).replace(/</g,"<")).replace(/>/g,">")).replace(a,"")).match(/^<p[^>]*>([\s\S]*)<\/p>$/i);if(i){let e=i[1];/<p[\s>]/i.test(e)||(r=e)}return(r=(r=r.replace(/\s+/g," ")).replace(/<\/(strong|em|u|s)>\s*<\1>/gi,"")).trim()},"normalizeRichTextForDirtyCheck",0,e=>{let t=e.replace(r,"");return t=t.replace(a,""),o.test(t.trim())?"":t},"richTextToPlainText",0,e=>{let r=(e??"").trim();return!r||o.test(r)?"":(0,t.decodeHtmlEntities)(r.replace(/<br\s*\/?>/gi,"\n").replace(/<\/(p|div|li|h[1-6])>/gi,"\n").replace(/<[^>]*>/g,"")).replace(/\n{3,}/g,"\n\n").trim()}])},244932,352662,e=>{"use strict";var t=e.i(605796);let o=e=>null!=e&&""!==e;function r(e,{blockId:t,internalIdentifier:a}={}){return!!(o(t)&&String(e.id)===String(t)||o(a)&&e.internalIdentifier===a)}function a(e){let t=!!e.collectFirstName,o=!!e.collectLastName;return{...e,collectFirstName:t,collectLastName:o,firstNameRequired:!!t&&!!e.firstNameRequired,lastNameRequired:!!o&&
2!!e.lastNameRequired}}e.s(["isMatchingBlock",0,r,"isMatchingBlockByIdentifier",0,function(e,t){return!!o(t)&&(String(e.id)===String(t)||e.internalIdentifier===t)}],352662),e.s(["hasSubscriberNameFields",0,function(e){return!!(e?.collectFirstName||e?.collectLastName)},"mapSubscriberNameFieldsFromApi",0,function(e){return e?{...void 0!==e.collect_first_name&&{collectFirstName:!!e.collect_first_name},...void 0!==e.collect_last_name&&{collectLastName:!!e.collect_last_name},...void 0!==e.first_name_required&&{firstNameRequired:!!e.first_name_required},...void 0!==e.last_name_required&&{lastNameRequired:!!e.last_name_required}}:{}},"markRequiredPlaceholder",0,function(e,t){return t?`${e}â*`:e},"marksRequiredFields",0,function(e){let t=a(e??{});return!!(t.firstNameRequired||t.lastNameRequired)},"normalizeSubscriberNameSettings",0,a,"patchNewsletterBlockSubscriberNameFields",0,function({pages:e,pageId:o,blockId:a,internalIdentifier:i,patch:E}){if(!e?.length||!o)return e;let n=e=>e.blockType===t.LIST_ITEM_TYPE.NEWSLETTER||e.blockName===t.PAGE_SECTIONS_ID.NEWSLETTER;return e.map(e=>e.id!==o?e:{...e,blocks:e.blocks?.map(e=>(null!=a||null!=i?r(e,{blockId:a,internalIdentifier:i}):n(e))&&n(e)?{...e,...E}:e)})},"pickSubscriberNameFieldSettings",0,function(e){return e&&"object"==typeof e?{...void 0!==e.collectFirstName&&{collectFirstName:!!e.collectFirstName},...void 0!==e.collectLastName&&{collectLastName:!!e.collectLastName},...void 0!==e.firstNameRequired&&{firstNameRequired:!!e.firstNameRequired},...void 0!==e.lastNameRequired&&{lastNameRequired:!!e.lastNameRequired}}:{}},"resolveNewsletterSignupNames",0,function(e,t,o){let r=a(e??{});return{firstName:r.collectFirstName&&t.trim()||null,lastName:r.collectLastName&&o.trim()||null}}],244932)}]); 3 4//# debugId=090e61d5-19c9-e432-5bfc-62cdbaed3623
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.