<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(() =&gt; {
      // fetch('https://trustmate.io/widget/api/c2ac27cb-a209-4774-aaa4-7fc51cc99871/html?product=4453') - TODO: remove after platform multihornet fix - !!!frontend do not remove 
  
  const UI = {
    last: (where, what) =&gt; {where?.append(what)},
    first: (where, what) =&gt; {where?.insertBefore(what, where.firstChild)},
    after: (where, what) =&gt; {where?.parentNode.insertBefore(what, where.nextSibling)},
    before: (where, what) =&gt; {where?.parentNode.insertBefore(what, where)},
    replace: (where, what) =&gt; {where?.replaceWith(what)}
  };

  const RELOADS_LIMIT = 10;
  let reloadsCount = 0;

  function loadWidgetHtml() {
    const tag = document.getElementById('c2ac27cb-a209-4774-aaa4-7fc51cc99871');

    if (tag) {
      widgetConfig = {
        target: tag.dataset.t,
        action: tag.dataset.a,
        observe: tag.dataset.o
      };

      if (widgetConfig.target &amp;&amp; widgetConfig.action) {
        if (!Object.hasOwn(UI, widgetConfig.action)) {
          console.error(`TrustMate: action '${widgetConfig.action}' is wrong`);
          return;
        }

        const target = document.querySelector(widgetConfig.target);

        if (!target) {
          console.error(`TrustMate: target '${widgetConfig.target}' not found`);
          return;
        }

        UI[widgetConfig.action](target, tag);
      }

      tag.innerHTML = `&lt;link rel="stylesheet" href="https://trustmate.io/build/css/widget/hornet.e601cd1c.css"&gt;&lt;style&gt;&lt;/style&gt;&lt;div
 class="tm-hornet-container"
 style="display: none;"
 data-tmdisableExtra=""
 data-tmShowWithModal="1"
 data-tmShowWithoutReviews=""
 data-tmShowZeroReviewsNumber=""
 data-tmShowOnMobile="1"
 data-tmScrollToWidget=""
 data-url="https://trustmate.io/"
 data-rating-image="tm-new-star"
 data-reviews-slide-modal-url="https://trustmate.io/api/widget/c2ac27cb-a209-4774-aaa4-7fc51cc99871/reviews-slide-modal?product=4453"
 data-tmRatingPrecision="1"
&gt;&lt;/div&gt;&lt;script type="application/ld+json"&gt;{"@context":"https://schema.org/","@type":"Product","name":"U-lokot Davi 12mm 195x245mm","image":["https://davibikes.hr/wp-content/uploads/2023/08/287-5.jpg"],"brand":{"@type":"Brand","name":null},"description":"U-lokot Davi 12mm","sku":"U-Lock-Tonyon_AKCESORIA","offers":{"@type":"Offer","url":"https://davibikes.hr/shop/oprema-za-bicikle/u-lokot-davi-12mm/","priceCurrency":"EUR","price":"19.00","availability":"https://schema.org/InStock"}}&lt;/script&gt;`;

      if (widgetConfig.target &amp;&amp; widgetConfig.action &amp;&amp; widgetConfig.observe) {
        const observeTag = document.querySelector(widgetConfig.observe);
        if (observeTag) {
          const widgetObserver = new MutationObserver((mutations, observer) =&gt; {
            const tag = document.getElementById('c2ac27cb-a209-4774-aaa4-7fc51cc99871');
            if (tag) return;
            observer.disconnect();
            if (reloadsCount &gt;= RELOADS_LIMIT) {
              console.error('TrustMate: widget c2ac27cb-a209-4774-aaa4-7fc51cc99871 reload limit reached');
              return;
            }
            ++reloadsCount;
            const newTag = document.createElement('div');
            newTag.id = 'c2ac27cb-a209-4774-aaa4-7fc51cc99871';
            newTag.dataset.a = widgetConfig.action;
            newTag.dataset.t = widgetConfig.target;
            newTag.dataset.o = widgetConfig.observe;
            const target = document.querySelector(widgetConfig.target);
            if (!target) {
              console.error(`TrustMate: target '${widgetConfig.target}' not found after last html change`);
              return;
            }
            UI[widgetConfig.action](target, newTag);
            loadWidgetScript();
          });
          widgetObserver.observe(observeTag, {childList: true, subtree: true});
        }
      }
    } else {
      console.error('TrustMate: No tag for c2ac27cb-a209-4774-aaa4-7fc51cc99871');
    }
  }

  function waitForWindow() {
    let index = 0;
    const intervalWindowId = setInterval(function() {
      if (typeof window !== 'undefined') {
        clearInterval(intervalWindowId);
        loadWidgetScript();
      }
      index += 1;
      if (index &gt; 50) {
        clearInterval(intervalWindowId);
      }
    }, 50);
  }

  function loadWidgetScript() {
    if (1048 &lt; 10) return;

    function scriptExists(url) {
      return document.querySelectorAll(`script[src="${url}"]`).length &gt; 0;
    }

    if(scriptExists('https\u003A\/\/trustmate.io\/build\/js\/widget\/hornet.489302a7.js')) {
      function removeJs(src) {
        document.querySelector(`script[src="${src}"]`).remove();
      }

      removeJs('https\u003A\/\/trustmate.io\/build\/js\/widget\/hornet.489302a7.js');
    }

    const widgetScript = document.createElement('script');
    widgetScript.src = 'https\u003A\/\/trustmate.io\/build\/js\/widget\/hornet.489302a7.js';
    widgetScript.defer = true;
    widgetScript.onload = () =&gt; {
      loadWidgetHtml();
    };
    document.body.appendChild(widgetScript);
  }

  if (typeof window === 'undefined') {
    waitForWindow();
  } else {
    loadWidgetScript();
  }
})();
</pre></body></html>