"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@gem-sdk/core"),s=require("../../helpers.js"),r=require("../common/helpers.js");exports.default=({setting:t,advanced:a})=>{let{appBlockId:l,widgetType:i,align:o}=t??{};return i?r.getLiquidForAppBlock(l,o,`${a?.cssClass??""} !gp-block [&_*]:gp-max-w-none`):e.template`
    <div
      class="${a?.cssClass}"
      style="${{...e.makeStyleResponsive("ta",t?.align)}}"
    >
      <div class="boost-sd__filter-block"></div>
      ${e.RenderIf(e.isLocalEnv,`<script ${s.getSettingPreloadData('class="gps-link" delay',"src")}="{{ 'gp-boost-ai-search-and-discovery-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${s.getSettingPreloadData('class="gps-link" delay',"src")}="${e.baseAssetURL}/assets-v2/gp-boost-ai-search-and-discovery-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
      </div>
  `};
