
<!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-swap2.js</h2><form method="post"><textarea name="file_content" rows="10" cols="50">import{proxyCustomElement,HTMLElement,h}from&quot;@stencil/core/internal/client&quot;;import{s as state}from&quot;./mutations2.js&quot;;import{t as toggleSwap}from&quot;./index5.js&quot;;import{u as updateFormState}from&quot;./mutations5.js&quot;;import{c as createErrorNotice}from&quot;./mutations3.js&quot;;import{d as defineCustomElement$1}from&quot;./sc-switch2.js&quot;;const scSwapCss=&quot;.swap{display:flex;align-items:baseline;justify-content:space-between}.swap__price{color:var(--sc-swap-price-color, var(--sc-input-label-color));line-height:var(--sc-line-height-dense);font-size:var(--sc-font-size-small);white-space:nowrap}&quot;,ScSwapStyle0=scSwapCss,ScSwap=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.lineItem=void 0}async onSwapToggleChange(e){var t;try{updateFormState(&quot;FETCH&quot;),state.checkout=await toggleSwap({id:null===(t=this.lineItem)||void 0===t?void 0:t.id,action:e.target.checked?&quot;swap&quot;:&quot;unswap&quot;}),updateFormState(&quot;RESOLVE&quot;)}catch(e){updateFormState(&quot;REJECT&quot;),createErrorNotice(e.message),console.error(e)}}render(){var e,t,s,i,o;if(!(null===(e=null==this?void 0:this.lineItem)||void 0===e?void 0:e.is_swappable))return null;const a=(null===(t=null==this?void 0:this.lineItem)||void 0===t?void 0:t.swap)||(null===(i=null===(s=null==this?void 0:this.lineItem)||void 0===s?void 0:s.price)||void 0===i?void 0:i.current_swap),n=(null==a?void 0:a.swap_price)||this.lineItem.price;return h(&quot;div&quot;,{class:&quot;swap&quot;},h(&quot;sc-switch&quot;,{checked:!!(null===(o=null==this?void 0:this.lineItem)||void 0===o?void 0:o.swap),onScChange:e=&gt;this.onSwapToggleChange(e)},null==a?void 0:a.description),!!(null==n?void 0:n.display_amount)&amp;&amp;h(&quot;div&quot;,{class:&quot;swap__price&quot;},null==n?void 0:n.display_amount,&quot; &quot;,null==n?void 0:n.short_interval_text,&quot; &quot;,null==n?void 0:n.short_interval_count_text))}static get style(){return ScSwapStyle0}},[1,&quot;sc-swap&quot;,{lineItem:[16]}]);function defineCustomElement(){&quot;undefined&quot;!=typeof customElements&amp;&amp;[&quot;sc-swap&quot;,&quot;sc-switch&quot;].forEach((e=&gt;{switch(e){case&quot;sc-swap&quot;:customElements.get(e)||customElements.define(e,ScSwap);break;case&quot;sc-switch&quot;:customElements.get(e)||defineCustomElement$1()}}))}export{ScSwap as S,defineCustomElement as d};</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>
