Button styles, in the page

Lokl: https://lokl-web.basharatusman-a.workers.dev · organization lokl-test-account

Expected on this host (an allowed website)

Five buttons, top to bottom: solid (default, filled), price (experience title with its starting price), next (shows the next open time; left part opens that time, Book opens all dates), outline (quieter, outlined) and gift (opens the gift certificate page). "next" reads "Next time · Today, 4:00 PM" beside a Book part; "outline" reads "See dates". The gift button only shows while the organization sells gift certificates. When this was tested on dev they were switched off, so the gift slot is empty (the frame hides itself, 0×0). Switch gift sales on in Lokl and it becomes a Give a gift certificate button.

If you see the plain "Book now" link instead, embed-lab.allegco.com is not on the organization's allowed websites yet: that is the blocked result, and a mismatch for this host.

Expected on this host (not an allowed website)

Lokl refuses to show its booking embeds on this website, so there is no booking panel, no empty box and no error frame. Where each embed would be, you see:

Lokl also makes a blocked-website record: the owner sees "A browser reported that embed-blocked.allegco.com tried to show your embed…" in Settings › Embed, with an Add it button. It is saved at most once an hour per website, so reloading does not add entries.

Each box is what Settings › Embed copies for that embed. This page loads widget.js once, at the bottom.

1. style=solid

<div data-lokl-book="lokl-test-account" data-view="button" data-target="_top" data-product="dinner-shared" data-location="toronto"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>

Live embed:

2. style=price

<div data-lokl-book="lokl-test-account" data-view="button" data-target="_top" data-product="dinner-shared" data-location="toronto" data-style="price"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>

Live embed:

3. style=next

<div data-lokl-book="lokl-test-account" data-view="button" data-target="_top" data-product="dinner-shared" data-location="toronto" data-style="next"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>

Live embed:

4. style=outline

<div data-lokl-book="lokl-test-account" data-view="button" data-target="_top" data-product="dinner-shared" data-location="toronto" data-style="outline"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>

Live embed:

5. style=gift

<div data-lokl-book="lokl-test-account" data-view="button" data-target="_top" data-style="gift"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>

Live embed: