"use strict";var e=require("@gem-sdk/core");exports.get3rdPartyInstallLink=({handle:e})=>`https://help.gempages.net/articles/${e}`,exports.getLiquidForAppBlock=(t,r,p)=>e.template`
    {% assign app_blocks = section.blocks | where: "type", "@app" %}
    <div
      class="gp-flex gp-w-full gp-items-center ${p}"
      style="${{...e.makeStyleResponsive("jc",r)}}"
    >
      {% for block in app_blocks %}
        {% if block.type == '@app' and block.id contains '${t}' %}
          {% render block %}
        {% endif %}
      {% endfor %}
    </div>
  `,exports.getYotpoFormCode=e=>{if(!e)return"";let t="";return e.replace(/data-yotpo-instance-id ?= ?"([^"]+)"/gi,r=>(t=(t=(t=(t=r).replace("data-yotpo-instance-id=","")).replace(/['"]+/g,"")).replace(/["']+/g,""),e)),t},exports.getYotpoUri=e=>{if(!e)return"";let t="";return(e.replace(/src ?= ?"([^"]+)"/gi,r=>(t=(t=(t=(t=r).replace("src=","")).replace(/['"]+/g,"")).replace(/["']+/g,""),e)),t)?t:""};
