New:Socket for Asana Is Now Available.Learn more
Get Started

Cardmarket Companion: Pricing & Order Tools

Package Overview
Versions
2
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zagoadev@gmail.com - firefox Package Compare versions

Comparing version
0.7.1
to
0.8.0
assets/client-CE_2pG7d.js

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

+3
import{r as t,j as n}from"./client-DHAoYkl4.js";function i(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var r=t();const I=i(r);var C=(s=>(s.TREND="trend",s.PRICE_MODE="priceMode",s.MIN_PRICE="minPrice",s.ITEMS_LISTED="itemsListed",s.ITEMS_LISTED_VALUE="itemsListedValue",s.DISMISSED_VERSION="dismissedVersion",s.LAST_SUPPORT_REQUEST="lastSupportRequest",s.LAST_SUPPORT_MILESTONE="lastSupportMilestone",s.PRO_USE_PROFESSIONAL_SELLER="proUseProfessionalSeller",s.PRO_SELLER_COUNTRY="proSellerCountry",s.PRO_PRICE_REDUCTION_TYPE="proPriceReductionType",s.PRO_PRICE_REDUCTION_VALUE="proPriceReductionValue",s.PRICE_ADJUSTMENT_GLOBAL="priceAdjustmentGlobal",s.PRICE_ADJUSTMENT_OVERRIDES="priceAdjustmentOverrides",s.SHIPPING_DESTINATION_COUNTRY="shippingDestinationCountry",s.SHIPPING_COST_CACHE="shippingCostCache",s.SHIPPING_ENABLED="shippingEnabled",s.HIDE_SOCIAL_MEDIA="hideSocialMedia",s.CARD_IMAGES_PAGES="cardImagesPages",s.BMAC_SUPPORTER_COUNT_CACHE="bmacSupporterCountCache",s.PREDEFINED_COMMENTS="predefinedComments",s.MESSAGE_SIGNATURE="messageSignature",s.SIGNATURE_BANNER_DISMISSED="signatureBannerDismissed",s))(C||{});const u="Listed with Cardmarket Companion",E="https://discord.gg/FsA6juBujF",d=`<svg width="71" height="80" viewBox="0 0 71 80" fill="none" xmlns="http://www.w3.org/2000/svg">\r
<path d="M60.1045 13.8978C55.5792 11.8214 50.7265 10.2916 45.6527 9.41542C45.5603 9.39851 45.468 9.44077 45.4204 9.52529C44.7963 10.6353 44.105 12.0834 43.6209 13.2216C38.1637 12.4046 32.7345 12.4046 27.3892 13.2216C26.905 12.0581 26.1886 10.6353 25.5617 9.52529C25.5141 9.44359 25.4218 9.40133 25.3294 9.41542C20.2584 10.2888 15.4057 11.8186 10.8776 13.8978C10.8384 13.9147 10.8048 13.9429 10.7825 13.9795C1.57795 27.7309 -0.943561 41.1443 0.293408 54.3914C0.299005 54.4562 0.335386 54.5182 0.385761 54.5576C6.45866 59.0174 12.3413 61.7249 18.1147 63.5195C18.2071 63.5477 18.305 63.5139 18.3638 63.4378C19.7295 61.5728 20.9469 59.6063 21.9907 57.5383C22.0523 57.4172 21.9935 57.2735 21.8676 57.2256C19.9366 56.4931 18.0979 55.6 16.3292 54.5858C16.1893 54.5041 16.1781 54.304 16.3068 54.2082C16.679 53.9293 17.0513 53.6391 17.4067 53.3461C17.471 53.2926 17.5606 53.2813 17.6362 53.3151C29.2558 58.6202 41.8354 58.6202 53.3179 53.3151C53.3935 53.2785 53.4831 53.2898 53.5502 53.3433C53.9057 53.6363 54.2779 53.9293 54.6529 54.2082C54.7816 54.304 54.7732 54.5041 54.6333 54.5858C52.8646 55.6197 51.0259 56.4931 49.0921 57.2228C48.9662 57.2707 48.9102 57.4172 48.9718 57.5383C50.038 59.6034 51.2554 61.5699 52.5959 63.435C52.6519 63.5139 52.7526 63.5477 52.845 63.5195C58.6464 61.7249 64.529 59.0174 70.6019 54.5576C70.6551 54.5182 70.6887 54.459 70.6943 54.3942C72.1747 39.0791 68.2147 25.7757 60.1968 13.9823C60.1772 13.9429 60.1437 13.9147 60.1045 13.8978ZM23.7259 46.3253C20.2276 46.3253 17.3451 43.1136 17.3451 39.1693C17.3451 35.225 20.1717 32.0133 23.7259 32.0133C27.308 32.0133 30.1626 35.2532 30.1066 39.1693C30.1066 43.1136 27.28 46.3253 23.7259 46.3253ZM47.3178 46.3253C43.8196 46.3253 40.9371 43.1136 40.9371 39.1693C40.9371 35.225 43.7636 32.0133 47.3178 32.0133C50.9 32.0133 53.7545 35.2532 53.6986 39.1693C53.6986 43.1136 50.9 46.3253 47.3178 46.3253Z" fill="#5865F2"/>\r
</svg>`,_=d.replace(/fill="#5865F2"/g,'fill="currentColor"').replace(/<svg[^>]*?width="\d+"/,"<svg").replace(/\sheight="\d+"/,"").replace("<svg",'<svg width="16" height="16"');function R({label:s="Join Discord"}){return n.jsxs("a",{href:E,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-5 py-2 rounded-lg text-white text-sm font-semibold shadow-md transition-colors",style:{background:"#5865F2"},onMouseEnter:e=>e.currentTarget.style.background="#4752C4",onMouseLeave:e=>e.currentTarget.style.background="#5865F2",children:[n.jsx("span",{"aria-hidden":"true",className:"inline-flex flex-shrink-0",style:{width:16,height:16},dangerouslySetInnerHTML:{__html:_}}),s]})}export{E as D,C as L,I as R,u as a,R as b,d,r};
import{r as n,j as i}from"./client-DHAoYkl4.js";function r(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var t=n();const I=r(t);var C=(s=>(s.TREND="trend",s.PRICE_MODE="priceMode",s.MIN_PRICE="minPrice",s.ITEMS_LISTED="itemsListed",s.ITEMS_LISTED_VALUE="itemsListedValue",s.DISMISSED_VERSION="dismissedVersion",s.LAST_SUPPORT_REQUEST="lastSupportRequest",s.LAST_SUPPORT_MILESTONE="lastSupportMilestone",s.PRO_USE_PROFESSIONAL_SELLER="proUseProfessionalSeller",s.PRO_SELLER_COUNTRY="proSellerCountry",s.PRO_PRICE_REDUCTION_TYPE="proPriceReductionType",s.PRO_PRICE_REDUCTION_VALUE="proPriceReductionValue",s.PRICE_ADJUSTMENT_GLOBAL="priceAdjustmentGlobal",s.PRICE_ADJUSTMENT_OVERRIDES="priceAdjustmentOverrides",s.SHIPPING_DESTINATION_COUNTRY="shippingDestinationCountry",s.SHIPPING_COST_CACHE="shippingCostCache",s.SHIPPING_ENABLED="shippingEnabled",s.HIDE_SOCIAL_MEDIA="hideSocialMedia",s.CARD_IMAGES_PAGES="cardImagesPages",s.EXTRA_FILTERS="extraFilters",s.BMAC_SUPPORTER_COUNT_CACHE="bmacSupporterCountCache",s.PREDEFINED_COMMENTS="predefinedComments",s.MESSAGE_SIGNATURE="messageSignature",s.SIGNATURE_BANNER_DISMISSED="signatureBannerDismissed",s.ORDER_PICKED_ARTICLES="orderPickedArticles",s.ORDER_GROUP_BY_EXPANSION="orderGroupByExpansion",s))(C||{});const p="Listed with Cardmarket Companion",E="https://discord.gg/FsA6juBujF",_=`<svg width="71" height="80" viewBox="0 0 71 80" fill="none" xmlns="http://www.w3.org/2000/svg">\r
<path d="M60.1045 13.8978C55.5792 11.8214 50.7265 10.2916 45.6527 9.41542C45.5603 9.39851 45.468 9.44077 45.4204 9.52529C44.7963 10.6353 44.105 12.0834 43.6209 13.2216C38.1637 12.4046 32.7345 12.4046 27.3892 13.2216C26.905 12.0581 26.1886 10.6353 25.5617 9.52529C25.5141 9.44359 25.4218 9.40133 25.3294 9.41542C20.2584 10.2888 15.4057 11.8186 10.8776 13.8978C10.8384 13.9147 10.8048 13.9429 10.7825 13.9795C1.57795 27.7309 -0.943561 41.1443 0.293408 54.3914C0.299005 54.4562 0.335386 54.5182 0.385761 54.5576C6.45866 59.0174 12.3413 61.7249 18.1147 63.5195C18.2071 63.5477 18.305 63.5139 18.3638 63.4378C19.7295 61.5728 20.9469 59.6063 21.9907 57.5383C22.0523 57.4172 21.9935 57.2735 21.8676 57.2256C19.9366 56.4931 18.0979 55.6 16.3292 54.5858C16.1893 54.5041 16.1781 54.304 16.3068 54.2082C16.679 53.9293 17.0513 53.6391 17.4067 53.3461C17.471 53.2926 17.5606 53.2813 17.6362 53.3151C29.2558 58.6202 41.8354 58.6202 53.3179 53.3151C53.3935 53.2785 53.4831 53.2898 53.5502 53.3433C53.9057 53.6363 54.2779 53.9293 54.6529 54.2082C54.7816 54.304 54.7732 54.5041 54.6333 54.5858C52.8646 55.6197 51.0259 56.4931 49.0921 57.2228C48.9662 57.2707 48.9102 57.4172 48.9718 57.5383C50.038 59.6034 51.2554 61.5699 52.5959 63.435C52.6519 63.5139 52.7526 63.5477 52.845 63.5195C58.6464 61.7249 64.529 59.0174 70.6019 54.5576C70.6551 54.5182 70.6887 54.459 70.6943 54.3942C72.1747 39.0791 68.2147 25.7757 60.1968 13.9823C60.1772 13.9429 60.1437 13.9147 60.1045 13.8978ZM23.7259 46.3253C20.2276 46.3253 17.3451 43.1136 17.3451 39.1693C17.3451 35.225 20.1717 32.0133 23.7259 32.0133C27.308 32.0133 30.1626 35.2532 30.1066 39.1693C30.1066 43.1136 27.28 46.3253 23.7259 46.3253ZM47.3178 46.3253C43.8196 46.3253 40.9371 43.1136 40.9371 39.1693C40.9371 35.225 43.7636 32.0133 47.3178 32.0133C50.9 32.0133 53.7545 35.2532 53.6986 39.1693C53.6986 43.1136 50.9 46.3253 47.3178 46.3253Z" fill="#5865F2"/>\r
</svg>`,d=_.replace(/fill="#5865F2"/g,'fill="currentColor"').replace(/<svg[^>]*?width="\d+"/,"<svg").replace(/\sheight="\d+"/,"").replace("<svg",'<svg width="16" height="16"');function u({label:s="Join Discord"}){return i.jsxs("a",{href:E,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-5 py-2 rounded-lg text-white text-sm font-semibold shadow-md transition-colors",style:{background:"#5865F2"},onMouseEnter:e=>e.currentTarget.style.background="#4752C4",onMouseLeave:e=>e.currentTarget.style.background="#5865F2",children:[i.jsx("span",{"aria-hidden":"true",className:"inline-flex flex-shrink-0",style:{width:16,height:16},dangerouslySetInnerHTML:{__html:d}}),s]})}export{E as D,C as L,I as R,p as a,u as b,_ as d,t as r};
import{r as n,j as i}from"./client-CE_2pG7d.js";function r(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var t=n();const I=r(t);var C=(s=>(s.TREND="trend",s.PRICE_MODE="priceMode",s.MIN_PRICE="minPrice",s.ITEMS_LISTED="itemsListed",s.ITEMS_LISTED_VALUE="itemsListedValue",s.DISMISSED_VERSION="dismissedVersion",s.LAST_SUPPORT_REQUEST="lastSupportRequest",s.LAST_SUPPORT_MILESTONE="lastSupportMilestone",s.PRO_USE_PROFESSIONAL_SELLER="proUseProfessionalSeller",s.PRO_SELLER_COUNTRY="proSellerCountry",s.PRO_PRICE_REDUCTION_TYPE="proPriceReductionType",s.PRO_PRICE_REDUCTION_VALUE="proPriceReductionValue",s.PRICE_ADJUSTMENT_GLOBAL="priceAdjustmentGlobal",s.PRICE_ADJUSTMENT_OVERRIDES="priceAdjustmentOverrides",s.SHIPPING_DESTINATION_COUNTRY="shippingDestinationCountry",s.SHIPPING_COST_CACHE="shippingCostCache",s.SHIPPING_ENABLED="shippingEnabled",s.HIDE_SOCIAL_MEDIA="hideSocialMedia",s.CARD_IMAGES_PAGES="cardImagesPages",s.EXTRA_FILTERS="extraFilters",s.BMAC_SUPPORTER_COUNT_CACHE="bmacSupporterCountCache",s.PREDEFINED_COMMENTS="predefinedComments",s.MESSAGE_SIGNATURE="messageSignature",s.SIGNATURE_BANNER_DISMISSED="signatureBannerDismissed",s.ORDER_PICKED_ARTICLES="orderPickedArticles",s.ORDER_GROUP_BY_EXPANSION="orderGroupByExpansion",s))(C||{});const p="Listed with Cardmarket Companion",E="https://discord.gg/FsA6juBujF",_=`<svg width="71" height="80" viewBox="0 0 71 80" fill="none" xmlns="http://www.w3.org/2000/svg">\r
<path d="M60.1045 13.8978C55.5792 11.8214 50.7265 10.2916 45.6527 9.41542C45.5603 9.39851 45.468 9.44077 45.4204 9.52529C44.7963 10.6353 44.105 12.0834 43.6209 13.2216C38.1637 12.4046 32.7345 12.4046 27.3892 13.2216C26.905 12.0581 26.1886 10.6353 25.5617 9.52529C25.5141 9.44359 25.4218 9.40133 25.3294 9.41542C20.2584 10.2888 15.4057 11.8186 10.8776 13.8978C10.8384 13.9147 10.8048 13.9429 10.7825 13.9795C1.57795 27.7309 -0.943561 41.1443 0.293408 54.3914C0.299005 54.4562 0.335386 54.5182 0.385761 54.5576C6.45866 59.0174 12.3413 61.7249 18.1147 63.5195C18.2071 63.5477 18.305 63.5139 18.3638 63.4378C19.7295 61.5728 20.9469 59.6063 21.9907 57.5383C22.0523 57.4172 21.9935 57.2735 21.8676 57.2256C19.9366 56.4931 18.0979 55.6 16.3292 54.5858C16.1893 54.5041 16.1781 54.304 16.3068 54.2082C16.679 53.9293 17.0513 53.6391 17.4067 53.3461C17.471 53.2926 17.5606 53.2813 17.6362 53.3151C29.2558 58.6202 41.8354 58.6202 53.3179 53.3151C53.3935 53.2785 53.4831 53.2898 53.5502 53.3433C53.9057 53.6363 54.2779 53.9293 54.6529 54.2082C54.7816 54.304 54.7732 54.5041 54.6333 54.5858C52.8646 55.6197 51.0259 56.4931 49.0921 57.2228C48.9662 57.2707 48.9102 57.4172 48.9718 57.5383C50.038 59.6034 51.2554 61.5699 52.5959 63.435C52.6519 63.5139 52.7526 63.5477 52.845 63.5195C58.6464 61.7249 64.529 59.0174 70.6019 54.5576C70.6551 54.5182 70.6887 54.459 70.6943 54.3942C72.1747 39.0791 68.2147 25.7757 60.1968 13.9823C60.1772 13.9429 60.1437 13.9147 60.1045 13.8978ZM23.7259 46.3253C20.2276 46.3253 17.3451 43.1136 17.3451 39.1693C17.3451 35.225 20.1717 32.0133 23.7259 32.0133C27.308 32.0133 30.1626 35.2532 30.1066 39.1693C30.1066 43.1136 27.28 46.3253 23.7259 46.3253ZM47.3178 46.3253C43.8196 46.3253 40.9371 43.1136 40.9371 39.1693C40.9371 35.225 43.7636 32.0133 47.3178 32.0133C50.9 32.0133 53.7545 35.2532 53.6986 39.1693C53.6986 43.1136 50.9 46.3253 47.3178 46.3253Z" fill="#5865F2"/>\r
</svg>`,d=_.replace(/fill="#5865F2"/g,'fill="currentColor"').replace(/<svg[^>]*?width="\d+"/,"<svg").replace(/\sheight="\d+"/,"").replace("<svg",'<svg width="16" height="16"');function u({label:s="Join Discord"}){return i.jsxs("a",{href:E,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-5 py-2 rounded-lg text-white text-sm font-semibold shadow-md transition-colors",style:{background:"#5865F2"},onMouseEnter:e=>e.currentTarget.style.background="#4752C4",onMouseLeave:e=>e.currentTarget.style.background="#5865F2",children:[i.jsx("span",{"aria-hidden":"true",className:"inline-flex flex-shrink-0",style:{width:16,height:16},dangerouslySetInnerHTML:{__html:d}}),s]})}export{E as D,C as L,I as R,p as a,u as b,_ as d,t as r};
//# sourceMappingURL=DiscordButton-DH4awGVf.js.map
{"version":3,"file":"DiscordButton-DH4awGVf.js","sources":["../../src/types/local-storage-key.enum.ts","../../src/constants/default-comment.ts","../../src/constants/discord.ts","../../src/assets/img/discord.svg?raw","../../src/components/DiscordButton.tsx"],"sourcesContent":["export enum LocalStorageKey {\n TREND = \"trend\",\n PRICE_MODE = \"priceMode\",\n MIN_PRICE = \"minPrice\",\n ITEMS_LISTED = \"itemsListed\",\n ITEMS_LISTED_VALUE = \"itemsListedValue\",\n DISMISSED_VERSION = \"dismissedVersion\",\n LAST_SUPPORT_REQUEST = \"lastSupportRequest\",\n LAST_SUPPORT_MILESTONE = \"lastSupportMilestone\",\n PRO_USE_PROFESSIONAL_SELLER = \"proUseProfessionalSeller\",\n PRO_SELLER_COUNTRY = \"proSellerCountry\",\n /** @deprecated superseded by PRICE_ADJUSTMENT_*; kept only for one-time migration. */\n PRO_PRICE_REDUCTION_TYPE = \"proPriceReductionType\",\n /** @deprecated superseded by PRICE_ADJUSTMENT_*; kept only for one-time migration. */\n PRO_PRICE_REDUCTION_VALUE = \"proPriceReductionValue\",\n /** Global default signed offset ({type,value}) applied to every pricing mode. */\n PRICE_ADJUSTMENT_GLOBAL = \"priceAdjustmentGlobal\",\n /** Per-mode signed offset overrides: { [mode]: {type,value} }. */\n PRICE_ADJUSTMENT_OVERRIDES = \"priceAdjustmentOverrides\",\n /** Destination country ID used to estimate shipping costs in the article table. */\n SHIPPING_DESTINATION_COUNTRY = \"shippingDestinationCountry\",\n /** Persistent shipping cost cache with timestamps, keyed by \"fromCountry-toCountry-locale\". */\n SHIPPING_COST_CACHE = \"shippingCostCache\",\n /** Whether the shipping cost estimation feature is enabled (default: true). */\n SHIPPING_ENABLED = \"shippingEnabled\",\n /** Whether to hide social media sharing buttons on article pages (default: false). */\n HIDE_SOCIAL_MEDIA = \"hideSocialMedia\",\n /** Per-page switches for the card thumbnails: { [CardImagePage]: boolean }, missing entry = enabled. */\n CARD_IMAGES_PAGES = \"cardImagesPages\",\n /** Per-extra switches for the instant offer filter: { [ExtraFilter]: boolean }, missing entry = enabled. */\n EXTRA_FILTERS = \"extraFilters\",\n BMAC_SUPPORTER_COUNT_CACHE = \"bmacSupporterCountCache\",\n /** List of predefined comment templates saved by the user. */\n PREDEFINED_COMMENTS = \"predefinedComments\",\n /** Custom signature text appended to outgoing messages. */\n MESSAGE_SIGNATURE = \"messageSignature\",\n /** Whether the no-signature info banner has been dismissed by the user. */\n SIGNATURE_BANNER_DISMISSED = \"signatureBannerDismissed\",\n /** Article ids already picked, per order id: { [orderId]: string[] }. */\n ORDER_PICKED_ARTICLES = \"orderPickedArticles\",\n /** Whether the order article table is grouped by expansion (default: false). */\n ORDER_GROUP_BY_EXPANSION = \"orderGroupByExpansion\",\n}\n","/** Default comment always shown in the template list; it cannot be removed. */\nexport const DEFAULT_COMMENT = \"Listed with Cardmarket Companion\";\n","// ponytail: placeholder invite, swap for the real one before release.\nexport const DISCORD_INVITE_URL = \"https://discord.gg/FsA6juBujF\";\n","export default \"<svg width=\\\"71\\\" height=\\\"80\\\" viewBox=\\\"0 0 71 80\\\" fill=\\\"none\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\r\\n<path d=\\\"M60.1045 13.8978C55.5792 11.8214 50.7265 10.2916 45.6527 9.41542C45.5603 9.39851 45.468 9.44077 45.4204 9.52529C44.7963 10.6353 44.105 12.0834 43.6209 13.2216C38.1637 12.4046 32.7345 12.4046 27.3892 13.2216C26.905 12.0581 26.1886 10.6353 25.5617 9.52529C25.5141 9.44359 25.4218 9.40133 25.3294 9.41542C20.2584 10.2888 15.4057 11.8186 10.8776 13.8978C10.8384 13.9147 10.8048 13.9429 10.7825 13.9795C1.57795 27.7309 -0.943561 41.1443 0.293408 54.3914C0.299005 54.4562 0.335386 54.5182 0.385761 54.5576C6.45866 59.0174 12.3413 61.7249 18.1147 63.5195C18.2071 63.5477 18.305 63.5139 18.3638 63.4378C19.7295 61.5728 20.9469 59.6063 21.9907 57.5383C22.0523 57.4172 21.9935 57.2735 21.8676 57.2256C19.9366 56.4931 18.0979 55.6 16.3292 54.5858C16.1893 54.5041 16.1781 54.304 16.3068 54.2082C16.679 53.9293 17.0513 53.6391 17.4067 53.3461C17.471 53.2926 17.5606 53.2813 17.6362 53.3151C29.2558 58.6202 41.8354 58.6202 53.3179 53.3151C53.3935 53.2785 53.4831 53.2898 53.5502 53.3433C53.9057 53.6363 54.2779 53.9293 54.6529 54.2082C54.7816 54.304 54.7732 54.5041 54.6333 54.5858C52.8646 55.6197 51.0259 56.4931 49.0921 57.2228C48.9662 57.2707 48.9102 57.4172 48.9718 57.5383C50.038 59.6034 51.2554 61.5699 52.5959 63.435C52.6519 63.5139 52.7526 63.5477 52.845 63.5195C58.6464 61.7249 64.529 59.0174 70.6019 54.5576C70.6551 54.5182 70.6887 54.459 70.6943 54.3942C72.1747 39.0791 68.2147 25.7757 60.1968 13.9823C60.1772 13.9429 60.1437 13.9147 60.1045 13.8978ZM23.7259 46.3253C20.2276 46.3253 17.3451 43.1136 17.3451 39.1693C17.3451 35.225 20.1717 32.0133 23.7259 32.0133C27.308 32.0133 30.1626 35.2532 30.1066 39.1693C30.1066 43.1136 27.28 46.3253 23.7259 46.3253ZM47.3178 46.3253C43.8196 46.3253 40.9371 43.1136 40.9371 39.1693C40.9371 35.225 43.7636 32.0133 47.3178 32.0133C50.9 32.0133 53.7545 35.2532 53.6986 39.1693C53.6986 43.1136 50.9 46.3253 47.3178 46.3253Z\\\" fill=\\\"#5865F2\\\"/>\\r\\n</svg>\"","import React from \"react\";\nimport discordLogo from \"../assets/img/discord.svg?raw\";\nimport { DISCORD_INVITE_URL } from \"../constants/discord\";\n\n// the asset ships blurple on white at its own size; on the button it takes the button's colour and 16px\nconst logo = discordLogo\n .replace(/fill=\"#5865F2\"/g, 'fill=\"currentColor\"')\n .replace(/<svg[^>]*?width=\"\\d+\"/, \"<svg\")\n .replace(/\\sheight=\"\\d+\"/, \"\")\n .replace(\"<svg\", '<svg width=\"16\" height=\"16\"');\n\nexport default function DiscordButton({ label = \"Join Discord\" }: { label?: string }) {\n return (\n <a\n href={DISCORD_INVITE_URL}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"inline-flex items-center gap-2 px-5 py-2 rounded-lg text-white text-sm font-semibold shadow-md transition-colors\"\n style={{ background: \"#5865F2\" }}\n onMouseEnter={(e) => (e.currentTarget.style.background = \"#4752C4\")}\n onMouseLeave={(e) => (e.currentTarget.style.background = \"#5865F2\")}\n >\n <span\n aria-hidden=\"true\"\n className=\"inline-flex flex-shrink-0\"\n style={{ width: 16, height: 16 }}\n dangerouslySetInnerHTML={{ __html: logo }}\n />\n {label}\n </a>\n );\n}\n"],"names":["LocalStorageKey","DEFAULT_COMMENT","DISCORD_INVITE_URL","discordLogo","logo","DiscordButton","label","jsxs","jsx"],"mappings":"2KAAY,IAAAA,GAAAA,IACVA,EAAA,MAAQ,QACRA,EAAA,WAAa,YACbA,EAAA,UAAY,WACZA,EAAA,aAAe,cACfA,EAAA,mBAAqB,mBACrBA,EAAA,kBAAoB,mBACpBA,EAAA,qBAAuB,qBACvBA,EAAA,uBAAyB,uBACzBA,EAAA,4BAA8B,2BAC9BA,EAAA,mBAAqB,mBAErBA,EAAA,yBAA2B,wBAE3BA,EAAA,0BAA4B,yBAE5BA,EAAA,wBAA0B,wBAE1BA,EAAA,2BAA6B,2BAE7BA,EAAA,6BAA+B,6BAE/BA,EAAA,oBAAsB,oBAEtBA,EAAA,iBAAmB,kBAEnBA,EAAA,kBAAoB,kBAEpBA,EAAA,kBAAoB,kBAEpBA,EAAA,cAAgB,eAChBA,EAAA,2BAA6B,0BAE7BA,EAAA,oBAAsB,qBAEtBA,EAAA,kBAAoB,mBAEpBA,EAAA,2BAA6B,2BAE7BA,EAAA,sBAAwB,sBAExBA,EAAA,yBAA2B,wBAzCjBA,IAAAA,GAAA,CAAA,CAAA,ECCL,MAAMC,EAAkB,mCCAlBC,EAAqB,gCCDnBC,EAAA;AAAA;AAAA,QCKTC,EAAOD,EACV,QAAQ,kBAAmB,qBAAqB,EAChD,QAAQ,wBAAyB,MAAM,EACvC,QAAQ,iBAAkB,EAAE,EAC5B,QAAQ,OAAQ,6BAA6B,EAEhD,SAAwBE,EAAc,CAAE,MAAAC,EAAQ,gBAAsC,CAElF,OAAAC,EAAA,KAAC,IAAA,CACC,KAAML,EACN,OAAO,SACP,IAAI,sBACJ,UAAU,mHACV,MAAO,CAAE,WAAY,SAAU,EAC/B,aAAe,GAAO,EAAE,cAAc,MAAM,WAAa,UACzD,aAAe,GAAO,EAAE,cAAc,MAAM,WAAa,UAEzD,SAAA,CAAAM,EAAA,IAAC,OAAA,CACC,cAAY,OACZ,UAAU,4BACV,MAAO,CAAE,MAAO,GAAI,OAAQ,EAAG,EAC/B,wBAAyB,CAAE,OAAQJ,CAAK,CAAA,CAC1C,EACCE,CAAA,CAAA,CACH,CAEJ"}
.container{width:100%;min-height:100vh;background-color:#f3f4f6}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.bottom-0{bottom:0}.left-0{left:0}.left-1{left:.25rem}.right-4{right:1rem}.right-6{right:1.5rem}.top-1\/2{top:50%}.top-6{top:1.5rem}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.me-1{margin-inline-end:.25rem}.me-2{margin-inline-end:.5rem}.ml-2{margin-left:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.\!table{display:table!important}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-9{height:2.25rem}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-9{width:2.25rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-6xl{max-width:72rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.grow{flex-grow:1}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize-y{resize:vertical}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.gap-y-2{row-gap:.5rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity: 1;border-color:rgb(253 224 71 / var(--tw-border-opacity))}.bg-amber-400{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-6{padding-bottom:1.5rem}.pl-4{padding-left:1rem}.pr-12{padding-right:3rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.tracking-wider{letter-spacing:.05em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-cardmarket-blue{--tw-text-opacity: 1;color:rgb(59 89 152 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.hover\:text-blue-800:hover{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.hover\:text-green-800:hover{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.hover\:opacity-70:hover{opacity:.7}.hover\:shadow-2xl:hover{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-40:disabled{opacity:.4}.peer:checked~.peer-checked\:translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\:bg-\[\#27ae60\]{--tw-bg-opacity: 1;background-color:rgb(39 174 96 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:bg-blue-950{--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}
.container{width:100%;min-height:100vh;background-color:#f3f4f6}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.bottom-0{bottom:0}.left-0{left:0}.left-1{left:.25rem}.right-4{right:1rem}.right-6{right:1.5rem}.top-1\/2{top:50%}.top-6{top:1.5rem}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.me-1{margin-inline-end:.25rem}.me-2{margin-inline-end:.5rem}.ml-2{margin-left:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.\!table{display:table!important}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-9{height:2.25rem}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-9{width:2.25rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-6xl{max-width:72rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.grow{flex-grow:1}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize-y{resize:vertical}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.gap-y-2{row-gap:.5rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity: 1;border-color:rgb(253 224 71 / var(--tw-border-opacity))}.bg-amber-400{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-6{padding-bottom:1.5rem}.pl-4{padding-left:1rem}.pr-12{padding-right:3rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.tracking-wider{letter-spacing:.05em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-cardmarket-blue{--tw-text-opacity: 1;color:rgb(59 89 152 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.hover\:text-blue-800:hover{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.hover\:text-green-800:hover{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.hover\:opacity-70:hover{opacity:.7}.hover\:shadow-2xl:hover{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-40:disabled{opacity:.4}.peer:checked~.peer-checked\:translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\:bg-\[\#27ae60\]{--tw-bg-opacity: 1;background-color:rgb(39 174 96 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:bg-blue-950{--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}
.container{width:100%;min-height:100vh;background-color:#f3f4f6}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.bottom-0{bottom:0}.left-0{left:0}.left-1{left:.25rem}.right-4{right:1rem}.right-6{right:1.5rem}.top-1\/2{top:50%}.top-6{top:1.5rem}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.me-1{margin-inline-end:.25rem}.me-2{margin-inline-end:.5rem}.ml-2{margin-left:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-9{height:2.25rem}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-9{width:2.25rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-6xl{max-width:72rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize-y{resize:vertical}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.gap-y-2{row-gap:.5rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity: 1;border-color:rgb(253 224 71 / var(--tw-border-opacity))}.bg-amber-400{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-6{padding-bottom:1.5rem}.pl-4{padding-left:1rem}.pr-12{padding-right:3rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.tracking-wider{letter-spacing:.05em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-cardmarket-blue{--tw-text-opacity: 1;color:rgb(59 89 152 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.hover\:text-blue-800:hover{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.hover\:text-green-800:hover{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.hover\:opacity-70:hover{opacity:.7}.hover\:shadow-2xl:hover{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-40:disabled{opacity:.4}.peer:checked~.peer-checked\:translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\:bg-\[\#27ae60\]{--tw-bg-opacity: 1;background-color:rgb(39 174 96 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:bg-blue-950{--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}
.container{width:100%;min-height:100vh;background-color:#f3f4f6}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.bottom-0{bottom:0}.left-0{left:0}.left-1{left:.25rem}.right-4{right:1rem}.right-6{right:1.5rem}.top-1\/2{top:50%}.top-6{top:1.5rem}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.me-1{margin-inline-end:.25rem}.me-2{margin-inline-end:.5rem}.ml-2{margin-left:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.\!table{display:table!important}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-9{height:2.25rem}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-9{width:2.25rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-6xl{max-width:72rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.grow{flex-grow:1}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize-y{resize:vertical}.scroll-mt-6{scroll-margin-top:1.5rem}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.gap-y-2{row-gap:.5rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity: 1;border-color:rgb(253 224 71 / var(--tw-border-opacity))}.bg-amber-400{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-6{padding-bottom:1.5rem}.pl-4{padding-left:1rem}.pr-12{padding-right:3rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.tracking-wider{letter-spacing:.05em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-cardmarket-blue{--tw-text-opacity: 1;color:rgb(59 89 152 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.hover\:text-blue-800:hover{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.hover\:text-green-800:hover{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.hover\:opacity-70:hover{opacity:.7}.hover\:shadow-2xl:hover{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-40:disabled{opacity:.4}.peer:checked~.peer-checked\:translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\:bg-\[\#27ae60\]{--tw-bg-opacity: 1;background-color:rgb(39 174 96 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:bg-blue-950{--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}
body{width:300px;height:auto;min-height:260px;max-height:600px;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:relative}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.bottom-0{bottom:0}.left-0{left:0}.left-1{left:.25rem}.right-4{right:1rem}.right-6{right:1.5rem}.top-1\/2{top:50%}.top-6{top:1.5rem}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.me-1{margin-inline-end:.25rem}.me-2{margin-inline-end:.5rem}.ml-2{margin-left:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-9{height:2.25rem}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-9{width:2.25rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-6xl{max-width:72rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize-y{resize:vertical}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.gap-y-2{row-gap:.5rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity: 1;border-color:rgb(253 224 71 / var(--tw-border-opacity))}.bg-amber-400{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-6{padding-bottom:1.5rem}.pl-4{padding-left:1rem}.pr-12{padding-right:3rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.tracking-wider{letter-spacing:.05em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-cardmarket-blue{--tw-text-opacity: 1;color:rgb(59 89 152 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.hover\:text-blue-800:hover{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.hover\:text-green-800:hover{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.hover\:opacity-70:hover{opacity:.7}.hover\:shadow-2xl:hover{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-40:disabled{opacity:.4}.peer:checked~.peer-checked\:translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\:bg-\[\#27ae60\]{--tw-bg-opacity: 1;background-color:rgb(39 174 96 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:bg-blue-950{--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}
body{width:300px;height:auto;min-height:260px;max-height:600px;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:relative}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.bottom-0{bottom:0}.left-0{left:0}.left-1{left:.25rem}.right-4{right:1rem}.right-6{right:1.5rem}.top-1\/2{top:50%}.top-6{top:1.5rem}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.me-1{margin-inline-end:.25rem}.me-2{margin-inline-end:.5rem}.ml-2{margin-left:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.\!table{display:table!important}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-9{height:2.25rem}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-9{width:2.25rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-6xl{max-width:72rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.grow{flex-grow:1}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize-y{resize:vertical}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.gap-y-2{row-gap:.5rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity: 1;border-color:rgb(253 224 71 / var(--tw-border-opacity))}.bg-amber-400{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-6{padding-bottom:1.5rem}.pl-4{padding-left:1rem}.pr-12{padding-right:3rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.tracking-wider{letter-spacing:.05em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-cardmarket-blue{--tw-text-opacity: 1;color:rgb(59 89 152 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.hover\:text-blue-800:hover{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.hover\:text-green-800:hover{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.hover\:opacity-70:hover{opacity:.7}.hover\:shadow-2xl:hover{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-40:disabled{opacity:.4}.peer:checked~.peer-checked\:translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\:bg-\[\#27ae60\]{--tw-bg-opacity: 1;background-color:rgb(39 174 96 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:bg-blue-950{--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}
body{width:300px;height:auto;min-height:260px;max-height:600px;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:relative}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.bottom-0{bottom:0}.left-0{left:0}.left-1{left:.25rem}.right-4{right:1rem}.right-6{right:1.5rem}.top-1\/2{top:50%}.top-6{top:1.5rem}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.me-1{margin-inline-end:.25rem}.me-2{margin-inline-end:.5rem}.ml-2{margin-left:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.\!table{display:table!important}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-9{height:2.25rem}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-9{width:2.25rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-6xl{max-width:72rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.grow{flex-grow:1}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize-y{resize:vertical}.scroll-mt-6{scroll-margin-top:1.5rem}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.gap-y-2{row-gap:.5rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity: 1;border-color:rgb(253 224 71 / var(--tw-border-opacity))}.bg-amber-400{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-6{padding-bottom:1.5rem}.pl-4{padding-left:1rem}.pr-12{padding-right:3rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.tracking-wider{letter-spacing:.05em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-cardmarket-blue{--tw-text-opacity: 1;color:rgb(59 89 152 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.hover\:text-blue-800:hover{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.hover\:text-green-800:hover{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.hover\:opacity-70:hover{opacity:.7}.hover\:shadow-2xl:hover{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-40:disabled{opacity:.4}.peer:checked~.peer-checked\:translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\:bg-\[\#27ae60\]{--tw-bg-opacity: 1;background-color:rgb(39 174 96 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:bg-blue-950{--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}
body{width:300px;height:auto;min-height:260px;max-height:600px;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:relative}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.bottom-0{bottom:0}.left-0{left:0}.left-1{left:.25rem}.right-4{right:1rem}.right-6{right:1.5rem}.top-1\/2{top:50%}.top-6{top:1.5rem}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.me-1{margin-inline-end:.25rem}.me-2{margin-inline-end:.5rem}.ml-2{margin-left:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.\!table{display:table!important}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-9{height:2.25rem}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-9{width:2.25rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-6xl{max-width:72rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.grow{flex-grow:1}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize-y{resize:vertical}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.gap-y-2{row-gap:.5rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity: 1;border-color:rgb(253 224 71 / var(--tw-border-opacity))}.bg-amber-400{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-6{padding-bottom:1.5rem}.pl-4{padding-left:1rem}.pr-12{padding-right:3rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.tracking-wider{letter-spacing:.05em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-cardmarket-blue{--tw-text-opacity: 1;color:rgb(59 89 152 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.hover\:text-blue-800:hover{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.hover\:text-green-800:hover{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.hover\:opacity-70:hover{opacity:.7}.hover\:shadow-2xl:hover{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-40:disabled{opacity:.4}.peer:checked~.peer-checked\:translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\:bg-\[\#27ae60\]{--tw-bg-opacity: 1;background-color:rgb(39 174 96 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:bg-blue-950{--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}
{"version":3,"file":"index.js","sources":["../../../../src/pages/background/index.ts"],"sourcesContent":["console.log(\"background script loaded\");\n\n// Handle messages from content scripts and popup\nchrome.runtime.onMessage.addListener((message, sender, sendResponse) => {\n if (message.action === \"openOptions\") {\n // openOptionsPage() cannot carry a hash, so a request for one section opens the page itself.\n if (message.section) {\n chrome.tabs.create({ url: chrome.runtime.getURL(`src/pages/options/index.html#${message.section}`) });\n } else {\n chrome.runtime.openOptionsPage();\n }\n sendResponse({ success: true });\n }\n\n if (message.action === \"fetchShippingCosts\") {\n fetch(message.url)\n .then((res) => {\n if (!res.ok) {\n sendResponse({ error: `HTTP ${res.status}` });\n return;\n }\n return res.json();\n })\n .then((data) => sendResponse({ data }))\n .catch((err) => sendResponse({ error: String(err) }));\n return true; // keep message channel open for async response\n }\n});\n"],"names":["message","sender","sendResponse","res","data","err"],"mappings":"AAAA,QAAQ,IAAI,0BAA0B,EAGtC,OAAO,QAAQ,UAAU,YAAY,CAACA,EAASC,EAAQC,IAAiB,CAWlE,GAVAF,EAAQ,SAAW,gBAEjBA,EAAQ,QACV,OAAO,KAAK,OAAO,CAAE,IAAK,OAAO,QAAQ,OAAO,gCAAgCA,EAAQ,OAAO,EAAE,CAAA,CAAG,EAEpG,OAAO,QAAQ,gBAAgB,EAEpBE,EAAA,CAAE,QAAS,GAAM,GAG5BF,EAAQ,SAAW,qBACrB,aAAMA,EAAQ,GAAG,EACd,KAAMG,GAAQ,CACT,GAAA,CAACA,EAAI,GAAI,CACXD,EAAa,CAAE,MAAO,QAAQC,EAAI,MAAM,GAAI,EAC5C,MAAA,CAEF,OAAOA,EAAI,KAAK,CAAA,CACjB,EACA,KAAMC,GAASF,EAAa,CAAE,KAAAE,EAAM,CAAC,EACrC,MAAOC,GAAQH,EAAa,CAAE,MAAO,OAAOG,CAAG,CAAE,CAAC,CAAC,EAC/C,EAEX,CAAC"}

Sorry, the diff of this file is too big to display

{"version":3,"file":"messages.js","sources":["../../../../src/types/local-storage-key.enum.ts","../../../../src/pages/content/messages.tsx"],"sourcesContent":["export enum LocalStorageKey {\n TREND = \"trend\",\n PRICE_MODE = \"priceMode\",\n MIN_PRICE = \"minPrice\",\n ITEMS_LISTED = \"itemsListed\",\n ITEMS_LISTED_VALUE = \"itemsListedValue\",\n DISMISSED_VERSION = \"dismissedVersion\",\n LAST_SUPPORT_REQUEST = \"lastSupportRequest\",\n LAST_SUPPORT_MILESTONE = \"lastSupportMilestone\",\n PRO_USE_PROFESSIONAL_SELLER = \"proUseProfessionalSeller\",\n PRO_SELLER_COUNTRY = \"proSellerCountry\",\n /** @deprecated superseded by PRICE_ADJUSTMENT_*; kept only for one-time migration. */\n PRO_PRICE_REDUCTION_TYPE = \"proPriceReductionType\",\n /** @deprecated superseded by PRICE_ADJUSTMENT_*; kept only for one-time migration. */\n PRO_PRICE_REDUCTION_VALUE = \"proPriceReductionValue\",\n /** Global default signed offset ({type,value}) applied to every pricing mode. */\n PRICE_ADJUSTMENT_GLOBAL = \"priceAdjustmentGlobal\",\n /** Per-mode signed offset overrides: { [mode]: {type,value} }. */\n PRICE_ADJUSTMENT_OVERRIDES = \"priceAdjustmentOverrides\",\n /** Destination country ID used to estimate shipping costs in the article table. */\n SHIPPING_DESTINATION_COUNTRY = \"shippingDestinationCountry\",\n /** Persistent shipping cost cache with timestamps, keyed by \"fromCountry-toCountry-locale\". */\n SHIPPING_COST_CACHE = \"shippingCostCache\",\n /** Whether the shipping cost estimation feature is enabled (default: true). */\n SHIPPING_ENABLED = \"shippingEnabled\",\n /** Whether to hide social media sharing buttons on article pages (default: false). */\n HIDE_SOCIAL_MEDIA = \"hideSocialMedia\",\n /** Per-page switches for the card thumbnails: { [CardImagePage]: boolean }, missing entry = enabled. */\n CARD_IMAGES_PAGES = \"cardImagesPages\",\n /** Per-extra switches for the instant offer filter: { [ExtraFilter]: boolean }, missing entry = enabled. */\n EXTRA_FILTERS = \"extraFilters\",\n BMAC_SUPPORTER_COUNT_CACHE = \"bmacSupporterCountCache\",\n /** List of predefined comment templates saved by the user. */\n PREDEFINED_COMMENTS = \"predefinedComments\",\n /** Custom signature text appended to outgoing messages. */\n MESSAGE_SIGNATURE = \"messageSignature\",\n /** Whether the no-signature info banner has been dismissed by the user. */\n SIGNATURE_BANNER_DISMISSED = \"signatureBannerDismissed\",\n /** Article ids already picked, per order id: { [orderId]: string[] }. */\n ORDER_PICKED_ARTICLES = \"orderPickedArticles\",\n /** Whether the order article table is grouped by expansion (default: false). */\n ORDER_GROUP_BY_EXPANSION = \"orderGroupByExpansion\",\n}\n","import { LocalStorageKey } from \"../../types/local-storage-key.enum\";\n\nfunction init() {\n chrome.storage.local.get(\n [LocalStorageKey.MESSAGE_SIGNATURE, LocalStorageKey.SIGNATURE_BANNER_DISMISSED],\n (result) => {\n const signature = result[LocalStorageKey.MESSAGE_SIGNATURE] as string | undefined;\n const bannerDismissed = result[LocalStorageKey.SIGNATURE_BANNER_DISMISSED] as boolean | undefined;\n\n if (signature) {\n prefillTextarea(signature);\n } else if (!bannerDismissed) {\n showNoSignatureBanner();\n }\n },\n );\n}\n\nfunction prefillTextarea(signature: string) {\n const textarea = document.querySelector('textarea[name=\"textMessage\"]') as HTMLTextAreaElement | null;\n if (!textarea) return;\n\n textarea.value = \"\\n\\n\\n\" + signature;\n textarea.dispatchEvent(new Event(\"input\", { bubbles: true }));\n\n // Move cursor to the very start on first focus so the user types their message above the signature\n textarea.addEventListener(\n \"focus\",\n () => {\n textarea.setSelectionRange(0, 0);\n },\n { once: true },\n );\n}\n\nfunction showNoSignatureBanner() {\n const style = document.createElement(\"style\");\n style.textContent = `\n @keyframes cmcBannerSlideIn {\n from { transform: translateX(110%); opacity: 0; }\n to { transform: translateX(0); opacity: 1; }\n }\n @keyframes cmcBannerSlideOut {\n from { transform: translateX(0); opacity: 1; }\n to { transform: translateX(110%); opacity: 0; }\n }\n `;\n document.head.appendChild(style);\n\n const iconUrl = chrome.runtime.getURL(\"128.png\");\n\n const banner = document.createElement(\"div\");\n banner.id = \"cmc-signature-banner\";\n banner.style.cssText = `\n position: fixed;\n bottom: 24px;\n right: 24px;\n z-index: 99999;\n width: 360px;\n background: #fff8e1;\n border: 1px solid #ffc107;\n border-left: 4px solid #f39c12;\n border-radius: 8px;\n box-shadow: 0 4px 20px rgba(0,0,0,0.18);\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;\n animation: cmcBannerSlideIn 0.3s ease-out;\n `;\n\n banner.innerHTML = `\n <div style=\"padding: 14px 16px;\">\n <div style=\"display:flex; align-items:center; justify-content:space-between; margin-bottom:10px;\">\n <div style=\"display:flex; align-items:center; gap:7px;\">\n <img src=\"${iconUrl}\" alt=\"\" style=\"width:18px; height:18px; border-radius:3px; flex-shrink:0;\" />\n <span style=\"font-size:11px; font-weight:700; color:#7d6608; text-transform:uppercase; letter-spacing:0.6px;\">\n Cardmarket Companion\n </span>\n </div>\n <button\n id=\"cmc-banner-close\"\n title=\"Dismiss forever\"\n style=\"background:none; border:none; cursor:pointer; color:#aaa; font-size:16px; line-height:1; padding:0 2px; display:flex; align-items:center;\"\n >✕</button>\n </div>\n\n <div style=\"display:flex; gap:10px; align-items:flex-start;\">\n <div style=\"font-size:18px; flex-shrink:0; margin-top:1px;\">⚠️</div>\n <div>\n <p style=\"margin:0 0 5px; font-size:13px; font-weight:700; color:#5d4e00;\">\n No message signature configured\n </p>\n <p style=\"margin:0 0 12px; font-size:12px; color:#7a6200; line-height:1.45;\">\n Add a signature to your messages so buyers can easily identify who you are.\n </p>\n <a\n id=\"cmc-banner-settings-link\"\n href=\"#\"\n style=\"display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:700;\n color:#e67e22; text-decoration:none; border-bottom:1px solid #e67e22; padding-bottom:1px;\"\n >\n ⚙️ Configure signature in Settings\n </a>\n </div>\n </div>\n </div>\n `;\n\n document.body.appendChild(banner);\n\n document.getElementById(\"cmc-banner-close\")?.addEventListener(\"click\", () => {\n banner.style.animation = \"cmcBannerSlideOut 0.3s ease-in forwards\";\n setTimeout(() => banner.remove(), 310);\n chrome.storage.local.set({ [LocalStorageKey.SIGNATURE_BANNER_DISMISSED]: true });\n });\n\n document.getElementById(\"cmc-banner-settings-link\")?.addEventListener(\"click\", (e) => {\n e.preventDefault();\n chrome.runtime.sendMessage({ action: \"openOptions\" });\n });\n}\n\ninit();\n"],"names":["LocalStorageKey","init","result","signature","bannerDismissed","prefillTextarea","showNoSignatureBanner","textarea","style","iconUrl","banner","_a","_b","e"],"mappings":"yBAAY,IAAAA,GAAAA,IACVA,EAAA,MAAQ,QACRA,EAAA,WAAa,YACbA,EAAA,UAAY,WACZA,EAAA,aAAe,cACfA,EAAA,mBAAqB,mBACrBA,EAAA,kBAAoB,mBACpBA,EAAA,qBAAuB,qBACvBA,EAAA,uBAAyB,uBACzBA,EAAA,4BAA8B,2BAC9BA,EAAA,mBAAqB,mBAErBA,EAAA,yBAA2B,wBAE3BA,EAAA,0BAA4B,yBAE5BA,EAAA,wBAA0B,wBAE1BA,EAAA,2BAA6B,2BAE7BA,EAAA,6BAA+B,6BAE/BA,EAAA,oBAAsB,oBAEtBA,EAAA,iBAAmB,kBAEnBA,EAAA,kBAAoB,kBAEpBA,EAAA,kBAAoB,kBAEpBA,EAAA,cAAgB,eAChBA,EAAA,2BAA6B,0BAE7BA,EAAA,oBAAsB,qBAEtBA,EAAA,kBAAoB,mBAEpBA,EAAA,2BAA6B,2BAE7BA,EAAA,sBAAwB,sBAExBA,EAAA,yBAA2B,wBAzCjBA,IAAAA,GAAA,CAAA,CAAA,ECEZ,SAASC,GAAO,CACd,OAAO,QAAQ,MAAM,IACnB,CAACD,EAAgB,kBAAmBA,EAAgB,0BAA0B,EAC7EE,GAAW,CACJ,MAAAC,EAAYD,EAAOF,EAAgB,iBAAiB,EACpDI,EAAkBF,EAAOF,EAAgB,0BAA0B,EAErEG,EACFE,EAAgBF,CAAS,EACfC,GACYE,EAAA,CACxB,CAEJ,CACF,CAEA,SAASD,EAAgBF,EAAmB,CACpC,MAAAI,EAAW,SAAS,cAAc,8BAA8B,EACjEA,IAELA,EAAS,MAAQ;AAAA;AAAA;AAAA,EAAWJ,EACnBI,EAAA,cAAc,IAAI,MAAM,QAAS,CAAE,QAAS,EAAA,CAAM,CAAC,EAGnDA,EAAA,iBACP,QACA,IAAM,CACKA,EAAA,kBAAkB,EAAG,CAAC,CACjC,EACA,CAAE,KAAM,EAAK,CACf,EACF,CAEA,SAASD,GAAwB,SACzB,MAAAE,EAAQ,SAAS,cAAc,OAAO,EAC5CA,EAAM,YAAc;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAUX,SAAA,KAAK,YAAYA,CAAK,EAE/B,MAAMC,EAAU,OAAO,QAAQ,OAAO,SAAS,EAEzCC,EAAS,SAAS,cAAc,KAAK,EAC3CA,EAAO,GAAK,uBACZA,EAAO,MAAM,QAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAevBA,EAAO,UAAY;AAAA;AAAA;AAAA;AAAA,sBAICD,CAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAkClB,SAAA,KAAK,YAAYC,CAAM,GAEhCC,EAAA,SAAS,eAAe,kBAAkB,IAA1C,MAAAA,EAA6C,iBAAiB,QAAS,IAAM,CAC3ED,EAAO,MAAM,UAAY,0CACzB,WAAW,IAAMA,EAAO,OAAO,EAAG,GAAG,EAC9B,OAAA,QAAQ,MAAM,IAAI,CAAE,CAACV,EAAgB,0BAA0B,EAAG,GAAM,CAAA,IAGjFY,EAAA,SAAS,eAAe,0BAA0B,IAAlD,MAAAA,EAAqD,iBAAiB,QAAUC,GAAM,CACpFA,EAAE,eAAe,EACjB,OAAO,QAAQ,YAAY,CAAE,OAAQ,cAAe,CAAA,EAExD,CAEAZ,EAAK"}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

{"version":3,"file":"index.js","sources":["../../../../src/pages/panel/Panel.tsx","../../../../src/pages/panel/index.tsx"],"sourcesContent":["import React from \"react\";\nimport \"@pages/panel/Panel.css\";\n\nexport default function Panel(): JSX.Element {\n return (\n <div className=\"container\">\n <h1>Dev Tools Panel</h1>\n </div>\n );\n}\n","import React from \"react\";\nimport { createRoot } from \"react-dom/client\";\nimport Panel from \"@pages/panel/Panel\";\nimport \"@pages/panel/index.css\";\n\nfunction init() {\n const rootContainer = document.querySelector(\"#__root\");\n if (!rootContainer) throw new Error(\"Can't find Panel root element\");\n const root = createRoot(rootContainer);\n root.render(<Panel />);\n}\n\ninit();\n"],"names":["Panel","jsx","init","rootContainer","createRoot"],"mappings":"8DAGA,SAAwBA,GAAqB,CAC3C,aACG,MAAI,CAAA,UAAU,YACb,SAACC,EAAA,IAAA,KAAA,CAAG,2BAAe,CACrB,CAAA,CAEJ,CCJA,SAASC,GAAO,CACR,MAAAC,EAAgB,SAAS,cAAc,SAAS,EACtD,GAAI,CAACA,EAAqB,MAAA,IAAI,MAAM,+BAA+B,EACtDC,aAAWD,CAAa,EAChC,OAAQF,EAAAA,IAAAD,EAAA,CAAM,CAAA,CAAE,CACvB,CAEAE,EAAK"}

Sorry, the diff of this file is too big to display

+1
-1
{
"manifest_version": 3,
"name": "Cardmarket Companion: Pricing & Order Tools",
"version": "0.7.1",
"version": "0.8.0",
"description": "Prefill Cardmarket prices from trend data, undercut pros automatically, and pack orders faster. For MTG, Pok\u00e9mon & more.",

@@ -6,0 +6,0 @@ "browser_specific_settings": {

@@ -1,1 +0,1 @@

chrome.runtime.onMessage.addListener((i,n,r)=>{if(i.action==="openOptions"&&(chrome.runtime.openOptionsPage(),r({success:!0})),i.action==="fetchShippingCosts")return fetch(i.url).then(t=>{if(!t.ok){r({error:`HTTP ${t.status}`});return}return t.json()}).then(t=>r({data:t})).catch(t=>r({error:String(t)})),!0});
chrome.runtime.onMessage.addListener((r,e,i)=>{if(r.action==="openOptions"&&(r.section?chrome.tabs.create({url:chrome.runtime.getURL(`src/pages/options/index.html#${r.section}`)}):chrome.runtime.openOptionsPage(),i({success:!0})),r.action==="fetchShippingCosts")return fetch(r.url).then(t=>{if(!t.ok){i({error:`HTTP ${t.status}`});return}return t.json()}).then(t=>i({data:t})).catch(t=>i({error:String(t)})),!0});

@@ -1,2 +0,2 @@

(function(){"use strict";var i=(e=>(e.TREND="trend",e.PRICE_MODE="priceMode",e.MIN_PRICE="minPrice",e.ITEMS_LISTED="itemsListed",e.ITEMS_LISTED_VALUE="itemsListedValue",e.DISMISSED_VERSION="dismissedVersion",e.LAST_SUPPORT_REQUEST="lastSupportRequest",e.LAST_SUPPORT_MILESTONE="lastSupportMilestone",e.PRO_USE_PROFESSIONAL_SELLER="proUseProfessionalSeller",e.PRO_SELLER_COUNTRY="proSellerCountry",e.PRO_PRICE_REDUCTION_TYPE="proPriceReductionType",e.PRO_PRICE_REDUCTION_VALUE="proPriceReductionValue",e.PRICE_ADJUSTMENT_GLOBAL="priceAdjustmentGlobal",e.PRICE_ADJUSTMENT_OVERRIDES="priceAdjustmentOverrides",e.SHIPPING_DESTINATION_COUNTRY="shippingDestinationCountry",e.SHIPPING_COST_CACHE="shippingCostCache",e.SHIPPING_ENABLED="shippingEnabled",e.HIDE_SOCIAL_MEDIA="hideSocialMedia",e.CARD_IMAGES_PAGES="cardImagesPages",e.BMAC_SUPPORTER_COUNT_CACHE="bmacSupporterCountCache",e.PREDEFINED_COMMENTS="predefinedComments",e.MESSAGE_SIGNATURE="messageSignature",e.SIGNATURE_BANNER_DISMISSED="signatureBannerDismissed",e.ORDER_PICKED_ARTICLES="orderPickedArticles",e.ORDER_GROUP_BY_EXPANSION="orderGroupByExpansion",e))(i||{});function d(){chrome.storage.local.get([i.MESSAGE_SIGNATURE,i.SIGNATURE_BANNER_DISMISSED],e=>{const n=e[i.MESSAGE_SIGNATURE],t=e[i.SIGNATURE_BANNER_DISMISSED];n?o(n):t||a()})}function o(e){const n=document.querySelector('textarea[name="textMessage"]');n&&(n.value=`
(function(){"use strict";var i=(e=>(e.TREND="trend",e.PRICE_MODE="priceMode",e.MIN_PRICE="minPrice",e.ITEMS_LISTED="itemsListed",e.ITEMS_LISTED_VALUE="itemsListedValue",e.DISMISSED_VERSION="dismissedVersion",e.LAST_SUPPORT_REQUEST="lastSupportRequest",e.LAST_SUPPORT_MILESTONE="lastSupportMilestone",e.PRO_USE_PROFESSIONAL_SELLER="proUseProfessionalSeller",e.PRO_SELLER_COUNTRY="proSellerCountry",e.PRO_PRICE_REDUCTION_TYPE="proPriceReductionType",e.PRO_PRICE_REDUCTION_VALUE="proPriceReductionValue",e.PRICE_ADJUSTMENT_GLOBAL="priceAdjustmentGlobal",e.PRICE_ADJUSTMENT_OVERRIDES="priceAdjustmentOverrides",e.SHIPPING_DESTINATION_COUNTRY="shippingDestinationCountry",e.SHIPPING_COST_CACHE="shippingCostCache",e.SHIPPING_ENABLED="shippingEnabled",e.HIDE_SOCIAL_MEDIA="hideSocialMedia",e.CARD_IMAGES_PAGES="cardImagesPages",e.EXTRA_FILTERS="extraFilters",e.BMAC_SUPPORTER_COUNT_CACHE="bmacSupporterCountCache",e.PREDEFINED_COMMENTS="predefinedComments",e.MESSAGE_SIGNATURE="messageSignature",e.SIGNATURE_BANNER_DISMISSED="signatureBannerDismissed",e.ORDER_PICKED_ARTICLES="orderPickedArticles",e.ORDER_GROUP_BY_EXPANSION="orderGroupByExpansion",e))(i||{});function d(){chrome.storage.local.get([i.MESSAGE_SIGNATURE,i.SIGNATURE_BANNER_DISMISSED],e=>{const n=e[i.MESSAGE_SIGNATURE],t=e[i.SIGNATURE_BANNER_DISMISSED];n?o(n):t||a()})}function o(e){const n=document.querySelector('textarea[name="textMessage"]');n&&(n.value=`

@@ -3,0 +3,0 @@

@@ -8,4 +8,4 @@ <!doctype html>

<link rel="modulepreload" crossorigin href="/assets/client-DHAoYkl4.js">
<link rel="modulepreload" crossorigin href="/assets/DiscordButton-Co4YLeGX.js">
<link rel="stylesheet" crossorigin href="/assets/options-ChCVu5Q1.css">
<link rel="modulepreload" crossorigin href="/assets/DiscordButton-DbjKlcMD.js">
<link rel="stylesheet" crossorigin href="/assets/options-Kiinha84.css">
</head>

@@ -12,0 +12,0 @@

@@ -1,3 +0,3 @@

import{j as e,c as ie}from"../../../assets/client-DHAoYkl4.js";import{R as C,r as m,L as o,a as F,b as oe}from"../../../assets/DiscordButton-Co4YLeGX.js";const ce=[{id:1,name:"Austria"},{id:2,name:"Belgium"},{id:3,name:"Bulgaria"},{id:35,name:"Croatia"},{id:5,name:"Cyprus"},{id:6,name:"Czech Republic"},{id:8,name:"Denmark"},{id:9,name:"Estonia"},{id:11,name:"Finland"},{id:12,name:"France"},{id:7,name:"Germany"},{id:14,name:"Greece"},{id:15,name:"Hungary"},{id:37,name:"Iceland"},{id:16,name:"Ireland"},{id:17,name:"Italy"},{id:36,name:"Japan"},{id:21,name:"Latvia"},{id:18,name:"Liechtenstein"},{id:19,name:"Lithuania"},{id:20,name:"Luxembourg"},{id:22,name:"Malta"},{id:23,name:"Netherlands"},{id:24,name:"Norway"},{id:25,name:"Poland"},{id:26,name:"Portugal"},{id:27,name:"Romania"},{id:29,name:"Singapore"},{id:31,name:"Slovakia"},{id:30,name:"Slovenia"},{id:10,name:"Spain"},{id:28,name:"Sweden"},{id:4,name:"Switzerland"},{id:13,name:"United Kingdom"},{id:33,name:"Canada"}];var z={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},H=C.createContext&&C.createContext(z),de=["attr","size","title"];function me(t,s){if(t==null)return{};var r=he(t,s),l,h;if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(t);for(h=0;h<g.length;h++)l=g[h],!(s.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(t,l)&&(r[l]=t[l])}return r}function he(t,s){if(t==null)return{};var r={};for(var l in t)if(Object.prototype.hasOwnProperty.call(t,l)){if(s.indexOf(l)>=0)continue;r[l]=t[l]}return r}function _(){return _=Object.assign?Object.assign.bind():function(t){for(var s=1;s<arguments.length;s++){var r=arguments[s];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(t[l]=r[l])}return t},_.apply(this,arguments)}function U(t,s){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);s&&(l=l.filter(function(h){return Object.getOwnPropertyDescriptor(t,h).enumerable})),r.push.apply(r,l)}return r}function M(t){for(var s=1;s<arguments.length;s++){var r=arguments[s]!=null?arguments[s]:{};s%2?U(Object(r),!0).forEach(function(l){xe(t,l,r[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):U(Object(r)).forEach(function(l){Object.defineProperty(t,l,Object.getOwnPropertyDescriptor(r,l))})}return t}function xe(t,s,r){return s=ge(s),s in t?Object.defineProperty(t,s,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[s]=r,t}function ge(t){var s=ue(t,"string");return typeof s=="symbol"?s:s+""}function ue(t,s){if(typeof t!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var l=r.call(t,s);if(typeof l!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(t)}function J(t){return t&&t.map((s,r)=>C.createElement(s.tag,M({key:r},s.attr),J(s.child)))}function j(t){return s=>C.createElement(pe,_({attr:M({},t.attr)},s),J(t.child))}function pe(t){var s=r=>{var{attr:l,size:h,title:g}=t,A=me(t,de),N=h||r.size||"1em",p;return r.className&&(p=r.className),t.className&&(p=(p?p+" ":"")+t.className),C.createElement("svg",_({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,l,A,{className:p,style:M(M({color:t.color||r.color},r.style),t.style),height:N,width:N,xmlns:"http://www.w3.org/2000/svg"}),g&&C.createElement("title",null,g),t.children)};return H!==void 0?C.createElement(H.Consumer,null,r=>s(r)):s(z)}function K(t){return j({attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"Chat_1"},child:[{tag:"path",attr:{d:"M3.316,19.937A1.251,1.251,0,0,1,2.065,18.69l0-1.716L2.068,6.56a2.5,2.5,0,0,1,2.5-2.5H19.44a2.5,2.5,0,0,1,2.5,2.5v8.41a2.5,2.5,0,0,1-2.5,2.5H6.918a1.49,1.49,0,0,0-1.06.439L4.2,19.57A1.246,1.246,0,0,1,3.316,19.937ZM4.568,5.062a1.5,1.5,0,0,0-1.5,1.5L3.06,16.973l0,1.714a.25.25,0,0,0,.427.176L5.151,17.2a2.482,2.482,0,0,1,1.767-.732H19.44a1.5,1.5,0,0,0,1.5-1.5V6.562a1.5,1.5,0,0,0-1.5-1.5Z"},child:[]}]}]})(t)}function fe(t){return j({attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"Circle_Check"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{d:"M15.81,10.4a.5.5,0,0,0-.71-.71l-3.56,3.56L9.81,11.52a.5.5,0,0,0-.71.71l2.08,2.08a.513.513,0,0,0,.71,0Z"},child:[]},{tag:"path",attr:{d:"M12,21.934A9.934,9.934,0,1,1,21.933,12,9.945,9.945,0,0,1,12,21.934ZM12,3.067A8.934,8.934,0,1,0,20.933,12,8.944,8.944,0,0,0,12,3.067Z"},child:[]}]}]}]})(t)}function E(t){return j({attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"Circle_Info"},child:[{tag:"g",attr:{},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{d:"M11.5,15a.5.5,0,0,0,1,0h0V10.981a.5.5,0,0,0-1,0Z"},child:[]},{tag:"circle",attr:{cx:"12",cy:"8.999",r:"0.5"},child:[]}]},{tag:"path",attr:{d:"M12,2.065A9.934,9.934,0,1,1,2.066,12,9.945,9.945,0,0,1,12,2.065Zm0,18.867A8.934,8.934,0,1,0,3.066,12,8.944,8.944,0,0,0,12,20.932Z"},child:[]}]}]}]})(t)}function T(t){return j({attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"Globe"},child:[{tag:"path",attr:{d:"M14.645,2.428a8.1,8.1,0,0,0-1.61-.3,9.332,9.332,0,0,0-3.6.28l-.07.02a9.928,9.928,0,0,0,.01,19.15,9.091,9.091,0,0,0,2.36.34,1.274,1.274,0,0,0,.27.02,9.65,9.65,0,0,0,2.63-.36,9.931,9.931,0,0,0,.01-19.15Zm-.27.96a8.943,8.943,0,0,1,5.84,5.11h-4.26a13.778,13.778,0,0,0-2.74-5.35A8.254,8.254,0,0,1,14.375,3.388Zm-2.37-.09a12.78,12.78,0,0,1,2.91,5.2H9.075A12.545,12.545,0,0,1,12.005,3.3Zm3.16,6.2a13.193,13.193,0,0,1,0,5.01H8.845a12.185,12.185,0,0,1-.25-2.5,12.353,12.353,0,0,1,.25-2.51Zm-5.6-6.09.07-.02a9.152,9.152,0,0,1,1.16-.23A13.618,13.618,0,0,0,8.045,8.5H3.8A9,9,0,0,1,9.565,3.408Zm-6.5,8.6a8.71,8.71,0,0,1,.37-2.51h4.39a13.95,13.95,0,0,0-.23,2.51,13.757,13.757,0,0,0,.23,2.5H3.435A8.591,8.591,0,0,1,3.065,12.008Zm6.57,8.61a8.9,8.9,0,0,1-5.84-5.11h4.24a13.632,13.632,0,0,0,2.77,5.35A8.1,8.1,0,0,1,9.635,20.618Zm-.56-5.11h5.84a12.638,12.638,0,0,1-2.91,5.21A12.872,12.872,0,0,1,9.075,15.508Zm5.3,5.11a11.551,11.551,0,0,1-1.17.24,13.8,13.8,0,0,0,2.75-5.35h4.26A8.924,8.924,0,0,1,14.375,20.618Zm1.8-6.11a13.611,13.611,0,0,0,0-5.01h4.39a8.379,8.379,0,0,1,.37,2.51,8.687,8.687,0,0,1-.36,2.5Z"},child:[]}]}]})(t)}function be(t){return j({attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"Image_On"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{d:"M18.435,3.06H5.565a2.5,2.5,0,0,0-2.5,2.5V18.44a2.507,2.507,0,0,0,2.5,2.5h12.87a2.507,2.507,0,0,0,2.5-2.5V5.56A2.5,2.5,0,0,0,18.435,3.06ZM4.065,5.56a1.5,1.5,0,0,1,1.5-1.5h12.87a1.5,1.5,0,0,1,1.5,1.5v8.66l-3.88-3.88a1.509,1.509,0,0,0-2.12,0l-4.56,4.57a.513.513,0,0,1-.71,0l-.56-.56a1.522,1.522,0,0,0-2.12,0l-1.92,1.92Zm15.87,12.88a1.5,1.5,0,0,1-1.5,1.5H5.565a1.5,1.5,0,0,1-1.5-1.5v-.75L6.7,15.06a.5.5,0,0,1,.35-.14.524.524,0,0,1,.36.14l.55.56a1.509,1.509,0,0,0,2.12,0l4.57-4.57a.5.5,0,0,1,.71,0l4.58,4.58Z"},child:[]},{tag:"path",attr:{d:"M8.062,10.565a2.5,2.5,0,1,1,2.5-2.5A2.5,2.5,0,0,1,8.062,10.565Zm0-4a1.5,1.5,0,1,0,1.5,1.5A1.5,1.5,0,0,0,8.062,6.565Z"},child:[]}]}]}]})(t)}function R(t){return j({attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"Mail"},child:[{tag:"path",attr:{d:"M19.435,4.065H4.565a2.5,2.5,0,0,0-2.5,2.5v10.87a2.5,2.5,0,0,0,2.5,2.5h14.87a2.5,2.5,0,0,0,2.5-2.5V6.565A2.5,2.5,0,0,0,19.435,4.065Zm-14.87,1h14.87a1.489,1.489,0,0,1,1.49,1.39c-2.47,1.32-4.95,2.63-7.43,3.95a6.172,6.172,0,0,1-1.06.53,2.083,2.083,0,0,1-1.67-.39c-1.42-.75-2.84-1.51-4.25-2.26-1.14-.6-2.3-1.21-3.44-1.82A1.491,1.491,0,0,1,4.565,5.065Zm16.37,12.37a1.5,1.5,0,0,1-1.5,1.5H4.565a1.5,1.5,0,0,1-1.5-1.5V7.6c2.36,1.24,4.71,2.5,7.07,3.75a5.622,5.622,0,0,0,1.35.6,2.872,2.872,0,0,0,2-.41c1.45-.76,2.89-1.53,4.34-2.29,1.04-.56,2.07-1.1,3.11-1.65Z"},child:[]}]}]})(t)}function ye(t){return j({attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"Shopping_Tag"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{d:"M20.605,5.988a2.8,2.8,0,0,0-2.6-2.59l-4.56-.32a2.842,2.842,0,0,0-2.17.81L3.9,11.278a2.794,2.794,0,0,0,0,3.95l4.87,4.88a2.8,2.8,0,0,0,3.96,0l7.38-7.39a2.779,2.779,0,0,0,.81-2.17ZM12.015,19.4a1.8,1.8,0,0,1-2.54,0l-4.87-4.87a1.793,1.793,0,0,1,0-2.55l1.17-1.17,7.42,7.42Zm7.38-7.38-5.5,5.5L6.485,10.1l5.5-5.5a1.786,1.786,0,0,1,1.27-.53c.04,0,.08.01.12.01l4.56.32a1.8,1.8,0,0,1,1.67,1.66l.32,4.56A1.829,1.829,0,0,1,19.4,12.018Z"},child:[]},{tag:"circle",attr:{cx:"17",cy:"6.999",r:"0.862"},child:[]}]}]}]})(t)}function W(t){return j({attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"User"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{d:"M17.438,21.937H6.562a2.5,2.5,0,0,1-2.5-2.5V18.61c0-3.969,3.561-7.2,7.938-7.2s7.938,3.229,7.938,7.2v.827A2.5,2.5,0,0,1,17.438,21.937ZM12,12.412c-3.826,0-6.938,2.78-6.938,6.2v.827a1.5,1.5,0,0,0,1.5,1.5H17.438a1.5,1.5,0,0,0,1.5-1.5V18.61C18.938,15.192,15.826,12.412,12,12.412Z"},child:[]},{tag:"path",attr:{d:"M12,9.911a3.924,3.924,0,1,1,3.923-3.924A3.927,3.927,0,0,1,12,9.911Zm0-6.847a2.924,2.924,0,1,0,2.923,2.923A2.926,2.926,0,0,0,12,3.064Z"},child:[]}]}]}]})(t)}function je({mode:t}){const[s,r]=m.useState(null),[l,h]=m.useState("");m.useEffect(()=>{chrome.storage.local.get(o.PRICE_ADJUSTMENT_OVERRIDES,c=>{const x=(c[o.PRICE_ADJUSTMENT_OVERRIDES]??{})[t]??null;r(x),h(x?String(x.value):"")})},[t]);async function g(c){const x=(await chrome.storage.local.get(o.PRICE_ADJUSTMENT_OVERRIDES))[o.PRICE_ADJUSTMENT_OVERRIDES]??{};c?x[t]=c:delete x[t],await chrome.storage.local.set({[o.PRICE_ADJUSTMENT_OVERRIDES]:x})}function A(c){const d=c?s??{type:"percentage",value:0}:null;r(d),h(d?String(d.value):""),g(d)}function N(c){if(!s)return;const d={...s,type:c};r(d),g(d)}function p(c){if(h(c),!s)return;const d=Number.parseFloat(c.replace(",",".")),x={...s,value:Number.isFinite(d)?d:0};r(x),g(x)}return e.jsxs("div",{style:{fontSize:"0.85rem"},children:[e.jsxs("label",{style:{display:"flex",alignItems:"center",gap:"0.4rem",cursor:"pointer"},children:[e.jsx("input",{type:"checkbox",checked:s!==null,onChange:c=>A(c.target.checked)}),"Custom offset for this mode"]}),s!==null?e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.4rem",marginTop:"0.4rem"},children:[e.jsxs("select",{value:s.type,onChange:c=>N(c.target.value),style:{fontSize:"0.85rem",padding:"0.2rem"},children:[e.jsx("option",{value:"percentage",children:"%"}),e.jsx("option",{value:"amount",children:"€"})]}),e.jsx("input",{type:"text",inputMode:"decimal",value:l,onChange:c=>p(c.target.value),placeholder:"e.g. -5",pattern:"-?[0-9]*[.,]?[0-9]*",style:{width:"6rem",fontSize:"0.85rem",padding:"0.2rem"}})]}):e.jsx("div",{style:{color:"#888",marginTop:"0.2rem"},children:"Falls back to the global default. Negative = cheaper."})]})}var Y=(t=>(t.OFFERS="offers",t.PRODUCTS="products",t.WANTS="wants",t.ORDERS="orders",t))(Y||{});const Ne={offers:"Offers",products:"Products",wants:"Wants & Shopping Wizard",orders:"Orders"};function ve(t,s){return(t==null?void 0:t[s])!==!1}const n="#2F3133",w="rgba(47,49,51,0.05)",b="rgba(47,49,51,0.09)",u="rgba(47,49,51,0.18)",we="rgba(47,49,51,0.07)",Ce="#1a1c1e",I="rgba(255,255,255,0.65)",Se=[{label:"General Settings",id:"section-general",Icon:T},{label:"Price Adjustment",id:"section-pro",Icon:W},{label:"Comment Templates",id:"section-comments",Icon:K},{label:"Messages",id:"section-messages",Icon:R}];function V({id:t,checked:s,onChange:r}){return e.jsxs("label",{className:"relative inline-flex items-center cursor-pointer flex-shrink-0",children:[e.jsx("input",{id:t,type:"checkbox",className:"sr-only peer",checked:s,onChange:l=>r(l.target.checked)}),e.jsx("span",{className:"w-11 h-6 rounded-full bg-gray-300 transition-colors peer-checked:bg-[#27ae60]"}),e.jsx("span",{className:"absolute left-1 w-4 h-4 rounded-full bg-white shadow transition-transform peer-checked:translate-x-5"})]})}function Ee(){const[t,s]=m.useState("amount"),[r,l]=m.useState(""),[h,g]=m.useState(""),[A,N]=m.useState(""),[p,c]=m.useState(!1),[d,x]=m.useState({}),[q,P]=m.useState(""),[$,D]=m.useState(!1),[S,O]=m.useState([]),[k,G]=m.useState(""),Q=m.useRef(null);m.useEffect(()=>{chrome.storage.local.get([o.PRICE_ADJUSTMENT_GLOBAL,o.MIN_PRICE,o.SHIPPING_DESTINATION_COUNTRY,o.HIDE_SOCIAL_MEDIA,o.CARD_IMAGES_PAGES,o.PREDEFINED_COMMENTS,o.MESSAGE_SIGNATURE],function(a){const i=a[o.PRICE_ADJUSTMENT_GLOBAL];s((i==null?void 0:i.type)??"percentage"),l(i?String(i.value):""),g(a[o.MIN_PRICE]??""),N(a[o.SHIPPING_DESTINATION_COUNTRY]??""),c(a[o.HIDE_SOCIAL_MEDIA]??!1),x(a[o.CARD_IMAGES_PAGES]??{}),O(a[o.PREDEFINED_COMMENTS]??[]),P(a[o.MESSAGE_SIGNATURE]??"")})},[]);function y(){D(!0),setTimeout(()=>D(!1),2e3)}async function L(a,i){const f=Number.parseFloat(i.replace(/,/g,"."));Number.isFinite(f)&&f!==0?await chrome.storage.local.set({[o.PRICE_ADJUSTMENT_GLOBAL]:{type:a,value:f}}):await chrome.storage.local.remove(o.PRICE_ADJUSTMENT_GLOBAL),y()}async function Z(a){s(a),await L(a,r)}async function X(a){l(a),await L(t,a)}async function ee(a){const i=a.replace(/,/g,".");await chrome.storage.local.set({[o.MIN_PRICE]:i}),g(a),y()}async function te(a){await chrome.storage.local.set({[o.SHIPPING_DESTINATION_COUNTRY]:a}),N(a),y()}async function ae(a){await chrome.storage.local.set({[o.HIDE_SOCIAL_MEDIA]:a}),c(a),y()}async function se(a,i){const f={...d,[a]:i};await chrome.storage.local.set({[o.CARD_IMAGES_PAGES]:f}),x(f),y()}async function B(){const a=k.trim();if(!a||S.includes(a))return;const i=[...S,a];await chrome.storage.local.set({[o.PREDEFINED_COMMENTS]:i}),O(i),G(""),y()}async function re(a){const i=S.filter((f,v)=>v!==a);await chrome.storage.local.set({[o.PREDEFINED_COMMENTS]:i}),O(i),y()}async function le(a){await chrome.storage.local.set({[o.MESSAGE_SIGNATURE]:a,[o.SIGNATURE_BANNER_DISMISSED]:!1}),P(a),y()}function ne(a){var i;(i=document.getElementById(a))==null||i.scrollIntoView({behavior:"smooth",block:"start"})}return e.jsxs("div",{className:"min-h-screen",style:{background:"#ecf0f1"},children:[e.jsx("div",{className:"bg-white shadow-sm border-b border-gray-200",children:e.jsx("div",{className:"max-w-6xl mx-auto px-6 py-6",children:e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-xl flex items-center justify-center shadow-lg overflow-hidden",style:{background:n},children:e.jsx("img",{src:chrome.runtime.getURL("128.png"),alt:"Cardmarket Companion",style:{width:32,height:32}})}),e.jsxs("div",{children:[e.jsx("h1",{className:"text-3xl font-bold",style:{color:n},children:"Settings"}),e.jsx("p",{className:"text-gray-500 text-sm mt-1",children:"Advanced configuration for CardMarket Companion"})]})]})})}),$&&e.jsx("div",{className:"fixed top-6 right-6 z-50 animate-in slide-in-from-top duration-300",children:e.jsxs("div",{className:"text-white px-6 py-3 rounded-lg shadow-lg flex items-center gap-3",style:{background:"#27ae60"},children:[e.jsx(fe,{className:"w-6 h-6"}),e.jsx("span",{className:"font-medium",children:"Settings saved!"})]})}),e.jsxs("div",{className:"max-w-6xl mx-auto px-6 py-8 flex gap-8 items-start",children:[e.jsx("aside",{style:{width:200,flexShrink:0},children:e.jsxs("nav",{className:"sticky bg-white rounded-2xl shadow-lg border border-gray-100 overflow-hidden",style:{top:24},children:[e.jsx("div",{className:"px-4 py-3 border-b border-gray-100",style:{background:n},children:e.jsx("p",{className:"text-xs font-bold text-white uppercase tracking-wider",children:"Navigation"})}),e.jsx("ul",{style:{listStyle:"none",margin:0,padding:"8px 0"},children:Se.map(({label:a,id:i,Icon:f})=>e.jsx("li",{children:e.jsxs("button",{onClick:()=>ne(i),style:{display:"flex",alignItems:"center",gap:8,width:"100%",padding:"10px 16px",fontSize:13,fontWeight:500,color:"#374151",background:"none",border:"none",cursor:"pointer",textAlign:"left",transition:"background 0.15s, color 0.15s"},onMouseEnter:v=>{v.currentTarget.style.background=we,v.currentTarget.style.color=n},onMouseLeave:v=>{v.currentTarget.style.background="",v.currentTarget.style.color="#374151"},children:[e.jsx(f,{style:{width:16,height:16,color:n,flexShrink:0}}),a]})},i))})]})}),e.jsxs("div",{className:"flex-1",style:{paddingBottom:80},children:[e.jsxs("div",{id:"section-general",className:"bg-white rounded-2xl shadow-xl border border-gray-100 overflow-hidden mb-6 transition-all hover:shadow-2xl",children:[e.jsx("div",{className:"px-8 py-6",style:{background:n},children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center",style:{background:b},children:e.jsx(T,{className:"w-7 h-7 text-white"})}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-2xl font-bold text-white",children:"General Settings"}),e.jsx("p",{className:"text-sm mt-1",style:{color:I},children:"Global preferences for all pages"})]})]})}),e.jsxs("div",{className:"p-8",children:[e.jsx("div",{className:"rounded-xl p-6 border-2",style:{background:w,borderColor:u},children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center flex-shrink-0 mt-1",style:{background:b},children:e.jsx(T,{className:"w-6 h-6",style:{color:n}})}),e.jsxs("div",{className:"flex-1 space-y-4",children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"destination-country",className:"block text-sm font-semibold text-gray-800 mb-2",children:"Your Destination Country"}),e.jsx("p",{className:"text-sm text-gray-600 leading-relaxed mb-4",children:"Select your country to display estimated shipping costs in the article table on product pages."}),e.jsxs("select",{id:"destination-country",value:A,onChange:a=>te(a.target.value),className:"w-full max-w-xs rounded-lg border-2 border-gray-300 px-4 py-3 text-sm focus:outline-none transition-all shadow-sm",onFocus:a=>a.target.style.borderColor=n,onBlur:a=>a.target.style.borderColor="",children:[e.jsx("option",{value:"",children:"— Not configured —"}),ce.map(a=>e.jsx("option",{value:String(a.id),children:a.name},a.id))]})]}),e.jsxs("p",{className:"text-xs text-gray-500 flex items-center gap-1",children:[e.jsx(E,{className:"w-4 h-4",style:{color:n}}),"Shipping costs are an estimation based on the destination country and may not reflect actual costs at checkout."]})]})]})}),e.jsx("div",{className:"rounded-xl p-6 border-2 mt-4",style:{background:w,borderColor:u},children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center flex-shrink-0 mt-1",style:{background:b},children:e.jsx(E,{className:"w-6 h-6",style:{color:n}})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("label",{htmlFor:"hide-social-media",className:"block text-sm font-semibold text-gray-800 mb-1",children:"Hide Social Media Buttons"}),e.jsx("p",{className:"text-sm text-gray-600 leading-relaxed mb-4",children:"Remove the social media sharing buttons (Facebook, Twitter, Reddit, Mail) from article pages."}),e.jsxs("div",{className:"flex items-center gap-3 w-fit",children:[e.jsx(V,{id:"hide-social-media",checked:p,onChange:ae}),e.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Enable"})]})]})]})}),e.jsx("div",{className:"rounded-xl p-6 border-2 mt-4",style:{background:w,borderColor:u},children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center flex-shrink-0 mt-1",style:{background:b},children:e.jsx(be,{className:"w-6 h-6",style:{color:n}})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("span",{className:"block text-sm font-semibold text-gray-800 mb-1",children:"Card Images"}),e.jsx("p",{className:"text-sm text-gray-600 leading-relaxed mb-4",children:"Replace the small row icons with the actual card image. Configure it per page — each page also has its own switch right above the list."}),e.jsx("ul",{className:"space-y-2",children:Object.values(Y).map(a=>e.jsxs("li",{className:"flex items-center justify-between gap-3 rounded-lg border bg-white px-4 py-3",style:{borderColor:u},children:[e.jsx("span",{className:"text-sm text-gray-800",children:Ne[a]}),e.jsx(V,{id:`card-images-${a}`,checked:ve(d,a),onChange:i=>se(a,i)})]},a))})]})]})})]})]}),e.jsxs("div",{id:"section-pro",className:"bg-white rounded-2xl shadow-xl border border-gray-100 overflow-hidden mb-6 transition-all hover:shadow-2xl",children:[e.jsx("div",{className:"px-8 py-6",style:{background:n},children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center",style:{background:b},children:e.jsx(W,{className:"w-7 h-7 text-white"})}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-2xl font-bold text-white",children:"Price Adjustment"}),e.jsx("p",{className:"text-sm mt-1",style:{color:I},children:"Shift your price relative to each mode's reference price"})]})]})}),e.jsxs("div",{className:"p-8 space-y-6",children:[e.jsx("div",{className:"rounded-xl p-6 border-2",style:{background:w,borderColor:u},children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center flex-shrink-0 mt-1",style:{background:b},children:e.jsx(ye,{className:"w-6 h-6",style:{color:n}})}),e.jsxs("div",{className:"flex-1 space-y-4",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-semibold text-gray-800 mb-2",children:"Price Adjustment (global default)"}),e.jsxs("p",{className:"text-sm text-gray-600 leading-relaxed mb-4",children:["Shift your price relative to the reference price of the selected mode. Use a negative value to undercut (e.g. −5 = 5% cheaper), a positive value to sell above it. ",e.jsx("br",{}),e.jsx("b",{children:"Any pricing mode can override this."})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[e.jsxs("label",{className:`relative flex items-center gap-3 p-4 border-2 rounded-lg cursor-pointer transition-all bg-white ${t==="amount"?"shadow-md":"border-gray-300 hover:border-gray-400"}`,style:t==="amount"?{borderColor:n}:{},children:[e.jsx("input",{type:"radio",name:"reduction-type",value:"amount",checked:t==="amount",onChange:()=>Z("amount"),className:"w-5 h-5",style:{accentColor:n}}),e.jsxs("div",{children:[e.jsx("span",{className:"text-sm font-semibold text-gray-800",children:"Fixed Amount"}),e.jsx("p",{className:"text-xs text-gray-500",children:"Shift by euros (±)"})]})]}),e.jsxs("label",{className:`relative flex items-center gap-3 p-4 border-2 rounded-lg cursor-pointer transition-all bg-white ${t==="percentage"?"shadow-md":"border-gray-300 hover:border-gray-400"}`,style:t==="percentage"?{borderColor:n}:{},children:[e.jsx("input",{type:"radio",name:"reduction-type",value:"percentage",checked:t==="percentage",onChange:()=>Z("percentage"),className:"w-5 h-5",style:{accentColor:n}}),e.jsxs("div",{children:[e.jsx("span",{className:"text-sm font-semibold text-gray-800",children:"Percentage"}),e.jsx("p",{className:"text-xs text-gray-500",children:"Shift by % (±)"})]})]})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-semibold text-gray-800 mb-2",children:"Adjustment Value"}),e.jsxs("div",{className:"relative flex-1 max-w-xs",children:[e.jsx("input",{type:"text",inputMode:"decimal",value:r,onChange:a=>X(a.target.value),placeholder:t==="percentage"?"e.g., -5":"e.g., -0.50",pattern:"-?[0-9]*[.,]?[0-9]*",className:"w-full rounded-lg border-2 border-gray-300 pl-4 pr-12 py-3 text-sm focus:outline-none transition-all shadow-sm",onFocus:a=>a.target.style.borderColor=n,onBlur:a=>a.target.style.borderColor=""}),e.jsx("span",{className:"absolute right-4 top-1/2 -translate-y-1/2 text-lg font-semibold",style:{color:n},children:t==="percentage"?"%":"€"})]}),e.jsxs("p",{className:"text-xs text-gray-500 mt-2 flex items-center gap-1",children:[e.jsx(E,{className:"w-4 h-4",style:{color:n}}),"Negative = cheaper than the reference, positive = more expensive."]})]}),e.jsxs("div",{className:"pt-4 border-t",style:{borderColor:u},children:[e.jsx("label",{className:"block text-sm font-semibold text-gray-800 mb-2",children:"Minimum Price"}),e.jsxs("div",{className:"relative flex-1 max-w-xs",children:[e.jsx("input",{type:"text",inputMode:"decimal",value:h,onChange:a=>ee(a.target.value),placeholder:"e.g., 0.50",pattern:"[0-9]*[.,]?[0-9]*",className:"w-full rounded-lg border-2 border-gray-300 pl-4 pr-12 py-3 text-sm focus:outline-none transition-all shadow-sm",onFocus:a=>a.target.style.borderColor=n,onBlur:a=>a.target.style.borderColor=""}),e.jsx("span",{className:"absolute right-4 top-1/2 -translate-y-1/2 text-lg font-semibold",style:{color:n},children:"€"})]}),e.jsxs("p",{className:"text-xs text-gray-500 mt-2 flex items-center gap-1",children:[e.jsx(E,{className:"w-4 h-4",style:{color:n}}),"Prevent negative prices by setting a minimum threshold (synced with popup)"]})]})]})]})}),e.jsxs("details",{className:"rounded-xl border-2",style:{background:w,borderColor:u},children:[e.jsx("summary",{className:"cursor-pointer select-none p-5 text-sm font-semibold text-gray-800",children:"Fine-tune per mode (optional)"}),e.jsxs("div",{className:"px-6 pb-6 space-y-4",children:[e.jsx("p",{className:"text-xs text-gray-500",children:"Each mode falls back to the global default above unless you set a custom offset here."}),[{mode:"pro",label:"Pro Mode — cheapest commercial price"},{mode:"trend",label:"Trend — average price"},{mode:"first",label:"First price — lowest listing"},{mode:"avg",label:"Average — mean of listings"}].map(({mode:a,label:i})=>e.jsxs("div",{className:"rounded-lg border p-4 bg-white",style:{borderColor:u},children:[e.jsx("div",{className:"text-sm font-semibold text-gray-800 mb-2",children:i}),e.jsx(je,{mode:a})]},a))]})]})]})]}),e.jsxs("div",{id:"section-comments",className:"bg-white rounded-2xl shadow-xl border border-gray-100 overflow-hidden mb-6 transition-all hover:shadow-2xl",children:[e.jsx("div",{className:"px-8 py-6",style:{background:n},children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center",style:{background:b},children:e.jsx(K,{className:"w-7 h-7 text-white"})}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-2xl font-bold text-white",children:"Comment Templates"}),e.jsx("p",{className:"text-sm mt-1",style:{color:I},children:"Predefined comments selectable on product pages"})]})]})}),e.jsxs("div",{className:"p-8 space-y-4",children:[e.jsxs("ul",{className:"space-y-2",children:[e.jsxs("li",{className:"flex items-center justify-between gap-3 rounded-lg border border-gray-200 px-4 py-3 bg-gray-50",children:[e.jsx("span",{className:"text-sm text-gray-800 flex-1 break-words",children:F}),e.jsx("span",{className:"flex-shrink-0 text-xs text-gray-400 italic",children:"default"})]}),S.length===0?null:S.map((a,i)=>e.jsxs("li",{className:"flex items-center justify-between gap-3 rounded-lg border border-gray-200 px-4 py-3 bg-gray-50",children:[e.jsx("span",{className:"text-sm text-gray-800 flex-1 break-words",children:a}),e.jsx("button",{onClick:()=>re(i),title:"Remove template",className:"flex-shrink-0 text-red-400 hover:text-red-600 transition-colors text-lg font-bold leading-none",children:"✕"})]},i))]}),e.jsxs("div",{className:"rounded-xl p-5 border-2",style:{background:w,borderColor:u},children:[e.jsx("label",{className:"block text-sm font-semibold text-gray-800 mb-2",children:"New Template"}),e.jsx("textarea",{ref:Q,value:k,onChange:a=>G(a.target.value),onKeyDown:a=>{a.key==="Enter"&&(a.ctrlKey||a.metaKey)&&B()},rows:3,placeholder:"Type a comment template…",className:"w-full rounded-lg border-2 border-gray-300 px-4 py-3 text-sm focus:outline-none transition-all shadow-sm resize-none",onFocus:a=>a.target.style.borderColor=n,onBlur:a=>a.target.style.borderColor=""}),e.jsxs("div",{className:"flex items-center justify-between mt-3",children:[e.jsx("p",{className:"text-xs text-gray-500",children:"Ctrl+Enter to add quickly"}),e.jsx("button",{onClick:B,disabled:!k.trim()||k.trim()===F||S.includes(k.trim()),className:"px-5 py-2 text-white text-sm font-semibold rounded-lg shadow-sm transition-all disabled:opacity-40 disabled:cursor-not-allowed",style:{background:n},onMouseEnter:a=>{a.target.disabled||(a.target.style.background=Ce)},onMouseLeave:a=>{a.target.style.background=n},children:"Add Template"})]})]})]})]}),e.jsxs("div",{id:"section-messages",className:"bg-white rounded-2xl shadow-xl border border-gray-100 overflow-hidden mb-6 transition-all hover:shadow-2xl",children:[e.jsx("div",{className:"px-8 py-6",style:{background:n},children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center",style:{background:b},children:e.jsx(R,{className:"w-7 h-7 text-white"})}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-2xl font-bold text-white",children:"Messages"}),e.jsx("p",{className:"text-sm mt-1",style:{color:I},children:"Personalise your outgoing messages"})]})]})}),e.jsx("div",{className:"p-8",children:e.jsx("div",{className:"rounded-xl p-6 border-2",style:{background:w,borderColor:u},children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center flex-shrink-0 mt-1",style:{background:b},children:e.jsx(R,{className:"w-6 h-6",style:{color:n}})}),e.jsxs("div",{className:"flex-1 space-y-4",children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"message-signature",className:"block text-sm font-semibold text-gray-800 mb-2",children:"Message Signature"}),e.jsx("p",{className:"text-sm text-gray-600 leading-relaxed mb-4",children:"This text will be automatically appended to every message you compose. Leave it empty to disable."}),e.jsx("textarea",{id:"message-signature",rows:4,value:q,onChange:a=>le(a.target.value),placeholder:`e.g.
import{j as e,c as me}from"../../../assets/client-DHAoYkl4.js";import{R as C,r as d,L as o,a as V,b as he}from"../../../assets/DiscordButton-DbjKlcMD.js";const xe=[{id:1,name:"Austria"},{id:2,name:"Belgium"},{id:3,name:"Bulgaria"},{id:35,name:"Croatia"},{id:5,name:"Cyprus"},{id:6,name:"Czech Republic"},{id:8,name:"Denmark"},{id:9,name:"Estonia"},{id:11,name:"Finland"},{id:12,name:"France"},{id:7,name:"Germany"},{id:14,name:"Greece"},{id:15,name:"Hungary"},{id:37,name:"Iceland"},{id:16,name:"Ireland"},{id:17,name:"Italy"},{id:36,name:"Japan"},{id:21,name:"Latvia"},{id:18,name:"Liechtenstein"},{id:19,name:"Lithuania"},{id:20,name:"Luxembourg"},{id:22,name:"Malta"},{id:23,name:"Netherlands"},{id:24,name:"Norway"},{id:25,name:"Poland"},{id:26,name:"Portugal"},{id:27,name:"Romania"},{id:29,name:"Singapore"},{id:31,name:"Slovakia"},{id:30,name:"Slovenia"},{id:10,name:"Spain"},{id:28,name:"Sweden"},{id:4,name:"Switzerland"},{id:13,name:"United Kingdom"},{id:33,name:"Canada"}];var W={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},z=C.createContext&&C.createContext(W),ge=["attr","size","title"];function ue(a,s){if(a==null)return{};var r=pe(a,s),l,h;if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(a);for(h=0;h<g.length;h++)l=g[h],!(s.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(a,l)&&(r[l]=a[l])}return r}function pe(a,s){if(a==null)return{};var r={};for(var l in a)if(Object.prototype.hasOwnProperty.call(a,l)){if(s.indexOf(l)>=0)continue;r[l]=a[l]}return r}function _(){return _=Object.assign?Object.assign.bind():function(a){for(var s=1;s<arguments.length;s++){var r=arguments[s];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(a[l]=r[l])}return a},_.apply(this,arguments)}function J(a,s){var r=Object.keys(a);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(a);s&&(l=l.filter(function(h){return Object.getOwnPropertyDescriptor(a,h).enumerable})),r.push.apply(r,l)}return r}function T(a){for(var s=1;s<arguments.length;s++){var r=arguments[s]!=null?arguments[s]:{};s%2?J(Object(r),!0).forEach(function(l){fe(a,l,r[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(r)):J(Object(r)).forEach(function(l){Object.defineProperty(a,l,Object.getOwnPropertyDescriptor(r,l))})}return a}function fe(a,s,r){return s=be(s),s in a?Object.defineProperty(a,s,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[s]=r,a}function be(a){var s=ye(a,"string");return typeof s=="symbol"?s:s+""}function ye(a,s){if(typeof a!="object"||!a)return a;var r=a[Symbol.toPrimitive];if(r!==void 0){var l=r.call(a,s);if(typeof l!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}function X(a){return a&&a.map((s,r)=>C.createElement(s.tag,T({key:r},s.attr),X(s.child)))}function N(a){return s=>C.createElement(je,_({attr:T({},a.attr)},s),X(a.child))}function je(a){var s=r=>{var{attr:l,size:h,title:g}=a,A=ue(a,ge),v=h||r.size||"1em",b;return r.className&&(b=r.className),a.className&&(b=(b?b+" ":"")+a.className),C.createElement("svg",_({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,l,A,{className:b,style:T(T({color:a.color||r.color},r.style),a.style),height:v,width:v,xmlns:"http://www.w3.org/2000/svg"}),g&&C.createElement("title",null,g),a.children)};return z!==void 0?C.createElement(z.Consumer,null,r=>s(r)):s(W)}function Y(a){return N({attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"Chat_1"},child:[{tag:"path",attr:{d:"M3.316,19.937A1.251,1.251,0,0,1,2.065,18.69l0-1.716L2.068,6.56a2.5,2.5,0,0,1,2.5-2.5H19.44a2.5,2.5,0,0,1,2.5,2.5v8.41a2.5,2.5,0,0,1-2.5,2.5H6.918a1.49,1.49,0,0,0-1.06.439L4.2,19.57A1.246,1.246,0,0,1,3.316,19.937ZM4.568,5.062a1.5,1.5,0,0,0-1.5,1.5L3.06,16.973l0,1.714a.25.25,0,0,0,.427.176L5.151,17.2a2.482,2.482,0,0,1,1.767-.732H19.44a1.5,1.5,0,0,0,1.5-1.5V6.562a1.5,1.5,0,0,0-1.5-1.5Z"},child:[]}]}]})(a)}function Ne(a){return N({attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"Circle_Check"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{d:"M15.81,10.4a.5.5,0,0,0-.71-.71l-3.56,3.56L9.81,11.52a.5.5,0,0,0-.71.71l2.08,2.08a.513.513,0,0,0,.71,0Z"},child:[]},{tag:"path",attr:{d:"M12,21.934A9.934,9.934,0,1,1,21.933,12,9.945,9.945,0,0,1,12,21.934ZM12,3.067A8.934,8.934,0,1,0,20.933,12,8.944,8.944,0,0,0,12,3.067Z"},child:[]}]}]}]})(a)}function S(a){return N({attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"Circle_Info"},child:[{tag:"g",attr:{},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{d:"M11.5,15a.5.5,0,0,0,1,0h0V10.981a.5.5,0,0,0-1,0Z"},child:[]},{tag:"circle",attr:{cx:"12",cy:"8.999",r:"0.5"},child:[]}]},{tag:"path",attr:{d:"M12,2.065A9.934,9.934,0,1,1,2.066,12,9.945,9.945,0,0,1,12,2.065Zm0,18.867A8.934,8.934,0,1,0,3.066,12,8.944,8.944,0,0,0,12,20.932Z"},child:[]}]}]}]})(a)}function O(a){return N({attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"Globe"},child:[{tag:"path",attr:{d:"M14.645,2.428a8.1,8.1,0,0,0-1.61-.3,9.332,9.332,0,0,0-3.6.28l-.07.02a9.928,9.928,0,0,0,.01,19.15,9.091,9.091,0,0,0,2.36.34,1.274,1.274,0,0,0,.27.02,9.65,9.65,0,0,0,2.63-.36,9.931,9.931,0,0,0,.01-19.15Zm-.27.96a8.943,8.943,0,0,1,5.84,5.11h-4.26a13.778,13.778,0,0,0-2.74-5.35A8.254,8.254,0,0,1,14.375,3.388Zm-2.37-.09a12.78,12.78,0,0,1,2.91,5.2H9.075A12.545,12.545,0,0,1,12.005,3.3Zm3.16,6.2a13.193,13.193,0,0,1,0,5.01H8.845a12.185,12.185,0,0,1-.25-2.5,12.353,12.353,0,0,1,.25-2.51Zm-5.6-6.09.07-.02a9.152,9.152,0,0,1,1.16-.23A13.618,13.618,0,0,0,8.045,8.5H3.8A9,9,0,0,1,9.565,3.408Zm-6.5,8.6a8.71,8.71,0,0,1,.37-2.51h4.39a13.95,13.95,0,0,0-.23,2.51,13.757,13.757,0,0,0,.23,2.5H3.435A8.591,8.591,0,0,1,3.065,12.008Zm6.57,8.61a8.9,8.9,0,0,1-5.84-5.11h4.24a13.632,13.632,0,0,0,2.77,5.35A8.1,8.1,0,0,1,9.635,20.618Zm-.56-5.11h5.84a12.638,12.638,0,0,1-2.91,5.21A12.872,12.872,0,0,1,9.075,15.508Zm5.3,5.11a11.551,11.551,0,0,1-1.17.24,13.8,13.8,0,0,0,2.75-5.35h4.26A8.924,8.924,0,0,1,14.375,20.618Zm1.8-6.11a13.611,13.611,0,0,0,0-5.01h4.39a8.379,8.379,0,0,1,.37,2.51,8.687,8.687,0,0,1-.36,2.5Z"},child:[]}]}]})(a)}function ve(a){return N({attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"Image_On"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{d:"M18.435,3.06H5.565a2.5,2.5,0,0,0-2.5,2.5V18.44a2.507,2.507,0,0,0,2.5,2.5h12.87a2.507,2.507,0,0,0,2.5-2.5V5.56A2.5,2.5,0,0,0,18.435,3.06ZM4.065,5.56a1.5,1.5,0,0,1,1.5-1.5h12.87a1.5,1.5,0,0,1,1.5,1.5v8.66l-3.88-3.88a1.509,1.509,0,0,0-2.12,0l-4.56,4.57a.513.513,0,0,1-.71,0l-.56-.56a1.522,1.522,0,0,0-2.12,0l-1.92,1.92Zm15.87,12.88a1.5,1.5,0,0,1-1.5,1.5H5.565a1.5,1.5,0,0,1-1.5-1.5v-.75L6.7,15.06a.5.5,0,0,1,.35-.14.524.524,0,0,1,.36.14l.55.56a1.509,1.509,0,0,0,2.12,0l4.57-4.57a.5.5,0,0,1,.71,0l4.58,4.58Z"},child:[]},{tag:"path",attr:{d:"M8.062,10.565a2.5,2.5,0,1,1,2.5-2.5A2.5,2.5,0,0,1,8.062,10.565Zm0-4a1.5,1.5,0,1,0,1.5,1.5A1.5,1.5,0,0,0,8.062,6.565Z"},child:[]}]}]}]})(a)}function P(a){return N({attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"Mail"},child:[{tag:"path",attr:{d:"M19.435,4.065H4.565a2.5,2.5,0,0,0-2.5,2.5v10.87a2.5,2.5,0,0,0,2.5,2.5h14.87a2.5,2.5,0,0,0,2.5-2.5V6.565A2.5,2.5,0,0,0,19.435,4.065Zm-14.87,1h14.87a1.489,1.489,0,0,1,1.49,1.39c-2.47,1.32-4.95,2.63-7.43,3.95a6.172,6.172,0,0,1-1.06.53,2.083,2.083,0,0,1-1.67-.39c-1.42-.75-2.84-1.51-4.25-2.26-1.14-.6-2.3-1.21-3.44-1.82A1.491,1.491,0,0,1,4.565,5.065Zm16.37,12.37a1.5,1.5,0,0,1-1.5,1.5H4.565a1.5,1.5,0,0,1-1.5-1.5V7.6c2.36,1.24,4.71,2.5,7.07,3.75a5.622,5.622,0,0,0,1.35.6,2.872,2.872,0,0,0,2-.41c1.45-.76,2.89-1.53,4.34-2.29,1.04-.56,2.07-1.1,3.11-1.65Z"},child:[]}]}]})(a)}function K(a){return N({attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"Shopping_Tag"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{d:"M20.605,5.988a2.8,2.8,0,0,0-2.6-2.59l-4.56-.32a2.842,2.842,0,0,0-2.17.81L3.9,11.278a2.794,2.794,0,0,0,0,3.95l4.87,4.88a2.8,2.8,0,0,0,3.96,0l7.38-7.39a2.779,2.779,0,0,0,.81-2.17ZM12.015,19.4a1.8,1.8,0,0,1-2.54,0l-4.87-4.87a1.793,1.793,0,0,1,0-2.55l1.17-1.17,7.42,7.42Zm7.38-7.38-5.5,5.5L6.485,10.1l5.5-5.5a1.786,1.786,0,0,1,1.27-.53c.04,0,.08.01.12.01l4.56.32a1.8,1.8,0,0,1,1.67,1.66l.32,4.56A1.829,1.829,0,0,1,19.4,12.018Z"},child:[]},{tag:"circle",attr:{cx:"17",cy:"6.999",r:"0.862"},child:[]}]}]}]})(a)}function q(a){return N({attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"User"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{d:"M17.438,21.937H6.562a2.5,2.5,0,0,1-2.5-2.5V18.61c0-3.969,3.561-7.2,7.938-7.2s7.938,3.229,7.938,7.2v.827A2.5,2.5,0,0,1,17.438,21.937ZM12,12.412c-3.826,0-6.938,2.78-6.938,6.2v.827a1.5,1.5,0,0,0,1.5,1.5H17.438a1.5,1.5,0,0,0,1.5-1.5V18.61C18.938,15.192,15.826,12.412,12,12.412Z"},child:[]},{tag:"path",attr:{d:"M12,9.911a3.924,3.924,0,1,1,3.923-3.924A3.927,3.927,0,0,1,12,9.911Zm0-6.847a2.924,2.924,0,1,0,2.923,2.923A2.926,2.926,0,0,0,12,3.064Z"},child:[]}]}]}]})(a)}function we({mode:a}){const[s,r]=d.useState(null),[l,h]=d.useState("");d.useEffect(()=>{chrome.storage.local.get(o.PRICE_ADJUSTMENT_OVERRIDES,c=>{const x=(c[o.PRICE_ADJUSTMENT_OVERRIDES]??{})[a]??null;r(x),h(x?String(x.value):"")})},[a]);async function g(c){const x=(await chrome.storage.local.get(o.PRICE_ADJUSTMENT_OVERRIDES))[o.PRICE_ADJUSTMENT_OVERRIDES]??{};c?x[a]=c:delete x[a],await chrome.storage.local.set({[o.PRICE_ADJUSTMENT_OVERRIDES]:x})}function A(c){const m=c?s??{type:"percentage",value:0}:null;r(m),h(m?String(m.value):""),g(m)}function v(c){if(!s)return;const m={...s,type:c};r(m),g(m)}function b(c){if(h(c),!s)return;const m=Number.parseFloat(c.replace(",",".")),x={...s,value:Number.isFinite(m)?m:0};r(x),g(x)}return e.jsxs("div",{style:{fontSize:"0.85rem"},children:[e.jsxs("label",{style:{display:"flex",alignItems:"center",gap:"0.4rem",cursor:"pointer"},children:[e.jsx("input",{type:"checkbox",checked:s!==null,onChange:c=>A(c.target.checked)}),"Custom offset for this mode"]}),s!==null?e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.4rem",marginTop:"0.4rem"},children:[e.jsxs("select",{value:s.type,onChange:c=>v(c.target.value),style:{fontSize:"0.85rem",padding:"0.2rem"},children:[e.jsx("option",{value:"percentage",children:"%"}),e.jsx("option",{value:"amount",children:"€"})]}),e.jsx("input",{type:"text",inputMode:"decimal",value:l,onChange:c=>b(c.target.value),placeholder:"e.g. -5",pattern:"-?[0-9]*[.,]?[0-9]*",style:{width:"6rem",fontSize:"0.85rem",padding:"0.2rem"}})]}):e.jsx("div",{style:{color:"#888",marginTop:"0.2rem"},children:"Falls back to the global default. Negative = cheaper."})]})}var $=(a=>(a.OFFERS="offers",a.PRODUCTS="products",a.WANTS="wants",a.ORDERS="orders",a))($||{});const Ce={offers:"Offers",products:"Products",wants:"Wants & Shopping Wizard",orders:"Orders"};function Ee(a,s){return(a==null?void 0:a[s])!==!1}const Se=["isFoil","isReverseHolo","isFirstEd","isSigned","isAltered"],Ae={isFoil:"Foil",isReverseHolo:"Reverse Holo",isFirstEd:"First Edition",isSigned:"Signed",isAltered:"Altered"};function ke(a,s){return(a==null?void 0:a[s])!==!1}const i="#2F3133",j="rgba(47,49,51,0.05)",f="rgba(47,49,51,0.09)",p="rgba(47,49,51,0.18)",Ie="rgba(47,49,51,0.07)",_e="#1a1c1e",I="rgba(255,255,255,0.65)",Te=[{label:"General Settings",id:"section-general",Icon:O},{label:"Price Adjustment",id:"section-pro",Icon:q},{label:"Comment Templates",id:"section-comments",Icon:Y},{label:"Messages",id:"section-messages",Icon:P}];function M({id:a,checked:s,onChange:r}){return e.jsxs("label",{className:"relative inline-flex items-center cursor-pointer flex-shrink-0",children:[e.jsx("input",{id:a,type:"checkbox",className:"sr-only peer",checked:s,onChange:l=>r(l.target.checked)}),e.jsx("span",{className:"w-11 h-6 rounded-full bg-gray-300 transition-colors peer-checked:bg-[#27ae60]"}),e.jsx("span",{className:"absolute left-1 w-4 h-4 rounded-full bg-white shadow transition-transform peer-checked:translate-x-5"})]})}function Re(){const[a,s]=d.useState("amount"),[r,l]=d.useState(""),[h,g]=d.useState(""),[A,v]=d.useState(""),[b,c]=d.useState(!1),[m,x]=d.useState({}),[D,F]=d.useState({}),[Q,L]=d.useState(""),[ee,G]=d.useState(!1),[E,R]=d.useState([]),[k,B]=d.useState(""),te=d.useRef(null);d.useEffect(()=>{chrome.storage.local.get([o.PRICE_ADJUSTMENT_GLOBAL,o.MIN_PRICE,o.SHIPPING_DESTINATION_COUNTRY,o.HIDE_SOCIAL_MEDIA,o.CARD_IMAGES_PAGES,o.EXTRA_FILTERS,o.PREDEFINED_COMMENTS,o.MESSAGE_SIGNATURE],function(t){const n=t[o.PRICE_ADJUSTMENT_GLOBAL];s((n==null?void 0:n.type)??"percentage"),l(n?String(n.value):""),g(t[o.MIN_PRICE]??""),v(t[o.SHIPPING_DESTINATION_COUNTRY]??""),c(t[o.HIDE_SOCIAL_MEDIA]??!1),x(t[o.CARD_IMAGES_PAGES]??{}),F(t[o.EXTRA_FILTERS]??{}),R(t[o.PREDEFINED_COMMENTS]??[]),L(t[o.MESSAGE_SIGNATURE]??"")})},[]),d.useEffect(()=>{var t;window.location.hash&&((t=document.querySelector(window.location.hash))==null||t.scrollIntoView({block:"center"}))},[]);function y(){G(!0),setTimeout(()=>G(!1),2e3)}async function Z(t,n){const u=Number.parseFloat(n.replace(/,/g,"."));Number.isFinite(u)&&u!==0?await chrome.storage.local.set({[o.PRICE_ADJUSTMENT_GLOBAL]:{type:t,value:u}}):await chrome.storage.local.remove(o.PRICE_ADJUSTMENT_GLOBAL),y()}async function H(t){s(t),await Z(t,r)}async function ae(t){l(t),await Z(a,t)}async function se(t){const n=t.replace(/,/g,".");await chrome.storage.local.set({[o.MIN_PRICE]:n}),g(t),y()}async function re(t){await chrome.storage.local.set({[o.SHIPPING_DESTINATION_COUNTRY]:t}),v(t),y()}async function le(t){await chrome.storage.local.set({[o.HIDE_SOCIAL_MEDIA]:t}),c(t),y()}async function ne(t,n){const u={...m,[t]:n};await chrome.storage.local.set({[o.CARD_IMAGES_PAGES]:u}),x(u),y()}async function ie(t,n){const u={...D,[t]:n};await chrome.storage.local.set({[o.EXTRA_FILTERS]:u}),F(u),y()}async function U(){const t=k.trim();if(!t||E.includes(t))return;const n=[...E,t];await chrome.storage.local.set({[o.PREDEFINED_COMMENTS]:n}),R(n),B(""),y()}async function oe(t){const n=E.filter((u,w)=>w!==t);await chrome.storage.local.set({[o.PREDEFINED_COMMENTS]:n}),R(n),y()}async function ce(t){await chrome.storage.local.set({[o.MESSAGE_SIGNATURE]:t,[o.SIGNATURE_BANNER_DISMISSED]:!1}),L(t),y()}function de(t){var n;(n=document.getElementById(t))==null||n.scrollIntoView({behavior:"smooth",block:"start"})}return e.jsxs("div",{className:"min-h-screen",style:{background:"#ecf0f1"},children:[e.jsx("div",{className:"bg-white shadow-sm border-b border-gray-200",children:e.jsx("div",{className:"max-w-6xl mx-auto px-6 py-6",children:e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-xl flex items-center justify-center shadow-lg overflow-hidden",style:{background:i},children:e.jsx("img",{src:chrome.runtime.getURL("128.png"),alt:"Cardmarket Companion",style:{width:32,height:32}})}),e.jsxs("div",{children:[e.jsx("h1",{className:"text-3xl font-bold",style:{color:i},children:"Settings"}),e.jsx("p",{className:"text-gray-500 text-sm mt-1",children:"Advanced configuration for CardMarket Companion"})]})]})})}),ee&&e.jsx("div",{className:"fixed top-6 right-6 z-50 animate-in slide-in-from-top duration-300",children:e.jsxs("div",{className:"text-white px-6 py-3 rounded-lg shadow-lg flex items-center gap-3",style:{background:"#27ae60"},children:[e.jsx(Ne,{className:"w-6 h-6"}),e.jsx("span",{className:"font-medium",children:"Settings saved!"})]})}),e.jsxs("div",{className:"max-w-6xl mx-auto px-6 py-8 flex gap-8 items-start",children:[e.jsx("aside",{style:{width:200,flexShrink:0},children:e.jsxs("nav",{className:"sticky bg-white rounded-2xl shadow-lg border border-gray-100 overflow-hidden",style:{top:24},children:[e.jsx("div",{className:"px-4 py-3 border-b border-gray-100",style:{background:i},children:e.jsx("p",{className:"text-xs font-bold text-white uppercase tracking-wider",children:"Navigation"})}),e.jsx("ul",{style:{listStyle:"none",margin:0,padding:"8px 0"},children:Te.map(({label:t,id:n,Icon:u})=>e.jsx("li",{children:e.jsxs("button",{onClick:()=>de(n),style:{display:"flex",alignItems:"center",gap:8,width:"100%",padding:"10px 16px",fontSize:13,fontWeight:500,color:"#374151",background:"none",border:"none",cursor:"pointer",textAlign:"left",transition:"background 0.15s, color 0.15s"},onMouseEnter:w=>{w.currentTarget.style.background=Ie,w.currentTarget.style.color=i},onMouseLeave:w=>{w.currentTarget.style.background="",w.currentTarget.style.color="#374151"},children:[e.jsx(u,{style:{width:16,height:16,color:i,flexShrink:0}}),t]})},n))})]})}),e.jsxs("div",{className:"flex-1",style:{paddingBottom:80},children:[e.jsxs("div",{id:"section-general",className:"bg-white rounded-2xl shadow-xl border border-gray-100 overflow-hidden mb-6 transition-all hover:shadow-2xl",children:[e.jsx("div",{className:"px-8 py-6",style:{background:i},children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center",style:{background:f},children:e.jsx(O,{className:"w-7 h-7 text-white"})}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-2xl font-bold text-white",children:"General Settings"}),e.jsx("p",{className:"text-sm mt-1",style:{color:I},children:"Global preferences for all pages"})]})]})}),e.jsxs("div",{className:"p-8",children:[e.jsx("div",{className:"rounded-xl p-6 border-2",style:{background:j,borderColor:p},children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center flex-shrink-0 mt-1",style:{background:f},children:e.jsx(O,{className:"w-6 h-6",style:{color:i}})}),e.jsxs("div",{className:"flex-1 space-y-4",children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"destination-country",className:"block text-sm font-semibold text-gray-800 mb-2",children:"Your Destination Country"}),e.jsx("p",{className:"text-sm text-gray-600 leading-relaxed mb-4",children:"Select your country to display estimated shipping costs in the article table on product pages."}),e.jsxs("select",{id:"destination-country",value:A,onChange:t=>re(t.target.value),className:"w-full max-w-xs rounded-lg border-2 border-gray-300 px-4 py-3 text-sm focus:outline-none transition-all shadow-sm",onFocus:t=>t.target.style.borderColor=i,onBlur:t=>t.target.style.borderColor="",children:[e.jsx("option",{value:"",children:"— Not configured —"}),xe.map(t=>e.jsx("option",{value:String(t.id),children:t.name},t.id))]})]}),e.jsxs("p",{className:"text-xs text-gray-500 flex items-center gap-1",children:[e.jsx(S,{className:"w-4 h-4",style:{color:i}}),"Shipping costs are an estimation based on the destination country and may not reflect actual costs at checkout."]})]})]})}),e.jsx("div",{className:"rounded-xl p-6 border-2 mt-4",style:{background:j,borderColor:p},children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center flex-shrink-0 mt-1",style:{background:f},children:e.jsx(S,{className:"w-6 h-6",style:{color:i}})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("label",{htmlFor:"hide-social-media",className:"block text-sm font-semibold text-gray-800 mb-1",children:"Hide Social Media Buttons"}),e.jsx("p",{className:"text-sm text-gray-600 leading-relaxed mb-4",children:"Remove the social media sharing buttons (Facebook, Twitter, Reddit, Mail) from article pages."}),e.jsxs("div",{className:"flex items-center gap-3 w-fit",children:[e.jsx(M,{id:"hide-social-media",checked:b,onChange:le}),e.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Enable"})]})]})]})}),e.jsx("div",{className:"rounded-xl p-6 border-2 mt-4",style:{background:j,borderColor:p},children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center flex-shrink-0 mt-1",style:{background:f},children:e.jsx(ve,{className:"w-6 h-6",style:{color:i}})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("span",{className:"block text-sm font-semibold text-gray-800 mb-1",children:"Card Images"}),e.jsx("p",{className:"text-sm text-gray-600 leading-relaxed mb-4",children:"Replace the small row icons with the actual card image. Configure it per page — each page also has its own switch right above the list."}),e.jsx("ul",{className:"space-y-2",children:Object.values($).map(t=>e.jsxs("li",{className:"flex items-center justify-between gap-3 rounded-lg border bg-white px-4 py-3",style:{borderColor:p},children:[e.jsx("span",{className:"text-sm text-gray-800",children:Ce[t]}),e.jsx(M,{id:`card-images-${t}`,checked:Ee(m,t),onChange:n=>ne(t,n)})]},t))})]})]})}),e.jsx("div",{id:"section-extra-filters",className:"rounded-xl p-6 border-2 mt-4 scroll-mt-6",style:{background:j,borderColor:p},children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center flex-shrink-0 mt-1",style:{background:f},children:e.jsx(K,{className:"w-6 h-6",style:{color:i}})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("span",{className:"block text-sm font-semibold text-gray-800 mb-1",children:"Instant Extras Filter"}),e.jsx("p",{className:"text-sm text-gray-600 leading-relaxed mb-4",children:"Ticking one of these in the sell form filters the offer list to matching articles right away, so the price you see is the one for that variant. Switch one off and the extension leaves that checkbox alone entirely: it neither re-filters the list nor ticks the box back on for you when the list is already filtered. Changes apply the next time a product page loads."}),e.jsx("ul",{className:"space-y-2",children:Se.map(t=>e.jsxs("li",{className:"flex items-center justify-between gap-3 rounded-lg border bg-white px-4 py-3",style:{borderColor:p},children:[e.jsx("span",{className:"text-sm text-gray-800",children:Ae[t]}),e.jsx(M,{id:`extra-filter-${t}`,checked:ke(D,t),onChange:n=>ie(t,n)})]},t))})]})]})})]})]}),e.jsxs("div",{id:"section-pro",className:"bg-white rounded-2xl shadow-xl border border-gray-100 overflow-hidden mb-6 transition-all hover:shadow-2xl",children:[e.jsx("div",{className:"px-8 py-6",style:{background:i},children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center",style:{background:f},children:e.jsx(q,{className:"w-7 h-7 text-white"})}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-2xl font-bold text-white",children:"Price Adjustment"}),e.jsx("p",{className:"text-sm mt-1",style:{color:I},children:"Shift your price relative to each mode's reference price"})]})]})}),e.jsxs("div",{className:"p-8 space-y-6",children:[e.jsx("div",{className:"rounded-xl p-6 border-2",style:{background:j,borderColor:p},children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center flex-shrink-0 mt-1",style:{background:f},children:e.jsx(K,{className:"w-6 h-6",style:{color:i}})}),e.jsxs("div",{className:"flex-1 space-y-4",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-semibold text-gray-800 mb-2",children:"Price Adjustment (global default)"}),e.jsxs("p",{className:"text-sm text-gray-600 leading-relaxed mb-4",children:["Shift your price relative to the reference price of the selected mode. Use a negative value to undercut (e.g. −5 = 5% cheaper), a positive value to sell above it. ",e.jsx("br",{}),e.jsx("b",{children:"Any pricing mode can override this."})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[e.jsxs("label",{className:`relative flex items-center gap-3 p-4 border-2 rounded-lg cursor-pointer transition-all bg-white ${a==="amount"?"shadow-md":"border-gray-300 hover:border-gray-400"}`,style:a==="amount"?{borderColor:i}:{},children:[e.jsx("input",{type:"radio",name:"reduction-type",value:"amount",checked:a==="amount",onChange:()=>H("amount"),className:"w-5 h-5",style:{accentColor:i}}),e.jsxs("div",{children:[e.jsx("span",{className:"text-sm font-semibold text-gray-800",children:"Fixed Amount"}),e.jsx("p",{className:"text-xs text-gray-500",children:"Shift by euros (±)"})]})]}),e.jsxs("label",{className:`relative flex items-center gap-3 p-4 border-2 rounded-lg cursor-pointer transition-all bg-white ${a==="percentage"?"shadow-md":"border-gray-300 hover:border-gray-400"}`,style:a==="percentage"?{borderColor:i}:{},children:[e.jsx("input",{type:"radio",name:"reduction-type",value:"percentage",checked:a==="percentage",onChange:()=>H("percentage"),className:"w-5 h-5",style:{accentColor:i}}),e.jsxs("div",{children:[e.jsx("span",{className:"text-sm font-semibold text-gray-800",children:"Percentage"}),e.jsx("p",{className:"text-xs text-gray-500",children:"Shift by % (±)"})]})]})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-semibold text-gray-800 mb-2",children:"Adjustment Value"}),e.jsxs("div",{className:"relative flex-1 max-w-xs",children:[e.jsx("input",{type:"text",inputMode:"decimal",value:r,onChange:t=>ae(t.target.value),placeholder:a==="percentage"?"e.g., -5":"e.g., -0.50",pattern:"-?[0-9]*[.,]?[0-9]*",className:"w-full rounded-lg border-2 border-gray-300 pl-4 pr-12 py-3 text-sm focus:outline-none transition-all shadow-sm",onFocus:t=>t.target.style.borderColor=i,onBlur:t=>t.target.style.borderColor=""}),e.jsx("span",{className:"absolute right-4 top-1/2 -translate-y-1/2 text-lg font-semibold",style:{color:i},children:a==="percentage"?"%":"€"})]}),e.jsxs("p",{className:"text-xs text-gray-500 mt-2 flex items-center gap-1",children:[e.jsx(S,{className:"w-4 h-4",style:{color:i}}),"Negative = cheaper than the reference, positive = more expensive."]})]}),e.jsxs("div",{className:"pt-4 border-t",style:{borderColor:p},children:[e.jsx("label",{className:"block text-sm font-semibold text-gray-800 mb-2",children:"Minimum Price"}),e.jsxs("div",{className:"relative flex-1 max-w-xs",children:[e.jsx("input",{type:"text",inputMode:"decimal",value:h,onChange:t=>se(t.target.value),placeholder:"e.g., 0.50",pattern:"[0-9]*[.,]?[0-9]*",className:"w-full rounded-lg border-2 border-gray-300 pl-4 pr-12 py-3 text-sm focus:outline-none transition-all shadow-sm",onFocus:t=>t.target.style.borderColor=i,onBlur:t=>t.target.style.borderColor=""}),e.jsx("span",{className:"absolute right-4 top-1/2 -translate-y-1/2 text-lg font-semibold",style:{color:i},children:"€"})]}),e.jsxs("p",{className:"text-xs text-gray-500 mt-2 flex items-center gap-1",children:[e.jsx(S,{className:"w-4 h-4",style:{color:i}}),"Prevent negative prices by setting a minimum threshold (synced with popup)"]})]})]})]})}),e.jsxs("details",{className:"rounded-xl border-2",style:{background:j,borderColor:p},children:[e.jsx("summary",{className:"cursor-pointer select-none p-5 text-sm font-semibold text-gray-800",children:"Fine-tune per mode (optional)"}),e.jsxs("div",{className:"px-6 pb-6 space-y-4",children:[e.jsx("p",{className:"text-xs text-gray-500",children:"Each mode falls back to the global default above unless you set a custom offset here."}),[{mode:"pro",label:"Pro Mode — cheapest commercial price"},{mode:"trend",label:"Trend — average price"},{mode:"first",label:"First price — lowest listing"},{mode:"avg",label:"Average — mean of listings"}].map(({mode:t,label:n})=>e.jsxs("div",{className:"rounded-lg border p-4 bg-white",style:{borderColor:p},children:[e.jsx("div",{className:"text-sm font-semibold text-gray-800 mb-2",children:n}),e.jsx(we,{mode:t})]},t))]})]})]})]}),e.jsxs("div",{id:"section-comments",className:"bg-white rounded-2xl shadow-xl border border-gray-100 overflow-hidden mb-6 transition-all hover:shadow-2xl",children:[e.jsx("div",{className:"px-8 py-6",style:{background:i},children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center",style:{background:f},children:e.jsx(Y,{className:"w-7 h-7 text-white"})}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-2xl font-bold text-white",children:"Comment Templates"}),e.jsx("p",{className:"text-sm mt-1",style:{color:I},children:"Predefined comments selectable on product pages"})]})]})}),e.jsxs("div",{className:"p-8 space-y-4",children:[e.jsxs("ul",{className:"space-y-2",children:[e.jsxs("li",{className:"flex items-center justify-between gap-3 rounded-lg border border-gray-200 px-4 py-3 bg-gray-50",children:[e.jsx("span",{className:"text-sm text-gray-800 flex-1 break-words",children:V}),e.jsx("span",{className:"flex-shrink-0 text-xs text-gray-400 italic",children:"default"})]}),E.length===0?null:E.map((t,n)=>e.jsxs("li",{className:"flex items-center justify-between gap-3 rounded-lg border border-gray-200 px-4 py-3 bg-gray-50",children:[e.jsx("span",{className:"text-sm text-gray-800 flex-1 break-words",children:t}),e.jsx("button",{onClick:()=>oe(n),title:"Remove template",className:"flex-shrink-0 text-red-400 hover:text-red-600 transition-colors text-lg font-bold leading-none",children:"✕"})]},n))]}),e.jsxs("div",{className:"rounded-xl p-5 border-2",style:{background:j,borderColor:p},children:[e.jsx("label",{className:"block text-sm font-semibold text-gray-800 mb-2",children:"New Template"}),e.jsx("textarea",{ref:te,value:k,onChange:t=>B(t.target.value),onKeyDown:t=>{t.key==="Enter"&&(t.ctrlKey||t.metaKey)&&U()},rows:3,placeholder:"Type a comment template…",className:"w-full rounded-lg border-2 border-gray-300 px-4 py-3 text-sm focus:outline-none transition-all shadow-sm resize-none",onFocus:t=>t.target.style.borderColor=i,onBlur:t=>t.target.style.borderColor=""}),e.jsxs("div",{className:"flex items-center justify-between mt-3",children:[e.jsx("p",{className:"text-xs text-gray-500",children:"Ctrl+Enter to add quickly"}),e.jsx("button",{onClick:U,disabled:!k.trim()||k.trim()===V||E.includes(k.trim()),className:"px-5 py-2 text-white text-sm font-semibold rounded-lg shadow-sm transition-all disabled:opacity-40 disabled:cursor-not-allowed",style:{background:i},onMouseEnter:t=>{t.target.disabled||(t.target.style.background=_e)},onMouseLeave:t=>{t.target.style.background=i},children:"Add Template"})]})]})]})]}),e.jsxs("div",{id:"section-messages",className:"bg-white rounded-2xl shadow-xl border border-gray-100 overflow-hidden mb-6 transition-all hover:shadow-2xl",children:[e.jsx("div",{className:"px-8 py-6",style:{background:i},children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center",style:{background:f},children:e.jsx(P,{className:"w-7 h-7 text-white"})}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-2xl font-bold text-white",children:"Messages"}),e.jsx("p",{className:"text-sm mt-1",style:{color:I},children:"Personalise your outgoing messages"})]})]})}),e.jsx("div",{className:"p-8",children:e.jsx("div",{className:"rounded-xl p-6 border-2",style:{background:j,borderColor:p},children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center flex-shrink-0 mt-1",style:{background:f},children:e.jsx(P,{className:"w-6 h-6",style:{color:i}})}),e.jsxs("div",{className:"flex-1 space-y-4",children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"message-signature",className:"block text-sm font-semibold text-gray-800 mb-2",children:"Message Signature"}),e.jsx("p",{className:"text-sm text-gray-600 leading-relaxed mb-4",children:"This text will be automatically appended to every message you compose. Leave it empty to disable."}),e.jsx("textarea",{id:"message-signature",rows:4,value:Q,onChange:t=>ce(t.target.value),placeholder:`e.g.
Best regards,
Your Name`,className:"w-full rounded-lg border-2 border-gray-300 px-4 py-3 text-sm focus:outline-none transition-all shadow-sm resize-y font-mono",onFocus:a=>a.target.style.borderColor=n,onBlur:a=>a.target.style.borderColor=""})]}),e.jsxs("p",{className:"text-xs text-gray-500 flex items-center gap-1",children:[e.jsx(E,{className:"w-4 h-4",style:{color:n}}),"The signature is placed at the bottom of the message with 3 blank lines of spacing."]})]})]})})})]})]})]}),e.jsx("div",{style:{position:"fixed",bottom:0,left:0,right:0,zIndex:40,background:"white",borderTop:"1px solid #e5e7eb",boxShadow:"0 -4px 12px rgba(0,0,0,0.06)"},children:e.jsxs("div",{className:"max-w-6xl mx-auto px-6 py-4 flex gap-4 items-center justify-between",children:[e.jsxs("div",{className:"flex gap-4 items-center",children:[e.jsx("div",{className:"w-9 h-9 rounded-lg flex items-center justify-center flex-shrink-0",style:{background:"#e6e8fd"},children:e.jsx(E,{className:"w-6 h-6",style:{color:"#5865F2"}})}),e.jsxs("div",{children:[e.jsx("p",{className:"font-semibold text-gray-800 text-sm",children:"Feedback, ideas or questions?"}),e.jsx("p",{className:"text-xs text-gray-500",children:"Join the community and talk to us directly"})]})]}),e.jsx(oe,{})]})})]})}function Ae(){const t=document.querySelector("#__root");if(!t)throw new Error("Can't find Options root element");ie.createRoot(t).render(e.jsx(Ee,{}))}Ae();
Your Name`,className:"w-full rounded-lg border-2 border-gray-300 px-4 py-3 text-sm focus:outline-none transition-all shadow-sm resize-y font-mono",onFocus:t=>t.target.style.borderColor=i,onBlur:t=>t.target.style.borderColor=""})]}),e.jsxs("p",{className:"text-xs text-gray-500 flex items-center gap-1",children:[e.jsx(S,{className:"w-4 h-4",style:{color:i}}),"The signature is placed at the bottom of the message with 3 blank lines of spacing."]})]})]})})})]})]})]}),e.jsx("div",{style:{position:"fixed",bottom:0,left:0,right:0,zIndex:40,background:"white",borderTop:"1px solid #e5e7eb",boxShadow:"0 -4px 12px rgba(0,0,0,0.06)"},children:e.jsxs("div",{className:"max-w-6xl mx-auto px-6 py-4 flex gap-4 items-center justify-between",children:[e.jsxs("div",{className:"flex gap-4 items-center",children:[e.jsx("div",{className:"w-9 h-9 rounded-lg flex items-center justify-center flex-shrink-0",style:{background:"#e6e8fd"},children:e.jsx(S,{className:"w-6 h-6",style:{color:"#5865F2"}})}),e.jsxs("div",{children:[e.jsx("p",{className:"font-semibold text-gray-800 text-sm",children:"Feedback, ideas or questions?"}),e.jsx("p",{className:"text-xs text-gray-500",children:"Join the community and talk to us directly"})]})]}),e.jsx(he,{})]})})]})}function Me(){const a=document.querySelector("#__root");if(!a)throw new Error("Can't find Options root element");me.createRoot(a).render(e.jsx(Re,{}))}Me();

@@ -8,4 +8,4 @@ <!doctype html>

<link rel="modulepreload" crossorigin href="/assets/client-DHAoYkl4.js">
<link rel="modulepreload" crossorigin href="/assets/DiscordButton-Co4YLeGX.js">
<link rel="stylesheet" crossorigin href="/assets/popup-5Uykh8jg.css">
<link rel="modulepreload" crossorigin href="/assets/DiscordButton-DbjKlcMD.js">
<link rel="stylesheet" crossorigin href="/assets/popup-DvwuL7-w.css">
</head>

@@ -12,0 +12,0 @@

@@ -1,2 +0,2 @@

import{j as l,c as $}from"../../../assets/client-DHAoYkl4.js";import{r as S,L as w,R as V,D as q,d as X,a as U,b as J}from"../../../assets/DiscordButton-Co4YLeGX.js";function O(r){const g=h=>{if(h.key==="Enter"||h.key===" "){h.preventDefault();const v=document.getElementById(r.id);v&&v.click()}};return l.jsxs("div",{children:[l.jsx("input",{id:r.id,className:"peer hidden",type:"radio",name:"trend-price",value:r.value,checked:r.selectedValue===r.value,onChange:()=>r.valueChange(r.value)}),l.jsx("label",{htmlFor:r.id,role:"button",tabIndex:0,onKeyDown:g,className:"block cursor-pointer select-none rounded-md p-2 text-center peer-checked:bg-blue-950 peer-checked:text-white w-12",children:r.label})]})}var j=(r=>(r.TREND_PRICE_1_DAY="trendPrice1Day",r.TREND_PRICE_7_DAY="trendPrice7Day",r.TREND_PRICE_30_DAY="trendPrice30Day",r))(j||{}),C=(r=>(r.EN="en",r.DE="de",r.FR="fr",r.ES="es",r.IT="it",r.JP="jp",r.CN="cn",r.PT="pt",r.RU="ru",r.KR="kr",r.TW="tw",r))(C||{}),A;(r=>{function g(p){switch(p){case"1":return C.EN;case"2":return C.FR;case"3":return C.DE;case"4":return C.ES;case"5":return C.IT;case"6":return C.CN;case"7":return C.JP;case"8":return C.PT;case"9":return C.RU;case"10":return C.KR;case"11":return C.TW;default:return C.EN}}r.getLanguageVersionFromId=g;function h(){return location.pathname.split("/")[1]??C.EN}r.getLanguage=h;function v(p){return`https://flagcdn.com/${p===C.EN?"gb":p}.svg`}r.getFlagUrl=v;function _(){return document.getElementById("account-dropdown")!==null}r.isUserConnected=_;function N(){return"https://addons.mozilla.org/en-CA/android/addon/cardmarket-companion"}r.getRatingUrl=N;function k(p){const m=document.querySelectorAll(p);return Array.from(m).filter(I=>I instanceof HTMLElement)}r.selectAllBySelector=k;function R(){return"https://docs.google.com/forms/d/e/1FAIpQLSeEiv-JxkFAsD_To7SPBu7LRDGFb-aceu3cyYQqv5hQSZDLUQ/viewform?usp=publish-editor"}r.getGoogleFormUrl=R})(A||(A={}));function G(r){if(!r||!Number.isFinite(r.value)||r.value===0)return"none";const g=r.value>0?"+":"";return r.type==="percentage"?`${g}${r.value}%`:`${g}${r.value} €`}function K(r,g,h){return(h==null?void 0:h[r])??g??null}function Y({mode:r}){const[g,h]=S.useState(null),[v,_]=S.useState({});S.useEffect(()=>{function R(){chrome.storage.local.get([w.PRICE_ADJUSTMENT_GLOBAL,w.PRICE_ADJUSTMENT_OVERRIDES],p=>{h(p[w.PRICE_ADJUSTMENT_GLOBAL]??null),_(p[w.PRICE_ADJUSTMENT_OVERRIDES]??{})})}return R(),chrome.storage.onChanged.addListener(R),()=>chrome.storage.onChanged.removeListener(R)},[]);const N=v[r]!=null,k=K(r,g,v);return l.jsxs("div",{style:{display:"flex",alignItems:"center",flexWrap:"wrap",justifyContent:"space-between",gap:"0.4rem",marginTop:"0.4rem",fontSize:"0.8rem"},children:[l.jsxs("span",{children:["Price offset:"," ",l.jsxs("strong",{style:{color:N?"#1976d2":"#555"},children:[G(k)," (",N?"custom":"global",")"]})]}),l.jsx("button",{onClick:()=>chrome.runtime.sendMessage({action:"openOptions"}),style:{fontSize:"0.75rem",color:"#1976d2",textDecoration:"underline",cursor:"pointer",background:"none",border:"none",padding:0},children:"Configure in Settings"})]})}function Q({onModeChange:r,onTrendChange:g}){const[h,v]=S.useState("trend"),[_,N]=S.useState(j.TREND_PRICE_7_DAY);S.useEffect(()=>{chrome.storage.local.get([w.PRICE_MODE,w.TREND],p=>{const m=p.priceMode??"trend",I=p.trend??j.TREND_PRICE_7_DAY;v(m),N(I)})},[]);const k=p=>{const m=p.target.value;v(m),r(m)},R=p=>{const m=p.target.value;N(m),g(m)};return l.jsxs("div",{id:"injected-mode-selector",className:"form-group",style:{border:"1px solid var(--bs-highlight-color)",borderRadius:"0.25rem",marginBottom:"1rem",padding:"0.5rem"},children:[l.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem"},children:[l.jsx("label",{htmlFor:"price-mode-select-injected",className:"col-form-label col-form-label-sm",style:{fontWeight:"bold",marginBottom:0,whiteSpace:"nowrap"},children:"Pricing Mode"}),l.jsxs("select",{id:"price-mode-select-injected",className:"form-select form-select-sm",value:h,onChange:k,style:{flex:1},children:[l.jsx("option",{value:"first",children:"First price"}),l.jsx("option",{value:"trend",children:"Trend"}),l.jsx("option",{value:"avg",children:"Average (all cards)"}),l.jsx("option",{value:"pro",children:"Pro Mode"})]})]}),h==="trend"&&l.jsxs("div",{id:"trend-selector-container",style:{marginTop:"0.5rem",justifySelf:"center"},children:[l.jsx("label",{style:{fontSize:"0.875rem",display:"block",marginBottom:"0.25rem"},children:"Trend to use:"}),l.jsx("div",{style:{display:"flex",gap:"0.5rem"},children:[{value:j.TREND_PRICE_1_DAY,label:"1d"},{value:j.TREND_PRICE_7_DAY,label:"7d"},{value:j.TREND_PRICE_30_DAY,label:"30d"}].map(p=>l.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[l.jsx("input",{type:"radio",name:"trend-price-injected",value:p.value,id:`trend-${p.value}-injected`,className:"form-check-input",checked:_===p.value,onChange:R,style:{marginRight:"0.25rem"}}),l.jsx("label",{htmlFor:`trend-${p.value}-injected`,className:"form-check-label",style:{fontSize:"0.875rem",cursor:"pointer"},children:p.label})]},p.value))})]}),l.jsx(Y,{mode:h})]})}var z;(r=>{let g=null;function h(o,s,d){const i=document.querySelector(o);if(!i)return;const e=i.querySelector(":scope > div");if(!e)return;const t=Array.from(e.children);if(t.length<2)return;const n=t[1],a=document.querySelector("#mode-selector-react-root");a&&(g&&(g.unmount(),g=null),a.remove());const c=document.createElement("div");c.id="mode-selector-react-root",n.firstChild?n.insertBefore(c,n.firstChild):n.appendChild(c),g=$.createRoot(c),g.render(V.createElement(Q,{onModeChange:s,onTrendChange:d}))}r.injectModeSelectorReact=h;function v(o,s,d,i="before"){const e=document.querySelector(s),t=document.querySelector(`#${o.id}`);t&&t.remove();const n=document.createElement("div");n.id=o.id,n.className=`form-group row ${d??""}`,n.style.border="1px solid var(--bs-highlight-color)",n.style.borderRadius="0.25rem";const a=document.createElement("label");a.textContent="Selling summary",a.className="col-form-label col-form-label-sm col col-md-5 col-xl-4",n.appendChild(a);const c=document.createElement("div");c.className="col col-md-7 col-xl-8 d-flex flex-wrap justify-content-between align-items-center",n.appendChild(c);const y=document.createElement("span");y.className="text-align-right",y.textContent=`${o.itemNumber}x`;const E=document.createElement("img");E.src=o.flagUrl,E.width=18,E.alt="Flag";const x=document.createElement("a");x.className=`article-condition condition-${o.condition.toLowerCase()} me-1`,x.style.display="flex",x.href="https://help.cardmarket.com/en/CardCondition",x.target="_blank",x.style.cursor="pointer";const M=document.createElement("span");M.className="badge",M.textContent=o.condition,x.appendChild(M);const u=document.createElement("span");u.textContent=o.price+"€",u.className="text-align-right";const D=document.createElement("span");D.className="justify-content-center align-items-center",D.style.display="flex",D.textContent=o.isFoil?"⭐️":"",D.style.width="18px",D.style.height="18px";const P=new URLSearchParams(window.location.search).get("isFoil");let f;P==="Y"&&!o.isFoil?(f=document.createElement("span"),f.textContent="⚠️ Price based on foil, please remove foil filter"):(P==="N"||!P)&&o.isFoil&&(f=document.createElement("span"),f.textContent="⚠️ Price based on non-foil, please add foil filter"),f&&(f.style.fontSize="0.8rem",f.style.textAlign="right",n.appendChild(f)),c.appendChild(y),c.appendChild(x),c.appendChild(E),c.appendChild(D),c.appendChild(u),i==="before"?e==null||e.before(n):e==null||e.after(n)}r.injectSellingSummary=v;function _(o,s){const d="inject-selling-metrics-overlay",i=document.querySelector(`#${d}`);i&&i.remove();const e=document.createElement("div");e.id=d,e.className="border rounded border-1",e.style.position="fixed",e.style.top="94px",e.style.right="4px",e.style.width="124px",e.style.height="auto",e.style.backgroundColor="var(--bs-body-bg)",e.style.color="var(--bs-body-color)",e.style.borderColor="var(--bs-body-color)",e.style.zIndex="9998",e.style.overflowY="auto",e.style.overflowX="hidden",e.style.padding="8px",e.style.boxShadow="0 4px 8px rgba(0, 0, 0, 0.2)";const t=document.createElement("p");t.textContent="Session total",t.style.fontWeight="bold",t.style.marginBottom="0.25rem",t.style.textAlign="center",e.appendChild(t),r.injectLabelValueItem({name:"🃏 ",title:"Total items"},`${o.totalItems}`,e,{label:"1.25rem",value:"0.8rem"},"mb-1"),r.injectLabelValueItem({name:"💰",title:"Total value"},`${o.totalValue.toFixed(2)}€`,e,{label:"1.25rem",value:"0.8rem"},"mb-1");const n=document.createElement("a");n.textContent="Reset",n.style.display="flex",n.style.justifyContent="center",n.style.color="var(--bs-danger-color)",n.style.cursor="pointer",n.style.fontSize="0.8rem",n.style.marginTop="0.1rem",n.style.textDecoration="underline",n.addEventListener("click",()=>{s()}),e.appendChild(n);const a=document.createElement("div");a.style.display="flex",a.style.alignItems="center",a.style.justifyContent="center",a.style.padding="4px",a.style.marginTop="6px",e.appendChild(a),k(a,{text:"Support",size:"tiny"}),document.body.appendChild(e)}r.injectSellingMetricsOverlay=_;function N(o,s,d,i,e){const t=document.createElement("div");t.className=`d-flex justify-content-between align-items-center ${e??""}`;const n=document.createElement("span");n.textContent=o.name,n.title=o.title,n.style.fontSize=(i==null?void 0:i.label)??"1rem",n.style.textOverflow="ellipsis",n.style.overflow="hidden",n.style.whiteSpace="nowrap";const a=document.createElement("span");a.textContent=s,a.style.fontSize=(i==null?void 0:i.value)??"1rem",a.style.fontWeight="bold",a.style.textOverflow="ellipsis",a.style.overflow="hidden",a.style.whiteSpace="nowrap",t.appendChild(n),t.appendChild(a),d.appendChild(t)}r.injectLabelValueItem=N;function k(o,s){const d=(s==null?void 0:s.url)??"https://buymeacoffee.com/zagoadev",i=(s==null?void 0:s.text)??"Buy me a coffee",e=(s==null?void 0:s.size)??"normal",t=document.createElement("a");t.href=d,t.target="_blank",t.rel="noopener noreferrer",t.role="button",t.className=(s==null?void 0:s.className)??"",t.setAttribute("aria-label",(s==null?void 0:s.ariaLabel)??i),t.title=(s==null?void 0:s.ariaLabel)??i,t.style.display="inline-flex",t.style.alignItems="center",t.style.gap="8px",t.style.textDecoration="none",t.style.border="none",t.style.cursor="pointer",t.style.borderRadius="6px",t.style.backgroundColor="#FFDD00",t.style.color="#000",t.style.boxShadow="0 2px 6px rgba(0,0,0,0.12)",t.style.transition="transform 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease",t.style.padding=e==="tiny"?"4px":"6px 12px",t.style.fontSize=e==="tiny"?"8px":"12px",t.style.fontWeight="600",t.style.lineHeight="1";const n=document.createElement("span");n.setAttribute("aria-hidden","true"),n.style.display="inline-flex",n.style.alignItems="center",n.style.justifyContent="center";const a=e==="tiny"?12:16;n.innerHTML=`
import{j as l,c as $}from"../../../assets/client-DHAoYkl4.js";import{r as D,L as C,R as V,D as q,d as X,a as U,b as J}from"../../../assets/DiscordButton-DbjKlcMD.js";function O(r){const g=h=>{if(h.key==="Enter"||h.key===" "){h.preventDefault();const f=document.getElementById(r.id);f&&f.click()}};return l.jsxs("div",{children:[l.jsx("input",{id:r.id,className:"peer hidden",type:"radio",name:"trend-price",value:r.value,checked:r.selectedValue===r.value,onChange:()=>r.valueChange(r.value)}),l.jsx("label",{htmlFor:r.id,role:"button",tabIndex:0,onKeyDown:g,className:"block cursor-pointer select-none rounded-md p-2 text-center peer-checked:bg-blue-950 peer-checked:text-white w-12",children:r.label})]})}var k=(r=>(r.TREND_PRICE_1_DAY="trendPrice1Day",r.TREND_PRICE_7_DAY="trendPrice7Day",r.TREND_PRICE_30_DAY="trendPrice30Day",r))(k||{}),E=(r=>(r.EN="en",r.DE="de",r.FR="fr",r.ES="es",r.IT="it",r.JP="jp",r.CN="cn",r.PT="pt",r.RU="ru",r.KR="kr",r.TW="tw",r))(E||{}),F;(r=>{function g(p){switch(p){case"1":return E.EN;case"2":return E.FR;case"3":return E.DE;case"4":return E.ES;case"5":return E.IT;case"6":return E.CN;case"7":return E.JP;case"8":return E.PT;case"9":return E.RU;case"10":return E.KR;case"11":return E.TW;default:return E.EN}}r.getLanguageVersionFromId=g;function h(){return location.pathname.split("/")[1]??E.EN}r.getLanguage=h;function f(p){return`https://flagcdn.com/${p===E.EN?"gb":p}.svg`}r.getFlagUrl=f;function S(){return document.getElementById("account-dropdown")!==null}r.isUserConnected=S;function j(){return"https://addons.mozilla.org/en-CA/android/addon/cardmarket-companion"}r.getRatingUrl=j;function w(p){const m=document.querySelectorAll(p);return Array.from(m).filter(_=>_ instanceof HTMLElement)}r.selectAllBySelector=w;function N(){return"https://docs.google.com/forms/d/e/1FAIpQLSeEiv-JxkFAsD_To7SPBu7LRDGFb-aceu3cyYQqv5hQSZDLUQ/viewform?usp=publish-editor"}r.getGoogleFormUrl=N})(F||(F={}));function G(r){if(!r||!Number.isFinite(r.value)||r.value===0)return"none";const g=r.value>0?"+":"";return r.type==="percentage"?`${g}${r.value}%`:`${g}${r.value} €`}function K(r,g,h){return(h==null?void 0:h[r])??g??null}function Y({mode:r}){const[g,h]=D.useState(null),[f,S]=D.useState({});D.useEffect(()=>{function N(){chrome.storage.local.get([C.PRICE_ADJUSTMENT_GLOBAL,C.PRICE_ADJUSTMENT_OVERRIDES],p=>{h(p[C.PRICE_ADJUSTMENT_GLOBAL]??null),S(p[C.PRICE_ADJUSTMENT_OVERRIDES]??{})})}return N(),chrome.storage.onChanged.addListener(N),()=>chrome.storage.onChanged.removeListener(N)},[]);const j=f[r]!=null,w=K(r,g,f);return l.jsxs("div",{style:{display:"flex",alignItems:"center",flexWrap:"wrap",justifyContent:"space-between",gap:"0.4rem",marginTop:"0.4rem",fontSize:"0.8rem"},children:[l.jsxs("span",{children:["Price offset:"," ",l.jsxs("strong",{style:{color:j?"#1976d2":"#555"},children:[G(w)," (",j?"custom":"global",")"]})]}),l.jsx("button",{onClick:()=>chrome.runtime.sendMessage({action:"openOptions",section:"section-pro"}),style:{fontSize:"0.75rem",color:"#1976d2",textDecoration:"underline",cursor:"pointer",background:"none",border:"none",padding:0},children:"Configure in Settings"})]})}function Q({onModeChange:r,onTrendChange:g}){const[h,f]=D.useState("trend"),[S,j]=D.useState(k.TREND_PRICE_7_DAY);D.useEffect(()=>{chrome.storage.local.get([C.PRICE_MODE,C.TREND],p=>{const m=p.priceMode??"trend",_=p.trend??k.TREND_PRICE_7_DAY;f(m),j(_)})},[]);const w=p=>{const m=p.target.value;f(m),r(m)},N=p=>{const m=p.target.value;j(m),g(m)};return l.jsxs("div",{id:"injected-mode-selector",className:"form-group",style:{border:"1px solid var(--bs-highlight-color)",borderRadius:"0.25rem",marginBottom:"1rem",padding:"0.5rem"},children:[l.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem"},children:[l.jsx("label",{htmlFor:"price-mode-select-injected",className:"col-form-label col-form-label-sm",style:{fontWeight:"bold",marginBottom:0,whiteSpace:"nowrap"},children:"Pricing Mode"}),l.jsxs("select",{id:"price-mode-select-injected",className:"form-select form-select-sm",value:h,onChange:w,style:{flex:1},children:[l.jsx("option",{value:"first",children:"First price"}),l.jsx("option",{value:"trend",children:"Trend"}),l.jsx("option",{value:"avg",children:"Average (all cards)"}),l.jsx("option",{value:"pro",children:"Pro Mode"})]})]}),h==="trend"&&l.jsxs("div",{id:"trend-selector-container",style:{marginTop:"0.5rem",justifySelf:"center"},children:[l.jsx("label",{style:{fontSize:"0.875rem",display:"block",marginBottom:"0.25rem"},children:"Trend to use:"}),l.jsx("div",{style:{display:"flex",gap:"0.5rem"},children:[{value:k.TREND_PRICE_1_DAY,label:"1d"},{value:k.TREND_PRICE_7_DAY,label:"7d"},{value:k.TREND_PRICE_30_DAY,label:"30d"}].map(p=>l.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[l.jsx("input",{type:"radio",name:"trend-price-injected",value:p.value,id:`trend-${p.value}-injected`,className:"form-check-input",checked:S===p.value,onChange:N,style:{marginRight:"0.25rem"}}),l.jsx("label",{htmlFor:`trend-${p.value}-injected`,className:"form-check-label",style:{fontSize:"0.875rem",cursor:"pointer"},children:p.label})]},p.value))})]}),l.jsx(Y,{mode:h})]})}var z;(r=>{let g=null;function h(s,o,d){const i=document.querySelector(s);if(!i)return;const e=i.querySelector(":scope > div");if(!e)return;const t=Array.from(e.children);if(t.length<2)return;const n=t[1],a=document.querySelector("#mode-selector-react-root");a&&(g&&(g.unmount(),g=null),a.remove());const c=document.createElement("div");c.id="mode-selector-react-root",n.firstChild?n.insertBefore(c,n.firstChild):n.appendChild(c),g=$.createRoot(c),g.render(V.createElement(Q,{onModeChange:o,onTrendChange:d}))}r.injectModeSelectorReact=h;function f(s,o,d,i="before"){const e=document.querySelector(o),t=document.querySelector(`#${s.id}`);t&&t.remove();const n=document.createElement("div");n.id=s.id,n.className=`form-group row ${d??""}`,n.style.border="1px solid var(--bs-highlight-color)",n.style.borderRadius="0.25rem";const a=document.createElement("label");a.textContent="Selling summary",a.className="col-form-label col-form-label-sm col col-md-5 col-xl-4",n.appendChild(a);const c=document.createElement("div");c.className="col col-md-7 col-xl-8 d-flex flex-wrap justify-content-between align-items-center",n.appendChild(c);const y=document.createElement("span");y.className="text-align-right",y.textContent=`${s.itemNumber}x`;const v=document.createElement("img");v.src=s.flagUrl,v.width=18,v.alt="Flag";const x=document.createElement("a");x.className=`article-condition condition-${s.condition.toLowerCase()} me-1`,x.style.display="flex",x.href="https://help.cardmarket.com/en/CardCondition",x.target="_blank",x.style.cursor="pointer";const I=document.createElement("span");I.className="badge",I.textContent=s.condition,x.appendChild(I);const u=document.createElement("span");u.textContent=s.price+"€",u.className="text-align-right";const T=document.createElement("span");T.className="justify-content-center align-items-center",T.style.display="flex",T.textContent=s.isFoil?"⭐️":"",T.style.width="18px",T.style.height="18px",c.appendChild(y),c.appendChild(x),c.appendChild(v),c.appendChild(T),c.appendChild(u),i==="before"?e==null||e.before(n):e==null||e.after(n)}r.injectSellingSummary=f;function S(s,o){const d="inject-selling-metrics-overlay",i=document.querySelector(`#${d}`);i&&i.remove();const e=document.createElement("div");e.id=d,e.className="border rounded border-1",e.style.position="fixed",e.style.top="94px",e.style.right="4px",e.style.width="124px",e.style.height="auto",e.style.backgroundColor="var(--bs-body-bg)",e.style.color="var(--bs-body-color)",e.style.borderColor="var(--bs-body-color)",e.style.zIndex="9998",e.style.overflowY="auto",e.style.overflowX="hidden",e.style.padding="8px",e.style.boxShadow="0 4px 8px rgba(0, 0, 0, 0.2)";const t=document.createElement("p");t.textContent="Session total",t.style.fontWeight="bold",t.style.marginBottom="0.25rem",t.style.textAlign="center",e.appendChild(t),r.injectLabelValueItem({name:"🃏 ",title:"Total items"},`${s.totalItems}`,e,{label:"1.25rem",value:"0.8rem"},"mb-1"),r.injectLabelValueItem({name:"💰",title:"Total value"},`${s.totalValue.toFixed(2)}€`,e,{label:"1.25rem",value:"0.8rem"},"mb-1");const n=document.createElement("a");n.textContent="Reset",n.style.display="flex",n.style.justifyContent="center",n.style.color="var(--bs-danger-color)",n.style.cursor="pointer",n.style.fontSize="0.8rem",n.style.marginTop="0.1rem",n.style.textDecoration="underline",n.addEventListener("click",()=>{o()}),e.appendChild(n);const a=document.createElement("div");a.style.display="flex",a.style.alignItems="center",a.style.justifyContent="center",a.style.padding="4px",a.style.marginTop="6px",e.appendChild(a),w(a,{text:"Support",size:"tiny"}),document.body.appendChild(e)}r.injectSellingMetricsOverlay=S;function j(s,o,d,i,e){const t=document.createElement("div");t.className=`d-flex justify-content-between align-items-center ${e??""}`;const n=document.createElement("span");n.textContent=s.name,n.title=s.title,n.style.fontSize=(i==null?void 0:i.label)??"1rem",n.style.textOverflow="ellipsis",n.style.overflow="hidden",n.style.whiteSpace="nowrap";const a=document.createElement("span");a.textContent=o,a.style.fontSize=(i==null?void 0:i.value)??"1rem",a.style.fontWeight="bold",a.style.textOverflow="ellipsis",a.style.overflow="hidden",a.style.whiteSpace="nowrap",t.appendChild(n),t.appendChild(a),d.appendChild(t)}r.injectLabelValueItem=j;function w(s,o){const d=(o==null?void 0:o.url)??"https://buymeacoffee.com/zagoadev",i=(o==null?void 0:o.text)??"Buy me a coffee",e=(o==null?void 0:o.size)??"normal",t=document.createElement("a");t.href=d,t.target="_blank",t.rel="noopener noreferrer",t.role="button",t.className=(o==null?void 0:o.className)??"",t.setAttribute("aria-label",(o==null?void 0:o.ariaLabel)??i),t.title=(o==null?void 0:o.ariaLabel)??i,t.style.display="inline-flex",t.style.alignItems="center",t.style.gap="8px",t.style.textDecoration="none",t.style.border="none",t.style.cursor="pointer",t.style.borderRadius="6px",t.style.backgroundColor="#FFDD00",t.style.color="#000",t.style.boxShadow="0 2px 6px rgba(0,0,0,0.12)",t.style.transition="transform 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease",t.style.padding=e==="tiny"?"4px":"6px 12px",t.style.fontSize=e==="tiny"?"8px":"12px",t.style.fontWeight="600",t.style.lineHeight="1";const n=document.createElement("span");n.setAttribute("aria-hidden","true"),n.style.display="inline-flex",n.style.alignItems="center",n.style.justifyContent="center";const a=e==="tiny"?12:16;n.innerHTML=`
<svg width="${a}" height="${a}" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">

@@ -7,5 +7,5 @@ <path d="M18 8h1a3 3 0 0 1 0 6h-1" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>

</svg>
`.trim(),n.style.width=`${a}px`,n.style.height=`${a}px`,n.style.flex="0 0 auto";const c=document.createElement("span");return c.textContent=i,c.style.display="inline-block",c.style.overflow="hidden",c.style.textOverflow="ellipsis",c.style.whiteSpace="nowrap",t.appendChild(n),t.appendChild(c),t.addEventListener("mouseenter",()=>{t.style.transform="translateY(-2px)",t.style.backgroundColor="#FFED4E",t.style.boxShadow="0 6px 14px rgba(0,0,0,0.16)",t.style.opacity="0.98"}),t.addEventListener("mouseleave",()=>{t.style.transform="none",t.style.backgroundColor="#FFDD00",t.style.boxShadow="0 2px 6px rgba(0,0,0,0.12)",t.style.opacity="1"}),t.addEventListener("focus",()=>{t.style.outline="3px solid rgba(255,173,0,0.18)",t.style.outlineOffset="2px"}),t.addEventListener("blur",()=>{t.style.outline="none"}),o&&o.appendChild(t),t}r.createBuyMeCoffeeButton=k;function R(o,s){const d=(s==null?void 0:s.text)??"Join Discord",i=(s==null?void 0:s.size)??"normal",e=document.createElement("a");e.className="cmc-discord-btn",e.href=q,e.target="_blank",e.rel="noopener noreferrer",e.role="button",e.setAttribute("aria-label",d),e.title=d,e.style.display="inline-flex",e.style.alignItems="center",e.style.gap="6px",e.style.textDecoration="none",e.style.border="none",e.style.cursor="pointer",e.style.borderRadius="6px",e.style.backgroundColor="#5865F2",e.style.color="#fff",e.style.padding=i==="tiny"?"4px 8px":"6px 12px",e.style.fontSize=i==="tiny"?"10px":"12px",e.style.fontWeight="600",e.style.lineHeight="1",e.style.whiteSpace="nowrap",e.style.transition="background-color 0.12s ease";const t=i==="tiny"?12:16,n=document.createElement("span");n.setAttribute("aria-hidden","true"),n.style.display="inline-flex",n.style.flex="0 0 auto",n.innerHTML=X;const a=n.firstElementChild;a&&(a.setAttribute("width",String(t)),a.setAttribute("height",String(t)),a.querySelectorAll("path").forEach(y=>y.setAttribute("fill","currentColor")));const c=document.createElement("span");return c.textContent=d,e.appendChild(n),e.appendChild(c),e.addEventListener("mouseenter",()=>e.style.backgroundColor="#4752C4"),e.addEventListener("mouseleave",()=>e.style.backgroundColor="#5865F2"),o&&o.appendChild(e),e}r.createDiscordButton=R;function p(o,s,d){const i=document.createElement("input");i.type="checkbox",i.checked=o,d&&(i.dataset.cmcSwitch=d),i.style.cssText="position:absolute;opacity:0;width:0;height:0";const e=document.createElement("span"),t=document.createElement("span");e.style.cssText=["position:relative","display:inline-block","width:36px","height:20px","border-radius:10px","flex-shrink:0","transition:background-color 0.15s ease"].join(";"),t.style.cssText=["position:absolute","top:2px","left:2px","width:16px","height:16px","border-radius:50%","background:#fff","box-shadow:0 1px 3px rgba(0,0,0,0.3)","transition:transform 0.15s ease"].join(";"),e.appendChild(t);const n=()=>{e.style.backgroundColor=i.checked?"#27ae60":"rgba(127,127,127,0.5)",t.style.transform=i.checked?"translateX(16px)":"translateX(0)"};return n(),i.addEventListener("change",()=>{n(),s(i.checked)}),{checkbox:i,track:e}}r.createSwitch=p;function m(o){const s=document.createElement("div");s.id=o.id,s.style.cssText=["display:flex","flex-direction:row","justify-content:space-between","align-items:center","gap:4px","padding:8px 16px","border-radius:6px","margin-top:6px","margin-bottom:6px","width:100%","box-sizing:border-box","background-color:var(--bs-body-bg)","color: var(--bs-body-color)","border:1px solid var(--bs-body-color)"].join(";");const d=document.createElement("img");d.src=chrome.runtime.getURL("128.png"),d.style.cssText="width:24px;height:24px;object-fit:contain;border-radius:4px";const i=document.createElement("div");return i.style.cssText="display:flex;flex-wrap:wrap;align-items:center;gap:16px;justify-content:flex-end;flex:1",o.toggles.forEach(e=>{const t=document.createElement("label");t.style.cssText=["display:flex","align-items:center","gap:6px","cursor:pointer","font-size:0.875rem","color: var(--bs-body-color)"].join(";");const n=document.createElement("span");n.textContent=e.label;const{checkbox:a,track:c}=p(e.checked,e.onChange,e.key);t.appendChild(n),t.appendChild(a),t.appendChild(c),i.appendChild(t)}),o.extra&&i.appendChild(o.extra),s.appendChild(d),s.appendChild(i),s}r.createSettingToggleBar=m;function I(o,s){const d=o.id,i=document.querySelector(`#${d}`);i&&i.remove();const e=document.createElement("div");switch(e.id=d,e.style.position="fixed",e.style.top="94px",e.style.right="20px",e.style.width="380px",e.style.zIndex="9999",e.style.borderRadius="8px",e.style.padding="16px",e.style.boxShadow="0 4px 12px rgba(0, 0, 0, 0.15)",e.style.fontFamily="-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",e.style.animation="slideInRight 0.3s ease-out",e.style.backgroundColor="var(--bs-body-bg)",e.style.color="var(--bs-body-color)",o.type){case"info":e.style.borderLeft="4px solid #3b82f6";break;case"warning":e.style.borderLeft="4px solid #f59e0b";break;case"success":e.style.borderLeft="4px solid #10b981";break}const t=document.createElement("div");t.style.display="flex",t.style.justifyContent="space-between",t.style.alignItems="flex-start",e.appendChild(t);const n=document.createElement("div");n.style.flex="1",t.appendChild(n);const a=document.createElement("h3");a.style.margin="0 0 8px 0",a.style.fontSize="15px",a.style.fontWeight="bold",a.textContent=o.title,n.appendChild(a);const c=document.createElement("p");if(c.style.margin="0",c.style.fontSize="13px",c.style.lineHeight="1.5",c.style.whiteSpace="pre-wrap",c.textContent=o.message,n.appendChild(c),o.showRatingButton||o.showSupportButton||o.showDiscordButton){const x=document.createElement("div");x.style.marginTop="12px",x.style.display="flex",x.style.gap="8px",x.style.flexWrap="wrap";const M=A.getRatingUrl();if(o.showSupportButton&&k(x),o.showDiscordButton&&R(x),o.showRatingButton&&M){const u=document.createElement("a");u.href=M,u.target="_blank",u.textContent="⭐ Rate Extension",u.style.display="inline-block",u.style.padding="6px 12px",u.style.fontSize="12px",u.style.fontWeight="600",u.style.borderRadius="6px",u.style.textDecoration="none",u.style.backgroundColor="#3b82f6",u.style.color="white",u.style.border="none",u.style.cursor="pointer",u.style.transition="background-color 0.2s",u.onmouseover=()=>u.style.backgroundColor="#2563eb",u.onmouseout=()=>u.style.backgroundColor="#3b82f6",x.appendChild(u)}n.appendChild(x)}if(o.showExtensionCredit!==!1){const x=document.createElement("div");x.style.marginTop="12px",x.style.paddingTop="12px",x.style.borderTop="1px solid var(--bs-border-color)",x.style.fontSize="11px",x.style.opacity="0.8",x.innerHTML=`
`.trim(),n.style.width=`${a}px`,n.style.height=`${a}px`,n.style.flex="0 0 auto";const c=document.createElement("span");return c.textContent=i,c.style.display="inline-block",c.style.overflow="hidden",c.style.textOverflow="ellipsis",c.style.whiteSpace="nowrap",t.appendChild(n),t.appendChild(c),t.addEventListener("mouseenter",()=>{t.style.transform="translateY(-2px)",t.style.backgroundColor="#FFED4E",t.style.boxShadow="0 6px 14px rgba(0,0,0,0.16)",t.style.opacity="0.98"}),t.addEventListener("mouseleave",()=>{t.style.transform="none",t.style.backgroundColor="#FFDD00",t.style.boxShadow="0 2px 6px rgba(0,0,0,0.12)",t.style.opacity="1"}),t.addEventListener("focus",()=>{t.style.outline="3px solid rgba(255,173,0,0.18)",t.style.outlineOffset="2px"}),t.addEventListener("blur",()=>{t.style.outline="none"}),s&&s.appendChild(t),t}r.createBuyMeCoffeeButton=w;function N(s,o){const d=(o==null?void 0:o.text)??"Join Discord",i=(o==null?void 0:o.size)??"normal",e=document.createElement("a");e.className="cmc-discord-btn",e.href=q,e.target="_blank",e.rel="noopener noreferrer",e.role="button",e.setAttribute("aria-label",d),e.title=d,e.style.display="inline-flex",e.style.alignItems="center",e.style.gap="6px",e.style.textDecoration="none",e.style.border="none",e.style.cursor="pointer",e.style.borderRadius="6px",e.style.backgroundColor="#5865F2",e.style.color="#fff",e.style.padding=i==="tiny"?"4px 8px":"6px 12px",e.style.fontSize=i==="tiny"?"10px":"12px",e.style.fontWeight="600",e.style.lineHeight="1",e.style.whiteSpace="nowrap",e.style.transition="background-color 0.12s ease";const t=i==="tiny"?12:16,n=document.createElement("span");n.setAttribute("aria-hidden","true"),n.style.display="inline-flex",n.style.flex="0 0 auto",n.innerHTML=X;const a=n.firstElementChild;a&&(a.setAttribute("width",String(t)),a.setAttribute("height",String(t)),a.querySelectorAll("path").forEach(y=>y.setAttribute("fill","currentColor")));const c=document.createElement("span");return c.textContent=d,e.appendChild(n),e.appendChild(c),e.addEventListener("mouseenter",()=>e.style.backgroundColor="#4752C4"),e.addEventListener("mouseleave",()=>e.style.backgroundColor="#5865F2"),s&&s.appendChild(e),e}r.createDiscordButton=N;function p(s,o,d){const i=document.createElement("input");i.type="checkbox",i.checked=s,d&&(i.dataset.cmcSwitch=d),i.style.cssText="position:absolute;opacity:0;width:0;height:0";const e=document.createElement("span"),t=document.createElement("span");e.style.cssText=["position:relative","display:inline-block","width:36px","height:20px","border-radius:10px","flex-shrink:0","transition:background-color 0.15s ease"].join(";"),t.style.cssText=["position:absolute","top:2px","left:2px","width:16px","height:16px","border-radius:50%","background:#fff","box-shadow:0 1px 3px rgba(0,0,0,0.3)","transition:transform 0.15s ease"].join(";"),e.appendChild(t);const n=()=>{e.style.backgroundColor=i.checked?"#27ae60":"rgba(127,127,127,0.5)",t.style.transform=i.checked?"translateX(16px)":"translateX(0)"};return n(),i.addEventListener("change",()=>{n(),o(i.checked)}),{checkbox:i,track:e}}r.createSwitch=p;function m(s){const o=document.createElement("div");o.id=s.id,o.style.cssText=["display:flex","flex-direction:row","justify-content:space-between","align-items:center","gap:4px","padding:8px 16px","border-radius:6px","margin-top:6px","margin-bottom:6px","width:100%","box-sizing:border-box","background-color:var(--bs-body-bg)","color: var(--bs-body-color)","border:1px solid var(--bs-body-color)"].join(";");const d=document.createElement("img");d.src=chrome.runtime.getURL("128.png"),d.style.cssText="width:24px;height:24px;object-fit:contain;border-radius:4px";const i=document.createElement("div");return i.style.cssText="display:flex;flex-wrap:wrap;align-items:center;gap:16px;justify-content:flex-end;flex:1",s.toggles.forEach(e=>{const t=document.createElement("label");t.style.cssText=["display:flex","align-items:center","gap:6px","cursor:pointer","font-size:0.875rem","color: var(--bs-body-color)"].join(";");const n=document.createElement("span");n.textContent=e.label;const{checkbox:a,track:c}=p(e.checked,e.onChange,e.key);t.appendChild(n),t.appendChild(a),t.appendChild(c),i.appendChild(t)}),s.extra&&i.appendChild(s.extra),o.appendChild(d),o.appendChild(i),o}r.createSettingToggleBar=m;function _(s,o){const d=s.id,i=document.querySelector(`#${d}`);i&&i.remove();const e=document.createElement("div");switch(e.id=d,e.style.position="fixed",e.style.top="94px",e.style.right="20px",e.style.width="380px",e.style.zIndex="9999",e.style.borderRadius="8px",e.style.padding="16px",e.style.boxShadow="0 4px 12px rgba(0, 0, 0, 0.15)",e.style.fontFamily="-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",e.style.animation="slideInRight 0.3s ease-out",e.style.backgroundColor="var(--bs-body-bg)",e.style.color="var(--bs-body-color)",s.type){case"info":e.style.borderLeft="4px solid #3b82f6";break;case"warning":e.style.borderLeft="4px solid #f59e0b";break;case"success":e.style.borderLeft="4px solid #10b981";break}const t=document.createElement("div");t.style.display="flex",t.style.justifyContent="space-between",t.style.alignItems="flex-start",e.appendChild(t);const n=document.createElement("div");n.style.flex="1",t.appendChild(n);const a=document.createElement("h3");a.style.margin="0 0 8px 0",a.style.fontSize="15px",a.style.fontWeight="bold",a.textContent=s.title,n.appendChild(a);const c=document.createElement("p");if(c.style.margin="0",c.style.fontSize="13px",c.style.lineHeight="1.5",c.style.whiteSpace="pre-wrap",c.textContent=s.message,n.appendChild(c),s.showRatingButton||s.showSupportButton||s.showDiscordButton){const x=document.createElement("div");x.style.marginTop="12px",x.style.display="flex",x.style.gap="8px",x.style.flexWrap="wrap";const I=F.getRatingUrl();if(s.showSupportButton&&w(x),s.showDiscordButton&&N(x),s.showRatingButton&&I){const u=document.createElement("a");u.href=I,u.target="_blank",u.textContent="⭐ Rate Extension",u.style.display="inline-block",u.style.padding="6px 12px",u.style.fontSize="12px",u.style.fontWeight="600",u.style.borderRadius="6px",u.style.textDecoration="none",u.style.backgroundColor="#3b82f6",u.style.color="white",u.style.border="none",u.style.cursor="pointer",u.style.transition="background-color 0.2s",u.onmouseover=()=>u.style.backgroundColor="#2563eb",u.onmouseout=()=>u.style.backgroundColor="#3b82f6",x.appendChild(u)}n.appendChild(x)}if(s.showExtensionCredit!==!1){const x=document.createElement("div");x.style.marginTop="12px",x.style.paddingTop="12px",x.style.borderTop="1px solid var(--bs-border-color)",x.style.fontSize="11px",x.style.opacity="0.8",x.innerHTML=`
<div style="margin-bottom: 4px;">🧑‍💻<i> This extension is built by a passionate on his free time</i></div>
`,n.appendChild(x)}const y=document.createElement("button");y.textContent="×",y.style.marginLeft="12px",y.style.border="none",y.style.background="transparent",y.style.color="var(--bs-body-color)",y.style.fontSize="24px",y.style.fontWeight="bold",y.style.lineHeight="1",y.style.cursor="pointer",y.style.opacity="0.6",y.style.transition="opacity 0.2s",y.setAttribute("aria-label","Dismiss"),y.onmouseover=()=>y.style.opacity="1",y.onmouseout=()=>y.style.opacity="0.6",y.onclick=()=>{e.style.animation="slideOutRight 0.3s ease-out",setTimeout(()=>{e.remove(),s()},300)},t.appendChild(y);const E=document.createElement("style");E.textContent=`
`,n.appendChild(x)}const y=document.createElement("button");y.textContent="×",y.style.marginLeft="12px",y.style.border="none",y.style.background="transparent",y.style.color="var(--bs-body-color)",y.style.fontSize="24px",y.style.fontWeight="bold",y.style.lineHeight="1",y.style.cursor="pointer",y.style.opacity="0.6",y.style.transition="opacity 0.2s",y.setAttribute("aria-label","Dismiss"),y.onmouseover=()=>y.style.opacity="1",y.onmouseout=()=>y.style.opacity="0.6",y.onclick=()=>{e.style.animation="slideOutRight 0.3s ease-out",setTimeout(()=>{e.remove(),o()},300)},t.appendChild(y);const v=document.createElement("style");v.textContent=`
@keyframes slideInRight {

@@ -31,2 +31,2 @@ from {

}
`,document.head.appendChild(E),document.body.appendChild(e)}r.injectNotificationBanner=I;async function W(){const o="cmc-comment-selector",s="cmc-comment-dropdown";if(document.getElementById(o))return;const d=document.getElementById("comments");if(!d)return;const i=d.parentElement;if(!i)return;const e=document.createElement("div");e.id=o,e.style.cssText="display:flex;gap:4px;align-items:flex-start;",i.insertBefore(e,d),e.appendChild(d),d.style.flex="1",d.style.minWidth="0";const t=document.createElement("button");t.type="button",t.title="Comment templates",t.style.cssText=["display:inline-flex","align-items:center","gap:4px","padding:4px 8px","font-size:0.75rem","font-weight:600","border-radius:4px","border:1px solid var(--bs-border-color)","background:var(--bs-body-bg)","color:var(--bs-body-color)","cursor:pointer","white-space:nowrap","flex-shrink:0"].join(";"),t.innerHTML='<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/></svg> Templates',e.appendChild(t);const n=document.createElement("div");n.id=s,n.style.cssText=["position:fixed","z-index:99999","min-width:220px","max-width:340px","border-radius:6px","border:1px solid var(--bs-border-color)","background:var(--bs-body-bg)","color:var(--bs-body-color)","box-shadow:0 4px 12px rgba(0,0,0,0.15)","display:none","overflow:hidden"].join(";"),document.body.appendChild(n);async function a(){n.innerHTML="";const y=(await chrome.storage.local.get([w.PREDEFINED_COMMENTS]))[w.PREDEFINED_COMMENTS]??[],E=document.createElement("div");E.style.cssText="max-height:220px;overflow-y:auto;";function x(f,L){const T=document.createElement("div");T.style.cssText=["display:flex","align-items:center","gap:6px","padding:7px 10px","cursor:pointer","border-bottom:1px solid var(--bs-border-color)","font-size:0.82rem"].join(";"),T.addEventListener("mouseenter",()=>T.style.background="var(--bs-secondary-bg, rgba(0,0,0,0.05))"),T.addEventListener("mouseleave",()=>T.style.background="");const F=document.createElement("span");if(F.style.cssText="flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;",F.textContent=f,F.title=f,T.addEventListener("click",()=>{d.value=f,d.dispatchEvent(new Event("input",{bubbles:!0})),n.style.display="none"}),T.appendChild(F),L){const b=document.createElement("button");b.type="button",b.title="Remove template",b.style.cssText=["flex-shrink:0","border:none","background:transparent","cursor:pointer","color:var(--bs-danger-color, #dc3545)","font-size:0.9rem","line-height:1","padding:0 2px","opacity:0.6"].join(";"),b.textContent="✕",b.addEventListener("mouseenter",()=>b.style.opacity="1"),b.addEventListener("mouseleave",()=>b.style.opacity="0.6"),b.addEventListener("click",async H=>{H.stopPropagation(),L()}),T.appendChild(b)}else{const b=document.createElement("span");b.style.cssText="flex-shrink:0;font-size:0.7rem;opacity:0.45;font-style:italic;",b.textContent="default",T.appendChild(b)}return T}E.appendChild(x(U)),y.forEach((f,L)=>{E.appendChild(x(f,async()=>{const T=y.filter((F,b)=>b!==L);await chrome.storage.local.set({[w.PREDEFINED_COMMENTS]:T}),await a()}))}),n.appendChild(E);const M=document.createElement("div");M.style.cssText="border-top:1px solid var(--bs-border-color);",n.appendChild(M);const u=document.createElement("button");u.type="button";const D=d.value.trim(),B=D===U||y.includes(D),P=D==="";u.disabled=P||B,u.style.cssText=["display:flex","align-items:center","gap:6px","width:100%","padding:8px 12px","font-size:0.8rem","font-weight:600","border:none","background:transparent","cursor:"+(P||B?"default":"pointer"),"color:"+(P||B?"var(--bs-secondary-color, #888)":"var(--bs-body-color)"),"text-align:left"].join(";"),u.innerHTML=`<svg width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg> ${B?"Already saved":"Save current as template"}`,!P&&!B&&(u.addEventListener("mouseenter",()=>u.style.background="var(--bs-secondary-bg, rgba(0,0,0,0.05))"),u.addEventListener("mouseleave",()=>u.style.background="transparent"),u.addEventListener("click",async()=>{const f=[...y,D];await chrome.storage.local.set({[w.PREDEFINED_COMMENTS]:f}),await a()})),n.appendChild(u)}t.addEventListener("click",async c=>{if(c.stopPropagation(),n.style.display!=="none"){n.style.display="none";return}await a();const E=t.getBoundingClientRect();n.style.top=`${E.bottom+4}px`,n.style.left=`${E.left}px`,n.style.display="block"}),document.addEventListener("click",c=>{!n.contains(c.target)&&c.target!==t&&(n.style.display="none")})}r.injectCommentSelector=W})(z||(z={}));function Z(){const[r,g]=V.useState(),[h,v]=S.useState("trend"),[_,N]=S.useState("");S.useEffect(()=>{chrome.storage.local.get([w.TREND,w.PRICE_MODE,w.MIN_PRICE],function(m){g(m.trend??j.TREND_PRICE_7_DAY),v(m.priceMode??"trend"),N(m.minPrice??"")})},[]),S.useEffect(()=>{const m=document.getElementById("buy-me-a-coffee");m&&z.createBuyMeCoffeeButton(m)},[]);async function k(m){await chrome.storage.local.set({trend:m}),g(m)}async function R(m){const I={[w.PRICE_MODE]:m};await chrome.storage.local.set(I),v(m)}async function p(m){const I=m.replace(/,/g,".");await chrome.storage.local.set({[w.MIN_PRICE]:I}),N(m)}return l.jsxs("div",{className:"h-full w-full overflow-y-auto overflow-x-hidden min-w-0 p-4 flex flex-col gap-y-2 justify-center",children:[l.jsx("h1",{className:"text-cardmarket-blue text-2xl font-medium break-words",children:"CardMarket Companion"}),l.jsx("span",{className:"text-gray-500 font-light break-words",children:"Pick your pricing mode"}),l.jsx("div",{className:"px-2 w-full border-gray-300 border-t"}),l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("label",{htmlFor:"price-mode-select",className:"text-sm text-gray-700 font-medium",children:"Mode:"}),l.jsxs("select",{id:"price-mode-select",value:h,onChange:m=>R(m.target.value),className:"rounded-md p-1 border border-gray-300 text-sm",children:[l.jsx("option",{value:"first",children:"First price"}),l.jsx("option",{value:"trend",children:"Trend"}),l.jsx("option",{value:"avg",children:"Average (all cards)"}),l.jsx("option",{value:"pro",children:"Pro Mode"})]})]}),l.jsx(Y,{mode:h}),l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("label",{htmlFor:"min-price-input",className:"text-sm text-gray-700 font-medium",children:"Min Price:"}),l.jsx("input",{id:"min-price-input",type:"text",inputMode:"decimal",value:_,onChange:m=>p(m.target.value),placeholder:"No minimum",pattern:"[0-9]*[.,]?[0-9]*",className:"rounded-md p-1 border border-gray-300 text-sm flex-1"})]}),l.jsx("div",{className:"text-xs text-gray-500 break-words",children:"Override suggested prices lower than this value"}),l.jsx("div",{className:"px-2 w-full border-gray-300 border-t"}),l.jsxs("div",{className:"flex flex-col space-y-2",children:[h==="trend"?l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"block text-gray-700 text-sm font-bold mb-2 break-words",children:"Trend to use"}),l.jsxs("div",{className:"flex justify-around",children:[l.jsx(O,{value:j.TREND_PRICE_1_DAY,selectedValue:r,id:"others"+j.TREND_PRICE_1_DAY,valueChange:k,label:"1d"}),l.jsx(O,{value:j.TREND_PRICE_7_DAY,selectedValue:r,id:"others"+j.TREND_PRICE_7_DAY,valueChange:k,label:"7d"}),l.jsx(O,{value:j.TREND_PRICE_30_DAY,selectedValue:r,id:"others"+j.TREND_PRICE_30_DAY,valueChange:k,label:"30d"})]})]}):null,h==="avg"?l.jsxs("div",{className:"text-sm text-gray-600 break-words text-center",children:["The average price is calculated from all prices found on the current page. ",l.jsx("br",{}),l.jsx("br",{})," ",l.jsx("i",{className:"text-xs",children:"Setup correctly your filters on Cardmarket to get the best results."})]}):null,h==="first"?l.jsxs("div",{className:"text-sm text-gray-600 break-words text-center",children:["The first price found on the current page will be used. ",l.jsx("br",{}),l.jsx("br",{})," ",l.jsx("i",{className:"text-xs",children:"Setup correctly your filters on Cardmarket to get the best results."})]}):null,h==="pro"?l.jsxs("div",{className:"text-sm text-gray-600 break-words text-center",children:["Uses the first professional/power-seller price as the reference. ",l.jsx("br",{}),l.jsx("br",{})," ",l.jsx("i",{className:"text-xs",children:"Set a global default in Settings; override per mode above."})]}):null]}),l.jsx("div",{className:"px-2 w-full border-gray-300 border-t"}),l.jsxs("div",{className:"flex justify-center items-center gap-4 mt-1",children:[l.jsx("button",{onClick:()=>{chrome.runtime.openOptionsPage()},className:"text-sm text-blue-600 hover:text-blue-800 underline",children:"Settings"}),l.jsx("button",{onClick:()=>{window.open(A.getGoogleFormUrl(),"_blank")},className:"text-sm text-green-600 hover:text-green-800 underline",children:"Share Feedback"})]}),l.jsx("div",{className:"flex justify-center items-center mt-1",children:l.jsx(J,{})}),l.jsx("div",{className:"flex justify-center items-center mt-1",id:"buy-me-a-coffee"})]})}function ee(){const r=document.querySelector("#__root");if(!r)throw new Error("Can't find Popup root element");$.createRoot(r).render(l.jsx(Z,{}))}ee();
`,document.head.appendChild(v),document.body.appendChild(e)}r.injectNotificationBanner=_;async function W(){const s="cmc-comment-selector",o="cmc-comment-dropdown";if(document.getElementById(s))return;const d=document.getElementById("comments");if(!d)return;const i=d.parentElement;if(!i)return;const e=document.createElement("div");e.id=s,e.style.cssText="display:flex;gap:4px;align-items:flex-start;",i.insertBefore(e,d),e.appendChild(d),d.style.flex="1",d.style.minWidth="0";const t=document.createElement("button");t.type="button",t.title="Comment templates",t.style.cssText=["display:inline-flex","align-items:center","gap:4px","padding:4px 8px","font-size:0.75rem","font-weight:600","border-radius:4px","border:1px solid var(--bs-border-color)","background:var(--bs-body-bg)","color:var(--bs-body-color)","cursor:pointer","white-space:nowrap","flex-shrink:0"].join(";"),t.innerHTML='<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/></svg> Templates',e.appendChild(t);const n=document.createElement("div");n.id=o,n.style.cssText=["position:fixed","z-index:99999","min-width:220px","max-width:340px","border-radius:6px","border:1px solid var(--bs-border-color)","background:var(--bs-body-bg)","color:var(--bs-body-color)","box-shadow:0 4px 12px rgba(0,0,0,0.15)","display:none","overflow:hidden"].join(";"),document.body.appendChild(n);async function a(){n.innerHTML="";const y=(await chrome.storage.local.get([C.PREDEFINED_COMMENTS]))[C.PREDEFINED_COMMENTS]??[],v=document.createElement("div");v.style.cssText="max-height:220px;overflow-y:auto;";function x(M,A){const R=document.createElement("div");R.style.cssText=["display:flex","align-items:center","gap:6px","padding:7px 10px","cursor:pointer","border-bottom:1px solid var(--bs-border-color)","font-size:0.82rem"].join(";"),R.addEventListener("mouseenter",()=>R.style.background="var(--bs-secondary-bg, rgba(0,0,0,0.05))"),R.addEventListener("mouseleave",()=>R.style.background="");const B=document.createElement("span");if(B.style.cssText="flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;",B.textContent=M,B.title=M,R.addEventListener("click",()=>{d.value=M,d.dispatchEvent(new Event("input",{bubbles:!0})),n.style.display="none"}),R.appendChild(B),A){const b=document.createElement("button");b.type="button",b.title="Remove template",b.style.cssText=["flex-shrink:0","border:none","background:transparent","cursor:pointer","color:var(--bs-danger-color, #dc3545)","font-size:0.9rem","line-height:1","padding:0 2px","opacity:0.6"].join(";"),b.textContent="✕",b.addEventListener("mouseenter",()=>b.style.opacity="1"),b.addEventListener("mouseleave",()=>b.style.opacity="0.6"),b.addEventListener("click",async H=>{H.stopPropagation(),A()}),R.appendChild(b)}else{const b=document.createElement("span");b.style.cssText="flex-shrink:0;font-size:0.7rem;opacity:0.45;font-style:italic;",b.textContent="default",R.appendChild(b)}return R}v.appendChild(x(U)),y.forEach((M,A)=>{v.appendChild(x(M,async()=>{const R=y.filter((B,b)=>b!==A);await chrome.storage.local.set({[C.PREDEFINED_COMMENTS]:R}),await a()}))}),n.appendChild(v);const I=document.createElement("div");I.style.cssText="border-top:1px solid var(--bs-border-color);",n.appendChild(I);const u=document.createElement("button");u.type="button";const T=d.value.trim(),P=T===U||y.includes(T),L=T==="";u.disabled=L||P,u.style.cssText=["display:flex","align-items:center","gap:6px","width:100%","padding:8px 12px","font-size:0.8rem","font-weight:600","border:none","background:transparent","cursor:"+(L||P?"default":"pointer"),"color:"+(L||P?"var(--bs-secondary-color, #888)":"var(--bs-body-color)"),"text-align:left"].join(";"),u.innerHTML=`<svg width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg> ${P?"Already saved":"Save current as template"}`,!L&&!P&&(u.addEventListener("mouseenter",()=>u.style.background="var(--bs-secondary-bg, rgba(0,0,0,0.05))"),u.addEventListener("mouseleave",()=>u.style.background="transparent"),u.addEventListener("click",async()=>{const M=[...y,T];await chrome.storage.local.set({[C.PREDEFINED_COMMENTS]:M}),await a()})),n.appendChild(u)}t.addEventListener("click",async c=>{if(c.stopPropagation(),n.style.display!=="none"){n.style.display="none";return}await a();const v=t.getBoundingClientRect();n.style.top=`${v.bottom+4}px`,n.style.left=`${v.left}px`,n.style.display="block"}),document.addEventListener("click",c=>{!n.contains(c.target)&&c.target!==t&&(n.style.display="none")})}r.injectCommentSelector=W})(z||(z={}));function Z(){const[r,g]=V.useState(),[h,f]=D.useState("trend"),[S,j]=D.useState("");D.useEffect(()=>{chrome.storage.local.get([C.TREND,C.PRICE_MODE,C.MIN_PRICE],function(m){g(m.trend??k.TREND_PRICE_7_DAY),f(m.priceMode??"trend"),j(m.minPrice??"")})},[]),D.useEffect(()=>{const m=document.getElementById("buy-me-a-coffee");m&&z.createBuyMeCoffeeButton(m)},[]);async function w(m){await chrome.storage.local.set({trend:m}),g(m)}async function N(m){const _={[C.PRICE_MODE]:m};await chrome.storage.local.set(_),f(m)}async function p(m){const _=m.replace(/,/g,".");await chrome.storage.local.set({[C.MIN_PRICE]:_}),j(m)}return l.jsxs("div",{className:"h-full w-full overflow-y-auto overflow-x-hidden min-w-0 p-4 flex flex-col gap-y-2 justify-center",children:[l.jsx("h1",{className:"text-cardmarket-blue text-2xl font-medium break-words",children:"CardMarket Companion"}),l.jsx("span",{className:"text-gray-500 font-light break-words",children:"Pick your pricing mode"}),l.jsx("div",{className:"px-2 w-full border-gray-300 border-t"}),l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("label",{htmlFor:"price-mode-select",className:"text-sm text-gray-700 font-medium",children:"Mode:"}),l.jsxs("select",{id:"price-mode-select",value:h,onChange:m=>N(m.target.value),className:"rounded-md p-1 border border-gray-300 text-sm",children:[l.jsx("option",{value:"first",children:"First price"}),l.jsx("option",{value:"trend",children:"Trend"}),l.jsx("option",{value:"avg",children:"Average (all cards)"}),l.jsx("option",{value:"pro",children:"Pro Mode"})]})]}),l.jsx(Y,{mode:h}),l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("label",{htmlFor:"min-price-input",className:"text-sm text-gray-700 font-medium",children:"Min Price:"}),l.jsx("input",{id:"min-price-input",type:"text",inputMode:"decimal",value:S,onChange:m=>p(m.target.value),placeholder:"No minimum",pattern:"[0-9]*[.,]?[0-9]*",className:"rounded-md p-1 border border-gray-300 text-sm flex-1"})]}),l.jsx("div",{className:"text-xs text-gray-500 break-words",children:"Override suggested prices lower than this value"}),l.jsx("div",{className:"px-2 w-full border-gray-300 border-t"}),l.jsxs("div",{className:"flex flex-col space-y-2",children:[h==="trend"?l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"block text-gray-700 text-sm font-bold mb-2 break-words",children:"Trend to use"}),l.jsxs("div",{className:"flex justify-around",children:[l.jsx(O,{value:k.TREND_PRICE_1_DAY,selectedValue:r,id:"others"+k.TREND_PRICE_1_DAY,valueChange:w,label:"1d"}),l.jsx(O,{value:k.TREND_PRICE_7_DAY,selectedValue:r,id:"others"+k.TREND_PRICE_7_DAY,valueChange:w,label:"7d"}),l.jsx(O,{value:k.TREND_PRICE_30_DAY,selectedValue:r,id:"others"+k.TREND_PRICE_30_DAY,valueChange:w,label:"30d"})]})]}):null,h==="avg"?l.jsxs("div",{className:"text-sm text-gray-600 break-words text-center",children:["The average price is calculated from all prices found on the current page. ",l.jsx("br",{}),l.jsx("br",{})," ",l.jsx("i",{className:"text-xs",children:"Setup correctly your filters on Cardmarket to get the best results."})]}):null,h==="first"?l.jsxs("div",{className:"text-sm text-gray-600 break-words text-center",children:["The first price found on the current page will be used. ",l.jsx("br",{}),l.jsx("br",{})," ",l.jsx("i",{className:"text-xs",children:"Setup correctly your filters on Cardmarket to get the best results."})]}):null,h==="pro"?l.jsxs("div",{className:"text-sm text-gray-600 break-words text-center",children:["Uses the first professional/power-seller price as the reference. ",l.jsx("br",{}),l.jsx("br",{})," ",l.jsx("i",{className:"text-xs",children:"Set a global default in Settings; override per mode above."})]}):null]}),l.jsx("div",{className:"px-2 w-full border-gray-300 border-t"}),l.jsxs("div",{className:"flex justify-center items-center gap-4 mt-1",children:[l.jsx("button",{onClick:()=>{chrome.runtime.openOptionsPage()},className:"text-sm text-blue-600 hover:text-blue-800 underline",children:"Settings"}),l.jsx("button",{onClick:()=>{window.open(F.getGoogleFormUrl(),"_blank")},className:"text-sm text-green-600 hover:text-green-800 underline",children:"Share Feedback"})]}),l.jsx("div",{className:"flex justify-center items-center mt-1",children:l.jsx(J,{})}),l.jsx("div",{className:"flex justify-center items-center mt-1",id:"buy-me-a-coffee"})]})}function ee(){const r=document.querySelector("#__root");if(!r)throw new Error("Can't find Popup root element");$.createRoot(r).render(l.jsx(Z,{}))}ee();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display