@ikas/storefront 6.1.0-beta.334 → 6.1.0-beta.336
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components/page/head.js +1 -1
- package/package.json +11 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__assign as e}from'./../../ext/tslib/tslib.es6.js';import*as t from"react";import{observer as o}from"mobx-react-lite";import i from"next/head.js";import{useRouter as a}from"next/router";import"../../models/data/blog/category/index.js";import"../../models/data/blog/content/index.js";import"../../models/data/blog/meta-data/index.js";import"../../models/data/blog/tag/index.js";import"../../models/data/blog/index.js";import"../../models/data/brand/index.js";import{IkasThemeJsonPageType as n}from"@ikas/storefront-models";import"mobx";import"../../models/data/campaign-offer/index.js";import"../../models/data/cart/campaign-offer/index.js";import"../../models/data/cart/index.js";import"../../models/data/category/path-item/index.js";import"../../models/data/category/index.js";import"../../models/data/checkout/index.js";import"../../models/data/checkout-settings/index.js";import"../../models/data/city/index.js";import"../../models/data/country/index.js";import"../../models/data/customer/address/region/index.js";import"../../models/data/customer/address/index.js";import"../../models/data/customer/address/ikas-localized-customer-address.js";import"../../models/data/customer/attribute/index.js";import"../../models/data/customer/review/summary/index.js";import"../../models/data/customer/review/index.js";import"../../models/data/customer/index.js";import"../../models/data/customer-form-data-input/index.js";import"../../models/data/district/index.js";import"../../models/data/favorite-product/index.js";import"../../models/data/filter-category/index.js";import"../../models/data/html-meta-data/index.js";import"../../models/data/image/index.js";import"../../models/data/order/address/region/index.js";import"../../models/data/order/address/index.js";import"../../models/data/order/line-item/option/value/index.js";import"../../models/data/order/line-item/variant/value/index.js";import"../../models/data/order/line-item/variant/index.js";import"../../models/data/order/line-item/index.js";import"../../models/data/order/order-transaction-with-prices/index.js";import"../../models/data/order/package/index.js";import"../../models/data/order/transaction/index.js";import"../../models/data/order/index.js";import"../../models/data/payment-gateway/index.js";import"../../models/data/product/attribute-value/index.js";import"../../models/data/product/filter/index.js";import"../../models/data/product/campaign-offer/index.js";import"../../models/data/product/option-set/option/index.js";import"../../models/data/product/option-set/index.js";import"../../models/data/product/stock-location/index.js";import"../../models/data/product/variant/price/index.js";import"../../models/data/product/variant/index.js";import"../../models/data/variant-type/index.js";import"../../models/data/product/index.js";import"../../models/data/raffle/index.js";import"../../models/data/shipping-zone/state/city/district/region/index.js";import"../../models/data/state/index.js";import"../../models/data/storefront-popup/storefront-popup-display-settings/index.js";import"../../models/data/storefront-popup/storefront-popup-page-filter/index.js";import"../../models/data/storefront-popup/index.js";import{IkasIndexPageSeoSetting as r}from"../../models/data/storefront/index-page-seo-setting/index.js";import"../../models/data/theme-json/index.js";import"../../models/data/theme-json/component/index.js";import"../../models/data/theme-json/custom-data/index.js";import"../../models/data/variant-type/variant-value/index.js";import"@ikas/localized-address";import"../../models/ui/blog-list/index.js";import"../../models/ui/blog-category-list/index.js";import"../../models/ui/brand-list/index.js";import"../../models/ui/category-list/index.js";import{IkasProductList as s}from"../../models/ui/product-list/index.js";import"../../models/ui/product-attribute-detail/index.js";import"../../models/ui/product-attribute-list/index.js";import"../../models/ui/customer-review-list/index.js";import"../../models/ui/customer-review-summary-list/index.js";import"../../models/ui/validator/index.js";import"../../models/ui/validator/rules/index.js";import"../../models/ui/validator/form/login.js";import"../../models/ui/validator/form/address.js";import"../../models/ui/validator/form/ikas-address.js";import"../../models/ui/validator/form/register.js";import"../../models/ui/validator/form/contact-form.js";import"../../models/ui/validator/form/forgot-password.js";import"../../models/ui/validator/form/recover-password.js";import"../../models/ui/validator/form/account-info.js";import"../../models/ui/validator/form/raffle-form.js";import"../../models/ui/validator/form/customer-review.js";import"../../models/ui/raffle-list/index.js";import{IkasStorefrontConfig as d}from"@ikas/storefront-config";import"../../analytics/analytics.js";import"../../analytics/head/index.js";import"./index.js";import"next/image.js";import"@ikas/storefront-model-functions";import"../link/index.js";import"../page-editor/loader/style.module.scss.js";import"../google-captcha/index.js";import"../paypal-express-checkout/index.js";import{IkasBaseStore as l}from"../../store/base.js";import"../../pages/home.js";import"../../pages/_slug_/index.js";import"../../pages/pages/_slug_.js";import"../../pages/checkout.js";import"../../pages/account/index.js";import"../../pages/account/addresses.js";import"../../pages/account/orders/index.js";import"../../pages/account/orders/_id_.js";import"../../pages/account/login.js";import"../../pages/account/register.js";import"../../pages/account/forgot-password.js";import"../../pages/account/recover-password.js";import"../../pages/cart.js";import"../../pages/editor.js";import"../../pages/account/favorite-products.js";import"../../pages/search.js";import"next/error.js";import"../../pages/blog/index.js";import"../../pages/blog/_slug_.js";import"../../pages/raffle/_slug_.js";import"../../pages/raffle/index.js";import"../../pages/account/raffles.js";import"../../pages/account/activate.js";import"../../store/customer/index.js";import"../../store/cart/index.js";import"lodash/get";var c=o((function(o){var s,c,g,v,f,h,j,x=o.pageType,y=o.pageTitle,b=o.pageDescription,T=o.canonicals,C=o.disableIndex,D=o.pageSpecificData,L=o.merchantSettings,O=o.addOgpMetas,w=o.productReviewSummary,k=o.pageComponentPropValues,P=a(),R="undefined"!=typeof window,E="local"===process.env.NEXT_PUBLIC_ENV,I=P.asPath.split(/[?#]/)[0].replace("/",""),S=(I="/"===I.charAt(I.length-1)?I.slice(0,-1):I).startsWith("pages/"),_=x===n.BLOG,V=d.getCurrentRouting(),A=((null===(s=d.getMerchantSettings())||void 0===s?void 0:s.defaultLocale)||"tr")===(null==V?void 0:V.locale),M=!!D&&x===n.PRODUCT,N=!!D&&x===n.CATEGORY,B=!!D&&x===n.BRAND,G=M||N||B,U=null;(M||B||N)&&(U=D);var F=null===(c=null==U?void 0:U.translations)||void 0===c?void 0:c.find((function(e){return e.locale===(null==V?void 0:V.locale)})),Y=(null==V?void 0:V.path)?"/"+V.path:"",H=E?"http://localhost:3333":"https://"+d.getDomain(),z=null===(g=d.getIndexPageSeoSettings())||void 0===g?void 0:g.find((function(e){return e.locale===d.getCurrentLocale()})),X=z?new r(z):null;t.useEffect((function(){document.documentElement.lang=d.getCurrentLocale()}),[x,D]);var W=t.useMemo((function(){if(D&&D.href)return"".concat(H).concat(D.href)}),[D]),J=t.useMemo((function(){if(D&&D.href){var e=D.href;return Y?"".concat(H).concat(Y).concat(e):"".concat(H).concat(e)}}),[D]),q=t.useMemo((function(){var e,t,o,i=[];if(O){if(i.push({property:"og:type",content:"website"}),i.push({property:"og:site_name",content:(null==X?void 0:X.pageTitle)||"https://"+d.getDomain()}),y&&i.push({property:"og:title",content:y}),b&&i.push({property:"og:description",content:b}),x===n.INDEX){var a=null,r=null;!y&&(null==X?void 0:X.pageTitle)&&(a=X.pageTitle),!b&&(null==X?void 0:X.description)&&(r=X.description),(s=null===(e=d.getMetaTemplates())||void 0===e?void 0:e.find((function(e){return e.locale===d.getCurrentLocale()&&e.pageType===x})))&&(a=u(D,x,s.titleTemplate||""),r=u(D,x,s.descriptionTemplate||"")),a&&i.push({property:"og:title",content:a}),r&&i.push({property:"og:description",content:r})}if(x===n.PRODUCT||x===n.CATEGORY||x===n.BRAND){var s,l=null,c=null;if((s=null===(t=d.getMetaTemplates())||void 0===t?void 0:t.find((function(e){return e.locale===d.getCurrentLocale()&&e.pageType===x})))&&(l=u(D,x,s.titleTemplate||""),c=u(D,x,s.descriptionTemplate||"")),!y){var p=l||G&&A&&(null==U?void 0:U.name)||G&&!A&&(null==F?void 0:F.name);p&&i.push({property:"og:title",content:p})}if(!b){var m=c||G&&!A&&(null==F?void 0:F.description);m&&i.push({property:"og:description",content:m})}}i.push({property:"og:url",content:J||(R?window.location.href:"")||"https://".concat(d.getDomain())});var g=null;if(D&&x===n.PRODUCT){var v=D.selectedVariant.mainImage;(null==v?void 0:v.image)&&(g={property:"og:image",content:v.image.src.replace(".webp",".jpg")})}if(D&&x===n.CATEGORY){var f=D;f.image&&(g={property:"og:image",content:f.image.src.replace(".webp",".jpg")})}if(D&&x===n.BRAND){var h=D;h.image&&(g={property:"og:image",content:h.image.src.replace(".webp",".jpg")})}if(D&&x===n.BLOG_CATEGORY){var j=D;j.image&&(g={property:"og:image",content:j.image.src.replace(".webp",".jpg")})}if(D&&x===n.BLOG){var T=D;T.image&&(g={property:"og:image",content:T.image.src.replace(".webp",".jpg")})}!g&&(null==X?void 0:X.icon)&&(g={property:"og:image",content:null===(o=null==X?void 0:X.icon)||void 0===o?void 0:o.src.replace(".webp",".jpg")}),!g&&(null==L?void 0:L.logo)&&(g={property:"og:image",content:L.logo.src.replace(".webp",".jpg")}),g&&i.push(g)}return i}),[y,D,W,b,L,O,L]),K=t.useMemo((function(){var t=[],o=(null==X?void 0:X.pageTitle)||(null==L?void 0:L.merchantName)||"";if(L){var i={"@context":"https://schema.org","@type":"Website",url:"https://"+d.getDomain()},a=function(t){var o,i,a,n,r,s,l=(null==t?void 0:t.logo)?t.logo.src:void 0;return{"@context":"https://schema.org","@type":"Store",name:null==t?void 0:t.merchantName,logo:l,image:l,url:"https://"+d.getDomain(),telephone:null==t?void 0:t.phone,address:e(e({"@type":"PostalAddress",streetAddress:null===(o=t.address)||void 0===o?void 0:o.addressLine1,addressLocality:null===(a=null===(i=t.address)||void 0===i?void 0:i.city)||void 0===a?void 0:a.name},t.address&&t.address.state&&{addressRegion:t.address.state.code}),{postalCode:null===(n=t.address)||void 0===n?void 0:n.postalCode,addressCountry:null===(s=null===(r=t.address)||void 0===r?void 0:r.country)||void 0===s?void 0:s.code})}}(L);t.push(i),t.push(a)}if(D&&x===n.PRODUCT){var r=D,s=function(t,o){var i,a,r,s,l,c;try{var p=["c7d934c7-2d44-43c3-b023-de7aa93fe435"],m=null===(i=d.getMerchantSettings())||void 0===i?void 0:i.merchantId,g=d.getCurrentRouting(),v=null==g?void 0:g.path,f=function(e){return v?"https://".concat(d.getDomain(),"/").concat(v).concat(e):"https://".concat(d.getDomain()).concat(e)},h=t.selectedVariant,j=null,x=null===(a=d.getMetaTemplates())||void 0===a?void 0:a.find((function(e){return e.locale===d.getCurrentLocale()&&n.PRODUCT}));return x&&(j=u(t,n.PRODUCT,x.descriptionTemplate||"")),e(e({"@context":"https://schema.org/","@type":"Product",name:t.name,description:(null===(r=t.metaData)||void 0===r?void 0:r.description)||j,image:null===(s=h.images)||void 0===s?void 0:s.map((function(e){return e.image?e.image.src:""})),productId:h.id,sku:h.sku,mpn:(null===(l=h.barcodeList)||void 0===l?void 0:l.length)?h.barcodeList[0]:"",brand:{"@type":"Brand",name:null===(c=t.brand)||void 0===c?void 0:c.name}},o&&{aggregateRating:{"@type":"AggregateRating",ratingValue:o.averageStar,reviewCount:o.totalReview}}),p.some((function(e){return e!==m}))?{offers:t.variants.map((function(e){var o;return{"@type":"Offer",url:f(t.productHref+"?vid="+e.id),priceCurrency:e.price.currency||"TRY",price:(null!==(o=e.campaignPrice)&&void 0!==o?o:e.price.finalPrice).toFixed(2),priceValidUntil:"",itemCondition:"https://schema.org/NewCondition",availability:e.stock>0||e.sellIfOutOfStock?"https://schema.org/InStock":"https://schema.org/OutOfStock"}}))}:{})}catch(e){}}(r,w||null);if(s&&t.push(s),r.categories.length)(c=p(r.categories[0],o,r))&&t.push(c)}if(D&&x===n.CATEGORY){var l=function(e){var t,o;try{var i=d.getCurrentRouting(),a=null==i?void 0:i.path,n=function(e){return a?"https://".concat(d.getDomain(),"/").concat(a).concat(e):"https://".concat(d.getDomain()).concat(e)};return{"@context":"http://schema.org","@type":"CollectionPage",url:n(e.href),name:null===(t=e.metaData)||void 0===t?void 0:t.pageTitle,description:null===(o=e.metaData)||void 0===o?void 0:o.description,image:e.image?e.image.src:void 0}}catch(e){}}(D),c=p(D,o),g=m(k);l&&t.push(l),c&&t.push(c),g&&t.push(g)}D&&x===n.BRAND&&((g=m(k))&&t.push(g));if(D&&x===n.BLOG){var v=function(t){var o;try{var i="https://".concat(d.getDomain()).concat(t.href),a="".concat(t.writer.firstName," ").concat(t.writer.lastName),n=(new DOMParser).parseFromString(t.blogContent.content,"text/html").body.textContent;return e(e({"@context":"https://schema.org","@type":"BlogPosting",headline:t.title,image:null===(o=t.image)||void 0===o?void 0:o.src},t.category&&{genre:t.category.name}),{url:i,datePublished:new Date(t.createdAt).toISOString(),dateCreated:new Date(t.createdAt).toISOString(),dateModified:new Date(t.updatedAt).toISOString(),description:t.shortDescription,articleBody:n,author:{"@type":"Person",name:a}})}catch(e){}}(D);v&&t.push(v)}return t}),[D,L]),Q=t.useMemo((function(){var e,t=null===(e=d.getMetaTemplates())||void 0===e?void 0:e.find((function(e){return e.locale===d.getCurrentLocale()&&e.pageType===x}));return t?u(D,x,t.titleTemplate||""):null}),[x,D]),Z=t.useMemo((function(){var e,t=null===(e=d.getMetaTemplates())||void 0===e?void 0:e.find((function(e){return e.locale===d.getCurrentLocale()&&e.pageType===x}));return t?u(D,x,t.descriptionTemplate||""):null}),[x,D]),$=t.useMemo((function(){return!d.getFavicon()&&(null==X?void 0:X.favIcon)?X.favIcon:null}),[]),ee=[];d.getRoutings().forEach((function(e){var t;(null===(t=e.countryCodes)||void 0===t?void 0:t.length)?e.countryCodes.forEach((function(t){ee.push({routing:e,hrefLang:e.locale+"-"+t})})):ee.push({routing:e,hrefLang:e.locale})}));var te=function(e){var t,o,i,a,n,r,s,l,c,p=D,m=null===(o=null===(t=null==p?void 0:p.metaData)||void 0===t?void 0:t.translations)||void 0===o?void 0:o.find((function(t){return t.locale===e.locale}));if(m&&(null==m?void 0:m.slug))return m.slug;var u=null===(i=d.getMerchantSettings())||void 0===i?void 0:i.defaultLocale,g=ee.find((function(e){return!e.routing.path}));return g?(null===(r=null===(n=null===(a=null==p?void 0:p.metaData)||void 0===a?void 0:a.translations)||void 0===n?void 0:n.find((function(e){return e.locale===g.routing.locale})))||void 0===r?void 0:r.slug)||"":(null===(c=null===(l=null===(s=null==p?void 0:p.metaData)||void 0===s?void 0:s.translations)||void 0===l?void 0:l.find((function(e){return e.locale===u})))||void 0===c?void 0:c.slug)||""},oe=null===(v=ee.find((function(e){return!e.routing.path})))||void 0===v?void 0:v.routing.locale,ie=(null===(j=null===(h=null===(f=null==D?void 0:D.metaData)||void 0===f?void 0:f.translations)||void 0===h?void 0:h.find((function(e){return e.locale===oe})))||void 0===j?void 0:j.slug)||"",ae=l.getInstance();return t.createElement(i,null,t.createElement("title",null,y||Q||(G?A?(null==U?void 0:U.name)||"":(null==F?void 0:F.name)||"":(null==X?void 0:X.pageTitle)||"")),t.createElement("meta",{name:"description",content:b||Z||(G?(null==F?void 0:F.description)||"":(null==X?void 0:X.description)||"")}),ee.length>1&&!S&&!_&&t.createElement(t.Fragment,null,ee.filter((function(e){return!S||e.routing.id===(null==V?void 0:V.id)})).map((function(e){return t.createElement("link",{key:e.routing.id+e.hrefLang,rel:"alternate",hrefLang:e.hrefLang,href:"".concat(H+(e.routing.path?"/"+e.routing.path:""),"/").concat(te(e.routing))})})),t.createElement("link",{rel:"alternate",hrefLang:"x-default",href:"".concat(H).concat(oe?"/".concat(ie):"".concat(Y,"/").concat(I))})),!!C&&t.createElement("meta",{name:"robots",content:"noindex"}),!!O&&q.map((function(e,o){return t.createElement("meta",{key:"".concat(e.content,"-").concat(o),property:e.property,content:e.content})})),!!T&&T.map((function(e,o){return t.createElement("link",{key:o+"url",rel:"canonical",href:"".concat(H).concat(Y).concat(e)})})),$&&t.createElement("link",{rel:"shortcut icon",href:"".concat(process.env.NEXT_PUBLIC_CDN_URL,"images/").concat($,"/image_180.webp"),type:"image/webp"}),!T&&ae.currentPageType!==n.NOT_FOUND&&t.createElement("link",{rel:"canonical",href:"".concat(H).concat(Y,"/").concat(I)}),!!K.length&&K.map((function(e,o){return t.createElement("script",{key:o,type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(e)}})})))}));function p(e,t,o){try{var i=l.getInstance(),a=d.getCurrentRouting(),r=null==a?void 0:a.path,s=function(e){return r?"https://".concat(d.getDomain(),"/").concat(r).concat(e):"https://".concat(d.getDomain()).concat(e)},c=[{"@type":"ListItem",position:1,name:t,item:"https://".concat(d.getDomain())}];return(c=c.concat(e.categoryPathItems.map((function(e,t){return{"@type":"ListItem",position:t+2,name:e.name,item:s(e.href)}})))).push({"@type":"ListItem",position:c.length+1,name:e.name,item:s(e.href)}),i.currentPageType===n.PRODUCT&&o&&c.push({"@type":"ListItem",position:c.length+1,name:o.name,item:s(o.productHref)}),{"@context":"http://schema.org","@type":"BreadcrumbList",itemListElement:c}}catch(e){}}function m(e){try{var t=d.getCurrentRouting(),o=null==t?void 0:t.path;if(e){var i=(e.filter((function(e){return!e.component.isHeader&&!e.component.isFooter}))||[]).find((function(e){return Object.values(e.propValues).find((function(e){var t;return e instanceof s&&(null===(t=e._productListPropValue)||void 0===t?void 0:t.usePageFilter)}))}));if(i){var a=Object.values(i.propValues).find((function(e){var t;return e instanceof s&&(null===(t=e._productListPropValue)||void 0===t?void 0:t.usePageFilter)}));if(a)return{"@context":"http://schema.org","@type":"ItemList",itemListElement:(a.data||[]).slice(0,10).map((function(e,t){var i,a,n,r;return{"@type":"ListItem",position:t+1,item:{"@type":"Product",name:e.name,image:(null===(a=null===(i=e.selectedVariant.mainImage)||void 0===i?void 0:i.image)||void 0===a?void 0:a.src)||"",offers:{"@type":"Offer",url:(r=e.href,o?"https://".concat(d.getDomain(),"/").concat(o).concat(r):"https://".concat(d.getDomain()).concat(r)),priceCurrency:e.selectedVariant.price.currency||"TRY",price:(null!==(n=e.selectedVariant.campaignPrice)&&void 0!==n?n:e.selectedVariant.finalPrice).toFixed(2),availability:e.selectedVariant.stock>0||e.selectedVariant.sellIfOutOfStock?"https://schema.org/InStock":"https://schema.org/OutOfStock"}}}}))}}}}catch(e){}}function u(e,t,o){var i,a,r=o;try{switch(t){case n.PRODUCT:var s=e,d=s.name,l=(null===(i=s.brand)||void 0===i?void 0:i.name)||"",c=s.selectedVariant.sku||"",p=(null===(a=s.selectedVariant.barcodeList)||void 0===a?void 0:a.length)?s.selectedVariant.barcodeList[0]:"",m=s.selectedVariant.campaignPrice?s.selectedVariant.formattedCampaignPrice:s.selectedVariant.formattedFinalPrice;r.includes("{{name}}")&&(r=g(r,"{{name}}",d)),r.includes("{{brand}}")&&(r=g(r,"{{brand}}",l)),r.includes("{{sku}}")&&(r=g(r,"{{sku}}",c)),r.includes("{{barcode}}")&&(r=g(r,"{{barcode}}",p)),r.includes("{{price}}")&&(r=g(r,"{{price}}",m.toString()));break;case n.BRAND:case n.CATEGORY:case n.BLOG_CATEGORY:var u=e.name||"";r.includes("{{name}}")&&(r=g(r,"{{name}}",u));break;case n.BLOG:var v=e.title;r.includes("{{name}}")&&(r=g(r,"{{name}}",v))}}catch(e){}return r.trimEnd()}function g(e,t,o){var i=new RegExp(t,"g");return e.replace(i,o)}export{c as IkasPageHead};
|
|
1
|
+
import{__assign as t}from'./../../ext/tslib/tslib.es6.js';import*as e from"react";import{observer as o}from"mobx-react-lite";import i from"next/head.js";import{useRouter as a}from"next/router";import"../../models/data/blog/category/index.js";import"../../models/data/blog/content/index.js";import"../../models/data/blog/meta-data/index.js";import"../../models/data/blog/tag/index.js";import"../../models/data/blog/index.js";import"../../models/data/brand/index.js";import{IkasThemeJsonPageType as n}from"@ikas/storefront-models";import"mobx";import"../../models/data/campaign-offer/index.js";import"../../models/data/cart/campaign-offer/index.js";import"../../models/data/cart/index.js";import"../../models/data/category/path-item/index.js";import"../../models/data/category/index.js";import"../../models/data/checkout/index.js";import"../../models/data/checkout-settings/index.js";import"../../models/data/city/index.js";import"../../models/data/country/index.js";import"../../models/data/customer/address/region/index.js";import"../../models/data/customer/address/index.js";import"../../models/data/customer/address/ikas-localized-customer-address.js";import"../../models/data/customer/attribute/index.js";import"../../models/data/customer/review/summary/index.js";import"../../models/data/customer/review/index.js";import"../../models/data/customer/index.js";import"../../models/data/customer-form-data-input/index.js";import"../../models/data/district/index.js";import"../../models/data/favorite-product/index.js";import"../../models/data/filter-category/index.js";import"../../models/data/html-meta-data/index.js";import"../../models/data/image/index.js";import"../../models/data/order/address/region/index.js";import"../../models/data/order/address/index.js";import"../../models/data/order/line-item/option/value/index.js";import"../../models/data/order/line-item/variant/value/index.js";import"../../models/data/order/line-item/variant/index.js";import"../../models/data/order/line-item/index.js";import"../../models/data/order/order-transaction-with-prices/index.js";import"../../models/data/order/package/index.js";import"../../models/data/order/transaction/index.js";import"../../models/data/order/index.js";import"../../models/data/payment-gateway/index.js";import"../../models/data/product/attribute-value/index.js";import"../../models/data/product/filter/index.js";import"../../models/data/product/campaign-offer/index.js";import"../../models/data/product/option-set/option/index.js";import"../../models/data/product/option-set/index.js";import"../../models/data/product/stock-location/index.js";import"../../models/data/product/variant/price/index.js";import"../../models/data/product/variant/index.js";import"../../models/data/variant-type/index.js";import"../../models/data/product/index.js";import"../../models/data/raffle/index.js";import"../../models/data/shipping-zone/state/city/district/region/index.js";import"../../models/data/state/index.js";import"../../models/data/storefront-popup/storefront-popup-display-settings/index.js";import"../../models/data/storefront-popup/storefront-popup-page-filter/index.js";import"../../models/data/storefront-popup/index.js";import{IkasIndexPageSeoSetting as r}from"../../models/data/storefront/index-page-seo-setting/index.js";import"../../models/data/theme-json/index.js";import"../../models/data/theme-json/component/index.js";import"../../models/data/theme-json/custom-data/index.js";import"../../models/data/variant-type/variant-value/index.js";import"@ikas/localized-address";import"../../models/ui/blog-list/index.js";import"../../models/ui/blog-category-list/index.js";import"../../models/ui/brand-list/index.js";import"../../models/ui/category-list/index.js";import{IkasProductList as s}from"../../models/ui/product-list/index.js";import"../../models/ui/product-attribute-detail/index.js";import"../../models/ui/product-attribute-list/index.js";import"../../models/ui/customer-review-list/index.js";import"../../models/ui/customer-review-summary-list/index.js";import"../../models/ui/validator/index.js";import"../../models/ui/validator/rules/index.js";import"../../models/ui/validator/form/login.js";import"../../models/ui/validator/form/address.js";import"../../models/ui/validator/form/ikas-address.js";import"../../models/ui/validator/form/register.js";import"../../models/ui/validator/form/contact-form.js";import"../../models/ui/validator/form/forgot-password.js";import"../../models/ui/validator/form/recover-password.js";import"../../models/ui/validator/form/account-info.js";import"../../models/ui/validator/form/raffle-form.js";import"../../models/ui/validator/form/customer-review.js";import"../../models/ui/raffle-list/index.js";import{IkasStorefrontConfig as d}from"@ikas/storefront-config";import"../../analytics/analytics.js";import"../../analytics/head/index.js";import"./index.js";import"next/image.js";import"@ikas/storefront-model-functions";import"../link/index.js";import"../page-editor/loader/style.module.scss.js";import"../google-captcha/index.js";import"../paypal-express-checkout/index.js";import{IkasBaseStore as l}from"../../store/base.js";import"../../pages/home.js";import"../../pages/_slug_/index.js";import"../../pages/pages/_slug_.js";import"../../pages/checkout.js";import"../../pages/account/index.js";import"../../pages/account/addresses.js";import"../../pages/account/orders/index.js";import"../../pages/account/orders/_id_.js";import"../../pages/account/login.js";import"../../pages/account/register.js";import"../../pages/account/forgot-password.js";import"../../pages/account/recover-password.js";import"../../pages/cart.js";import"../../pages/editor.js";import"../../pages/account/favorite-products.js";import"../../pages/search.js";import"next/error.js";import"../../pages/blog/index.js";import"../../pages/blog/_slug_.js";import"../../pages/raffle/_slug_.js";import"../../pages/raffle/index.js";import"../../pages/account/raffles.js";import"../../pages/account/activate.js";import"../../store/customer/index.js";import"../../store/cart/index.js";import"lodash/get";var c=o((function(o){var s,c,v,f,h,j,x,y=o.pageType,b=o.pageTitle,L=o.pageDescription,D=o.canonicals,T=o.disableIndex,C=o.pageSpecificData,O=o.merchantSettings,w=o.addOgpMetas,k=o.productReviewSummary,R=o.pageComponentPropValues,P=a(),E="undefined"!=typeof window,I="local"===process.env.NEXT_PUBLIC_ENV,_=P.asPath.split(/[?#]/)[0].replace("/",""),S=(_="/"===_.charAt(_.length-1)?_.slice(0,-1):_).startsWith("pages/"),V=y===n.BLOG,B=d.getCurrentRouting(),A=((null===(s=d.getMerchantSettings())||void 0===s?void 0:s.defaultLocale)||"tr")===(null==B?void 0:B.locale),M=!!C&&y===n.PRODUCT,N=!!C&&y===n.CATEGORY,G=!!C&&y===n.BRAND,U=M||N||G,F=null;(M||G||N)&&(F=C);var Y=null===(c=null==F?void 0:F.translations)||void 0===c?void 0:c.find((function(t){return t.locale===(null==B?void 0:B.locale)})),H=(null==B?void 0:B.path)?"/"+B.path:"",X=I?"http://localhost:3333":"https://"+d.getDomain(),z=null===(v=d.getIndexPageSeoSettings())||void 0===v?void 0:v.find((function(t){return t.locale===d.getCurrentLocale()})),W=z?new r(z):null;e.useEffect((function(){document.documentElement.lang=d.getCurrentLocale()}),[y,C]);var J=e.useMemo((function(){if(C&&C.href)return"".concat(X).concat(C.href)}),[C]),q=e.useMemo((function(){if(C&&C.href){var t=C.href;return H?"".concat(X).concat(H).concat(t):"".concat(X).concat(t)}}),[C]),K=e.useMemo((function(){var t,e,o,i=[];if(w){if(i.push({property:"og:type",content:"website"}),i.push({property:"og:site_name",content:(null==W?void 0:W.pageTitle)||"https://"+d.getDomain()}),b&&i.push({property:"og:title",content:b}),L&&i.push({property:"og:description",content:L}),y===n.INDEX){var a=null,r=null;!b&&(null==W?void 0:W.pageTitle)&&(a=W.pageTitle),!L&&(null==W?void 0:W.description)&&(r=W.description),(s=null===(t=d.getMetaTemplates())||void 0===t?void 0:t.find((function(t){return t.locale===d.getCurrentLocale()&&t.pageType===y})))&&(a=g(C,y,s.titleTemplate||""),r=g(C,y,s.descriptionTemplate||"")),a&&i.push({property:"og:title",content:a}),r&&i.push({property:"og:description",content:r})}if(y===n.PRODUCT||y===n.CATEGORY||y===n.BRAND){var s,l=null,c=null;if((s=null===(e=d.getMetaTemplates())||void 0===e?void 0:e.find((function(t){return t.locale===d.getCurrentLocale()&&t.pageType===y})))&&(l=g(C,y,s.titleTemplate||""),c=g(C,y,s.descriptionTemplate||"")),!b){var m=l||U&&A&&(null==F?void 0:F.name)||U&&!A&&(null==Y?void 0:Y.name);m&&i.push({property:"og:title",content:m})}if(!L){var p=c||U&&!A&&(null==Y?void 0:Y.description);p&&i.push({property:"og:description",content:p})}}i.push({property:"og:url",content:q||(E?window.location.href:"")||"https://".concat(d.getDomain())});var u=null;if(C&&y===n.PRODUCT){var v=C.selectedVariant.mainImage;(null==v?void 0:v.image)&&(u={property:"og:image",content:v.image.src.replace(".webp",".jpg")})}if(C&&y===n.CATEGORY){var f=C;f.image&&(u={property:"og:image",content:f.image.src.replace(".webp",".jpg")})}if(C&&y===n.BRAND){var h=C;h.image&&(u={property:"og:image",content:h.image.src.replace(".webp",".jpg")})}if(C&&y===n.BLOG_CATEGORY){var j=C;j.image&&(u={property:"og:image",content:j.image.src.replace(".webp",".jpg")})}if(C&&y===n.BLOG){var x=C;x.image&&(u={property:"og:image",content:x.image.src.replace(".webp",".jpg")})}!u&&(null==W?void 0:W.icon)&&(u={property:"og:image",content:null===(o=null==W?void 0:W.icon)||void 0===o?void 0:o.src.replace(".webp",".jpg")}),!u&&(null==O?void 0:O.logo)&&(u={property:"og:image",content:O.logo.src.replace(".webp",".jpg")}),u&&i.push(u)}return i}),[b,C,J,L,O,w,O]),Q=e.useMemo((function(){var e=[],o=(null==W?void 0:W.pageTitle)||(null==O?void 0:O.merchantName)||"";if(O){var i={"@context":"https://schema.org","@type":"Website",url:"https://"+d.getDomain()},a=function(e){var o,i,a,n,r,s,l=(null==e?void 0:e.logo)?e.logo.src:void 0;return{"@context":"https://schema.org","@type":"Store",name:null==e?void 0:e.merchantName,logo:l,image:l,url:"https://"+d.getDomain(),telephone:null==e?void 0:e.phone,address:t(t({"@type":"PostalAddress",streetAddress:null===(o=e.address)||void 0===o?void 0:o.addressLine1,addressLocality:null===(a=null===(i=e.address)||void 0===i?void 0:i.city)||void 0===a?void 0:a.name},e.address&&e.address.state&&{addressRegion:e.address.state.code}),{postalCode:null===(n=e.address)||void 0===n?void 0:n.postalCode,addressCountry:null===(s=null===(r=e.address)||void 0===r?void 0:r.country)||void 0===s?void 0:s.code})}}(O);e.push(i),e.push(a)}if(C&&y===n.PRODUCT){var r=C,s=function(e,o){var i,a,r,s,l,c;try{var m=["c7d934c7-2d44-43c3-b023-de7aa93fe435"],p=null===(i=d.getMerchantSettings())||void 0===i?void 0:i.merchantId,u=d.getCurrentRouting(),v=null==u?void 0:u.path,f=function(t){return v?"https://".concat(d.getDomain(),"/").concat(v).concat(t):"https://".concat(d.getDomain()).concat(t)},h=e.selectedVariant,j=null,x=null===(a=d.getMetaTemplates())||void 0===a?void 0:a.find((function(t){return t.locale===d.getCurrentLocale()&&n.PRODUCT}));return x&&(j=g(e,n.PRODUCT,x.descriptionTemplate||"")),t(t({"@context":"https://schema.org/","@type":"Product",name:e.name,description:(null===(r=e.metaData)||void 0===r?void 0:r.description)||j,image:null===(s=h.images)||void 0===s?void 0:s.map((function(t){return t.image?t.image.src:""})),productId:h.id,sku:h.sku,mpn:(null===(l=h.barcodeList)||void 0===l?void 0:l.length)?h.barcodeList[0]:"",brand:{"@type":"Brand",name:null===(c=e.brand)||void 0===c?void 0:c.name}},o&&{aggregateRating:{"@type":"AggregateRating",ratingValue:o.averageStar,reviewCount:o.totalReview}}),m.some((function(t){return t!==p}))?{offers:e.variants.map((function(t){var o;return{"@type":"Offer",url:f(e.productHref+"?vid="+t.id),priceCurrency:t.price.currency||"TRY",price:(null!==(o=t.campaignPrice)&&void 0!==o?o:t.price.finalPrice).toFixed(2),priceValidUntil:"",itemCondition:"https://schema.org/NewCondition",availability:t.stock>0||t.sellIfOutOfStock?"https://schema.org/InStock":"https://schema.org/OutOfStock"}}))}:{})}catch(t){}}(r,k||null);if(s&&e.push(s),r.categories.length)(c=m(r.categories[0],o,r))&&e.push(c)}if(C&&y===n.CATEGORY){var l=function(t){var e,o;try{var i=d.getCurrentRouting(),a=null==i?void 0:i.path,n=function(t){return a?"https://".concat(d.getDomain(),"/").concat(a).concat(t):"https://".concat(d.getDomain()).concat(t)};return{"@context":"http://schema.org","@type":"CollectionPage",url:n(t.href),name:null===(e=t.metaData)||void 0===e?void 0:e.pageTitle,description:null===(o=t.metaData)||void 0===o?void 0:o.description,image:t.image?t.image.src:void 0}}catch(t){}}(C),c=m(C,o),v=p(R);l&&e.push(l),c&&e.push(c),v&&e.push(v)}C&&y===n.BRAND&&((v=p(R))&&e.push(v));var f=function(t,e){if(console.log("pageType",t),t===n.BLOG_INDEX&&e)return e;return"Blog"}(y,b);C&&y===n.BLOG_CATEGORY&&((j=u(o,f,C))&&e.push(j));if(C&&y===n.BLOG){var h=function(e){var o;try{var i="https://".concat(d.getDomain()).concat(e.href),a="".concat(e.writer.firstName," ").concat(e.writer.lastName),n=(new DOMParser).parseFromString(e.blogContent.content,"text/html").body.textContent;return t(t({"@context":"https://schema.org","@type":"BlogPosting",headline:e.title,image:null===(o=e.image)||void 0===o?void 0:o.src},e.category&&{genre:e.category.name}),{url:i,datePublished:new Date(e.createdAt).toISOString(),dateCreated:new Date(e.createdAt).toISOString(),dateModified:new Date(e.updatedAt).toISOString(),description:e.shortDescription,articleBody:n,author:{"@type":"Person",name:a}})}catch(t){}}(C),j=u(o,f,void 0,C);h&&e.push(h),j&&e.push(j)}return e}),[C,O]),Z=e.useMemo((function(){var t,e=null===(t=d.getMetaTemplates())||void 0===t?void 0:t.find((function(t){return t.locale===d.getCurrentLocale()&&t.pageType===y}));return e?g(C,y,e.titleTemplate||""):null}),[y,C]),$=e.useMemo((function(){var t,e=null===(t=d.getMetaTemplates())||void 0===t?void 0:t.find((function(t){return t.locale===d.getCurrentLocale()&&t.pageType===y}));return e?g(C,y,e.descriptionTemplate||""):null}),[y,C]),tt=e.useMemo((function(){return!d.getFavicon()&&(null==W?void 0:W.favIcon)?W.favIcon:null}),[]),et=[];d.getRoutings().forEach((function(t){var e;(null===(e=t.countryCodes)||void 0===e?void 0:e.length)?t.countryCodes.forEach((function(e){et.push({routing:t,hrefLang:t.locale+"-"+e})})):et.push({routing:t,hrefLang:t.locale})}));var ot=function(t){var e,o,i,a,n,r,s,l,c,m=C,p=null===(o=null===(e=null==m?void 0:m.metaData)||void 0===e?void 0:e.translations)||void 0===o?void 0:o.find((function(e){return e.locale===t.locale}));if(p&&(null==p?void 0:p.slug))return p.slug;var u=null===(i=d.getMerchantSettings())||void 0===i?void 0:i.defaultLocale,g=et.find((function(t){return!t.routing.path}));return g?(null===(r=null===(n=null===(a=null==m?void 0:m.metaData)||void 0===a?void 0:a.translations)||void 0===n?void 0:n.find((function(t){return t.locale===g.routing.locale})))||void 0===r?void 0:r.slug)||"":(null===(c=null===(l=null===(s=null==m?void 0:m.metaData)||void 0===s?void 0:s.translations)||void 0===l?void 0:l.find((function(t){return t.locale===u})))||void 0===c?void 0:c.slug)||""},it=null===(f=et.find((function(t){return!t.routing.path})))||void 0===f?void 0:f.routing.locale,at=(null===(x=null===(j=null===(h=null==C?void 0:C.metaData)||void 0===h?void 0:h.translations)||void 0===j?void 0:j.find((function(t){return t.locale===it})))||void 0===x?void 0:x.slug)||"",nt=l.getInstance();return e.createElement(i,null,e.createElement("title",null,b||Z||(U?A?(null==F?void 0:F.name)||"":(null==Y?void 0:Y.name)||"":(null==W?void 0:W.pageTitle)||"")),e.createElement("meta",{name:"description",content:L||$||(U?(null==Y?void 0:Y.description)||"":(null==W?void 0:W.description)||"")}),et.length>1&&!S&&!V&&e.createElement(e.Fragment,null,et.filter((function(t){return!S||t.routing.id===(null==B?void 0:B.id)})).map((function(t){return e.createElement("link",{key:t.routing.id+t.hrefLang,rel:"alternate",hrefLang:t.hrefLang,href:"".concat(X+(t.routing.path?"/"+t.routing.path:""),"/").concat(ot(t.routing))})})),e.createElement("link",{rel:"alternate",hrefLang:"x-default",href:"".concat(X).concat(it?"/".concat(at):"".concat(H,"/").concat(_))})),!!T&&e.createElement("meta",{name:"robots",content:"noindex"}),!!w&&K.map((function(t,o){return e.createElement("meta",{key:"".concat(t.content,"-").concat(o),property:t.property,content:t.content})})),!!D&&D.map((function(t,o){return e.createElement("link",{key:o+"url",rel:"canonical",href:"".concat(X).concat(H).concat(t)})})),tt&&e.createElement("link",{rel:"shortcut icon",href:"".concat(process.env.NEXT_PUBLIC_CDN_URL,"images/").concat(tt,"/image_180.webp"),type:"image/webp"}),!D&&nt.currentPageType!==n.NOT_FOUND&&e.createElement("link",{rel:"canonical",href:"".concat(X).concat(H,"/").concat(_)}),!!Q.length&&Q.map((function(t,o){return e.createElement("script",{key:o,type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(t)}})})))}));function m(t,e,o){try{var i=l.getInstance(),a=d.getCurrentRouting(),r=null==a?void 0:a.path,s=function(t){return r?"https://".concat(d.getDomain(),"/").concat(r).concat(t):"https://".concat(d.getDomain()).concat(t)},c=[{"@type":"ListItem",position:1,name:e,item:"https://".concat(d.getDomain())}];return(c=c.concat(t.categoryPathItems.map((function(t,e){return{"@type":"ListItem",position:e+2,name:t.name,item:s(t.href)}})))).push({"@type":"ListItem",position:c.length+1,name:t.name,item:s(t.href)}),i.currentPageType===n.PRODUCT&&o&&c.push({"@type":"ListItem",position:c.length+1,name:o.name,item:s(o.productHref)}),{"@context":"http://schema.org","@type":"BreadcrumbList",itemListElement:c}}catch(t){}}function p(t){try{var e=d.getCurrentRouting(),o=null==e?void 0:e.path;if(t){var i=(t.filter((function(t){return!t.component.isHeader&&!t.component.isFooter}))||[]).find((function(t){return Object.values(t.propValues).find((function(t){var e;return t instanceof s&&(null===(e=t._productListPropValue)||void 0===e?void 0:e.usePageFilter)}))}));if(i){var a=Object.values(i.propValues).find((function(t){var e;return t instanceof s&&(null===(e=t._productListPropValue)||void 0===e?void 0:e.usePageFilter)}));if(a)return{"@context":"http://schema.org","@type":"ItemList",itemListElement:(a.data||[]).slice(0,10).map((function(t,e){var i,a,n,r;return{"@type":"ListItem",position:e+1,item:{"@type":"Product",name:t.name,image:(null===(a=null===(i=t.selectedVariant.mainImage)||void 0===i?void 0:i.image)||void 0===a?void 0:a.src)||"",offers:{"@type":"Offer",url:(r=t.href,o?"https://".concat(d.getDomain(),"/").concat(o).concat(r):"https://".concat(d.getDomain()).concat(r)),priceCurrency:t.selectedVariant.price.currency||"TRY",price:(null!==(n=t.selectedVariant.campaignPrice)&&void 0!==n?n:t.selectedVariant.finalPrice).toFixed(2),availability:t.selectedVariant.stock>0||t.selectedVariant.sellIfOutOfStock?"https://schema.org/InStock":"https://schema.org/OutOfStock"}}}}))}}}}catch(t){}}function u(t,e,o,i){var a,n;try{var r=d.getCurrentRouting(),s=null==r?void 0:r.path,l=function(t){return s?"https://".concat(d.getDomain(),"/").concat(s).concat(t):"https://".concat(d.getDomain()).concat(t)},c=[{"@type":"ListItem",position:1,name:t,item:"https://".concat(d.getDomain())},{"@type":"ListItem",position:2,name:e,item:l("/blog")}],m=o||(null==i?void 0:i.category);return(null===(a=null==m?void 0:m.metadata)||void 0===a?void 0:a.slug)&&c.push({"@type":"ListItem",position:c.length+1,name:m.name,item:l(m.href)}),(null===(n=null==i?void 0:i.metadata)||void 0===n?void 0:n.slug)&&c.push({"@type":"ListItem",position:c.length+1,name:i.title,item:l(i.href)}),{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:c}}catch(t){}}function g(t,e,o){var i,a,r=o;try{switch(e){case n.PRODUCT:var s=t,d=s.name,l=(null===(i=s.brand)||void 0===i?void 0:i.name)||"",c=s.selectedVariant.sku||"",m=(null===(a=s.selectedVariant.barcodeList)||void 0===a?void 0:a.length)?s.selectedVariant.barcodeList[0]:"",p=s.selectedVariant.campaignPrice?s.selectedVariant.formattedCampaignPrice:s.selectedVariant.formattedFinalPrice;r.includes("{{name}}")&&(r=v(r,"{{name}}",d)),r.includes("{{brand}}")&&(r=v(r,"{{brand}}",l)),r.includes("{{sku}}")&&(r=v(r,"{{sku}}",c)),r.includes("{{barcode}}")&&(r=v(r,"{{barcode}}",m)),r.includes("{{price}}")&&(r=v(r,"{{price}}",p.toString()));break;case n.BRAND:case n.CATEGORY:case n.BLOG_CATEGORY:var u=t.name||"";r.includes("{{name}}")&&(r=v(r,"{{name}}",u));break;case n.BLOG:var g=t.title;r.includes("{{name}}")&&(r=v(r,"{{name}}",g))}}catch(t){}return r.trimEnd()}function v(t,e,o){var i=new RegExp(e,"g");return t.replace(i,o)}export{c as IkasPageHead};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikas/storefront",
|
|
3
|
-
"version": "6.1.0-beta.
|
|
3
|
+
"version": "6.1.0-beta.336",
|
|
4
4
|
"description": "Storefront functionality for ikas storefront themes.",
|
|
5
5
|
"author": "ikas",
|
|
6
6
|
"license": "ISC",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"swiper": "11.0.6"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@ikas/storefront-api": "^6.1.0-beta.
|
|
27
|
-
"@ikas/storefront-config": "^6.1.0-beta.
|
|
28
|
-
"@ikas/storefront-model-functions": "^6.1.0-beta.
|
|
29
|
-
"@ikas/storefront-models": "^6.1.0-beta.
|
|
30
|
-
"@ikas/storefront-providers": "^6.1.0-beta.
|
|
26
|
+
"@ikas/storefront-api": "^6.1.0-beta.336",
|
|
27
|
+
"@ikas/storefront-config": "^6.1.0-beta.336",
|
|
28
|
+
"@ikas/storefront-model-functions": "^6.1.0-beta.336",
|
|
29
|
+
"@ikas/storefront-models": "^6.1.0-beta.336",
|
|
30
|
+
"@ikas/storefront-providers": "^6.1.0-beta.336",
|
|
31
31
|
"@ikas/localized-address": "1.0.0-beta.6",
|
|
32
32
|
"@adyen/adyen-web": "^5.57.0",
|
|
33
33
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@ikas/localized-address": "1.0.0-beta.6",
|
|
65
|
-
"@ikas/storefront-api": "^6.1.0-beta.
|
|
66
|
-
"@ikas/storefront-config": "^6.1.0-beta.
|
|
67
|
-
"@ikas/storefront-model-functions": "^6.1.0-beta.
|
|
68
|
-
"@ikas/storefront-models": "^6.1.0-beta.
|
|
69
|
-
"@ikas/storefront-providers": "^6.1.0-beta.
|
|
65
|
+
"@ikas/storefront-api": "^6.1.0-beta.336",
|
|
66
|
+
"@ikas/storefront-config": "^6.1.0-beta.336",
|
|
67
|
+
"@ikas/storefront-model-functions": "^6.1.0-beta.336",
|
|
68
|
+
"@ikas/storefront-models": "^6.1.0-beta.336",
|
|
69
|
+
"@ikas/storefront-providers": "^6.1.0-beta.336",
|
|
70
70
|
"mobx": "^6.1.3",
|
|
71
71
|
"mobx-react-lite": "^3.1.5",
|
|
72
72
|
"next": "12.2.0",
|