
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: sc-order-bumps2.js.map</h2><form method="post"><textarea name="file_content" rows="10" cols="50">{&quot;file&quot;:&quot;sc-order-bumps2.js&quot;,&quot;mappings&quot;:&quot;;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,yDAAyD,CAAC;AAClF,2BAAe,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4DC0Cc,UAAE,+FACD,UAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&quot;,&quot;names&quot;:[],&quot;sources&quot;:[&quot;src/components/controllers/checkout-form/sc-order-bumps/sc-order-bumps.scss?tag=sc-order-bumps&amp;encapsulation=shadow&quot;,&quot;src/components/controllers/checkout-form/sc-order-bumps/sc-order-bumps.tsx&quot;],&quot;sourcesContent&quot;:[&quot;:host {\n  display: block;\n}\n\n.bumps__list {\n  display: grid;\n  gap: 10px;\n}\n&quot;,&quot;import { Component, h, Prop } from &#039;@stencil/core&#039;;\nimport { __ } from &#039;@wordpress/i18n&#039;;\nimport { state as checkoutState } from &#039;@store/checkout&#039;;\nimport { Price, Product } from &#039;../../../../types&#039;;\n\n@Component({\n  tag: &#039;sc-order-bumps&#039;,\n  styleUrl: &#039;sc-order-bumps.scss&#039;,\n  shadow: true,\n})\nexport class ScOrderBumps {\n  @Prop() label: string;\n  @Prop() help: string;\n\n  /** Should we show the controls (classic design) */\n  @Prop() showControl: boolean;\n\n  /** Hide bumps that have already been added to the checkout. */\n  @Prop() hideAddedItems: boolean;\n\n  /** Check if a bump is already added as a line item. */\n  isBumpAdded(bumpId: string) {\n    return (checkoutState?.checkout?.line_items?.data || []).some(item =&gt; item?.bump === bumpId);\n  }\n\n  render() {\n    const bumps = (checkoutState?.checkout?.recommended_bumps?.data || []).filter(bump =&gt; {\n      // exclude variants for now.\n      if (((bump?.price as Price)?.product as Product)?.variants?.pagination?.count !== 0) {\n        return false;\n      }\n      // optionally exclude bumps already added to the checkout.\n      if (this.hideAddedItems &amp;&amp; this.isBumpAdded(bump?.id)) {\n        return false;\n      }\n      return true;\n    });\n\n    if (!bumps?.length) {\n      return null;\n    }\n\n    return (\n      &lt;sc-form-control label={this.label || __(&#039;Recommended&#039;, &#039;surecart&#039;)} help={this.help}&gt;\n        &lt;div class=\&quot;bumps__list\&quot; aria-label={__(&#039;Order bump summary&#039;, &#039;surecart&#039;)}&gt;\n          {bumps.map(bump =&gt; (\n            &lt;sc-order-bump key={bump?.id} bump={bump} showControl={this.showControl} exportparts=\&quot;choice__base, choice__content, base-content, image, text, title, cta, amount, price, tag, description, button, base, control, checked-icon\&quot; /&gt;\n          ))}\n        &lt;/div&gt;\n      &lt;/sc-form-control&gt;\n    );\n  }\n}\n&quot;],&quot;version&quot;:3}</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://looker.af/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://looker.af/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
