"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["AdminSettingYotpoToggle-admin"],{XyRh:function(e,t,n){n.d(t,{Z:function(){return s}});var o=n("oYSA"),a=n("qZpH"),l=n("ALIA"),i=wp.element.memo((function(e){var t=e.settingName,n=e.onChange,o=e.label,a=e.help,l=e.note,i=e.noticeCSS,p=wp.components,s=p.ToggleControl,c=p.Notice;return React.createElement(React.Fragment,null,React.createElement(s,{checked:t,onChange:n,label:o,help:a,className:l&&t&&"shopwp-toggle-has-note"}),l&&t&&React.createElement(c,{isDismissible:!1,css:i,status:"warning"},l))})),p={name:"1cirfju-noticeCSS",styles:"&&{margin-left:0!important;margin-right:0!important;margin-bottom:3em!important;};label:noticeCSS;"},s=wp.element.memo((function(e){var t=e.settingName,n=void 0!==t&&t,s=e.label,c=void 0!==s&&s,r=e.help,m=void 0!==r&&r,h=e.note,u=void 0!==h&&h,g=e.alsoChange,w=void 0!==g&&g,d=e.disable,S=void 0!==d&&d,b=React.useContext,v=wp.components.Disabled,C=b(l.Z),f=(0,o.Z)(C,2),y=f[0],R=f[1],N=p;function Z(){R({type:"UPDATE_SETTING",payload:{key:n,value:!y[n]}}),w&&R({type:"UPDATE_SETTING",payload:{key:w,value:!y[w]}})}return(0,a.tZ)(React.Fragment,null,S?(0,a.tZ)(v,null,(0,a.tZ)(i,{settingName:y[n],onChange:Z,label:c,help:m,note:u,noticeCSS:N})):(0,a.tZ)(i,{settingName:y[n],onChange:Z,label:c,help:m,note:u,noticeCSS:N}))}))},"38t2":function(e,t,n){n.r(t);var o=n("XyRh");t.default=function(){return React.createElement(o.Z,{label:wp.i18n.__("Show reviews on PDP","shopwp"),help:wp.i18n.__("When this is enabled, ShopWP will show Yotpo reviews on the product detail page (PDP) below the product information.","shopwp"),settingName:"yotpoReviews"})}}}]);