// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`WidgetModal creates snapshot 1`] = `
<DocumentFragment>
  <div>
    <div
      class="modal-backdrop activeBackdrop"
      data-testid="modalBackdrop"
    />
    <div
      aria-modal="true"
      class="modal modal active d-block"
      role="dialog"
    >
      <div
        class="modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable"
      >
        <div
          class="modal-content border border-3 mx-auto content"
        >
          <div
            class="modal-header d-flex flex-row align-items-center header undefined"
          >
            <div
              class="h3 m-2 flex-grow-1 title"
            >
              Widget
            </div>
            <button
              aria-label="Close"
              class="btn-close"
              type="button"
            />
          </div>
          <div
            class="modal-body p-4 h-100 d-flex flex-column"
          >
            <div
              class="w-100 position-relative"
            >
              <label
                class="form-label fw-bold label"
                for="theme"
              >
                Theme
              </label>
              <div
                class="d-flex flex-row mb-3"
              >
                <div
                  class="form-check me-4"
                >
                  <input
                    checked=""
                    class="form-check-input"
                    id="light"
                    name="theme"
                    readonly=""
                    required=""
                    type="radio"
                    value="light"
                  />
                  <label
                    class="form-label text-capitalize form-check-label"
                    for="light"
                  >
                    <div
                      class="d-flex flex-row align-items-center"
                    >
                      <svg
                        fill="none"
                        height="1em"
                        stroke="currentColor"
                        stroke-linecap="round"
                        stroke-linejoin="round"
                        stroke-width="2"
                        viewBox="0 0 24 24"
                        width="1em"
                        xmlns="http://www.w3.org/2000/svg"
                      >
                        <circle
                          cx="12"
                          cy="12"
                          r="5"
                        />
                        <line
                          x1="12"
                          x2="12"
                          y1="1"
                          y2="3"
                        />
                        <line
                          x1="12"
                          x2="12"
                          y1="21"
                          y2="23"
                        />
                        <line
                          x1="4.22"
                          x2="5.64"
                          y1="4.22"
                          y2="5.64"
                        />
                        <line
                          x1="18.36"
                          x2="19.78"
                          y1="18.36"
                          y2="19.78"
                        />
                        <line
                          x1="1"
                          x2="3"
                          y1="12"
                          y2="12"
                        />
                        <line
                          x1="21"
                          x2="23"
                          y1="12"
                          y2="12"
                        />
                        <line
                          x1="4.22"
                          x2="5.64"
                          y1="19.78"
                          y2="18.36"
                        />
                        <line
                          x1="18.36"
                          x2="19.78"
                          y1="5.64"
                          y2="4.22"
                        />
                      </svg>
                      <span
                        class="ms-1"
                      >
                        light
                      </span>
                    </div>
                  </label>
                </div>
                <div
                  class="form-check me-4"
                >
                  <input
                    class="form-check-input"
                    id="dark"
                    name="theme"
                    readonly=""
                    required=""
                    type="radio"
                    value="dark"
                  />
                  <label
                    class="form-label text-capitalize form-check-label"
                    for="dark"
                  >
                    <div
                      class="d-flex flex-row align-items-center"
                    >
                      <svg
                        fill="none"
                        height="1em"
                        stroke="currentColor"
                        stroke-linecap="round"
                        stroke-linejoin="round"
                        stroke-width="2"
                        viewBox="0 0 24 24"
                        width="1em"
                        xmlns="http://www.w3.org/2000/svg"
                      >
                        <path
                          d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"
                        />
                      </svg>
                      <span
                        class="ms-1"
                      >
                        dark
                      </span>
                    </div>
                  </label>
                </div>
              </div>
              <div
                class="mt-4 mb-3"
              >
                <div
                  class="form-check form-switch ps-0"
                >
                  <label
                    class="form-check-label fw-bold label"
                    for="header"
                  >
                    Header
                  </label>
                   
                  <input
                    checked=""
                    class="form-check-input position-absolute ms-2"
                    id="header"
                    role="switch"
                    type="checkbox"
                    value="true"
                  />
                </div>
                <div
                  class="form-text text-muted mt-2"
                >
                  Display Artifact Hub header at the top of the widget.
                </div>
              </div>
              <div
                class="mt-4 mb-3"
              >
                <div
                  class="form-check form-switch ps-0"
                >
                  <label
                    class="form-check-label fw-bold label"
                    for="stars"
                  >
                    Stars
                  </label>
                  <input
                    checked=""
                    class="form-check-input position-absolute ms-2"
                    id="stars"
                    role="switch"
                    type="checkbox"
                    value="true"
                  />
                </div>
                <div
                  class="form-text text-muted mt-2"
                >
                  Display number of stars given to the package.
                </div>
              </div>
              <div
                class="mt-4 mb-3"
              >
                <div
                  class="form-check form-switch ps-0"
                >
                  <label
                    class="form-check-label fw-bold label"
                    for="responsive"
                  >
                    Responsive
                  </label>
                  <input
                    class="form-check-input position-absolute ms-2"
                    id="responsive"
                    role="switch"
                    type="checkbox"
                    value="true"
                  />
                </div>
                <div
                  class="form-text text-muted mt-2"
                >
                  The widget will try to use the width available on the parent container (between 350px and 650px).
                </div>
              </div>
              <div
                class="mt-3 mb-2"
              >
                <label
                  class="form-label fw-bold label"
                >
                  Code
                </label>
                <div
                  class="flex-grow-1 me-3 user-select-none blockWrapper"
                  data-testid="block-content"
                >
                  <div>
                    &lt;div class="artifacthub-widget" data-url="http://localhost/" data-theme="light" data-header="true" data-stars="true" data-responsive="false"&gt;&lt;blockquote&gt;&lt;p lang="en" dir="ltr"&gt;&lt;b&gt;pkg&lt;/b&gt;: this is the description&lt;/p&gt;&mdash; Open in &lt;a href="http://localhost/"&gt;null&lt;/a&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;script async src="http://localhost/artifacthub-widget.js"&gt;&lt;/script&gt;
                  </div>
                </div>
                <div
                  class="position-relative undefined"
                >
                  <button
                    aria-label="Copy code to clipboard"
                    class="btn btn-sm btn-outline-secondary text-uppercase px-2 py-1"
                    type="button"
                  >
                    <div
                      aria-hidden="true"
                      class="d-flex flex-row align-items-center"
                    >
                      <div
                        class="me-2"
                      >
                        Copy code to clipboard
                      </div>
                      <svg
                        fill="none"
                        height="1em"
                        stroke="currentColor"
                        stroke-linecap="round"
                        stroke-linejoin="round"
                        stroke-width="2"
                        viewBox="0 0 24 24"
                        width="1em"
                        xmlns="http://www.w3.org/2000/svg"
                      >
                        <rect
                          height="13"
                          rx="2"
                          ry="2"
                          width="13"
                          x="9"
                          y="9"
                        />
                        <path
                          d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"
                        />
                      </svg>
                    </div>
                  </button>
                </div>
              </div>
            </div>
            <div>
              <div
                class="overflow-hidden alertWrapper"
                data-testid="alertWrapper"
              />
            </div>
          </div>
          <div
            class="modal-footer p-3"
          >
            <button
              aria-label="Close modal"
              class="btn btn-sm btn-outline-secondary text-uppercase"
              type="button"
            >
              <div
                class="d-flex flex-row align-items-center"
              >
                <svg
                  class="me-2"
                  fill="currentColor"
                  height="1em"
                  stroke="currentColor"
                  stroke-width="0"
                  viewBox="0 0 24 24"
                  width="1em"
                  xmlns="http://www.w3.org/2000/svg"
                >
                  <path
                    d="M0 0h24v24H0z"
                    fill="none"
                  />
                  <path
                    d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
                  />
                </svg>
                <div>
                  Close
                </div>
              </div>
            </button>
          </div>
        </div>
      </div>
    </div>
  </div>
</DocumentFragment>
`;
