diff --git a/admin/assets/js/main.js b/admin/assets/js/main.js index 56c7085..e7a91de 100644 --- a/admin/assets/js/main.js +++ b/admin/assets/js/main.js @@ -1,2 +1,2 @@ /*! For license information please see main.js.LICENSE.txt */ -"use strict";(self.webpackChunkaddonify_quick_view=self.webpackChunkaddonify_quick_view||[]).push([[522],{2758:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,'.unsupported-control-text{font-size:14px}.adfy-button.fake-button.forward-to-doc-link{fill:var(--addonify_primary_color);color:var(--addonify_primary_color);font-size:14px}.adfy-button.fake-button.forward-to-doc-link:after,.adfy-button.fake-button.forward-to-doc-link:before{bottom:-5px;content:"";height:2px}.adfy-button.fake-button.forward-to-doc-link:after{background-color:var(--addonify_primary_color);content:""}.adfy-button.fake-button.forward-to-doc-link:hover{fill:var(--addonify_base_text_color);color:var(--addonify_base_text_color)}.adfy-button.fake-button.forward-to-doc-link:hover:after,.adfy-button.fake-button.forward-to-doc-link:hover:before{background-color:var(--addonify_base_text_color);content:""}',""]);const i=o},6498:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".adfy-options .el-color-picker__color,.adfy-options .el-color-picker__color-inner,.adfy-options .el-color-picker__trigger{border:none;border-radius:100%}.adfy-options .el-color-picker__trigger{border:2px solid #fff;box-shadow:0 5px 10px rgba(0,0,0,.1);height:42px;padding:3px;width:42px}.adfy-options .el-color-picker .el-color-picker__icon{color:#fff;font-size:16px;line-height:1}.adfy-options .el-color-picker .el-color-picker__empty{color:red;font-size:20px;line-height:1}",""]);const i=o},4399:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".wp-admin .el-select-dropdown__item.selected{font-weight:400}",""]);const i=o},2735:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".adfy-options .el-textarea__inner{display:block;font-family:monospace;min-height:200px;padding:15px;width:100%}",""]);const i=o},313:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,"#recommended-hot-products .el-skeleton.is-animated .el-skeleton__item{background:linear-gradient(90deg,#e1e1e1 25%,#d8d8d8 37%,#c7c7c7 63%);background-size:400% 100%}",""]);const i=o},7218:()=>{},336:(e,t,n)=>{var r=n(4865),o=n(9876),i=n(1464);n(5190);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var l={},c=wp.apiFetch,u=wp.i18n.__,s=lodash,d=s.isEqual,f=s.cloneDeep,p=adfy_wp_locolizer.rest_namespace,h=(0,o.Q_)({id:"Options",state:function(){return{data:{},options:{},message:"",isLoading:!0,isSaving:!1,needSave:!1,errors:""}},getters:{needSaving:function(e){return!d(e.options,l)},haveStateInMemory:function(e){return"array"==typeof e.options?0!==e.options.length:"object"===a(e.options)?0!==Object.keys(e.options).length:void 0}},actions:{fetchOptions:function(){var e=this;c({path:p+"/get_options",method:"GET"}).then((function(t){var n=t.settings_values;e.data=t.tabs,e.options=n,l=f(n)})).catch((function(e){console.log(e),i.z8.error({message:u("Something went wrong while fetching settings.","addonify-quick-view"),offset:50,duration:1e4})})).finally((function(){e.isLoading=!1}))},handleUpdateOptions:function(){var e={},t=this.options;Object.keys(t).map((function(n){d(t[n],l[n])||(e[n]=t[n])})),this.updateOptions(e)},updateOptions:function(e){var t=this;this.isSaving=!0,c({path:p+"/update_options",method:"POST",data:{settings_values:e}}).then((function(e){t.isSaving=!1,t.message=e.message,!0===e.success?i.z8.success({message:t.message,offset:50,duration:3e3}):i.z8.error({message:t.message,offset:50,duration:3e3});var n=f(t.options);t.options={},t.options=f(n),l=f(t.options)})).catch((function(e){console.log(e),i.z8.error({message:u("Something went wrong while updating settings.","addonify-quick-view"),offset:50,duration:5e3})}))}}}),v={class:"adfy-header"},g={class:"adfy-row"},y={class:"adfy-col start"},m={class:"branding"},w=(0,r._)("svg",{width:"141",height:"42",viewBox:"0 0 141 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,r._)("path",{d:"M53.512 22.64V32H52.888V22.64H53.512ZM58.228 29.24C58.228 29.832 58.108 30.344 57.868 30.776C57.636 31.208 57.316 31.54 56.908 31.772C56.508 32.004 56.06 32.12 55.564 32.12C55.1 32.12 54.692 31.996 54.34 31.748C53.988 31.492 53.712 31.148 53.512 30.716C53.32 30.276 53.224 29.784 53.224 29.24C53.224 28.688 53.32 28.196 53.512 27.764C53.712 27.332 53.988 26.992 54.34 26.744C54.692 26.488 55.1 26.36 55.564 26.36C56.06 26.36 56.508 26.476 56.908 26.708C57.316 26.94 57.636 27.272 57.868 27.704C58.108 28.128 58.228 28.64 58.228 29.24ZM57.604 29.24C57.604 28.76 57.508 28.348 57.316 28.004C57.124 27.66 56.868 27.4 56.548 27.224C56.228 27.04 55.872 26.948 55.48 26.948C55.144 26.948 54.824 27.048 54.52 27.248C54.216 27.448 53.972 27.72 53.788 28.064C53.604 28.408 53.512 28.8 53.512 29.24C53.512 29.68 53.604 30.072 53.788 30.416C53.972 30.76 54.216 31.032 54.52 31.232C54.824 31.432 55.144 31.532 55.48 31.532C55.872 31.532 56.228 31.444 56.548 31.268C56.868 31.084 57.124 30.82 57.316 30.476C57.508 30.132 57.604 29.72 57.604 29.24ZM63.6756 26.48L60.0756 34.64H59.3796L60.7956 31.436L58.5636 26.48H59.3076L61.3116 31.184L61.0236 31.16L62.9796 26.48H63.6756ZM68.3604 30.344C68.3604 30.616 68.4204 30.844 68.5404 31.028C68.6684 31.212 68.8364 31.352 69.0444 31.448C69.2604 31.536 69.4964 31.58 69.7524 31.58C70.0644 31.58 70.3484 31.508 70.6044 31.364C70.8684 31.22 71.0804 31.008 71.2404 30.728C71.4004 30.448 71.4804 30.104 71.4804 29.696L71.6244 30.224C71.6244 30.656 71.5204 31.012 71.3124 31.292C71.1044 31.572 70.8444 31.78 70.5324 31.916C70.2204 32.052 69.9044 32.12 69.5844 32.12C69.2724 32.12 68.9724 32.056 68.6844 31.928C68.3964 31.792 68.1644 31.596 67.9884 31.34C67.8124 31.084 67.7244 30.76 67.7244 30.368C67.7244 29.832 67.9084 29.408 68.2764 29.096C68.6524 28.784 69.1604 28.628 69.8004 28.628C70.1604 28.628 70.4684 28.672 70.7244 28.76C70.9884 28.84 71.2044 28.932 71.3724 29.036C71.5404 29.14 71.6604 29.228 71.7324 29.3V29.696C71.4604 29.504 71.1684 29.364 70.8564 29.276C70.5524 29.18 70.2324 29.132 69.8964 29.132C69.5844 29.132 69.3124 29.176 69.0804 29.264C68.8564 29.352 68.6804 29.484 68.5524 29.66C68.4244 29.836 68.3604 30.064 68.3604 30.344ZM68.3844 27.488L68.0724 27.02C68.2804 26.876 68.5484 26.732 68.8764 26.588C69.2124 26.436 69.6244 26.36 70.1124 26.36C70.5284 26.36 70.8844 26.428 71.1804 26.564C71.4764 26.7 71.7044 26.896 71.8644 27.152C72.0244 27.408 72.1044 27.72 72.1044 28.088V32H71.4804V28.172C71.4804 28.012 71.4564 27.86 71.4084 27.716C71.3604 27.564 71.2804 27.428 71.1684 27.308C71.0644 27.188 70.9204 27.092 70.7364 27.02C70.5524 26.948 70.3284 26.912 70.0644 26.912C69.7924 26.912 69.5484 26.944 69.3324 27.008C69.1164 27.072 68.9284 27.148 68.7684 27.236C68.6164 27.324 68.4884 27.408 68.3844 27.488ZM78.0551 22.64H78.6791V32H78.0551V22.64ZM73.3391 29.24C73.3391 28.64 73.4591 28.128 73.6991 27.704C73.9391 27.272 74.2591 26.94 74.6591 26.708C75.0671 26.476 75.5151 26.36 76.0031 26.36C76.4831 26.36 76.8951 26.488 77.2391 26.744C77.5831 26.992 77.8511 27.332 78.0431 27.764C78.2431 28.196 78.3431 28.688 78.3431 29.24C78.3431 29.784 78.2431 30.276 78.0431 30.716C77.8511 31.148 77.5831 31.492 77.2391 31.748C76.8951 31.996 76.4831 32.12 76.0031 32.12C75.5151 32.12 75.0671 32.004 74.6591 31.772C74.2591 31.54 73.9391 31.208 73.6991 30.776C73.4591 30.344 73.3391 29.832 73.3391 29.24ZM73.9751 29.24C73.9751 29.72 74.0671 30.132 74.2511 30.476C74.4431 30.82 74.6991 31.084 75.0191 31.268C75.3471 31.444 75.7031 31.532 76.0871 31.532C76.4311 31.532 76.7511 31.432 77.0471 31.232C77.3511 31.032 77.5951 30.76 77.7791 30.416C77.9631 30.072 78.0551 29.68 78.0551 29.24C78.0551 28.8 77.9631 28.408 77.7791 28.064C77.5951 27.72 77.3511 27.448 77.0471 27.248C76.7511 27.048 76.4311 26.948 76.0871 26.948C75.7031 26.948 75.3471 27.04 75.0191 27.224C74.6991 27.4 74.4431 27.66 74.2511 28.004C74.0671 28.348 73.9751 28.76 73.9751 29.24ZM84.7465 22.64H85.3705V32H84.7465V22.64ZM80.0305 29.24C80.0305 28.64 80.1505 28.128 80.3905 27.704C80.6305 27.272 80.9505 26.94 81.3505 26.708C81.7585 26.476 82.2065 26.36 82.6945 26.36C83.1745 26.36 83.5865 26.488 83.9305 26.744C84.2745 26.992 84.5425 27.332 84.7345 27.764C84.9345 28.196 85.0345 28.688 85.0345 29.24C85.0345 29.784 84.9345 30.276 84.7345 30.716C84.5425 31.148 84.2745 31.492 83.9305 31.748C83.5865 31.996 83.1745 32.12 82.6945 32.12C82.2065 32.12 81.7585 32.004 81.3505 31.772C80.9505 31.54 80.6305 31.208 80.3905 30.776C80.1505 30.344 80.0305 29.832 80.0305 29.24ZM80.6665 29.24C80.6665 29.72 80.7585 30.132 80.9425 30.476C81.1345 30.82 81.3905 31.084 81.7105 31.268C82.0385 31.444 82.3945 31.532 82.7785 31.532C83.1225 31.532 83.4425 31.432 83.7385 31.232C84.0425 31.032 84.2865 30.76 84.4705 30.416C84.6545 30.072 84.7465 29.68 84.7465 29.24C84.7465 28.8 84.6545 28.408 84.4705 28.064C84.2865 27.72 84.0425 27.448 83.7385 27.248C83.4425 27.048 83.1225 26.948 82.7785 26.948C82.3945 26.948 82.0385 27.04 81.7105 27.224C81.3905 27.4 81.1345 27.66 80.9425 28.004C80.7585 28.348 80.6665 28.76 80.6665 29.24ZM86.7219 29.24C86.7219 28.68 86.8459 28.184 87.0939 27.752C87.3419 27.32 87.6779 26.98 88.1019 26.732C88.5339 26.484 89.0179 26.36 89.5539 26.36C90.0899 26.36 90.5699 26.484 90.9939 26.732C91.4259 26.98 91.7659 27.32 92.0139 27.752C92.2619 28.184 92.3859 28.68 92.3859 29.24C92.3859 29.792 92.2619 30.288 92.0139 30.728C91.7659 31.16 91.4259 31.5 90.9939 31.748C90.5699 31.996 90.0899 32.12 89.5539 32.12C89.0179 32.12 88.5339 31.996 88.1019 31.748C87.6779 31.5 87.3419 31.16 87.0939 30.728C86.8459 30.288 86.7219 29.792 86.7219 29.24ZM87.3579 29.24C87.3579 29.688 87.4539 30.084 87.6459 30.428C87.8379 30.772 88.0979 31.044 88.4259 31.244C88.7619 31.436 89.1379 31.532 89.5539 31.532C89.9699 31.532 90.3419 31.436 90.6699 31.244C91.0059 31.044 91.2699 30.772 91.4619 30.428C91.6539 30.084 91.7499 29.688 91.7499 29.24C91.7499 28.8 91.6539 28.408 91.4619 28.064C91.2699 27.712 91.0059 27.44 90.6699 27.248C90.3419 27.048 89.9699 26.948 89.5539 26.948C89.1379 26.948 88.7619 27.048 88.4259 27.248C88.0979 27.44 87.8379 27.708 87.6459 28.052C87.4539 28.396 87.3579 28.792 87.3579 29.24ZM97.3396 28.448C97.3396 27.976 97.2356 27.608 97.0276 27.344C96.8196 27.08 96.4916 26.948 96.0436 26.948C95.7316 26.948 95.4516 27.024 95.2036 27.176C94.9636 27.32 94.7716 27.52 94.6276 27.776C94.4916 28.032 94.4236 28.32 94.4236 28.64V32H93.7996V26.48H94.4236V27.632C94.5756 27.232 94.8036 26.92 95.1076 26.696C95.4196 26.472 95.7796 26.36 96.1876 26.36C96.7636 26.36 97.2036 26.544 97.5076 26.912C97.8116 27.272 97.9636 27.76 97.9636 28.376V32H97.3396V28.448ZM99.8582 23.984C99.8582 23.856 99.9022 23.752 99.9902 23.672C100.078 23.584 100.182 23.54 100.302 23.54C100.43 23.54 100.534 23.584 100.614 23.672C100.702 23.752 100.746 23.856 100.746 23.984C100.746 24.104 100.702 24.208 100.614 24.296C100.534 24.384 100.43 24.428 100.302 24.428C100.182 24.428 100.078 24.384 99.9902 24.296C99.9022 24.208 99.8582 24.104 99.8582 23.984ZM99.9902 26.48H100.614V32H99.9902V26.48ZM102.227 26.48H104.819V27.068H102.227V26.48ZM104.939 23.552C104.851 23.424 104.743 23.328 104.615 23.264C104.487 23.192 104.351 23.156 104.207 23.156C104.007 23.156 103.847 23.208 103.727 23.312C103.615 23.416 103.531 23.564 103.475 23.756C103.419 23.948 103.391 24.168 103.391 24.416V32H102.767V24.344C102.767 23.968 102.819 23.648 102.923 23.384C103.035 23.112 103.199 22.904 103.415 22.76C103.631 22.608 103.907 22.532 104.243 22.532C104.419 22.532 104.571 22.56 104.699 22.616C104.835 22.664 104.951 22.728 105.047 22.808C105.151 22.888 105.231 22.968 105.287 23.048L104.939 23.552ZM110.258 26.48L106.658 34.64H105.962L107.378 31.436L105.146 26.48H105.89L107.894 31.184L107.606 31.16L109.562 26.48H110.258ZM110.846 31.712C110.846 31.584 110.89 31.476 110.978 31.388C111.066 31.3 111.17 31.256 111.29 31.256C111.418 31.256 111.522 31.3 111.602 31.388C111.69 31.476 111.734 31.584 111.734 31.712C111.734 31.832 111.69 31.936 111.602 32.024C111.522 32.112 111.418 32.156 111.29 32.156C111.17 32.156 111.066 32.112 110.978 32.024C110.89 31.936 110.846 31.832 110.846 31.712Z",fill:"#313131"}),(0,r._)("path",{d:"M61.439 19.261L57.983 15.823L58.883 14.923L62.321 18.361L61.439 19.261ZM56.507 19.27C55.217 19.27 54.128 18.985 53.24 18.415C52.352 17.839 51.68 17.044 51.224 16.03C50.768 15.016 50.54 13.846 50.54 12.52C50.54 11.194 50.768 10.024 51.224 9.01C51.68 7.996 52.352 7.204 53.24 6.634C54.128 6.058 55.217 5.77 56.507 5.77C57.803 5.77 58.892 6.058 59.774 6.634C60.662 7.204 61.334 7.996 61.79 9.01C62.252 10.024 62.483 11.194 62.483 12.52C62.483 13.846 62.252 15.016 61.79 16.03C61.334 17.044 60.662 17.839 59.774 18.415C58.892 18.985 57.803 19.27 56.507 19.27ZM56.507 18.001C57.521 18.001 58.367 17.77 59.045 17.308C59.723 16.846 60.23 16.204 60.566 15.382C60.908 14.554 61.079 13.6 61.079 12.52C61.079 11.44 60.908 10.489 60.566 9.667C60.23 8.845 59.723 8.203 59.045 7.741C58.367 7.279 57.521 7.045 56.507 7.039C55.493 7.039 54.65 7.27 53.978 7.732C53.306 8.194 52.799 8.839 52.457 9.667C52.121 10.489 51.95 11.44 51.944 12.52C51.938 13.6 52.103 14.551 52.439 15.373C52.781 16.189 53.291 16.831 53.969 17.299C54.647 17.761 55.493 17.995 56.507 18.001ZM68.3624 19.243C67.7804 19.243 67.2704 19.153 66.8324 18.973C66.4004 18.793 66.0314 18.55 65.7254 18.244C65.4254 17.938 65.1824 17.59 64.9964 17.2C64.8104 16.804 64.6754 16.387 64.5914 15.949C64.5074 15.505 64.4654 15.064 64.4654 14.626V9.28H65.7974V14.239C65.7974 14.773 65.8484 15.268 65.9504 15.724C66.0524 16.18 66.2144 16.579 66.4364 16.921C66.6644 17.257 66.9554 17.518 67.3094 17.704C67.6694 17.89 68.1044 17.983 68.6144 17.983C69.0824 17.983 69.4934 17.902 69.8474 17.74C70.2074 17.578 70.5074 17.347 70.7474 17.047C70.9934 16.741 71.1794 16.372 71.3054 15.94C71.4314 15.502 71.4944 15.01 71.4944 14.464L72.4304 14.671C72.4304 15.667 72.2564 16.504 71.9084 17.182C71.5604 17.86 71.0804 18.373 70.4684 18.721C69.8564 19.069 69.1544 19.243 68.3624 19.243ZM71.6294 19V16.606H71.4944V9.28H72.8174V19H71.6294ZM75.8729 7.435V5.95H77.1959V7.435H75.8729ZM75.8729 19V9.28H77.1959V19H75.8729ZM84.2861 19.27C83.3081 19.27 82.4801 19.051 81.8021 18.613C81.1241 18.175 80.6081 17.572 80.2541 16.804C79.9061 16.03 79.7261 15.142 79.7141 14.14C79.7261 13.12 79.9121 12.226 80.2721 11.458C80.6321 10.684 81.1511 10.084 81.8291 9.658C82.5071 9.226 83.3291 9.01 84.2951 9.01C85.2791 9.01 86.1341 9.25 86.8601 9.73C87.5921 10.21 88.0931 10.867 88.3631 11.701L87.0671 12.115C86.8391 11.533 86.4761 11.083 85.9781 10.765C85.4861 10.441 84.9221 10.279 84.2861 10.279C83.5721 10.279 82.9811 10.444 82.5131 10.774C82.0451 11.098 81.6971 11.551 81.4691 12.133C81.2411 12.715 81.1241 13.384 81.1181 14.14C81.1301 15.304 81.4001 16.24 81.9281 16.948C82.4561 17.65 83.2421 18.001 84.2861 18.001C84.9461 18.001 85.5071 17.851 85.9691 17.551C86.4371 17.245 86.7911 16.801 87.0311 16.219L88.3631 16.615C88.0031 17.479 87.4751 18.139 86.7791 18.595C86.0831 19.045 85.2521 19.27 84.2861 19.27ZM90.5719 19L90.5809 6.04H91.9129V13.96L96.2509 9.28H98.0149L93.4609 14.14L98.6089 19H96.6829L91.9129 14.32V19H90.5719ZM106.462 19L102.934 9.28H104.275L107.146 17.272L109.999 9.28H111.358L107.83 19H106.462ZM113.515 7.435V5.95H114.838V7.435H113.515ZM113.515 19V9.28H114.838V19H113.515ZM122.009 19.27C121.061 19.27 120.239 19.06 119.543 18.64C118.853 18.22 118.316 17.629 117.932 16.867C117.548 16.105 117.356 15.211 117.356 14.185C117.356 13.123 117.545 12.205 117.923 11.431C118.301 10.657 118.832 10.06 119.516 9.64C120.206 9.22 121.019 9.01 121.955 9.01C122.915 9.01 123.734 9.232 124.412 9.676C125.09 10.114 125.603 10.744 125.951 11.566C126.299 12.388 126.458 13.369 126.428 14.509H125.078V14.041C125.054 12.781 124.781 11.83 124.259 11.188C123.743 10.546 122.987 10.225 121.991 10.225C120.947 10.225 120.146 10.564 119.588 11.242C119.036 11.92 118.76 12.886 118.76 14.14C118.76 15.364 119.036 16.315 119.588 16.993C120.146 17.665 120.935 18.001 121.955 18.001C122.651 18.001 123.257 17.842 123.773 17.524C124.295 17.2 124.706 16.735 125.006 16.129L126.239 16.606C125.855 17.452 125.288 18.109 124.538 18.577C123.794 19.039 122.951 19.27 122.009 19.27ZM118.292 14.509V13.402H125.717V14.509H118.292ZM130.504 19L127.534 9.271L128.857 9.28L131.161 16.831L133.474 9.28H134.68L136.993 16.831L139.315 9.28H140.629L137.659 19H136.507L134.077 11.26L131.656 19H130.504Z",fill:"#313131"}),(0,r._)("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H39C40.6569 0 42 1.34315 42 3V27C42 35.2843 35.2843 42 27 42H3C1.34315 42 0 40.6569 0 39V3Z",fill:"url(#paint0_linear_3_14)"}),(0,r._)("g",{"clip-path":"url(#clip0_3_14)"},[(0,r._)("path",{d:"M20.4584 10.0833C25.6334 10.0833 29.8334 14.2833 29.8334 19.4583C29.8334 24.6333 25.6334 28.8333 20.4584 28.8333C15.2834 28.8333 11.0834 24.6333 11.0834 19.4583C11.0834 14.2833 15.2834 10.0833 20.4584 10.0833ZM20.4584 26.75C24.4865 26.75 27.75 23.4865 27.75 19.4583C27.75 15.4292 24.4865 12.1667 20.4584 12.1667C16.4292 12.1667 13.1667 15.4292 13.1667 19.4583C13.1667 23.4865 16.4292 26.75 20.4584 26.75ZM29.2969 26.824L32.2438 29.7698L30.7698 31.2438L27.824 28.2969L29.2969 26.824V26.824Z",fill:"#F3F3F3"})]),(0,r._)("defs",null,[(0,r._)("linearGradient",{id:"paint0_linear_3_14",x1:"21",y1:"0",x2:"21",y2:"42",gradientUnits:"userSpaceOnUse"},[(0,r._)("stop",{"stop-color":"#FE0808"}),(0,r._)("stop",{offset:"1","stop-color":"#FF2C2C"})]),(0,r._)("clipPath",{id:"clip0_3_14"},[(0,r._)("rect",{width:"25",height:"25",fill:"white",transform:"translate(9 8)"})])])],-1),_={class:"adfy-col end"},C={class:"buttons"},b={href:"https://docs.addonify.com/kb/woocommerce-quick-view/",class:"adfy-button fake-button has-underline",target:"_blank"},S=["disabled","loading"],k=(0,r._)("span",{class:"loading-icon"},[(0,r._)("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},[(0,r._)("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})])],-1);const V={__name:"Header",setup:function(e){var t=wp.i18n.__,n=h();return function(e,o){var i=(0,r.up)("router-link");return(0,r.wg)(),(0,r.iD)("header",v,[(0,r._)("div",g,[(0,r._)("div",y,[(0,r._)("div",m,[(0,r.Wm)(i,{class:"adfy-link",to:"/"},{default:(0,r.w5)((function(){return[w]})),_:1})])]),(0,r._)("div",_,[(0,r._)("div",C,[(0,r._)("a",b,(0,r.zw)((0,r.SU)(t)("Documentation","addonify-quick-view")),1),(0,r._)("button",{type:"submit",onClick:o[0]||(o[0]=function(e){return(0,r.SU)(n).handleUpdateOptions()}),class:"adfy-button",disabled:!(0,r.SU)(n).needSaving,loading:(0,r.SU)(n).isSaving},[k,(0,r.Uk)(" "+(0,r.zw)((0,r.SU)(t)("Save Options","addonify-quick-view")),1)],8,S)])])])])}}},x=V;var L={class:"adfy-colopon"},U={class:"adfy-row"},j={class:"adfy-col left"},O={class:"text"},H={class:"version"},z={class:"adfy-col right"},P={class:"text"},E={href:"https://wordpress.org/plugins/addonify-quick-view/#reviews",class:"adfy-link",target:"_blank"},M=(0,r.uE)('',1);const Z={__name:"Footer",setup:function(e){var t=wp.i18n.__,n=adfy_wp_locolizer.version_number,o=(new Date).getFullYear();return function(e,i){return(0,r.wg)(),(0,r.iD)("footer",L,[(0,r._)("div",U,[(0,r._)("div",j,[(0,r._)("p",O,[(0,r.Uk)(" © 2020 - "+(0,r.zw)((0,r.SU)(o))+" Addonify Quick View ",1),(0,r._)("span",H,(0,r.zw)((0,r.SU)(t)("Version","addonify-quick-view"))+": "+(0,r.zw)((0,r.SU)(n)),1)])]),(0,r._)("div",z,[(0,r._)("p",P,[(0,r._)("a",E,[(0,r.Uk)((0,r.zw)((0,r.SU)(t)("Rate","addonify-quick-view"))+" ",1),M,(0,r.Uk)(" :) ")])])])])])}}},A=Z,q={__name:"App",setup:function(e){return function(e,t){var n=(0,r.up)("router-view");return(0,r.wg)(),(0,r.iD)(r.HY,null,[(0,r.Wm)(x),(0,r.Wm)(n),(0,r.Wm)(A)],64)}}};var D=n(2201),F={class:"adfy-loading"},K=[(0,r._)("span",{class:"pulse"},null,-1)];const I={},N=(0,n(3744).Z)(I,[["render",function(e,t){return(0,r.wg)(),(0,r.iD)("section",F,K)}]]);var T={class:"adfy-navigation"},G={class:"navigation"},W=(0,r._)("span",{class:"icon"},[(0,r._)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[(0,r._)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,r._)("path",{d:"M2.132 13.63a9.942 9.942 0 0 1 0-3.26c1.102.026 2.092-.502 2.477-1.431.385-.93.058-2.004-.74-2.763a9.942 9.942 0 0 1 2.306-2.307c.76.798 1.834 1.125 2.764.74.93-.385 1.457-1.376 1.43-2.477a9.942 9.942 0 0 1 3.262 0c-.027 1.102.501 2.092 1.43 2.477.93.385 2.004.058 2.763-.74a9.942 9.942 0 0 1 2.307 2.306c-.798.76-1.125 1.834-.74 2.764.385.93 1.376 1.457 2.477 1.43a9.942 9.942 0 0 1 0 3.262c-1.102-.027-2.092.501-2.477 1.43-.385.93-.058 2.004.74 2.763a9.942 9.942 0 0 1-2.306 2.307c-.76-.798-1.834-1.125-2.764-.74-.93.385-1.457 1.376-1.43 2.477a9.942 9.942 0 0 1-3.262 0c.027-1.102-.501-2.092-1.43-2.477-.93-.385-2.004-.058-2.763.74a9.942 9.942 0 0 1-2.307-2.306c.798-.76 1.125-1.834.74-2.764-.385-.93-1.376-1.457-2.477-1.43zM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"})])],-1),Y=(0,r._)("span",{class:"icon"},[(0,r._)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[(0,r._)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,r._)("path",{d:"M4 3h16a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm2 9h6a1 1 0 0 1 1 1v3h1v6h-4v-6h1v-2H5a1 1 0 0 1-1-1v-2h2v1zm11.732 1.732l1.768-1.768 1.768 1.768a2.5 2.5 0 1 1-3.536 0z"})])],-1),B=(0,r._)("span",{class:"icon"},[(0,r._)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[(0,r._)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,r._)("path",{d:"M13 16.938V19h5v2H6v-2h5v-2.062A8.001 8.001 0 0 1 4 9V3h16v6a8.001 8.001 0 0 1-7 7.938zM1 5h2v4H1V5zm20 0h2v4h-2V5z"})])],-1);const R={__name:"Navigation",setup:function(e){var t=wp.i18n.__;return function(e,n){var o=(0,r.up)("router-link");return(0,r.wg)(),(0,r.iD)("nav",T,[(0,r._)("ul",G,[(0,r._)("li",null,[(0,r.Wm)(o,{to:"/"},{default:(0,r.w5)((function(){return[W,(0,r.Uk)(" "+(0,r.zw)((0,r.SU)(t)("Settings","addonify-quick-view")),1)]})),_:1})]),(0,r._)("li",null,[(0,r.Wm)(o,{to:"/styles"},{default:(0,r.w5)((function(){return[Y,(0,r.Uk)(" "+(0,r.zw)((0,r.SU)(t)("Design","addonify-quick-view")),1)]})),_:1})]),(0,r._)("li",null,[(0,r.Wm)(o,{to:"/products"},{default:(0,r.w5)((function(){return[B,(0,r.Uk)(" "+(0,r.zw)((0,r.SU)(t)("Products","addonify-quick-view")),1)]})),_:1})])])])}}},$=R;var Q=["id"];const X={__name:"Form",props:{divId:String,className:String},setup:function(e){var t=e;return function(e,n){return(0,r.wg)(),(0,r.iD)("form",{id:t.divId,class:(0,r.C_)(["adfy-form",t.className]),onSubmit:n[0]||(n[0]=(0,r.iM)((function(){}),["prevent"]))},[(0,r.WI)(e.$slots,"default")],42,Q)}}},J={__name:"SectionTitle",props:{section:Object,sectionkey:String,currentPage:String},setup:function(e){var t=e,n=h();return function(e,o){return t.section.title?(0,r.wy)(((0,r.wg)(),(0,r.iD)("h3",{key:0,class:"option-box-title"},(0,r.zw)(t.section.title),513)),[[r.F8,(i=t.currentPage,"design"===i||"settings"===i&&(!!t.sectionkey.includes("general")||n.options.enable_quick_view))]]):(0,r.kq)("",!0);var i}}};var ee=n(5381),te=(n(3811),n(5781));const ne={__name:"Switch",props:{modelValue:[Boolean,Number,String]},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,o=e,i=(0,r.Fl)({get:function(){return o.modelValue},set:function(e){n("update:modelValue",e)}});return function(e,t){return(0,r.wg)(),(0,r.j4)((0,r.SU)(ee.OX),{modelValue:(0,r.SU)(i),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,r.dq)(i)?i.value=e:null}),size:"large","inline-prompt":"","active-icon":(0,r.SU)(te.JrY),"inactive-icon":(0,r.SU)(te.x8P)},null,8,["modelValue","active-icon","inactive-icon"])}}};var re=n(3662);n(3047);const oe={__name:"Text",props:{modelValue:String,placeholder:String},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,o=e,i=wp.i18n.__,a=(0,r.Fl)({get:function(){return o.modelValue},set:function(e){n("update:modelValue",e)}});return function(e,t){return(0,r.wg)(),(0,r.j4)((0,r.SU)(re.EZ),{modelValue:(0,r.SU)(a),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,r.dq)(a)?a.value=e:null}),placeholder:o.placeholder?o.placeholder:(0,r.SU)(i)("Enter text here...","addonify-quick-view"),size:"large"},null,8,["modelValue","placeholder"])}}},ie=oe,ae={__name:"Textarea",props:{modelValue:String,className:String,placeholder:String},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,o=e,i=wp.i18n.__,a=(0,r.Fl)({get:function(){return o.modelValue},set:function(e){n("update:modelValue",e)}});return function(t,n){return(0,r.wg)(),(0,r.j4)((0,r.SU)(re.EZ),{modelValue:(0,r.SU)(a),"onUpdate:modelValue":n[0]||(n[0]=function(e){return(0,r.dq)(a)?a.value=e:null}),class:(0,r.C_)(e.className),type:"textarea",rows:"10",placeholder:o.placeholder?o.placeholder:(0,r.SU)(i)("Enter text here...","addonify-quick-view"),resize:"vertical","input-style":"display:block;width: 100%;"},null,8,["modelValue","class","placeholder"])}}};var le=n(3379),ce=n.n(le),ue=n(2735),se={insert:"head",singleton:!1};ce()(ue.Z,se);ue.Z.locals;const de=ae,fe={__name:"Number",props:{modelValue:[String,Number],min:Number,max:Number},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,o=e,i=(0,r.Fl)({get:function(){return parseInt(o.modelValue)},set:function(e){n("update:modelValue",e)}}),a=o.min,l=o.max;return function(e,t){return(0,r.wg)(),(0,r.j4)((0,r.SU)(re.EZ),{type:"number",modelValue:(0,r.SU)(i),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,r.dq)(i)?i.value=e:null}),min:(0,r.SU)(a)?(0,r.SU)(a):0,max:(0,r.SU)(l)},null,8,["modelValue","min","max"])}}};var pe=n(2298);n(3714),n(5312);const he={__name:"Select",props:{modelValue:[Number,String,Array],choices:[Object,Array],placeholder:String},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,o=e,i=wp.i18n.__,a=(0,r.Fl)({get:function(){return o.modelValue},set:function(e){n("update:modelValue",e)}});return function(e,t){return(0,r.wg)(),(0,r.j4)((0,r.SU)(pe.km),{modelValue:(0,r.SU)(a),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,r.dq)(a)?a.value=e:null}),placeholder:o.placeholder?o.placeholder:(0,r.SU)(i)("Select","addonify-quick-view"),size:"large"},{default:(0,r.w5)((function(){return[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(o.choices,(function(e,t){return(0,r.wg)(),(0,r.j4)((0,r.SU)(pe.BT),{label:e,value:t},null,8,["label","value"])})),256))]})),_:1},8,["modelValue","placeholder"])}}};var ve=n(4399),ge={insert:"head",singleton:!1};ce()(ve.Z,ge);ve.Z.locals;const ye=he;var me=n(7596);n(1503);const we={__name:"Checkbox",props:{modelValue:[Boolean],label:[String]},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,o=e,i=(0,r.Fl)({get:function(){return o.modelValue},set:function(e){n("update:modelValue",e)}});return function(e,t){return(0,r.wg)(),(0,r.j4)((0,r.SU)(me.Xb),{modelValue:(0,r.SU)(i),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,r.dq)(i)?i.value=e:null}),label:"{{props.label}}",size:"large"},null,8,["modelValue"])}}};n(6871),n(5874);const _e={__name:"CheckboxButton",props:{modelValue:[Array],choices:Object},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,o=e,i=(0,r.Fl)({get:function(){return o.modelValue},set:function(e){n("update:modelValue",e)}});return function(e,t){return(0,r.wg)(),(0,r.j4)((0,r.SU)(me.z5),{modelValue:(0,r.SU)(i),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,r.dq)(i)?i.value=e:null}),size:"large"},{default:(0,r.w5)((function(){return[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(o.choices,(function(e,t){return(0,r.wg)(),(0,r.j4)((0,r.SU)(me.lm),{label:t},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,r.zw)(e),1)]})),_:2},1032,["label"])})),256))]})),_:1},8,["modelValue"])}}};var Ce=n(7692);n(6218),n(2679);const be={__name:"Radio",props:{modelValue:String,choices:[Object,Array]},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,o=e,i=(0,r.Fl)({get:function(){return o.modelValue},set:function(e){n("update:modelValue",e)}});return function(e,t){return(0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(o.choices,(function(e,n){return(0,r.wg)(),(0,r.j4)((0,r.SU)(Ce.KD),{modelValue:(0,r.SU)(i),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,r.dq)(i)?i.value=e:null})},{default:(0,r.w5)((function(){return[(0,r.Wm)((0,r.SU)(Ce.rh),{label:n},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,r.zw)(e),1)]})),_:2},1032,["label"])]})),_:2},1032,["modelValue"])})),256)}}};var Se=n(1831),ke=(n(4382),{key:0,class:"label"});const Ve={__name:"ColorPicker",props:{colorVal:String,isAlpha:[Boolean,String],label:String},emits:["update:colorVal"],setup:function(e,t){var n=t.emit,o=e,i=(0,r.Fl)({get:function(){return o.colorVal},set:function(e){n("update:colorVal",e)}}),a=function(e){n("update:colorVal",e)};return function(e,t){return(0,r.wg)(),(0,r.iD)(r.HY,null,[(0,r.Wm)((0,r.SU)(Se.$),{modelValue:(0,r.SU)(i),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,r.dq)(i)?i.value=e:null}),"show-alpha":o.isAlpha,onActiveChange:a},null,8,["modelValue","show-alpha"]),o.label?((0,r.wg)(),(0,r.iD)("span",ke,(0,r.zw)(o.label),1)):(0,r.kq)("",!0)],64)}}};var xe=n(6498),Le={insert:"head",singleton:!1};ce()(xe.Z,Le);xe.Z.locals;const Ue=Ve;var je={class:"unsupported-control-text"},Oe={href:"https://docs.addonify.com/kb/woocommerce-quick-view/developer/",target:"_blank",rel:"documentation",class:"adfy-button fake-button has-underline forward-to-doc-link"};const He={__name:"InvalidControl",setup:function(e){var t=wp.i18n.__;return function(e,n){return(0,r.wg)(),(0,r.iD)("span",je,[(0,r.Uk)(" ❌ "+(0,r.zw)((0,r.SU)(t)("Input is not supported.","addonify-wishist"))+" ",1),(0,r._)("a",Oe,(0,r.zw)((0,r.SU)(t)("Check docs","addonify-quick-view")),1)])}}};var ze=n(2758),Pe={insert:"head",singleton:!1};ce()(ze.Z,Pe);ze.Z.locals;const Ee=He,Me={__name:"InputControl",props:{field:Object,fieldKey:String,label:String,reactiveState:Object},setup:function(e){var t=e;return function(e,n){return"switch"==t.field.type?((0,r.wg)(),(0,r.j4)(ne,{key:0,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[0]||(n[0]=function(e){return t.reactiveState[t.fieldKey]=e})},null,8,["modelValue"])):"select"==t.field.type?((0,r.wg)(),(0,r.j4)(ye,{key:1,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[1]||(n[1]=function(e){return t.reactiveState[t.fieldKey]=e}),choices:t.field.choices,placeholder:t.field.placeholder},null,8,["modelValue","choices","placeholder"])):"text"==t.field.type?((0,r.wg)(),(0,r.j4)(ie,{key:2,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[2]||(n[2]=function(e){return t.reactiveState[t.fieldKey]=e}),placeholder:t.field.placeholder},null,8,["modelValue","placeholder"])):"textarea"==t.field.type?((0,r.wg)(),(0,r.j4)(de,{key:3,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[3]||(n[3]=function(e){return t.reactiveState[t.fieldKey]=e}),placeholder:t.field.placeholder},null,8,["modelValue","placeholder"])):"checkbox"==t.field.type&&"buttons"==t.field.typeStyle?((0,r.wg)(),(0,r.j4)(_e,{key:4,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[4]||(n[4]=function(e){return t.reactiveState[t.fieldKey]=e}),choices:t.field.choices},null,8,["modelValue","choices"])):"checkbox"==t.field.type?((0,r.wg)(),(0,r.j4)(we,{key:5,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[5]||(n[5]=function(e){return t.reactiveState[t.fieldKey]=e}),choices:t.field.choices},null,8,["modelValue","choices"])):"number"==t.field.type?((0,r.wg)(),(0,r.j4)(fe,{key:6,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[6]||(n[6]=function(e){return t.reactiveState[t.fieldKey]=e}),placeholder:t.field.placeholder},null,8,["modelValue","placeholder"])):"radio"==t.field.type?((0,r.wg)(),(0,r.j4)(be,{key:7,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[7]||(n[7]=function(e){return t.reactiveState[t.fieldKey]=e}),choices:t.field.choices},null,8,["modelValue","choices"])):"color"==t.field.type?((0,r.wg)(),(0,r.j4)(Ue,{key:8,colorVal:t.reactiveState[t.fieldKey],"onUpdate:colorVal":n[8]||(n[8]=function(e){return t.reactiveState[t.fieldKey]=e}),isAlpha:t.field.isAlpha,label:t.field.label},null,8,["colorVal","isAlpha","label"])):((0,r.wg)(),(0,r.j4)(Ee,{key:9}))}}};var Ze=n(7534),Ae=(n(405),{class:"adfy-options"}),qe={class:"adfy-col left"},De={class:"label"},Fe={key:0,class:"option-label"},Ke={key:1,class:"option-description"},Ie={class:"adfy-col right"},Ne={class:"input"};const Te={__name:"OptionBox",props:{section:Object,sectionKey:[String,Object],reactiveState:Object,currentPage:String},setup:function(e){var t=e,n=h();function o(e){return Array.isArray(e)?e.every((function(e){return n.options[e]})):n.options[e]}function i(e,n){return"settings"==t.currentPage?"enable_quick_view"==e||o(n):"design"==t.currentPage?"enable_plugin_styles"==e||o(n):void 0}return function(e,n){return(0,r.wg)(),(0,r.iD)(r.HY,null,[(0,r.WI)(e.$slots,"default"),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(t.section.fields,(function(e,n){return(0,r.wy)(((0,r.wg)(),(0,r.iD)("div",Ae,[(0,r._)("div",{class:(0,r.C_)(["adfy-option-columns option-box",e.className])},[(0,r._)("div",qe,[(0,r._)("div",De,[e.label?((0,r.wg)(),(0,r.iD)("p",Fe,[(0,r.Uk)((0,r.zw)(e.label)+" ",1),e.hasOwnProperty("badge")?((0,r.wg)(),(0,r.j4)((0,r.SU)(Ze.Ks),{key:0,type:e.badgeType?e.badgeType:""},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,r.zw)(e.badge),1)]})),_:2},1032,["type"])):(0,r.kq)("",!0)])):(0,r.kq)("",!0),e.description?((0,r.wg)(),(0,r.iD)("p",Ke,(0,r.zw)(e.description),1)):(0,r.kq)("",!0)])]),(0,r._)("div",Ie,[(0,r._)("div",Ne,[(0,r.Wm)(Me,{field:e,fieldKey:n,reactiveState:t.reactiveState},null,8,["field","fieldKey","reactiveState"])])])],2)],512)),[[r.F8,i(n,e.dependent)]])})),256))],64)}}},Ge={__name:"OptionSection",props:{className:String},setup:function(e){var t=e;return function(e,n){return(0,r.wg)(),(0,r.iD)("section",{class:(0,r.C_)(["adfy-options-section",t.className])},[(0,r.WI)(e.$slots,"default")],2)}}};var We={class:"adfy-container"},Ye={class:"adfy-columns main-content"},Be={class:"adfy-col start site-secondary"},Re={class:"adfy-col end site-primary"};const $e={__name:"Settings",setup:function(e){var t=h();return(0,r.bv)((function(){t.haveStateInMemory||t.fetchOptions()})),function(e,n){return(0,r.wg)(),(0,r.iD)("section",We,[(0,r._)("main",Ye,[(0,r._)("aside",Be,[(0,r.Wm)($)]),(0,r._)("section",Re,[(0,r.SU)(t).isLoading?((0,r.wg)(),(0,r.j4)(N,{key:0})):((0,r.wg)(),(0,r.j4)(X,{key:1,divId:"adfy-settings-form"},{default:(0,r.w5)((function(){return[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)((0,r.SU)(t).data.settings.sections,(function(e,n){return(0,r.wg)(),(0,r.j4)(Ge,null,{default:(0,r.w5)((function(){return[(0,r.Wm)(Te,{section:e,sectionKey:n,reactiveState:(0,r.SU)(t).options,currentPage:"settings"},{default:(0,r.w5)((function(){return[(0,r.Wm)(J,{section:e,sectionkey:n,currentPage:"settings"},null,8,["section","sectionkey"])]})),_:2},1032,["section","sectionKey","reactiveState"])]})),_:2},1024)})),256))]})),_:1}))])])])}}};var Qe={class:"adfy-options"},Xe={class:"adfy-option-columns option-box fullwidth"},Je={class:"adfy-col left"},et={class:"label"},tt={key:0,class:"option-label"},nt={key:1,class:"option-description"},rt={class:"adfy-col right"},ot={class:"input-group"},it={class:"input"};const at={__name:"ColorGroup",props:{section:Object,reactiveState:Object},setup:function(e){var t=e;return function(e,n){return(0,r.wg)(),(0,r.iD)("div",Qe,[(0,r._)("div",Xe,[(0,r._)("div",Je,[(0,r._)("div",et,[""!==t.section.title?((0,r.wg)(),(0,r.iD)("p",tt,(0,r.zw)(t.section.title),1)):(0,r.kq)("",!0),""!==t.section.description?((0,r.wg)(),(0,r.iD)("p",nt,(0,r.zw)(t.section.description),1)):(0,r.kq)("",!0)])]),(0,r._)("div",rt,[(0,r._)("div",ot,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(t.section.fields,(function(e,n){return(0,r.wg)(),(0,r.iD)("div",it,[(0,r.Wm)(Me,{field:e,fieldKey:n,label:e.label,reactiveState:t.reactiveState},null,8,["field","fieldKey","label","reactiveState"])])})),256))])])])])}}};var lt={class:"adfy-ui-option"};const ct={__name:"HandleDesignOptions",props:{section:Object,reactiveState:Object,currentPage:String},setup:function(e){var t=e,n=h();return function(e,o){return(0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(t.section,(function(e,o){return(0,r.wy)(((0,r.wg)(),(0,r.iD)("div",lt,["color-options-group"==e.type?((0,r.wg)(),(0,r.j4)(at,{key:0,section:e,reactiveState:t.reactiveState},null,8,["section","reactiveState"])):((0,r.wg)(),(0,r.j4)(Te,{key:1,section:e,sectionKey:o,reactiveState:t.reactiveState,currentPage:t.currentPage},{default:(0,r.w5)((function(){return[(0,r.Wm)(J,{section:e,sectionKey:o,currentPage:t.currentPage},null,8,["section","sectionKey","currentPage"])]})),_:2},1032,["section","sectionKey","reactiveState","currentPage"]))],512)),[[r.F8,"general"==o||(0,r.SU)(n).options.enable_plugin_styles]])})),256)}}};var ut={class:"adfy-container"},st={class:"adfy-columns main-content"},dt={class:"adfy-col start site-secondary"},ft={class:"adfy-col end site-primary"};const pt={__name:"Styles",setup:function(e){var t=h();return(0,r.bv)((function(){t.haveStateInMemory||t.fetchOptions()})),function(e,n){return(0,r.wg)(),(0,r.iD)("section",ut,[(0,r._)("main",st,[(0,r._)("aside",dt,[(0,r.Wm)($)]),(0,r._)("section",ft,[(0,r.SU)(t).isLoading?((0,r.wg)(),(0,r.j4)(N,{key:0})):((0,r.wg)(),(0,r.j4)(X,{key:1,divId:"adfy-style-options-form"},{default:(0,r.w5)((function(){return[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)((0,r.SU)(t).data.styles,(function(e,n){return(0,r.wg)(),(0,r.j4)(Ge,null,{default:(0,r.w5)((function(){return[(0,r.Wm)(ct,{section:e,reactiveState:(0,r.SU)(t).options,currentPage:"design"},{default:(0,r.w5)((function(){return[(0,r.Wm)(J,{section:e,sectionkey:n,currentPage:"design"},null,8,["section","sectionkey"])]})),_:2},1032,["section","reactiveState"])]})),_:2},1024)})),256))]})),_:1}))])])])}}};var ht=n(7342);n(4746);function vt(e){return vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vt(e)}function gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yt(e){for(var t=1;t=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function _t(e,t,n,r,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function Ct(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){_t(i,r,o,a,l,"next",e)}function l(e){_t(i,r,o,a,l,"throw",e)}a(void 0)}))}}var bt=wp.apiFetch,St=wp.i18n.__,kt=(0,o.Q_)({id:"Product",state:function(){return{allAddons:{},allProductSlugStatus:{},hotAddons:{},generalAddons:{},installedAddons:[],isFetching:!0,isFetchingAllInstalledAddons:!0,isSettingAddonStatus:!0}},actions:{fetchGithubRepo:function(){var e=this;return Ct(wt().mark((function t(){var n,r;return wt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch("https://raw.githubusercontent.com/addonify/recommended-products/main/products.json");case 3:return n=t.sent,t.next=6,n.json();case 6:r=t.sent,200==n.status?(console.log("💥 Github repo fetched successfully."),e.processRecommendedPluginsList(r),e.isFetching=!1):(console.error("Couldn't fetch Github repo "+n),i.z8.error({message:St("Error: couldn't fetch recommended plugins list.","addonify-quick-view"),offset:50,duration:2e4})),t.next=14;break;case 10:t.prev=10,t.t0=t.catch(0),console.error(t.t0),e.isFetching=!1;case 14:case"end":return t.stop()}}),t,null,[[0,10]])})))()},processRecommendedPluginsList:function(e){var t=this;console.log("=> Processing the list that was retrived...."),this.hotAddons=e.data.hot,this.generalAddons=e.data.general,this.allAddons=yt(yt({},this.hotAddons),this.generalAddons),"object"===vt(this.allAddons)?Object.keys(this.allAddons).forEach((function(e){t.allProductSlugStatus[e]="null"})):(console.error("💥 Couldn't process the list plugins list."),i.z8.error({message:St("Error: couldn't process the recommended plugins list.","addonify-quick-view"),offset:50,duration:1e4}))},fetchInstalledAddons:function(){var e=this;return Ct(wt().mark((function t(){var n;return wt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return console.log("=> Getting the list of all plugins installed on the site...."),t.prev=1,t.next=4,bt({method:"GET",path:"/wp/v2/plugins"});case 4:n=t.sent,console.log("=> Received the list of all installed plugins...."),e.installedAddons=n,e.setAddonStatusFlag(Object.keys(e.allProductSlugStatus)),e.isFetchingAllInstalledAddons=!1,t.next=16;break;case 11:t.prev=11,t.t0=t.catch(1),console.error(t.t0),i.z8.error({message:St("Error: Couldn't retrive the list of installed plugins.","addonify-quick-view"),offset:50,duration:2e4}),e.isFetchingAllInstalledAddons=!1;case 16:case"end":return t.stop()}}),t,null,[[1,11]])})))()},setAddonStatusFlag:function(e){var t=this;"object"==vt(this.installedAddons)&&this.installedAddons.length>0?(console.log("=> Setting the status of the addon."),e.forEach((function(e){var n=t.installedAddons.find((function(t){return t.textdomain==e}));t.allProductSlugStatus[e]=n?n.status:"not-installed"}))):console.log("=> Bailing!!! The installed addons list is empty."),console.log("💥 Done setting the status of the addon."),this.isSettingAddonStatus=!1},handleAddonInstallation:function(e){var t=this;return Ct(wt().mark((function n(){var r;return wt().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,console.log("=> Trying to install plugin ".concat(e,"...")),n.next=4,bt({method:"POST",path:"/wp/v2/plugins",data:{slug:e,status:"active"}});case 4:if(r=n.sent,console.log(r),"active"!==r.status){n.next=13;break}return console.log("=> Plugin ".concat(e," installed successfully.")),i.z8.success({message:St("Plugin installed successfully.","addonify-quick-view"),offset:50,duration:5e3}),t.allProductSlugStatus[e]="active",n.next=12,r;case 12:case 22:return n.abrupt("return",n.sent);case 13:n.next=23;break;case 15:return n.prev=15,n.t0=n.catch(0),console.error(n.t0),i.z8.error({message:St("Error: couldn't install plugin.","addonify-quick-view"),offset:50,duration:2e4}),t.isWaitingForInstallation=!1,n.next=22,n.t0;case 23:case"end":return n.stop()}}),n,null,[[0,15]])})))()},updateAddonStatus:function(e){var t=this;return Ct(wt().mark((function n(){var r;return wt().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,console.log("=> Trying to set the status of plugin ".concat(e,"...")),n.next=4,bt({method:"POST",path:"/wp/v2/plugins/".concat(e),data:{status:"active",plugin:"".concat(e,"/").concat(e)}});case 4:if(r=n.sent,console.log(r),"active"!=r.status){n.next=13;break}return console.log("=> Plugin ".concat(e," activated successfully.")),i.z8.success({message:St("Plugin activated successfully.","addonify-quick-view"),offset:50,duration:5e3}),t.allProductSlugStatus[e]="active",n.next=12,r;case 12:case 21:return n.abrupt("return",n.sent);case 13:n.next=22;break;case 15:return n.prev=15,n.t0=n.catch(0),console.log(n.t0),i.z8.error({message:St("Error: Couldn't activate the plugin.","addonify-quick-view"),offset:50,duration:2e4}),n.next=21,n.t0;case 22:case"end":return n.stop()}}),n,null,[[0,15]])})))()}}});function Vt(e){return Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vt(e)}function xt(){xt=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var i=t&&t.prototype instanceof f?t:f,a=Object.create(i.prototype),l=new V(o||[]);return r(a,"_invoke",{value:C(e,n,l)}),a}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function f(){}function p(){}function h(){}var v={};c(v,i,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(x([])));y&&y!==t&&n.call(y,i)&&(v=y);var m=h.prototype=f.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function o(r,i,a,l){var c=s(e[r],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==Vt(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,l)}))}l(c.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function C(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return L()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=b(a,n);if(l){if(l===d)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=s(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function b(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,b(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var o=s(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function V(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function x(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function Lt(e,t,n,r,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}var Ut={class:"adfy-product-card"},jt={class:"adfy-product-box"},Ot={class:"adfy-product-thumb"},Ht=["src","alt"],zt={class:"content"},Pt=["innerHTML"],Et=["innerHTML"],Mt={class:"adfy-product-actions"};const Zt={__name:"Recommended",props:{slug:String,name:String,description:String,thumb:String,status:String},setup:function(e){var t=e,n=wp.i18n.__,o=kt(),i=t.slug,a=t.name,l=t.thumb,c=t.description,u=(0,r.iH)(!1),s=(0,r.iH)(!1),d=(0,r.iH)(!1),f=(0,r.iH)(!1),p=n("Activate now","addonify-quick-view"),h=n("Activating...","addonify-quick-view"),v=n("Install now","addonify-quick-view"),g=n("Installing...","addonify-quick-view"),y=n("Installed","addonify-quick-view"),m=function(){var e,t=(e=xt().mark((function e(t){return xt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u.value=!0,f.value=!0,e.prev=2,e.next=5,o.handleAddonInstallation(t);case 5:"active"==e.sent.status&&(u.value=!1,f.value=!1,s.value=!0),e.next=14;break;case 9:e.prev=9,e.t0=e.catch(2),u.value=!1,f.value=!1,s.value=!1;case 14:case"end":return e.stop()}}),e,null,[[2,9]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Lt(i,r,o,a,l,"next",e)}function l(e){Lt(i,r,o,a,l,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}();return function(e,n){return(0,r.wg)(),(0,r.iD)("div",Ut,[(0,r._)("div",jt,[(0,r._)("figure",Ot,[(0,r._)("img",{src:(0,r.SU)(l),alt:(0,r.SU)(i)},null,8,Ht)]),(0,r._)("div",zt,[(0,r._)("h3",{class:"adfy-product-title",innerHTML:(0,r.SU)(a)},null,8,Pt),(0,r._)("p",{class:"adfy-product-description",innerHTML:(0,r.SU)(c)},null,8,Et),(0,r._)("div",Mt,["active"==t.status||"network-active"==t.status?((0,r.wg)(),(0,r.j4)((0,r.SU)(ht.mi),{key:0,size:"large",id:(0,r.SU)(i),plain:"",disabled:""},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,r.zw)((0,r.SU)(y)),1)]})),_:1},8,["id"])):"inactive"==t.status?((0,r.wg)(),(0,r.j4)((0,r.SU)(ht.mi),{key:1,type:"success",size:"large",id:(0,r.SU)(i),plain:"",loading:u.value,disabled:s.value,onClick:n[0]||(n[0]=function(e){return function(e){u.value=!0,d.value=!0;try{"active"==o.updateAddonStatus(e).status&&(u.value=!1,d.value=!1,s.value=!0)}catch(e){u.value=!1,d.value=!1,s.value=!1}}((0,r.SU)(i))})},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,r.zw)(d.value?(0,r.SU)(h):(0,r.SU)(p)),1)]})),_:1},8,["id","loading","disabled"])):((0,r.wg)(),(0,r.j4)((0,r.SU)(ht.mi),{key:2,type:"primary",size:"large",id:(0,r.SU)(i),plain:"",loading:u.value,disabled:s.value,onClick:n[1]||(n[1]=function(e){return m((0,r.SU)(i))})},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,r.zw)(f.value?(0,r.SU)(g):(0,r.SU)(v)),1)]})),_:1},8,["id","loading","disabled"]))])])])])}}};var At=n(313),qt={insert:"head",singleton:!1};ce()(At.Z,qt);At.Z.locals;const Dt=Zt;var Ft={class:"adfy-container"},Kt={class:"adfy-columns main-content"},It={class:"adfy-col start aside secondary"},Nt={class:"adfy-col end site-primary"},Tt={key:1,id:"recommended-products"},Gt={id:"recommended-hot-products"},Wt={class:"adfy-grid"},Yt=(0,r._)("div",{id:"recommended-general-products"},null,-1);var Bt={class:"error-404"};const Rt={__name:"404",setup:function(e){var t=wp.i18n.__;return function(e,n){var o=(0,r.up)("router-link");return(0,r.wg)(),(0,r.iD)("div",Bt,[(0,r._)("h3",null,(0,r.zw)((0,r.SU)(t)("404","addonify-quick-view")),1),(0,r._)("p",null,(0,r.zw)((0,r.SU)(t)("Oops, page not found!","addonify-quick-view")),1),(0,r.Wm)(o,{to:"/",class:"adfy-button"},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,r.zw)((0,r.SU)(t)("Go Back","addonify-quick-view")),1)]})),_:1})])}}};var $t=[{path:"/",name:"Settings",component:$e},{path:"/styles",name:"Styles",component:pt},{path:"/products",name:"Products",component:{__name:"Products",setup:function(e){var t=kt();return(0,r.wF)((function(){t.fetchInstalledAddons()})),(0,r.bv)((function(){t.fetchGithubRepo()})),function(e,n){return(0,r.wg)(),(0,r.iD)("section",Ft,[(0,r._)("main",Kt,[(0,r._)("aside",It,[(0,r.Wm)($)]),(0,r._)("section",Nt,[!0===(0,r.SU)(t).isFetching||!0===(0,r.SU)(t).isFetchingAllInstalledAddons||!0===(0,r.SU)(t).isSettingAddonStatus?((0,r.wg)(),(0,r.j4)(N,{key:0})):((0,r.wg)(),(0,r.iD)("section",Tt,[(0,r._)("div",Gt,[(0,r._)("div",Wt,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)((0,r.SU)(t).hotAddons,(function(e,n){return(0,r.wg)(),(0,r.j4)(Dt,{slug:n,name:e.name,description:e.description,thumb:e.thumbnail,status:(0,r.SU)(t).allProductSlugStatus[n]},null,8,["slug","name","description","thumb","status"])})),256))])]),Yt]))])])])}}}},{path:"/:catchAll(.*)*",name:"404",component:Rt}];const Qt=(0,D.p7)({history:(0,D.r5)(),routes:$t});var Xt=(0,o.WB)(),Jt=(0,r.ri)(q);Jt.use(Xt),Jt.use(Qt),Jt.mount("#___adfy-quickview-app___")}},e=>{var t=t=>e(e.s=t);e.O(0,[703,898],(()=>(t(336),t(7218))));e.O()}]); \ No newline at end of file +"use strict";(self.webpackChunkaddonify_quick_view=self.webpackChunkaddonify_quick_view||[]).push([[522],{2758:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,'.unsupported-control-text{font-size:14px}.adfy-button.fake-button.forward-to-doc-link{fill:var(--addonify_primary_color);color:var(--addonify_primary_color);font-size:14px}.adfy-button.fake-button.forward-to-doc-link:after,.adfy-button.fake-button.forward-to-doc-link:before{bottom:-5px;content:"";height:2px}.adfy-button.fake-button.forward-to-doc-link:after{background-color:var(--addonify_primary_color);content:""}.adfy-button.fake-button.forward-to-doc-link:hover{fill:var(--addonify_base_text_color);color:var(--addonify_base_text_color)}.adfy-button.fake-button.forward-to-doc-link:hover:after,.adfy-button.fake-button.forward-to-doc-link:hover:before{background-color:var(--addonify_base_text_color);content:""}',""]);const i=o},6498:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".adfy-options .el-color-picker__color,.adfy-options .el-color-picker__color-inner,.adfy-options .el-color-picker__trigger{border:none;border-radius:100%}.adfy-options .el-color-picker__trigger{border:2px solid #fff;box-shadow:0 5px 10px rgba(0,0,0,.1);height:42px;padding:3px;width:42px}.adfy-options .el-color-picker .el-color-picker__icon{color:#fff;font-size:16px;line-height:1}.adfy-options .el-color-picker .el-color-picker__empty{color:red;font-size:20px;line-height:1}",""]);const i=o},4399:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".wp-admin .el-select-dropdown__item.selected{font-weight:400}",""]);const i=o},2735:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".adfy-options .el-textarea__inner{display:block;font-family:monospace;min-height:200px;padding:15px;width:100%}",""]);const i=o},313:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,"#recommended-hot-products .el-skeleton.is-animated .el-skeleton__item{background:linear-gradient(90deg,#e1e1e1 25%,#d8d8d8 37%,#c7c7c7 63%);background-size:400% 100%}",""]);const i=o},7218:()=>{},336:(e,t,n)=>{var r=n(4865),o=n(9876),i=n(1464);n(5190);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var l={},c=wp.apiFetch,u=wp.i18n.__,s=lodash,d=s.isEqual,f=s.cloneDeep,p=adfy_wp_locolizer.rest_namespace,h=(0,o.Q_)({id:"Options",state:function(){return{data:{},options:{},message:"",isLoading:!0,isSaving:!1,needSave:!1,errors:""}},getters:{needSaving:function(e){return!d(e.options,l)},haveStateInMemory:function(e){return"array"==typeof e.options?0!==e.options.length:"object"===a(e.options)?0!==Object.keys(e.options).length:void 0}},actions:{fetchOptions:function(){var e=this;c({path:p+"/get_options",method:"GET"}).then((function(t){var n=t.settings_values;e.data=t.tabs,e.options=n,l=f(n)})).catch((function(e){console.log(e),i.z8.error({message:u("Something went wrong while fetching settings.","addonify-quick-view"),offset:50,duration:1e4})})).finally((function(){e.isLoading=!1}))},handleUpdateOptions:function(){var e={},t=this.options;Object.keys(t).map((function(n){d(t[n],l[n])||(e[n]=t[n])})),this.updateOptions(e)},updateOptions:function(e){var t=this;this.isSaving=!0,c({path:p+"/update_options",method:"POST",data:{settings_values:e}}).then((function(e){t.isSaving=!1,t.message=e.message,!0===e.success?i.z8.success({message:t.message,offset:50,duration:3e3}):i.z8.error({message:t.message,offset:50,duration:3e3});var n=f(t.options);t.options={},t.options=f(n),l=f(t.options)})).catch((function(e){console.log(e),i.z8.error({message:u("Something went wrong while updating settings.","addonify-quick-view"),offset:50,duration:5e3})}))}}}),v={class:"adfy-header"},y={class:"adfy-row"},g={class:"adfy-col start"},m={class:"branding"},w=(0,r._)("svg",{width:"141",height:"42",viewBox:"0 0 141 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,r._)("path",{d:"M53.512 22.64V32H52.888V22.64H53.512ZM58.228 29.24C58.228 29.832 58.108 30.344 57.868 30.776C57.636 31.208 57.316 31.54 56.908 31.772C56.508 32.004 56.06 32.12 55.564 32.12C55.1 32.12 54.692 31.996 54.34 31.748C53.988 31.492 53.712 31.148 53.512 30.716C53.32 30.276 53.224 29.784 53.224 29.24C53.224 28.688 53.32 28.196 53.512 27.764C53.712 27.332 53.988 26.992 54.34 26.744C54.692 26.488 55.1 26.36 55.564 26.36C56.06 26.36 56.508 26.476 56.908 26.708C57.316 26.94 57.636 27.272 57.868 27.704C58.108 28.128 58.228 28.64 58.228 29.24ZM57.604 29.24C57.604 28.76 57.508 28.348 57.316 28.004C57.124 27.66 56.868 27.4 56.548 27.224C56.228 27.04 55.872 26.948 55.48 26.948C55.144 26.948 54.824 27.048 54.52 27.248C54.216 27.448 53.972 27.72 53.788 28.064C53.604 28.408 53.512 28.8 53.512 29.24C53.512 29.68 53.604 30.072 53.788 30.416C53.972 30.76 54.216 31.032 54.52 31.232C54.824 31.432 55.144 31.532 55.48 31.532C55.872 31.532 56.228 31.444 56.548 31.268C56.868 31.084 57.124 30.82 57.316 30.476C57.508 30.132 57.604 29.72 57.604 29.24ZM63.6756 26.48L60.0756 34.64H59.3796L60.7956 31.436L58.5636 26.48H59.3076L61.3116 31.184L61.0236 31.16L62.9796 26.48H63.6756ZM68.3604 30.344C68.3604 30.616 68.4204 30.844 68.5404 31.028C68.6684 31.212 68.8364 31.352 69.0444 31.448C69.2604 31.536 69.4964 31.58 69.7524 31.58C70.0644 31.58 70.3484 31.508 70.6044 31.364C70.8684 31.22 71.0804 31.008 71.2404 30.728C71.4004 30.448 71.4804 30.104 71.4804 29.696L71.6244 30.224C71.6244 30.656 71.5204 31.012 71.3124 31.292C71.1044 31.572 70.8444 31.78 70.5324 31.916C70.2204 32.052 69.9044 32.12 69.5844 32.12C69.2724 32.12 68.9724 32.056 68.6844 31.928C68.3964 31.792 68.1644 31.596 67.9884 31.34C67.8124 31.084 67.7244 30.76 67.7244 30.368C67.7244 29.832 67.9084 29.408 68.2764 29.096C68.6524 28.784 69.1604 28.628 69.8004 28.628C70.1604 28.628 70.4684 28.672 70.7244 28.76C70.9884 28.84 71.2044 28.932 71.3724 29.036C71.5404 29.14 71.6604 29.228 71.7324 29.3V29.696C71.4604 29.504 71.1684 29.364 70.8564 29.276C70.5524 29.18 70.2324 29.132 69.8964 29.132C69.5844 29.132 69.3124 29.176 69.0804 29.264C68.8564 29.352 68.6804 29.484 68.5524 29.66C68.4244 29.836 68.3604 30.064 68.3604 30.344ZM68.3844 27.488L68.0724 27.02C68.2804 26.876 68.5484 26.732 68.8764 26.588C69.2124 26.436 69.6244 26.36 70.1124 26.36C70.5284 26.36 70.8844 26.428 71.1804 26.564C71.4764 26.7 71.7044 26.896 71.8644 27.152C72.0244 27.408 72.1044 27.72 72.1044 28.088V32H71.4804V28.172C71.4804 28.012 71.4564 27.86 71.4084 27.716C71.3604 27.564 71.2804 27.428 71.1684 27.308C71.0644 27.188 70.9204 27.092 70.7364 27.02C70.5524 26.948 70.3284 26.912 70.0644 26.912C69.7924 26.912 69.5484 26.944 69.3324 27.008C69.1164 27.072 68.9284 27.148 68.7684 27.236C68.6164 27.324 68.4884 27.408 68.3844 27.488ZM78.0551 22.64H78.6791V32H78.0551V22.64ZM73.3391 29.24C73.3391 28.64 73.4591 28.128 73.6991 27.704C73.9391 27.272 74.2591 26.94 74.6591 26.708C75.0671 26.476 75.5151 26.36 76.0031 26.36C76.4831 26.36 76.8951 26.488 77.2391 26.744C77.5831 26.992 77.8511 27.332 78.0431 27.764C78.2431 28.196 78.3431 28.688 78.3431 29.24C78.3431 29.784 78.2431 30.276 78.0431 30.716C77.8511 31.148 77.5831 31.492 77.2391 31.748C76.8951 31.996 76.4831 32.12 76.0031 32.12C75.5151 32.12 75.0671 32.004 74.6591 31.772C74.2591 31.54 73.9391 31.208 73.6991 30.776C73.4591 30.344 73.3391 29.832 73.3391 29.24ZM73.9751 29.24C73.9751 29.72 74.0671 30.132 74.2511 30.476C74.4431 30.82 74.6991 31.084 75.0191 31.268C75.3471 31.444 75.7031 31.532 76.0871 31.532C76.4311 31.532 76.7511 31.432 77.0471 31.232C77.3511 31.032 77.5951 30.76 77.7791 30.416C77.9631 30.072 78.0551 29.68 78.0551 29.24C78.0551 28.8 77.9631 28.408 77.7791 28.064C77.5951 27.72 77.3511 27.448 77.0471 27.248C76.7511 27.048 76.4311 26.948 76.0871 26.948C75.7031 26.948 75.3471 27.04 75.0191 27.224C74.6991 27.4 74.4431 27.66 74.2511 28.004C74.0671 28.348 73.9751 28.76 73.9751 29.24ZM84.7465 22.64H85.3705V32H84.7465V22.64ZM80.0305 29.24C80.0305 28.64 80.1505 28.128 80.3905 27.704C80.6305 27.272 80.9505 26.94 81.3505 26.708C81.7585 26.476 82.2065 26.36 82.6945 26.36C83.1745 26.36 83.5865 26.488 83.9305 26.744C84.2745 26.992 84.5425 27.332 84.7345 27.764C84.9345 28.196 85.0345 28.688 85.0345 29.24C85.0345 29.784 84.9345 30.276 84.7345 30.716C84.5425 31.148 84.2745 31.492 83.9305 31.748C83.5865 31.996 83.1745 32.12 82.6945 32.12C82.2065 32.12 81.7585 32.004 81.3505 31.772C80.9505 31.54 80.6305 31.208 80.3905 30.776C80.1505 30.344 80.0305 29.832 80.0305 29.24ZM80.6665 29.24C80.6665 29.72 80.7585 30.132 80.9425 30.476C81.1345 30.82 81.3905 31.084 81.7105 31.268C82.0385 31.444 82.3945 31.532 82.7785 31.532C83.1225 31.532 83.4425 31.432 83.7385 31.232C84.0425 31.032 84.2865 30.76 84.4705 30.416C84.6545 30.072 84.7465 29.68 84.7465 29.24C84.7465 28.8 84.6545 28.408 84.4705 28.064C84.2865 27.72 84.0425 27.448 83.7385 27.248C83.4425 27.048 83.1225 26.948 82.7785 26.948C82.3945 26.948 82.0385 27.04 81.7105 27.224C81.3905 27.4 81.1345 27.66 80.9425 28.004C80.7585 28.348 80.6665 28.76 80.6665 29.24ZM86.7219 29.24C86.7219 28.68 86.8459 28.184 87.0939 27.752C87.3419 27.32 87.6779 26.98 88.1019 26.732C88.5339 26.484 89.0179 26.36 89.5539 26.36C90.0899 26.36 90.5699 26.484 90.9939 26.732C91.4259 26.98 91.7659 27.32 92.0139 27.752C92.2619 28.184 92.3859 28.68 92.3859 29.24C92.3859 29.792 92.2619 30.288 92.0139 30.728C91.7659 31.16 91.4259 31.5 90.9939 31.748C90.5699 31.996 90.0899 32.12 89.5539 32.12C89.0179 32.12 88.5339 31.996 88.1019 31.748C87.6779 31.5 87.3419 31.16 87.0939 30.728C86.8459 30.288 86.7219 29.792 86.7219 29.24ZM87.3579 29.24C87.3579 29.688 87.4539 30.084 87.6459 30.428C87.8379 30.772 88.0979 31.044 88.4259 31.244C88.7619 31.436 89.1379 31.532 89.5539 31.532C89.9699 31.532 90.3419 31.436 90.6699 31.244C91.0059 31.044 91.2699 30.772 91.4619 30.428C91.6539 30.084 91.7499 29.688 91.7499 29.24C91.7499 28.8 91.6539 28.408 91.4619 28.064C91.2699 27.712 91.0059 27.44 90.6699 27.248C90.3419 27.048 89.9699 26.948 89.5539 26.948C89.1379 26.948 88.7619 27.048 88.4259 27.248C88.0979 27.44 87.8379 27.708 87.6459 28.052C87.4539 28.396 87.3579 28.792 87.3579 29.24ZM97.3396 28.448C97.3396 27.976 97.2356 27.608 97.0276 27.344C96.8196 27.08 96.4916 26.948 96.0436 26.948C95.7316 26.948 95.4516 27.024 95.2036 27.176C94.9636 27.32 94.7716 27.52 94.6276 27.776C94.4916 28.032 94.4236 28.32 94.4236 28.64V32H93.7996V26.48H94.4236V27.632C94.5756 27.232 94.8036 26.92 95.1076 26.696C95.4196 26.472 95.7796 26.36 96.1876 26.36C96.7636 26.36 97.2036 26.544 97.5076 26.912C97.8116 27.272 97.9636 27.76 97.9636 28.376V32H97.3396V28.448ZM99.8582 23.984C99.8582 23.856 99.9022 23.752 99.9902 23.672C100.078 23.584 100.182 23.54 100.302 23.54C100.43 23.54 100.534 23.584 100.614 23.672C100.702 23.752 100.746 23.856 100.746 23.984C100.746 24.104 100.702 24.208 100.614 24.296C100.534 24.384 100.43 24.428 100.302 24.428C100.182 24.428 100.078 24.384 99.9902 24.296C99.9022 24.208 99.8582 24.104 99.8582 23.984ZM99.9902 26.48H100.614V32H99.9902V26.48ZM102.227 26.48H104.819V27.068H102.227V26.48ZM104.939 23.552C104.851 23.424 104.743 23.328 104.615 23.264C104.487 23.192 104.351 23.156 104.207 23.156C104.007 23.156 103.847 23.208 103.727 23.312C103.615 23.416 103.531 23.564 103.475 23.756C103.419 23.948 103.391 24.168 103.391 24.416V32H102.767V24.344C102.767 23.968 102.819 23.648 102.923 23.384C103.035 23.112 103.199 22.904 103.415 22.76C103.631 22.608 103.907 22.532 104.243 22.532C104.419 22.532 104.571 22.56 104.699 22.616C104.835 22.664 104.951 22.728 105.047 22.808C105.151 22.888 105.231 22.968 105.287 23.048L104.939 23.552ZM110.258 26.48L106.658 34.64H105.962L107.378 31.436L105.146 26.48H105.89L107.894 31.184L107.606 31.16L109.562 26.48H110.258ZM110.846 31.712C110.846 31.584 110.89 31.476 110.978 31.388C111.066 31.3 111.17 31.256 111.29 31.256C111.418 31.256 111.522 31.3 111.602 31.388C111.69 31.476 111.734 31.584 111.734 31.712C111.734 31.832 111.69 31.936 111.602 32.024C111.522 32.112 111.418 32.156 111.29 32.156C111.17 32.156 111.066 32.112 110.978 32.024C110.89 31.936 110.846 31.832 110.846 31.712Z",fill:"#313131"}),(0,r._)("path",{d:"M61.439 19.261L57.983 15.823L58.883 14.923L62.321 18.361L61.439 19.261ZM56.507 19.27C55.217 19.27 54.128 18.985 53.24 18.415C52.352 17.839 51.68 17.044 51.224 16.03C50.768 15.016 50.54 13.846 50.54 12.52C50.54 11.194 50.768 10.024 51.224 9.01C51.68 7.996 52.352 7.204 53.24 6.634C54.128 6.058 55.217 5.77 56.507 5.77C57.803 5.77 58.892 6.058 59.774 6.634C60.662 7.204 61.334 7.996 61.79 9.01C62.252 10.024 62.483 11.194 62.483 12.52C62.483 13.846 62.252 15.016 61.79 16.03C61.334 17.044 60.662 17.839 59.774 18.415C58.892 18.985 57.803 19.27 56.507 19.27ZM56.507 18.001C57.521 18.001 58.367 17.77 59.045 17.308C59.723 16.846 60.23 16.204 60.566 15.382C60.908 14.554 61.079 13.6 61.079 12.52C61.079 11.44 60.908 10.489 60.566 9.667C60.23 8.845 59.723 8.203 59.045 7.741C58.367 7.279 57.521 7.045 56.507 7.039C55.493 7.039 54.65 7.27 53.978 7.732C53.306 8.194 52.799 8.839 52.457 9.667C52.121 10.489 51.95 11.44 51.944 12.52C51.938 13.6 52.103 14.551 52.439 15.373C52.781 16.189 53.291 16.831 53.969 17.299C54.647 17.761 55.493 17.995 56.507 18.001ZM68.3624 19.243C67.7804 19.243 67.2704 19.153 66.8324 18.973C66.4004 18.793 66.0314 18.55 65.7254 18.244C65.4254 17.938 65.1824 17.59 64.9964 17.2C64.8104 16.804 64.6754 16.387 64.5914 15.949C64.5074 15.505 64.4654 15.064 64.4654 14.626V9.28H65.7974V14.239C65.7974 14.773 65.8484 15.268 65.9504 15.724C66.0524 16.18 66.2144 16.579 66.4364 16.921C66.6644 17.257 66.9554 17.518 67.3094 17.704C67.6694 17.89 68.1044 17.983 68.6144 17.983C69.0824 17.983 69.4934 17.902 69.8474 17.74C70.2074 17.578 70.5074 17.347 70.7474 17.047C70.9934 16.741 71.1794 16.372 71.3054 15.94C71.4314 15.502 71.4944 15.01 71.4944 14.464L72.4304 14.671C72.4304 15.667 72.2564 16.504 71.9084 17.182C71.5604 17.86 71.0804 18.373 70.4684 18.721C69.8564 19.069 69.1544 19.243 68.3624 19.243ZM71.6294 19V16.606H71.4944V9.28H72.8174V19H71.6294ZM75.8729 7.435V5.95H77.1959V7.435H75.8729ZM75.8729 19V9.28H77.1959V19H75.8729ZM84.2861 19.27C83.3081 19.27 82.4801 19.051 81.8021 18.613C81.1241 18.175 80.6081 17.572 80.2541 16.804C79.9061 16.03 79.7261 15.142 79.7141 14.14C79.7261 13.12 79.9121 12.226 80.2721 11.458C80.6321 10.684 81.1511 10.084 81.8291 9.658C82.5071 9.226 83.3291 9.01 84.2951 9.01C85.2791 9.01 86.1341 9.25 86.8601 9.73C87.5921 10.21 88.0931 10.867 88.3631 11.701L87.0671 12.115C86.8391 11.533 86.4761 11.083 85.9781 10.765C85.4861 10.441 84.9221 10.279 84.2861 10.279C83.5721 10.279 82.9811 10.444 82.5131 10.774C82.0451 11.098 81.6971 11.551 81.4691 12.133C81.2411 12.715 81.1241 13.384 81.1181 14.14C81.1301 15.304 81.4001 16.24 81.9281 16.948C82.4561 17.65 83.2421 18.001 84.2861 18.001C84.9461 18.001 85.5071 17.851 85.9691 17.551C86.4371 17.245 86.7911 16.801 87.0311 16.219L88.3631 16.615C88.0031 17.479 87.4751 18.139 86.7791 18.595C86.0831 19.045 85.2521 19.27 84.2861 19.27ZM90.5719 19L90.5809 6.04H91.9129V13.96L96.2509 9.28H98.0149L93.4609 14.14L98.6089 19H96.6829L91.9129 14.32V19H90.5719ZM106.462 19L102.934 9.28H104.275L107.146 17.272L109.999 9.28H111.358L107.83 19H106.462ZM113.515 7.435V5.95H114.838V7.435H113.515ZM113.515 19V9.28H114.838V19H113.515ZM122.009 19.27C121.061 19.27 120.239 19.06 119.543 18.64C118.853 18.22 118.316 17.629 117.932 16.867C117.548 16.105 117.356 15.211 117.356 14.185C117.356 13.123 117.545 12.205 117.923 11.431C118.301 10.657 118.832 10.06 119.516 9.64C120.206 9.22 121.019 9.01 121.955 9.01C122.915 9.01 123.734 9.232 124.412 9.676C125.09 10.114 125.603 10.744 125.951 11.566C126.299 12.388 126.458 13.369 126.428 14.509H125.078V14.041C125.054 12.781 124.781 11.83 124.259 11.188C123.743 10.546 122.987 10.225 121.991 10.225C120.947 10.225 120.146 10.564 119.588 11.242C119.036 11.92 118.76 12.886 118.76 14.14C118.76 15.364 119.036 16.315 119.588 16.993C120.146 17.665 120.935 18.001 121.955 18.001C122.651 18.001 123.257 17.842 123.773 17.524C124.295 17.2 124.706 16.735 125.006 16.129L126.239 16.606C125.855 17.452 125.288 18.109 124.538 18.577C123.794 19.039 122.951 19.27 122.009 19.27ZM118.292 14.509V13.402H125.717V14.509H118.292ZM130.504 19L127.534 9.271L128.857 9.28L131.161 16.831L133.474 9.28H134.68L136.993 16.831L139.315 9.28H140.629L137.659 19H136.507L134.077 11.26L131.656 19H130.504Z",fill:"#313131"}),(0,r._)("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H39C40.6569 0 42 1.34315 42 3V27C42 35.2843 35.2843 42 27 42H3C1.34315 42 0 40.6569 0 39V3Z",fill:"url(#paint0_linear_3_14)"}),(0,r._)("g",{"clip-path":"url(#clip0_3_14)"},[(0,r._)("path",{d:"M20.4584 10.0833C25.6334 10.0833 29.8334 14.2833 29.8334 19.4583C29.8334 24.6333 25.6334 28.8333 20.4584 28.8333C15.2834 28.8333 11.0834 24.6333 11.0834 19.4583C11.0834 14.2833 15.2834 10.0833 20.4584 10.0833ZM20.4584 26.75C24.4865 26.75 27.75 23.4865 27.75 19.4583C27.75 15.4292 24.4865 12.1667 20.4584 12.1667C16.4292 12.1667 13.1667 15.4292 13.1667 19.4583C13.1667 23.4865 16.4292 26.75 20.4584 26.75ZM29.2969 26.824L32.2438 29.7698L30.7698 31.2438L27.824 28.2969L29.2969 26.824V26.824Z",fill:"#F3F3F3"})]),(0,r._)("defs",null,[(0,r._)("linearGradient",{id:"paint0_linear_3_14",x1:"21",y1:"0",x2:"21",y2:"42",gradientUnits:"userSpaceOnUse"},[(0,r._)("stop",{"stop-color":"#FE0808"}),(0,r._)("stop",{offset:"1","stop-color":"#FF2C2C"})]),(0,r._)("clipPath",{id:"clip0_3_14"},[(0,r._)("rect",{width:"25",height:"25",fill:"white",transform:"translate(9 8)"})])])],-1),_={class:"adfy-col end"},C={class:"buttons"},b={href:"https://docs.addonify.com/kb/woocommerce-quick-view/",class:"adfy-button fake-button has-underline",target:"_blank"},S=["disabled","loading"],k=(0,r._)("span",{class:"loading-icon"},[(0,r._)("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},[(0,r._)("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})])],-1);const V={__name:"Header",setup:function(e){var t=wp.i18n.__,n=h();return function(e,o){var i=(0,r.up)("router-link");return(0,r.wg)(),(0,r.iD)("header",v,[(0,r._)("div",y,[(0,r._)("div",g,[(0,r._)("div",m,[(0,r.Wm)(i,{class:"adfy-link",to:"/"},{default:(0,r.w5)((function(){return[w]})),_:1})])]),(0,r._)("div",_,[(0,r._)("div",C,[(0,r._)("a",b,(0,r.zw)((0,r.SU)(t)("Documentation","addonify-quick-view")),1),(0,r._)("button",{type:"submit",onClick:o[0]||(o[0]=function(e){return(0,r.SU)(n).handleUpdateOptions()}),class:"adfy-button",disabled:!(0,r.SU)(n).needSaving,loading:(0,r.SU)(n).isSaving},[k,(0,r.Uk)(" "+(0,r.zw)((0,r.SU)(t)("Save Options","addonify-quick-view")),1)],8,S)])])])])}}},x=V;var L={class:"adfy-colopon"},U={class:"adfy-row"},j={class:"adfy-col left"},O={class:"text"},H={class:"version"},z={class:"adfy-col right"},P={class:"text"},E={href:"https://wordpress.org/plugins/addonify-quick-view/#reviews",class:"adfy-link",target:"_blank"},M=(0,r.uE)('',1);const Z={__name:"Footer",setup:function(e){var t=wp.i18n.__,n=adfy_wp_locolizer.version_number,o=(new Date).getFullYear();return function(e,i){return(0,r.wg)(),(0,r.iD)("footer",L,[(0,r._)("div",U,[(0,r._)("div",j,[(0,r._)("p",O,[(0,r.Uk)(" © 2020 - "+(0,r.zw)((0,r.SU)(o))+" Addonify Quick View ",1),(0,r._)("span",H,(0,r.zw)((0,r.SU)(t)("Version","addonify-quick-view"))+": "+(0,r.zw)((0,r.SU)(n)),1)])]),(0,r._)("div",z,[(0,r._)("p",P,[(0,r._)("a",E,[(0,r.Uk)((0,r.zw)((0,r.SU)(t)("Rate","addonify-quick-view"))+" ",1),M,(0,r.Uk)(" :) ")])])])])])}}},A=Z,q={__name:"App",setup:function(e){return function(e,t){var n=(0,r.up)("router-view");return(0,r.wg)(),(0,r.iD)(r.HY,null,[(0,r.Wm)(x),(0,r.Wm)(n),(0,r.Wm)(A)],64)}}};var D=n(2201),F={class:"adfy-loading"},K=[(0,r._)("span",{class:"pulse"},null,-1)];const I={},N=(0,n(3744).Z)(I,[["render",function(e,t){return(0,r.wg)(),(0,r.iD)("section",F,K)}]]);var T={class:"adfy-navigation"},G={class:"navigation"},W=(0,r._)("span",{class:"icon"},[(0,r._)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[(0,r._)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,r._)("path",{d:"M2.132 13.63a9.942 9.942 0 0 1 0-3.26c1.102.026 2.092-.502 2.477-1.431.385-.93.058-2.004-.74-2.763a9.942 9.942 0 0 1 2.306-2.307c.76.798 1.834 1.125 2.764.74.93-.385 1.457-1.376 1.43-2.477a9.942 9.942 0 0 1 3.262 0c-.027 1.102.501 2.092 1.43 2.477.93.385 2.004.058 2.763-.74a9.942 9.942 0 0 1 2.307 2.306c-.798.76-1.125 1.834-.74 2.764.385.93 1.376 1.457 2.477 1.43a9.942 9.942 0 0 1 0 3.262c-1.102-.027-2.092.501-2.477 1.43-.385.93-.058 2.004.74 2.763a9.942 9.942 0 0 1-2.306 2.307c-.76-.798-1.834-1.125-2.764-.74-.93.385-1.457 1.376-1.43 2.477a9.942 9.942 0 0 1-3.262 0c.027-1.102-.501-2.092-1.43-2.477-.93-.385-2.004-.058-2.763.74a9.942 9.942 0 0 1-2.307-2.306c.798-.76 1.125-1.834.74-2.764-.385-.93-1.376-1.457-2.477-1.43zM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"})])],-1),Y=(0,r._)("span",{class:"icon"},[(0,r._)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[(0,r._)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,r._)("path",{d:"M4 3h16a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm2 9h6a1 1 0 0 1 1 1v3h1v6h-4v-6h1v-2H5a1 1 0 0 1-1-1v-2h2v1zm11.732 1.732l1.768-1.768 1.768 1.768a2.5 2.5 0 1 1-3.536 0z"})])],-1),B=(0,r._)("span",{class:"icon"},[(0,r._)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[(0,r._)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,r._)("path",{d:"M13 16.938V19h5v2H6v-2h5v-2.062A8.001 8.001 0 0 1 4 9V3h16v6a8.001 8.001 0 0 1-7 7.938zM1 5h2v4H1V5zm20 0h2v4h-2V5z"})])],-1);const R={__name:"Navigation",setup:function(e){var t=wp.i18n.__;return function(e,n){var o=(0,r.up)("router-link");return(0,r.wg)(),(0,r.iD)("nav",T,[(0,r._)("ul",G,[(0,r._)("li",null,[(0,r.Wm)(o,{to:"/"},{default:(0,r.w5)((function(){return[W,(0,r.Uk)(" "+(0,r.zw)((0,r.SU)(t)("Settings","addonify-quick-view")),1)]})),_:1})]),(0,r._)("li",null,[(0,r.Wm)(o,{to:"/styles"},{default:(0,r.w5)((function(){return[Y,(0,r.Uk)(" "+(0,r.zw)((0,r.SU)(t)("Design","addonify-quick-view")),1)]})),_:1})]),(0,r._)("li",null,[(0,r.Wm)(o,{to:"/products"},{default:(0,r.w5)((function(){return[B,(0,r.Uk)(" "+(0,r.zw)((0,r.SU)(t)("Products","addonify-quick-view")),1)]})),_:1})])])])}}},$=R;var Q=["id"];const X={__name:"Form",props:{divId:String,className:String},setup:function(e){var t=e;return function(e,n){return(0,r.wg)(),(0,r.iD)("form",{id:t.divId,class:(0,r.C_)(["adfy-form",t.className]),onSubmit:n[0]||(n[0]=(0,r.iM)((function(){}),["prevent"]))},[(0,r.WI)(e.$slots,"default")],42,Q)}}},J={__name:"SectionTitle",props:{section:Object,sectionkey:String,currentPage:String},setup:function(e){var t=e,n=h();return function(e,o){return t.section.title?(0,r.wy)(((0,r.wg)(),(0,r.iD)("h3",{key:0,class:"option-box-title"},(0,r.zw)(t.section.title),513)),[[r.F8,(i=t.currentPage,"design"===i||"settings"===i&&(!!t.sectionkey.includes("general")||n.options.enable_quick_view))]]):(0,r.kq)("",!0);var i}}};var ee=n(5381),te=(n(3811),n(5781));function ne(e){return ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ne(e)}const re={__name:"Switch",props:{modelValue:[Boolean,Number,String]},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,o=e,i=(0,r.Fl)({get:function(){return o.modelValue},set:function(e){n("update:modelValue",e)}});return console.log(ne(o.modelValue)),function(e,t){return(0,r.wg)(),(0,r.j4)((0,r.SU)(ee.OX),{modelValue:(0,r.SU)(i),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,r.dq)(i)?i.value=e:null}),size:"large","inline-prompt":"","active-icon":(0,r.SU)(te.JrY),"inactive-icon":(0,r.SU)(te.x8P)},null,8,["modelValue","active-icon","inactive-icon"])}}};var oe=n(3662);n(3047);const ie={__name:"Text",props:{modelValue:String,placeholder:String},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,o=e,i=wp.i18n.__,a=(0,r.Fl)({get:function(){return o.modelValue},set:function(e){n("update:modelValue",e)}});return function(e,t){return(0,r.wg)(),(0,r.j4)((0,r.SU)(oe.EZ),{modelValue:(0,r.SU)(a),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,r.dq)(a)?a.value=e:null}),placeholder:o.placeholder?o.placeholder:(0,r.SU)(i)("Enter text here...","addonify-quick-view"),size:"large"},null,8,["modelValue","placeholder"])}}},ae=ie,le={__name:"Textarea",props:{modelValue:String,className:String,placeholder:String},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,o=e,i=wp.i18n.__,a=(0,r.Fl)({get:function(){return o.modelValue},set:function(e){n("update:modelValue",e)}});return function(t,n){return(0,r.wg)(),(0,r.j4)((0,r.SU)(oe.EZ),{modelValue:(0,r.SU)(a),"onUpdate:modelValue":n[0]||(n[0]=function(e){return(0,r.dq)(a)?a.value=e:null}),class:(0,r.C_)(e.className),type:"textarea",rows:"10",placeholder:o.placeholder?o.placeholder:(0,r.SU)(i)("Enter text here...","addonify-quick-view"),resize:"vertical","input-style":"display:block;width: 100%;"},null,8,["modelValue","class","placeholder"])}}};var ce=n(3379),ue=n.n(ce),se=n(2735),de={insert:"head",singleton:!1};ue()(se.Z,de);se.Z.locals;const fe=le,pe={__name:"Number",props:{modelValue:[String,Number],min:Number,max:Number},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,o=e,i=(0,r.Fl)({get:function(){return parseInt(o.modelValue)},set:function(e){n("update:modelValue",e)}}),a=o.min,l=o.max;return function(e,t){return(0,r.wg)(),(0,r.j4)((0,r.SU)(oe.EZ),{type:"number",modelValue:(0,r.SU)(i),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,r.dq)(i)?i.value=e:null}),min:(0,r.SU)(a)?(0,r.SU)(a):0,max:(0,r.SU)(l)},null,8,["modelValue","min","max"])}}};var he=n(2298);n(3714),n(5312);const ve={__name:"Select",props:{modelValue:[Number,String,Array],choices:[Object,Array],placeholder:String},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,o=e,i=wp.i18n.__,a=(0,r.Fl)({get:function(){return o.modelValue},set:function(e){n("update:modelValue",e)}});return function(e,t){return(0,r.wg)(),(0,r.j4)((0,r.SU)(he.km),{modelValue:(0,r.SU)(a),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,r.dq)(a)?a.value=e:null}),placeholder:o.placeholder?o.placeholder:(0,r.SU)(i)("Select","addonify-quick-view"),size:"large"},{default:(0,r.w5)((function(){return[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(o.choices,(function(e,t){return(0,r.wg)(),(0,r.j4)((0,r.SU)(he.BT),{label:e,value:t},null,8,["label","value"])})),256))]})),_:1},8,["modelValue","placeholder"])}}};var ye=n(4399),ge={insert:"head",singleton:!1};ue()(ye.Z,ge);ye.Z.locals;const me=ve;var we=n(7596);n(1503);const _e={__name:"Checkbox",props:{modelValue:[Boolean],label:[String]},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,o=e,i=(0,r.Fl)({get:function(){return o.modelValue},set:function(e){n("update:modelValue",e)}});return function(e,t){return(0,r.wg)(),(0,r.j4)((0,r.SU)(we.Xb),{modelValue:(0,r.SU)(i),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,r.dq)(i)?i.value=e:null}),label:"{{props.label}}",size:"large"},null,8,["modelValue"])}}};n(6871),n(5874);const Ce={__name:"CheckboxButton",props:{modelValue:[Array],choices:Object},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,o=e,i=(0,r.Fl)({get:function(){return o.modelValue},set:function(e){n("update:modelValue",e)}});return function(e,t){return(0,r.wg)(),(0,r.j4)((0,r.SU)(we.z5),{modelValue:(0,r.SU)(i),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,r.dq)(i)?i.value=e:null}),size:"large"},{default:(0,r.w5)((function(){return[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(o.choices,(function(e,t){return(0,r.wg)(),(0,r.j4)((0,r.SU)(we.lm),{label:t},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,r.zw)(e),1)]})),_:2},1032,["label"])})),256))]})),_:1},8,["modelValue"])}}};var be=n(7692);n(6218),n(2679);const Se={__name:"Radio",props:{modelValue:String,choices:[Object,Array]},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,o=e,i=(0,r.Fl)({get:function(){return o.modelValue},set:function(e){n("update:modelValue",e)}});return function(e,t){return(0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(o.choices,(function(e,n){return(0,r.wg)(),(0,r.j4)((0,r.SU)(be.KD),{modelValue:(0,r.SU)(i),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,r.dq)(i)?i.value=e:null})},{default:(0,r.w5)((function(){return[(0,r.Wm)((0,r.SU)(be.rh),{label:n},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,r.zw)(e),1)]})),_:2},1032,["label"])]})),_:2},1032,["modelValue"])})),256)}}};var ke=n(1831),Ve=(n(4382),{key:0,class:"label"});const xe={__name:"ColorPicker",props:{colorVal:String,isAlpha:[Boolean,String],label:String},emits:["update:colorVal"],setup:function(e,t){var n=t.emit,o=e,i=(0,r.Fl)({get:function(){return o.colorVal},set:function(e){n("update:colorVal",e)}}),a=function(e){n("update:colorVal",e)};return function(e,t){return(0,r.wg)(),(0,r.iD)(r.HY,null,[(0,r.Wm)((0,r.SU)(ke.$),{modelValue:(0,r.SU)(i),"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,r.dq)(i)?i.value=e:null}),"show-alpha":o.isAlpha,onActiveChange:a},null,8,["modelValue","show-alpha"]),o.label?((0,r.wg)(),(0,r.iD)("span",Ve,(0,r.zw)(o.label),1)):(0,r.kq)("",!0)],64)}}};var Le=n(6498),Ue={insert:"head",singleton:!1};ue()(Le.Z,Ue);Le.Z.locals;const je=xe;var Oe={class:"unsupported-control-text"},He={href:"https://docs.addonify.com/kb/woocommerce-quick-view/developer/",target:"_blank",rel:"documentation",class:"adfy-button fake-button has-underline forward-to-doc-link"};const ze={__name:"InvalidControl",setup:function(e){var t=wp.i18n.__;return function(e,n){return(0,r.wg)(),(0,r.iD)("span",Oe,[(0,r.Uk)(" ❌ "+(0,r.zw)((0,r.SU)(t)("Input is not supported.","addonify-wishist"))+" ",1),(0,r._)("a",He,(0,r.zw)((0,r.SU)(t)("Check docs","addonify-quick-view")),1)])}}};var Pe=n(2758),Ee={insert:"head",singleton:!1};ue()(Pe.Z,Ee);Pe.Z.locals;const Me=ze,Ze={__name:"InputControl",props:{field:Object,fieldKey:String,label:String,reactiveState:Object},setup:function(e){var t=e;return function(e,n){return"switch"==t.field.type?((0,r.wg)(),(0,r.j4)(re,{key:0,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[0]||(n[0]=function(e){return t.reactiveState[t.fieldKey]=e})},null,8,["modelValue"])):"select"==t.field.type?((0,r.wg)(),(0,r.j4)(me,{key:1,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[1]||(n[1]=function(e){return t.reactiveState[t.fieldKey]=e}),choices:t.field.choices,placeholder:t.field.placeholder},null,8,["modelValue","choices","placeholder"])):"text"==t.field.type?((0,r.wg)(),(0,r.j4)(ae,{key:2,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[2]||(n[2]=function(e){return t.reactiveState[t.fieldKey]=e}),placeholder:t.field.placeholder},null,8,["modelValue","placeholder"])):"textarea"==t.field.type?((0,r.wg)(),(0,r.j4)(fe,{key:3,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[3]||(n[3]=function(e){return t.reactiveState[t.fieldKey]=e}),placeholder:t.field.placeholder},null,8,["modelValue","placeholder"])):"checkbox"==t.field.type&&"buttons"==t.field.typeStyle?((0,r.wg)(),(0,r.j4)(Ce,{key:4,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[4]||(n[4]=function(e){return t.reactiveState[t.fieldKey]=e}),choices:t.field.choices},null,8,["modelValue","choices"])):"checkbox"==t.field.type?((0,r.wg)(),(0,r.j4)(_e,{key:5,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[5]||(n[5]=function(e){return t.reactiveState[t.fieldKey]=e}),choices:t.field.choices},null,8,["modelValue","choices"])):"number"==t.field.type?((0,r.wg)(),(0,r.j4)(pe,{key:6,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[6]||(n[6]=function(e){return t.reactiveState[t.fieldKey]=e}),placeholder:t.field.placeholder},null,8,["modelValue","placeholder"])):"radio"==t.field.type?((0,r.wg)(),(0,r.j4)(Se,{key:7,modelValue:t.reactiveState[t.fieldKey],"onUpdate:modelValue":n[7]||(n[7]=function(e){return t.reactiveState[t.fieldKey]=e}),choices:t.field.choices},null,8,["modelValue","choices"])):"color"==t.field.type?((0,r.wg)(),(0,r.j4)(je,{key:8,colorVal:t.reactiveState[t.fieldKey],"onUpdate:colorVal":n[8]||(n[8]=function(e){return t.reactiveState[t.fieldKey]=e}),isAlpha:t.field.isAlpha,label:t.field.label},null,8,["colorVal","isAlpha","label"])):((0,r.wg)(),(0,r.j4)(Me,{key:9}))}}};var Ae=n(7534),qe=(n(405),{class:"adfy-options"}),De={class:"adfy-col left"},Fe={class:"label"},Ke={key:0,class:"option-label"},Ie={key:1,class:"option-description"},Ne={class:"adfy-col right"},Te={class:"input"};const Ge={__name:"OptionBox",props:{section:Object,sectionKey:[String,Object],reactiveState:Object,currentPage:String},setup:function(e){var t=e,n=h();function o(e){return Array.isArray(e)?e.every((function(e){return n.options[e]})):n.options[e]}function i(e,n){return"settings"==t.currentPage?"enable_quick_view"==e||o(n):"design"==t.currentPage?"enable_plugin_styles"==e||o(n):void 0}return function(e,n){return(0,r.wg)(),(0,r.iD)(r.HY,null,[(0,r.WI)(e.$slots,"default"),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(t.section.fields,(function(e,n){return(0,r.wy)(((0,r.wg)(),(0,r.iD)("div",qe,[(0,r._)("div",{class:(0,r.C_)(["adfy-option-columns option-box",e.className])},[(0,r._)("div",De,[(0,r._)("div",Fe,[e.label?((0,r.wg)(),(0,r.iD)("p",Ke,[(0,r.Uk)((0,r.zw)(e.label)+" ",1),e.hasOwnProperty("badge")?((0,r.wg)(),(0,r.j4)((0,r.SU)(Ae.Ks),{key:0,type:e.badgeType?e.badgeType:""},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,r.zw)(e.badge),1)]})),_:2},1032,["type"])):(0,r.kq)("",!0)])):(0,r.kq)("",!0),e.description?((0,r.wg)(),(0,r.iD)("p",Ie,(0,r.zw)(e.description),1)):(0,r.kq)("",!0)])]),(0,r._)("div",Ne,[(0,r._)("div",Te,[(0,r.Wm)(Ze,{field:e,fieldKey:n,reactiveState:t.reactiveState},null,8,["field","fieldKey","reactiveState"])])])],2)],512)),[[r.F8,i(n,e.dependent)]])})),256))],64)}}},We={__name:"OptionSection",props:{className:String},setup:function(e){var t=e;return function(e,n){return(0,r.wg)(),(0,r.iD)("section",{class:(0,r.C_)(["adfy-options-section",t.className])},[(0,r.WI)(e.$slots,"default")],2)}}};var Ye={class:"adfy-container"},Be={class:"adfy-columns main-content"},Re={class:"adfy-col start site-secondary"},$e={class:"adfy-col end site-primary"};const Qe={__name:"Settings",setup:function(e){var t=h();return(0,r.bv)((function(){t.haveStateInMemory||t.fetchOptions()})),function(e,n){return(0,r.wg)(),(0,r.iD)("section",Ye,[(0,r._)("main",Be,[(0,r._)("aside",Re,[(0,r.Wm)($)]),(0,r._)("section",$e,[(0,r.SU)(t).isLoading?((0,r.wg)(),(0,r.j4)(N,{key:0})):((0,r.wg)(),(0,r.j4)(X,{key:1,divId:"adfy-settings-form"},{default:(0,r.w5)((function(){return[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)((0,r.SU)(t).data.settings.sections,(function(e,n){return(0,r.wg)(),(0,r.j4)(We,null,{default:(0,r.w5)((function(){return[(0,r.Wm)(Ge,{section:e,sectionKey:n,reactiveState:(0,r.SU)(t).options,currentPage:"settings"},{default:(0,r.w5)((function(){return[(0,r.Wm)(J,{section:e,sectionkey:n,currentPage:"settings"},null,8,["section","sectionkey"])]})),_:2},1032,["section","sectionKey","reactiveState"])]})),_:2},1024)})),256))]})),_:1}))])])])}}};var Xe={class:"adfy-options"},Je={class:"adfy-option-columns option-box fullwidth"},et={class:"adfy-col left"},tt={class:"label"},nt={key:0,class:"option-label"},rt={key:1,class:"option-description"},ot={class:"adfy-col right"},it={class:"input-group"},at={class:"input"};const lt={__name:"ColorGroup",props:{section:Object,reactiveState:Object},setup:function(e){var t=e;return function(e,n){return(0,r.wg)(),(0,r.iD)("div",Xe,[(0,r._)("div",Je,[(0,r._)("div",et,[(0,r._)("div",tt,[""!==t.section.title?((0,r.wg)(),(0,r.iD)("p",nt,(0,r.zw)(t.section.title),1)):(0,r.kq)("",!0),""!==t.section.description?((0,r.wg)(),(0,r.iD)("p",rt,(0,r.zw)(t.section.description),1)):(0,r.kq)("",!0)])]),(0,r._)("div",ot,[(0,r._)("div",it,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(t.section.fields,(function(e,n){return(0,r.wg)(),(0,r.iD)("div",at,[(0,r.Wm)(Ze,{field:e,fieldKey:n,label:e.label,reactiveState:t.reactiveState},null,8,["field","fieldKey","label","reactiveState"])])})),256))])])])])}}};var ct={class:"adfy-ui-option"};const ut={__name:"HandleDesignOptions",props:{section:Object,reactiveState:Object,currentPage:String},setup:function(e){var t=e,n=h();return function(e,o){return(0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(t.section,(function(e,o){return(0,r.wy)(((0,r.wg)(),(0,r.iD)("div",ct,["color-options-group"==e.type?((0,r.wg)(),(0,r.j4)(lt,{key:0,section:e,reactiveState:t.reactiveState},null,8,["section","reactiveState"])):((0,r.wg)(),(0,r.j4)(Ge,{key:1,section:e,sectionKey:o,reactiveState:t.reactiveState,currentPage:t.currentPage},{default:(0,r.w5)((function(){return[(0,r.Wm)(J,{section:e,sectionKey:o,currentPage:t.currentPage},null,8,["section","sectionKey","currentPage"])]})),_:2},1032,["section","sectionKey","reactiveState","currentPage"]))],512)),[[r.F8,"general"==o||(0,r.SU)(n).options.enable_plugin_styles]])})),256)}}};var st={class:"adfy-container"},dt={class:"adfy-columns main-content"},ft={class:"adfy-col start site-secondary"},pt={class:"adfy-col end site-primary"};const ht={__name:"Styles",setup:function(e){var t=h();return(0,r.bv)((function(){t.haveStateInMemory||t.fetchOptions()})),function(e,n){return(0,r.wg)(),(0,r.iD)("section",st,[(0,r._)("main",dt,[(0,r._)("aside",ft,[(0,r.Wm)($)]),(0,r._)("section",pt,[(0,r.SU)(t).isLoading?((0,r.wg)(),(0,r.j4)(N,{key:0})):((0,r.wg)(),(0,r.j4)(X,{key:1,divId:"adfy-style-options-form"},{default:(0,r.w5)((function(){return[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)((0,r.SU)(t).data.styles,(function(e,n){return(0,r.wg)(),(0,r.j4)(We,null,{default:(0,r.w5)((function(){return[(0,r.Wm)(ut,{section:e,reactiveState:(0,r.SU)(t).options,currentPage:"design"},{default:(0,r.w5)((function(){return[(0,r.Wm)(J,{section:e,sectionkey:n,currentPage:"design"},null,8,["section","sectionkey"])]})),_:2},1032,["section","reactiveState"])]})),_:2},1024)})),256))]})),_:1}))])])])}}};var vt=n(7342);n(4746);function yt(e){return yt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yt(e)}function gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mt(e){for(var t=1;t=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function Ct(e,t,n,r,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function bt(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Ct(i,r,o,a,l,"next",e)}function l(e){Ct(i,r,o,a,l,"throw",e)}a(void 0)}))}}var St=wp.apiFetch,kt=wp.i18n.__,Vt=(0,o.Q_)({id:"Product",state:function(){return{allAddons:{},allProductSlugStatus:{},hotAddons:{},generalAddons:{},installedAddons:[],isFetching:!0,isFetchingAllInstalledAddons:!0,isSettingAddonStatus:!0}},actions:{fetchGithubRepo:function(){var e=this;return bt(_t().mark((function t(){var n,r;return _t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch("https://raw.githubusercontent.com/addonify/recommended-products/main/products.json");case 3:return n=t.sent,t.next=6,n.json();case 6:r=t.sent,200==n.status?(console.log("💥 Github repo fetched successfully."),e.processRecommendedPluginsList(r),e.isFetching=!1):(console.error("Couldn't fetch Github repo "+n),i.z8.error({message:kt("Error: couldn't fetch recommended plugins list.","addonify-quick-view"),offset:50,duration:2e4})),t.next=14;break;case 10:t.prev=10,t.t0=t.catch(0),console.error(t.t0),e.isFetching=!1;case 14:case"end":return t.stop()}}),t,null,[[0,10]])})))()},processRecommendedPluginsList:function(e){var t=this;console.log("=> Processing the list that was retrived...."),this.hotAddons=e.data.hot,this.generalAddons=e.data.general,this.allAddons=mt(mt({},this.hotAddons),this.generalAddons),"object"===yt(this.allAddons)?Object.keys(this.allAddons).forEach((function(e){t.allProductSlugStatus[e]="null"})):(console.error("💥 Couldn't process the list plugins list."),i.z8.error({message:kt("Error: couldn't process the recommended plugins list.","addonify-quick-view"),offset:50,duration:1e4}))},fetchInstalledAddons:function(){var e=this;return bt(_t().mark((function t(){var n;return _t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return console.log("=> Getting the list of all plugins installed on the site...."),t.prev=1,t.next=4,St({method:"GET",path:"/wp/v2/plugins"});case 4:n=t.sent,console.log("=> Received the list of all installed plugins...."),e.installedAddons=n,e.setAddonStatusFlag(Object.keys(e.allProductSlugStatus)),e.isFetchingAllInstalledAddons=!1,t.next=16;break;case 11:t.prev=11,t.t0=t.catch(1),console.error(t.t0),i.z8.error({message:kt("Error: Couldn't retrive the list of installed plugins.","addonify-quick-view"),offset:50,duration:2e4}),e.isFetchingAllInstalledAddons=!1;case 16:case"end":return t.stop()}}),t,null,[[1,11]])})))()},setAddonStatusFlag:function(e){var t=this;"object"==yt(this.installedAddons)&&this.installedAddons.length>0?(console.log("=> Setting the status of the addon."),e.forEach((function(e){var n=t.installedAddons.find((function(t){return t.textdomain==e}));t.allProductSlugStatus[e]=n?n.status:"not-installed"}))):console.log("=> Bailing!!! The installed addons list is empty."),console.log("💥 Done setting the status of the addon."),this.isSettingAddonStatus=!1},handleAddonInstallation:function(e){var t=this;return bt(_t().mark((function n(){var r;return _t().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,console.log("=> Trying to install plugin ".concat(e,"...")),n.next=4,St({method:"POST",path:"/wp/v2/plugins",data:{slug:e,status:"active"}});case 4:if(r=n.sent,console.log(r),"active"!==r.status){n.next=13;break}return console.log("=> Plugin ".concat(e," installed successfully.")),i.z8.success({message:kt("Plugin installed successfully.","addonify-quick-view"),offset:50,duration:5e3}),t.allProductSlugStatus[e]="active",n.next=12,r;case 12:case 22:return n.abrupt("return",n.sent);case 13:n.next=23;break;case 15:return n.prev=15,n.t0=n.catch(0),console.error(n.t0),i.z8.error({message:kt("Error: couldn't install plugin.","addonify-quick-view"),offset:50,duration:2e4}),t.isWaitingForInstallation=!1,n.next=22,n.t0;case 23:case"end":return n.stop()}}),n,null,[[0,15]])})))()},updateAddonStatus:function(e){var t=this;return bt(_t().mark((function n(){var r;return _t().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,console.log("=> Trying to set the status of plugin ".concat(e,"...")),n.next=4,St({method:"POST",path:"/wp/v2/plugins/".concat(e),data:{status:"active",plugin:"".concat(e,"/").concat(e)}});case 4:if(r=n.sent,console.log(r),"active"!=r.status){n.next=13;break}return console.log("=> Plugin ".concat(e," activated successfully.")),i.z8.success({message:kt("Plugin activated successfully.","addonify-quick-view"),offset:50,duration:5e3}),t.allProductSlugStatus[e]="active",n.next=12,r;case 12:case 21:return n.abrupt("return",n.sent);case 13:n.next=22;break;case 15:return n.prev=15,n.t0=n.catch(0),console.log(n.t0),i.z8.error({message:kt("Error: Couldn't activate the plugin.","addonify-quick-view"),offset:50,duration:2e4}),n.next=21,n.t0;case 22:case"end":return n.stop()}}),n,null,[[0,15]])})))()}}});function xt(e){return xt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xt(e)}function Lt(){Lt=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var i=t&&t.prototype instanceof f?t:f,a=Object.create(i.prototype),l=new V(o||[]);return r(a,"_invoke",{value:C(e,n,l)}),a}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function f(){}function p(){}function h(){}var v={};c(v,i,(function(){return this}));var y=Object.getPrototypeOf,g=y&&y(y(x([])));g&&g!==t&&n.call(g,i)&&(v=g);var m=h.prototype=f.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function o(r,i,a,l){var c=s(e[r],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==xt(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,a,l)}),(function(e){o("throw",e,a,l)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,l)}))}l(c.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function C(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return L()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=b(a,n);if(l){if(l===d)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=s(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function b(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,b(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var o=s(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function V(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function x(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function Ut(e,t,n,r,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}var jt={class:"adfy-product-card"},Ot={class:"adfy-product-box"},Ht={class:"adfy-product-thumb"},zt=["src","alt"],Pt={class:"content"},Et=["innerHTML"],Mt=["innerHTML"],Zt={class:"adfy-product-actions"};const At={__name:"Recommended",props:{slug:String,name:String,description:String,thumb:String,status:String},setup:function(e){var t=e,n=wp.i18n.__,o=Vt(),i=t.slug,a=t.name,l=t.thumb,c=t.description,u=(0,r.iH)(!1),s=(0,r.iH)(!1),d=(0,r.iH)(!1),f=(0,r.iH)(!1),p=n("Activate now","addonify-quick-view"),h=n("Activating...","addonify-quick-view"),v=n("Install now","addonify-quick-view"),y=n("Installing...","addonify-quick-view"),g=n("Installed","addonify-quick-view"),m=function(){var e,t=(e=Lt().mark((function e(t){return Lt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u.value=!0,f.value=!0,e.prev=2,e.next=5,o.handleAddonInstallation(t);case 5:"active"==e.sent.status&&(u.value=!1,f.value=!1,s.value=!0),e.next=14;break;case 9:e.prev=9,e.t0=e.catch(2),u.value=!1,f.value=!1,s.value=!1;case 14:case"end":return e.stop()}}),e,null,[[2,9]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Ut(i,r,o,a,l,"next",e)}function l(e){Ut(i,r,o,a,l,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}();return function(e,n){return(0,r.wg)(),(0,r.iD)("div",jt,[(0,r._)("div",Ot,[(0,r._)("figure",Ht,[(0,r._)("img",{src:(0,r.SU)(l),alt:(0,r.SU)(i)},null,8,zt)]),(0,r._)("div",Pt,[(0,r._)("h3",{class:"adfy-product-title",innerHTML:(0,r.SU)(a)},null,8,Et),(0,r._)("p",{class:"adfy-product-description",innerHTML:(0,r.SU)(c)},null,8,Mt),(0,r._)("div",Zt,["active"==t.status||"network-active"==t.status?((0,r.wg)(),(0,r.j4)((0,r.SU)(vt.mi),{key:0,size:"large",id:(0,r.SU)(i),plain:"",disabled:""},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,r.zw)((0,r.SU)(g)),1)]})),_:1},8,["id"])):"inactive"==t.status?((0,r.wg)(),(0,r.j4)((0,r.SU)(vt.mi),{key:1,type:"success",size:"large",id:(0,r.SU)(i),plain:"",loading:u.value,disabled:s.value,onClick:n[0]||(n[0]=function(e){return function(e){u.value=!0,d.value=!0;try{"active"==o.updateAddonStatus(e).status&&(u.value=!1,d.value=!1,s.value=!0)}catch(e){u.value=!1,d.value=!1,s.value=!1}}((0,r.SU)(i))})},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,r.zw)(d.value?(0,r.SU)(h):(0,r.SU)(p)),1)]})),_:1},8,["id","loading","disabled"])):((0,r.wg)(),(0,r.j4)((0,r.SU)(vt.mi),{key:2,type:"primary",size:"large",id:(0,r.SU)(i),plain:"",loading:u.value,disabled:s.value,onClick:n[1]||(n[1]=function(e){return m((0,r.SU)(i))})},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,r.zw)(f.value?(0,r.SU)(y):(0,r.SU)(v)),1)]})),_:1},8,["id","loading","disabled"]))])])])])}}};var qt=n(313),Dt={insert:"head",singleton:!1};ue()(qt.Z,Dt);qt.Z.locals;const Ft=At;var Kt={class:"adfy-container"},It={class:"adfy-columns main-content"},Nt={class:"adfy-col start aside secondary"},Tt={class:"adfy-col end site-primary"},Gt={key:1,id:"recommended-products"},Wt={id:"recommended-hot-products"},Yt={class:"adfy-grid"},Bt=(0,r._)("div",{id:"recommended-general-products"},null,-1);var Rt={class:"error-404"};const $t={__name:"404",setup:function(e){var t=wp.i18n.__;return function(e,n){var o=(0,r.up)("router-link");return(0,r.wg)(),(0,r.iD)("div",Rt,[(0,r._)("h3",null,(0,r.zw)((0,r.SU)(t)("404","addonify-quick-view")),1),(0,r._)("p",null,(0,r.zw)((0,r.SU)(t)("Oops, page not found!","addonify-quick-view")),1),(0,r.Wm)(o,{to:"/",class:"adfy-button"},{default:(0,r.w5)((function(){return[(0,r.Uk)((0,r.zw)((0,r.SU)(t)("Go Back","addonify-quick-view")),1)]})),_:1})])}}};var Qt=[{path:"/",name:"Settings",component:Qe},{path:"/styles",name:"Styles",component:ht},{path:"/products",name:"Products",component:{__name:"Products",setup:function(e){var t=Vt();return(0,r.wF)((function(){t.fetchInstalledAddons()})),(0,r.bv)((function(){t.fetchGithubRepo()})),function(e,n){return(0,r.wg)(),(0,r.iD)("section",Kt,[(0,r._)("main",It,[(0,r._)("aside",Nt,[(0,r.Wm)($)]),(0,r._)("section",Tt,[!0===(0,r.SU)(t).isFetching||!0===(0,r.SU)(t).isFetchingAllInstalledAddons||!0===(0,r.SU)(t).isSettingAddonStatus?((0,r.wg)(),(0,r.j4)(N,{key:0})):((0,r.wg)(),(0,r.iD)("section",Gt,[(0,r._)("div",Wt,[(0,r._)("div",Yt,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)((0,r.SU)(t).hotAddons,(function(e,n){return(0,r.wg)(),(0,r.j4)(Ft,{slug:n,name:e.name,description:e.description,thumb:e.thumbnail,status:(0,r.SU)(t).allProductSlugStatus[n]},null,8,["slug","name","description","thumb","status"])})),256))])]),Bt]))])])])}}}},{path:"/:catchAll(.*)*",name:"404",component:$t}];const Xt=(0,D.p7)({history:(0,D.r5)(),routes:Qt});var Jt=(0,o.WB)(),en=(0,r.ri)(q);en.use(Jt),en.use(Xt),en.mount("#___adfy-quickview-app___")}},e=>{var t=t=>e(e.s=t);e.O(0,[703,898],(()=>(t(336),t(7218))));e.O()}]); \ No newline at end of file diff --git a/admin/src/components/inputs/Switch.vue b/admin/src/components/inputs/Switch.vue index 3075f45..d54106a 100644 --- a/admin/src/components/inputs/Switch.vue +++ b/admin/src/components/inputs/Switch.vue @@ -16,6 +16,8 @@ emit("update:modelValue", newValue); }, }); + + console.log(typeof props.modelValue); array('enable_quick_view'), 'type' => 'switch' ), + 'close_modal_when_esc_pressed' => array( + 'label' => __( 'Close modal if ESC key is pressed', 'addonify-quick-view' ), + 'description' => __( 'Enable to close modal if ESC key is pressed on keyboard.', 'addonify-quick-view' ), + 'dependent' => array('enable_quick_view'), + 'type' => 'switch' + ), + 'close_modal_when_clicked_outside' => array( + 'label' => __( 'Close modal if clicked outside', 'addonify-quick-view' ), + 'description' => __( 'Enable to close modal if clicked outside of modal box.', 'addonify-quick-view' ), + 'dependent' => array('enable_quick_view'), + 'type' => 'switch' + ), + 'modal_opening_animation' => array( + 'label' => __( 'Modal opening animation', 'addonify-quick-view' ), + 'dependent' => array('enable_quick_view'), + 'type' => 'select', + 'choices' => array( + 'none' => __( 'None', 'addonify-quick-view' ), + 'fade-in' => __( 'Fade in', 'addonify-quick-view' ), + 'fade-in-up' => __( 'Fade in from up', 'addonify-quick-view' ), + 'bounce-in' => __( 'Bounce in', 'addonify-quick-view' ), + 'slide-in-left' => __( 'Slide in from left', 'addonify-quick-view' ), + 'slide-in-right' => __( 'Slide in from right', 'addonify-quick-view' ), + 'zoom-in' => __( 'Zoom in', 'addonify-quick-view' ), + 'swing' => __( 'Swing effect', 'addonify-quick-view' ), + 'jello' => __( 'Jello effect', 'addonify-quick-view' ), + 'rubber-band' => __( 'Rubber band effect', 'addonify-quick-view' ), + ) + ), + 'modal_closing_animation' => array( + 'label' => __( 'Modal closing animation', 'addonify-quick-view' ), + 'dependent' => array('enable_quick_view'), + 'type' => 'select', + 'choices' => array( + 'none' => __( 'None', 'addonify-quick-view' ), + 'fade-out' => __( 'Fade out', 'addonify-quick-view' ), + 'fade-out-down' => __( 'Fade out down', 'addonify-quick-view' ), + 'bounce-out' => __( 'Bounce out', 'addonify-quick-view' ), + 'slide-out-left' => __( 'Slide out to left', 'addonify-quick-view' ), + 'slide-out-right' => __( 'Slide out to right', 'addonify-quick-view' ), + 'zoom-out' => __( 'Zoom out', 'addonify-quick-view' ), + ) + ), 'display_read_more_button' => array( 'label' => __( 'Display View Detail Button', 'addonify-quick-view' ), 'description' => __( 'Enable to display View Detail Button in quick view modal box.', 'addonify-quick-view' ), @@ -48,7 +91,7 @@ function addonify_quick_view_modal_box_content_settings_fields() { ), 'read_more_button_label' => array( 'label' => __( 'View Detail Button Label', 'addonify-quick-view' ), - 'placeholder' => __('View Detail', 'addonify-quick-view'), + 'placeholder' => __( 'View Detail', 'addonify-quick-view'), 'type' => 'text', 'dependent' => array('enable_quick_view', 'display_read_more_button'), ), diff --git a/includes/functions/settings.php b/includes/functions/settings.php index fafdc9d..f193592 100644 --- a/includes/functions/settings.php +++ b/includes/functions/settings.php @@ -35,7 +35,7 @@ function addonify_quick_view_settings_fields_defaults() { 'addonify_quick_view_settings_fields_defaults', array( // Options. - 'enable_quick_view' => true, + 'enable_quick_view' => '1', 'disable_quick_view_on_mobile_device' => false, 'quick_view_btn_position' => 'after_add_to_cart_button', 'quick_view_btn_label' => __( 'Quick view', 'addonify-quick-view' ), @@ -43,6 +43,11 @@ function addonify_quick_view_settings_fields_defaults() { 'product_thumbnail' => 'product_image_only', 'enable_lightbox' => false, 'display_read_more_button' => false, + 'modal_opening_animation' => 'jello', // NEW + 'modal_closing_animation' => 'bounce-out', // NEW + 'close_modal_when_esc_pressed' => '1', // NEW + 'close_modal_when_clicked_outside' => false, // NEW + 'read_more_button_label' => __( 'View Detail', 'addonify-quick-view' ), // Styles. 'enable_plugin_styles' => false, diff --git a/public/assets/build/css/addonify-quick-view.css.map b/public/assets/build/css/addonify-quick-view.css.map index e112c03..5ee00eb 100644 --- a/public/assets/build/css/addonify-quick-view.css.map +++ b/public/assets/build/css/addonify-quick-view.css.map @@ -1 +1 @@ -{"version":3,"sources":["abstracts/_variables.scss","app.css","components/_modal.scss","abstracts/_mixins.scss","components/_button.scss","layout/_pswp.scss","layout/_overlay.scss","layout/_spinner.scss","layout/modal/_default.scss","layout/_responsive.scss","components/_keyframe.scss"],"names":[],"mappings":"AAIE,MAGE,qDAAA,CACA,mCAAA,CACA,2CAAA,CACA,gDAAA,CACA,0CAAA,CAGA,sCAAA,CACA,4CAAA,CAGA,gCAAA,CACA,qCAAA,CACA,2CAAA,CACA,0CAAA,CACA,gCAAA,CACA,oCAAA,CACA,kCAAA,CACA,wCAAA,CACA,4BAAA,CACA,2BAAA,CACA,4CAAA,CACA,iDAAA,CAEA,yCAAA,CACA,6CAAA,CACA,0CAAA,CACA,yCAAA,CACA,6CAAA,CACA,iDAAA,CAGA,sCAAA,CACA,6CA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,CSjrBE,IACI,qCAAA,CAAA,6BTmrBN,CSjrBE,IACI,qCAAA,CAAA,6BTmrBN,CSjrBE,IACI,qCAAA,CAAA,6BTmrBN,CSjrBE,GACI,2BAAA,CAAA,mBTmrBN,CACF,CSzsBA,uCAEI,GACI,2BAAA,CAAA,mBTmrBN,CSjrBE,IACI,qCAAA,CAAA,6BTmrBN,CSjrBE,IACI,qCAAA,CAAA,6BTmrBN,CSjrBE,IACI,qCAAA,CAAA,6BTmrBN,CSjrBE,IACI,qCAAA,CAAA,6BTmrBN,CSjrBE,IACI,qCAAA,CAAA,6BTmrBN,CSjrBE,GACI,2BAAA,CAAA,mBTmrBN,CACF","file":"addonify-quick-view.css","sourcesContent":["/* -------------------------------------------------------------------------- \r\n\tVariables\r\n -------------------------------------------------------------------------- */\r\n\r\n :root {\r\n\r\n // Modal\r\n --addonify_qv_modal_overlay_background: rgba(0, 0, 0, 0.6);\r\n --addonify_qv_modal_background: rgba(255, 255, 255, 1);\r\n --addonify_qv_modal_general_text_color: rgba(51, 51, 51, 1);\r\n --addonify_qv_modal_inputs_background_color: rgba(255, 255, 255, 1);\r\n --addonify_qv_modal_inputs_text_color: rgba(51, 51, 51, 1);\r\n \r\n\r\n --addonify_qv_modal_border_radius: 10px; // NEW\r\n --addonify_qv_modal_zindex: 10000000000000000; // NEW\r\n\r\n // Product\r\n --addonify_qv_product_title: rgba(51, 51, 51, 1);\r\n --addonify_qv_product_excerpt: rgba(88, 88, 88, 1);\r\n --addonify_qv_product_rating_filled: rgba(245, 196, 14, 1);\r\n --addonify_qv_product_rating_empty: rgba(185, 185, 185, 1);\r\n --addonify_qv_product_price: rgba(51, 51, 51, 1);\r\n --addonify_qv_product_price_sale: rgba(255, 0, 0, 1);\r\n --addonify_qv_product_meta: rgba(2, 134, 231, 1);\r\n --addonify_qv_product_meta_hover: rgba(88, 88, 88, 1);\r\n --addonify_qv_stock_in: rgba(0, 128, 0, 1);\r\n --addonify_qv_stock_out: rgba(255, 0, 0, 1);\r\n --addonify_qv_product_onsale_badge_text: rgba(255, 255, 255, 1);\r\n --addonify_qv_product_onsale_badge_background: rgba(255, 0, 0, 1);\r\n\r\n --adonify_qv_product_title_font_size: 32px; // NEW\r\n --adonify_qv_product_title_font_weight: normal; // NEW\r\n --adonify_qv_product_title_line_height: 1.2; // NEW\r\n --adonify_qv_product_price_font_size: 22px; // NEW\r\n --adonify_qv_product_price_font_weight: normal; // NEW\r\n --addonify_qv_product_onsale_badge_font_size: 14px; // NEW\r\n\r\n // Image gallery\r\n --addonify_qv_modal_images_border: rgba(238, 238, 238, 1);\r\n --addonify_qv_gallery_trigger_icon_color: rgba(51, 51, 51, 1); // NEW\r\n --addonify_qv_gallery_trigger_icon_color_hover: rgb(54, 91, 255); // NEW\r\n --addonify_qv_gallery_trigger_icon_background_color: rbga(255, 255, 255, 0); // NEW\r\n --addonify_qv_gallery_trigger_icon_background_color_hover: rbga(255, 255, 255, 0); // NEW\r\n --addonify_qv_gallery_trigger_icon_size: 20px; // NEW\r\n \r\n // Close button\r\n --addonify_qv_close_button_text: rgba(118, 118, 118, 1);\r\n --addonify_qv_close_button_text_hover: rgba(2, 134, 231, 1);\r\n --addonify_qv_close_button_background: rgba(238, 238, 238, 1);\r\n --addonify_qv_close_button_background_hover: rgba(182, 222, 255, 1);\r\n\r\n // Misc buttons\r\n --addonify_qv_misc_button_text: rgba(255, 255, 255, 1);\r\n --addonify_qv_misc_button_text_hover: rgba(255, 255, 255, 1);\r\n --addonify_qv_misc_button_background: rgba(51, 51, 51, 1);\r\n --addonify_qv_misc_button_background_hover: rgba(2, 134, 231, 1);\r\n\r\n // Spinner \r\n --addonify_qv_modal_spinner_icon_color: rgba(51, 51, 51, 1);\r\n --addonify_qv_spinner_icon_size: 28px; // NEW\r\n }","/* -------------------------------------------------------------------------- \n\tVariables\n -------------------------------------------------------------------------- */\n:root {\n --addonify_qv_modal_overlay_background: rgba(0, 0, 0, 0.6);\n --addonify_qv_modal_background: rgba(255, 255, 255, 1);\n --addonify_qv_modal_general_text_color: rgba(51, 51, 51, 1);\n --addonify_qv_modal_inputs_background_color: rgba(255, 255, 255, 1);\n --addonify_qv_modal_inputs_text_color: rgba(51, 51, 51, 1);\n --addonify_qv_modal_border_radius: 10px;\n --addonify_qv_modal_zindex: 10000000000000000;\n --addonify_qv_product_title: rgba(51, 51, 51, 1);\n --addonify_qv_product_excerpt: rgba(88, 88, 88, 1);\n --addonify_qv_product_rating_filled: rgba(245, 196, 14, 1);\n --addonify_qv_product_rating_empty: rgba(185, 185, 185, 1);\n --addonify_qv_product_price: rgba(51, 51, 51, 1);\n --addonify_qv_product_price_sale: rgba(255, 0, 0, 1);\n --addonify_qv_product_meta: rgba(2, 134, 231, 1);\n --addonify_qv_product_meta_hover: rgba(88, 88, 88, 1);\n --addonify_qv_stock_in: rgba(0, 128, 0, 1);\n --addonify_qv_stock_out: rgba(255, 0, 0, 1);\n --addonify_qv_product_onsale_badge_text: rgba(255, 255, 255, 1);\n --addonify_qv_product_onsale_badge_background: rgba(255, 0, 0, 1);\n --adonify_qv_product_title_font_size: 32px;\n --adonify_qv_product_title_font_weight: normal;\n --adonify_qv_product_title_line_height: 1.2;\n --adonify_qv_product_price_font_size: 22px;\n --adonify_qv_product_price_font_weight: normal;\n --addonify_qv_product_onsale_badge_font_size: 14px;\n --addonify_qv_modal_images_border: rgba(238, 238, 238, 1);\n --addonify_qv_gallery_trigger_icon_color: rgba(51, 51, 51, 1);\n --addonify_qv_gallery_trigger_icon_color_hover: rgb(54, 91, 255);\n --addonify_qv_gallery_trigger_icon_background_color: rbga(255, 255, 255, 0);\n --addonify_qv_gallery_trigger_icon_background_color_hover: rbga(255, 255, 255, 0);\n --addonify_qv_gallery_trigger_icon_size: 20px;\n --addonify_qv_close_button_text: rgba(118, 118, 118, 1);\n --addonify_qv_close_button_text_hover: rgba(2, 134, 231, 1);\n --addonify_qv_close_button_background: rgba(238, 238, 238, 1);\n --addonify_qv_close_button_background_hover: rgba(182, 222, 255, 1);\n --addonify_qv_misc_button_text: rgba(255, 255, 255, 1);\n --addonify_qv_misc_button_text_hover: rgba(255, 255, 255, 1);\n --addonify_qv_misc_button_background: rgba(51, 51, 51, 1);\n --addonify_qv_misc_button_background_hover: rgba(2, 134, 231, 1);\n --addonify_qv_modal_spinner_icon_color: rgba(51, 51, 51, 1);\n --addonify_qv_spinner_icon_size: 28px;\n}\n\n/* -------------------------------------------------------------------------- \n\tMixins\n -------------------------------------------------------------------------- */\n/*\n===========================================================\n\n# Pugin: Addonify - Quick View For WooCommerce\n# Author: https://addonify.com/\n# Since: 28 July, 2020\n\n=====================================\n*/\n/* -------------------------------------------------------------------------- \n\tModel Default\n -------------------------------------------------------------------------- */\n#addonify-quick-view-modal {\n display: flex;\n flex-direction: column;\n gap: 10px;\n align-items: stretch;\n justify-content: stretch;\n flex-wrap: wrap;\n position: relative;\n margin: 0 auto;\n width: 100%;\n max-width: 1000px;\n height: auto;\n min-height: 400px;\n max-height: 80vh;\n border-radius: var(--addonify_qv_modal_border_radius);\n box-shadow: 0 0 65px rgba(0, 0, 0, 0.1);\n background-color: var(--addonify_qv_modal_background);\n z-index: var(--addonify_qv_modal_zindex);\n opacity: 0;\n visibility: hidden;\n backface-visibility: hidden;\n transition: none;\n cursor: initial;\n}\n#addonify-quick-view-modal .adfy-quick-view-model-inner {\n position: relative;\n height: 100%;\n width: 100%;\n max-width: 100%;\n}\n#addonify-quick-view-modal .adfy-quick-view-model-inner .adfy-qvm-header {\n position: absolute;\n top: 10px;\n right: 10px;\n z-index: 10;\n}\n#addonify-quick-view-modal .adfy-quick-view-model-inner .adfy-quick-view-modal-content {\n position: relative;\n padding: 40px 30px;\n color: var(--addonify_qv_modal_general_text_color);\n}\n\n/* -------------------------------------------------------------------------- \n\tVisibility\n -------------------------------------------------------------------------- */\n.addonify-qvm-is-active #addonify-quick-view-modal {\n opacity: 1;\n visibility: visible;\n backface-visibility: visible;\n}\n\n/* -------------------------------------------------------------------------- \n\tAnimations - Exit animations\n -------------------------------------------------------------------------- */\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-closing-animation[data-close_animation=fade-out] #addonify-quick-view-modal {\n animation: AddonifyQuickViewFadeOut 1.2s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-closing-animation[data-close_animation=fade-out-down] #addonify-quick-view-modal {\n animation: AddonifyQuickViewFadeOutDown 0.8s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-closing-animation[data-close_animation=bounce-out] #addonify-quick-view-modal {\n animation: AddonifyQuickViewBounceOut 1.2s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-closing-animation[data-close_animation=slide-out-left] #addonify-quick-view-modal {\n animation: AddonifyQuickViewSlideOutLeft 0.8s linear forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-closing-animation[data-close_animation=slide-out-right] #addonify-quick-view-modal {\n animation: AddonifyQuickViewSlideOutRight 0.8s linear forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-closing-animation[data-close_animation=zoom-out] #addonify-quick-view-modal {\n animation: AddonifyQuickViewZoomOut 1.2s ease-in-out forwards;\n}\n\n/* -------------------------------------------------------------------------- \n\tAnimations - Entrance Animations\n -------------------------------------------------------------------------- */\n.addonify-qvm-is-active {\n position: relative;\n overflow: hidden;\n max-height: 100vh;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-opening-animation[data-open_animation=fade-in] #addonify-quick-view-modal {\n animation: AddonifyQuickViewFadeIn 0.8s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-opening-animation[data-open_animation=fade-in-up] #addonify-quick-view-modal {\n animation: AddonifyQuickViewFadeInUp 0.8s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-opening-animation[data-open_animation=bounce-in] #addonify-quick-view-modal {\n animation: AddonifyQuickViewBounceIn 0.8s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-opening-animation[data-open_animation=slide-in-left] #addonify-quick-view-modal {\n animation: AddonifyQuickViewSlideInLeft 0.8s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-opening-animation[data-open_animation=slide-in-right] #addonify-quick-view-modal {\n animation: AddonifyQuickViewSlideInRight 0.8s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-opening-animation[data-open_animation=zoom-in] #addonify-quick-view-modal {\n animation: AddonifyQuickViewZoomIn 0.8s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-opening-animation[data-open_animation=swing] #addonify-quick-view-modal {\n animation: AddonifyQuickViewSwing 1s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-opening-animation[data-open_animation=jello] #addonify-quick-view-modal {\n animation: AddonifyQuickViewJello 1s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-opening-animation[data-open_animation=rubber-band] #addonify-quick-view-modal {\n animation: AddonifyQuickViewRubberBand 1s ease-in-out forwards;\n}\n\n/* -------------------------------------------------------------------------- \n\tQuick view button\n -------------------------------------------------------------------------- */\n.adfy-qv-button {\n display: inline-block;\n padding: 0;\n margin: 0;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n border: none;\n background-color: transparent;\n transition: all 0.5s ease;\n}\n.adfy-qv-button:is(:hover) {\n border: none;\n background-color: transparent;\n}\n.adfy-qv-button:is(:focus) {\n outline: none;\n border: none;\n background-color: transparent;\n}\n\n/* -------------------------------------------------------------------------- \n\tQuick view model close button\n -------------------------------------------------------------------------- */\n#addonify-qvm-close-button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n fill: var(--addonify_qv_close_button_text);\n color: var(--addonify_qv_close_button_text);\n height: 30px;\n width: 30px;\n background-color: var(--addonify_qv_close_button_background);\n border-radius: 100%;\n cursor: pointer;\n}\n#addonify-qvm-close-button:is(:hover) {\n fill: var(--addonify_qv_close_button_text_hover);\n color: var(--addonify_qv_close_button_text_hover);\n background-color: var(--addonify_qv_close_button_background_hover);\n}\n#addonify-qvm-close-button svg {\n height: 14px;\n width: 14px;\n}\n\n/**\n*\n* Hide quick view button if disabled in mobile view is 'enabled' on the setting page.\n*\n* @since: 1.2.4\n*/\n@media (max-width: 575px) {\n .addonify-quick-view-disabled-on-mobile.woocommerce ul.products li.product .button.addonify-qvm-button,\n .addonify-quick-view-disabled-on-mobile.woocommerce ul.products li.product .button.addonify-qvm-button {\n display: none;\n }\n .addonify-quick-view-disabled-on-mobile .addonify-qvm-button {\n display: none;\n }\n}\n/* -------------------------------------------------------------------------- \n\tWooCommerce light box.\n -------------------------------------------------------------------------- */\n.addonify-qvm-is-active.woocommerce .pswp, .addonify-qvm-is-active.woocommerce-page .pswp {\n opacity: 1;\n z-index: calc(var(--addonify_qv_modal_zindex) + 10);\n}\n.addonify-qvm-is-active.woocommerce .pswp .pswp__bg, .addonify-qvm-is-active.woocommerce-page .pswp .pswp__bg {\n opacity: 1 !important;\n backdrop-filter: blur(10px);\n background-color: rgb(0, 0, 0);\n}\n.addonify-qvm-is-active.woocommerce .pswp img.pswp__img, .addonify-qvm-is-active.woocommerce-page .pswp img.pswp__img {\n background-color: white;\n}\n\n/* -------------------------------------------------------------------------- \n\tOverlay\n -------------------------------------------------------------------------- */\n#addonify-quick-view-modal-wrapper {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n position: fixed;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n width: 100%;\n height: 100%;\n backdrop-filter: blur(10px);\n z-index: calc(var(--addonify_qv_modal_zindex) - 30);\n background-color: var(--addonify_qv_modal_overlay_background);\n opacity: 0;\n visibility: hidden;\n backface-visibility: hidden;\n overflow: hidden;\n transition: 0.3s all ease-in;\n}\n\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper {\n opacity: 1;\n visibility: visible;\n backface-visibility: visible;\n}\n\n/* -------------------------------------------------------------------------- \n\tModel spinner\n -------------------------------------------------------------------------- */\n#adfy-qvm-spinner {\n display: flex;\n flex-direction: row;\n gap: 0;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n position: fixed;\n height: auto;\n width: auto;\n overflow: hidden;\n border-radius: 100%;\n z-index: calc(var(--addonify_qv_modal_zindex) + 10);\n opacity: 1;\n visibility: visible;\n backface-visibility: visible;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n}\n#adfy-qvm-spinner.hide {\n display: none;\n opacity: 0;\n visibility: hidden;\n backface-visibility: hidden;\n animation: none;\n}\n#adfy-qvm-spinner svg {\n display: inline-flex;\n width: var(--addonify_qv_spinner_icon_size);\n height: var(--addonify_qv_spinner_icon_size);\n fill: var(--addonify_qv_modal_spinner_icon_color);\n color: var(--addonify_qv_modal_spinner_icon_color);\n line-height: 1;\n animation-name: AddonifyQuickViewSpin;\n animation-duration: 800ms;\n animation-iteration-count: infinite;\n animation-timing-function: ease-in-out;\n}\n\n/* -------------------------------------------------------------------------- \n\tModel Layout - General\n -------------------------------------------------------------------------- */\n.woocommerce #addonify-quick-view-modal .woocommerce .product,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n column-gap: 40px;\n position: relative;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product::after, .woocommerce #addonify-quick-view-modal .woocommerce .product::before,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product::after,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product::before {\n content: \"\";\n display: none;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .onsale,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .onsale {\n display: inline-flex;\n align-items: center;\n flex-wrap: wrap;\n position: absolute;\n right: auto;\n left: 20px;\n top: 20px;\n bottom: auto;\n z-index: 10;\n margin: 0;\n padding: 5px 15px;\n height: auto;\n width: auto;\n min-width: 1px;\n min-height: 1px;\n font-size: var(--addonify_qv_product_onsale_badge_font_size);\n line-height: 1;\n border-radius: 4px;\n color: var(--addonify_qv_product_onsale_badge_text);\n background-color: var(--addonify_qv_product_onsale_badge_background);\n font-weight: normal;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images {\n display: flex;\n flex-direction: column;\n gap: 20px;\n position: relative;\n float: none;\n width: 100%;\n margin: 0;\n padding: 0;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 20px;\n left: auto;\n right: 20px;\n bottom: auto;\n z-index: 10;\n margin: 0;\n padding: 0;\n width: calc(var(--addonify_qv_gallery_trigger_icon_size) + 20px);\n height: calc(var(--addonify_qv_gallery_trigger_icon_size) + 20px);\n border-radius: 100%;\n fill: var(--addonify_qv_gallery_trigger_icon_color);\n color: var(--addonify_qv_gallery_trigger_icon_color);\n border: none;\n box-shadow: none;\n background-color: var(--addonify_qv_gallery_trigger_icon_background_color);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger svg,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger svg {\n display: inline-flex;\n width: var(--addonify_qv_gallery_trigger_icon_size);\n height: var(--addonify_qv_gallery_trigger_icon_size);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger::before, .woocommerce #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger::after,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger::before,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger::after {\n content: \"\";\n display: none;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger:is(:hover, :focus),\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger:is(:hover, :focus) {\n border: none;\n box-shadow: none;\n text-decoration: none;\n fill: var(--addonify_qv_gallery_trigger_icon_color_hover);\n color: var(--addonify_qv_gallery_trigger_icon_color_hover);\n background-color: var(--addonify_qv_gallery_trigger_icon_background_color_hover);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger:is(:focus),\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger:is(:focus) {\n outline: none;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .flex-viewport,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .flex-viewport {\n position: relative;\n padding: 0;\n margin: 0;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {\n position: relative;\n overflow: hidden;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img {\n border-radius: 10px;\n border: 1px solid var(--addonify_qv_modal_images_border);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .flex-control-thumbs,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .flex-control-thumbs {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n column-gap: 20px;\n row-gap: 20px;\n margin: 0;\n list-style: none;\n padding: 0;\n float: none;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .flex-control-thumbs li,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .flex-control-thumbs li {\n display: block;\n width: 100%;\n max-width: 100%;\n height: auto;\n min-height: 100%;\n margin: 0;\n padding: 0;\n float: none;\n clear: none;\n overflow: hidden;\n border-radius: 3px;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .flex-control-thumbs li img,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .flex-control-thumbs li img {\n display: block;\n max-width: 100%;\n padding: 0;\n border: none;\n cursor: pointer;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .flex-control-thumbs li img.active,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .flex-control-thumbs li img.active {\n padding: 0;\n border: none;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary {\n display: flex;\n flex-direction: column;\n gap: 20px;\n float: none;\n width: 100%;\n margin: 0;\n padding: 0;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content {\n display: flex;\n flex-direction: column;\n margin: 0;\n padding: 0;\n float: none;\n border: none;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .product_title,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .product_title {\n display: block;\n padding: 0;\n margin: 0;\n color: var(--addonify_qv_product_title);\n font-size: var(--adonify_qv_product_title_font_size);\n font-weight: var(--adonify_qv_product_title_font_weight);\n line-height: var(--adonify_qv_product_title_line_height);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-rating,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-rating {\n display: flex;\n flex-direction: row;\n gap: 10px;\n margin: 10px 0 0 0;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-rating .star-rating,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-rating .star-rating {\n color: var(--addonify_qv_product_rating_filled);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-rating .star-rating::before,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-rating .star-rating::before {\n color: var(--addonify_qv_product_rating_empty);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-rating .woocommerce-review-link,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-rating .woocommerce-review-link {\n margin: 0;\n color: var(--addonify_qv_product_meta);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-rating .woocommerce-review-link:is(:hover),\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-rating .woocommerce-review-link:is(:hover) {\n color: var(--addonify_qv_product_meta_hover);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .price,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .price {\n display: flex;\n flex-direction: row;\n gap: 10px;\n align-items: center;\n justify-content: stretch;\n flex-wrap: nowrap;\n position: relative;\n margin: 20px 0;\n padding: 0;\n color: var(--addonify_qv_product_price);\n font-size: var(--adonify_qv_product_price_font_size);\n font-weight: var(--adonify_qv_product_price_font_weight);\n line-height: 1;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .price ins,\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .price del,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .price ins,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .price del {\n display: inline-flex;\n align-items: center;\n flex-wrap: nowrap;\n margin: 0;\n background: transparent;\n background-color: transparent;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .price del,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .price del {\n color: var(--addonify_qv_product_price);\n font-size: calc(var(--adonify_qv_product_price_font_size) - 30%);\n font-weight: normal;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .price ins,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .price ins {\n font-size: 150%;\n font-weight: bold;\n color: var(--addonify_qv_product_price_sale);\n font-size: var(--adonify_qv_product_price_font_size);\n font-weight: var(--adonify_qv_product_price_font_weight);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-details__short-description,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-details__short-description {\n margin: 0;\n padding: 0;\n color: var(--addonify_qv_product_excerpt);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-details__short-description p,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-details__short-description p {\n margin: 0 0 15px 0;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .stock,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .stock {\n color: var(--addonify_qv_stock_in);\n margin: 0 0 15px 0;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .stock.out-of-stock,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .stock.out-of-stock {\n color: var(--addonify_qv_stock_out);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form {\n display: flex;\n flex-direction: row;\n gap: 10px;\n align-items: center;\n margin: 0 0 30px 0;\n padding: 0;\n float: none;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form::before, .woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form::after,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form::before,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form::after {\n content: \"\";\n display: none;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form label,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form label {\n color: var(--addonify_qv_modal_general_text_color);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form input::placeholder,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form input::placeholder {\n color: var(--addonify_qv_modal_inputs_text_color);\n opacity: 1;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form input:-ms-input-placeholder,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form input:-ms-input-placeholder {\n color: var(--addonify_qv_modal_inputs_text_color);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form input::-ms-input-placeholder,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form input::-ms-input-placeholder {\n color: var(--addonify_qv_modal_inputs_text_color);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form input[type=text],\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form input[type=number],\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form input[type=text],\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form input[type=number] {\n color: var(--addonify_qv_modal_inputs_text_color);\n background-color: var(--addonify_qv_modal_inputs_background_color);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form select,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form select {\n color: var(--addonify_qv_modal_inputs_text_color);\n background-color: var(--addonify_qv_modal_inputs_background_color);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .quantity,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .quantity {\n float: none;\n width: 110px;\n height: 50px;\n padding: 0;\n margin: 0;\n border-radius: 4px;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .quantity::before, .woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .quantity::after,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .quantity::before,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .quantity::after {\n content: \"\";\n display: none;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .quantity input[type=text],\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .quantity input[type=number],\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .quantity input[type=text],\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .quantity input[type=number] {\n display: inline-flex;\n align-items: center;\n width: 110px;\n height: 50px;\n border-radius: 4px;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .button,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .button {\n float: none;\n margin: 0;\n height: 50px;\n padding: 0 30px;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .product_meta,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .product_meta {\n display: flex;\n flex-direction: column;\n gap: 10px;\n align-items: stretch;\n justify-content: stretch;\n margin-top: 30px;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .product_meta a,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .product_meta a {\n color: var(--addonify_qv_product_meta);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .product_meta a:hover,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .product_meta a:hover {\n color: var(--addonify_qv_product_meta_hover);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .button,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n height: 50px;\n padding: 0 30px;\n fill: var(--addonify_qv_misc_button_text);\n color: var(--addonify_qv_misc_button_text);\n border-radius: 5px;\n background-color: var(--addonify_qv_misc_button_background);\n transition: all 0.5s ease;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .button:is(:hover),\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .button:is(:hover) {\n fill: var(--addonify_qv_misc_button_text_hover);\n color: var(--addonify_qv_misc_button_text_hover);\n background-color: var(--addonify_qv_misc_button_background_hover);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .button.to-wc-ps-link,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .button.to-wc-ps-link {\n width: fit-content;\n}\n\n/* -------------------------------------------------------------------------- \n\tResponsive\n -------------------------------------------------------------------------- */\n@media (max-width: 1100px) {\n #addonify-quick-view-modal {\n max-width: 95vw;\n }\n}\n@media (max-width: 768px) {\n #addonify-quick-view-modal .woocommerce .product {\n grid-template-columns: repeat(1, 1fr);\n row-gap: 20px;\n column-gap: 0;\n }\n #addonify-quick-view-modal .woocommerce .product .images,\n #addonify-quick-view-modal .woocommerce .product .summary {\n margin: 0;\n padding: 0;\n }\n}\n@media (max-width: 575px) {\n #addonify-quick-view-modal {\n max-width: 90vw;\n height: 90vh;\n min-height: 90vh;\n max-height: 90vh;\n }\n .adfy-quick-view-modal-content {\n padding: 30px 20px;\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - Spin\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewSpin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - FadeIn\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewFadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - FadeOut\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewFadeOut {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - FadeInUp\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewFadeInUp {\n from {\n opacity: 0;\n transform: translateY(100px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - FadeOutDown\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewFadeOutDown {\n from {\n opacity: 1;\n transform: translateY(0);\n }\n to {\n opacity: 0;\n transform: translateY(100px);\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - SlideInLeft\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewSlideInLeft {\n from {\n opacity: 0;\n transform: translateX(-500px);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - SlideOutLeft\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewSlideOutLeft {\n from {\n opacity: 1;\n transform: translateX(0);\n }\n to {\n opacity: 0;\n transform: translateX(-500px);\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - SlideInRight\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewSlideInRight {\n from {\n opacity: 0;\n transform: translateX(500px);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - SlideOutRight\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewSlideOutRight {\n from {\n opacity: 1;\n transform: translateX(0);\n }\n to {\n opacity: 0;\n transform: translateX(500px);\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - bounceIn\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewBounceIn {\n from, 20%, 40%, 60%, 80%, to {\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n 0% {\n opacity: 0;\n transform: scale3d(0.3, 0.3, 0.3);\n }\n 20% {\n transform: scale3d(1.1, 1.1, 1.1);\n }\n 40% {\n transform: scale3d(0.9, 0.9, 0.9);\n }\n 60% {\n opacity: 1;\n transform: scale3d(1.03, 1.03, 1.03);\n }\n 80% {\n transform: scale3d(0.97, 0.97, 0.97);\n }\n to {\n opacity: 1;\n transform: scale3d(1, 1, 1);\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - bounceOut\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewBounceOut {\n 20% {\n transform: scale3d(0.9, 0.9, 0.9);\n }\n 50%, 55% {\n opacity: 1;\n transform: scale3d(1.1, 1.1, 1.1);\n }\n to {\n opacity: 0;\n transform: scale3d(0.3, 0.3, 0.3);\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - zoomIn\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewZoomIn {\n from {\n opacity: 0;\n transform: scale3d(0.3, 0.3, 0.3);\n }\n 50% {\n opacity: 1;\n }\n}\n/* -------------------------------------------------------------------------- \n Keyframe - zoomOut\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewZoomOut {\n from {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n transform: scale3d(0.3, 0.3, 0.3);\n }\n to {\n opacity: 0;\n }\n}\n/* -------------------------------------------------------------------------- \n Keyframe - Swing\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewSwing {\n 20% {\n transform: rotate3d(0, 0, 1, 15deg);\n }\n 40% {\n transform: rotate3d(0, 0, 1, -10deg);\n }\n 60% {\n transform: rotate3d(0, 0, 1, 5deg);\n }\n 80% {\n transform: rotate3d(0, 0, 1, -5deg);\n }\n to {\n transform: rotate3d(0, 0, 1, 0deg);\n }\n}\n/* -------------------------------------------------------------------------- \n Keyframe - Jello\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewJello {\n 0%, 11.1% {\n transform: none;\n }\n 22.2% {\n transform: skewX(-12.5deg) skewY(-12.5deg);\n }\n 33.3% {\n transform: skewX(6.25deg) skewY(6.25deg);\n }\n 44.4% {\n transform: skewX(-3.125deg) skewY(-3.125deg);\n }\n 55.5% {\n transform: skewX(1.5625deg) skewY(1.5625deg);\n }\n 66.6% {\n transform: skewX(-0.78125deg) skewY(-0.78125deg);\n }\n 77.7% {\n transform: skewX(0.390625deg) skewY(0.390625deg);\n }\n 88.8% {\n transform: skewX(-0.1953125deg) skewY(-0.1953125deg);\n }\n to {\n transform: none;\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - rubberBand\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewRubberBand {\n from {\n transform: scale3d(1, 1, 1);\n }\n 30% {\n transform: scale3d(1.25, 0.75, 1);\n }\n 40% {\n transform: scale3d(0.75, 1.25, 1);\n }\n 50% {\n transform: scale3d(1.15, 0.85, 1);\n }\n 65% {\n transform: scale3d(0.95, 1.05, 1);\n }\n 75% {\n transform: scale3d(1.05, 0.95, 1);\n }\n to {\n transform: scale3d(1, 1, 1);\n }\n}","/* -------------------------------------------------------------------------- \r\n\tModel Default\r\n -------------------------------------------------------------------------- */\r\n\r\n#addonify-quick-view-modal {\r\n\r\n\t@include flex(column, stretch, stretch, 10px, wrap);\r\n\tposition: relative;\r\n\tmargin: 0 auto;\r\n width: 100%;\r\n\tmax-width: 1000px;\r\n\theight: auto;\r\n\tmin-height: 400px;\r\n\tmax-height: 80vh;\r\n\tborder-radius: var(--addonify_qv_modal_border_radius);\r\n\tbox-shadow: 0 0 65px rgba(0, 0, 0, 0.1);\r\n background-color: var(--addonify_qv_modal_background);\r\n\tz-index: var(--addonify_qv_modal_zindex);\r\n\t@include visibility(hidden);\r\n\ttransition: none;\r\n\tcursor: initial;\r\n\r\n\t.adfy-quick-view-model-inner {\r\n\r\n\t\tposition: relative;\r\n\t\theight: 100%;\r\n\t\twidth: 100%;\r\n\t\tmax-width: 100%;\r\n\r\n\t\t.adfy-qvm-header {\r\n\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 10px;\r\n\t\t\tright: 10px;\r\n\t\t\tz-index: 10;\r\n\t\t}\r\n\r\n\t\t.adfy-quick-view-modal-content {\r\n\r\n\t\t\tposition: relative;\r\n\t\t\tpadding: 40px 30px;\r\n\t\t\tcolor: var(--addonify_qv_modal_general_text_color);\r\n\t\t}\r\n\t}\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tVisibility\r\n -------------------------------------------------------------------------- */\r\n\r\n.addonify-qvm-is-active {\r\n\r\n\t#addonify-quick-view-modal {\r\n\r\n\t\t@include visibility(visible);\r\n\t}\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tAnimations - Exit animations\r\n -------------------------------------------------------------------------- */\r\n\r\n.addonify-qvm-is-active {\r\n\r\n\t#addonify-quick-view-modal-wrapper {\r\n\r\n\t\t&.play-closing-animation {\r\n\r\n\t\t\t&[data-close_animation=\"fade-out\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewFadeOut 1.2s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-close_animation=\"fade-out-down\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewFadeOutDown 0.8s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-close_animation=\"bounce-out\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewBounceOut 1.2s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-close_animation=\"slide-out-left\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewSlideOutLeft 0.8s linear forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-close_animation=\"slide-out-right\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewSlideOutRight 0.8s linear forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-close_animation=\"zoom-out\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewZoomOut 1.2s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tAnimations - Entrance Animations\r\n -------------------------------------------------------------------------- */\r\n\r\n.addonify-qvm-is-active {\r\n\r\n\tposition: relative;\r\n\toverflow: hidden;\r\n\tmax-height: 100vh;\r\n\r\n\t#addonify-quick-view-modal-wrapper {\r\n\r\n\t\t&.play-opening-animation {\r\n\r\n\t\t\t&[data-open_animation=\"fade-in\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewFadeIn 0.8s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-open_animation=\"fade-in-up\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewFadeInUp 0.8s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-open_animation=\"bounce-in\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewBounceIn 0.8s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-open_animation=\"slide-in-left\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewSlideInLeft 0.8s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-open_animation=\"slide-in-right\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewSlideInRight 0.8s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-open_animation=\"zoom-in\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewZoomIn 0.8s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-open_animation=\"swing\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewSwing 1s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-open_animation=\"jello\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewJello 1s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-open_animation=\"rubber-band\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewRubberBand 1s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} \r\n\t}\r\n}\r\n","\r\n/* -------------------------------------------------------------------------- \r\n\tMixins\r\n -------------------------------------------------------------------------- */\r\n\r\n@mixin flex( $direction: row, $align: null, $justify: null, $gap: null, $wrap: null ) {\r\n\r\n\tdisplay: flex;\r\n\tflex-direction: $direction;\r\n\r\n\t@if $gap != null {\r\n\r\n\t\tgap: $gap;\r\n\t}\r\n\r\n\t@if $align != null {\r\n\r\n\t\talign-items: $align;\r\n\t}\r\n\r\n\t@if $justify != null {\r\n\r\n\t\tjustify-content: $justify;\r\n\t}\r\n\r\n\t@if $wrap != null {\r\n\r\n\t\tflex-wrap: $wrap;\r\n\t}\r\n}\r\n\r\n@mixin grid () {\r\n\r\n\tdisplay: grid;\r\n}\r\n\r\n@mixin transation_delay ($delay: 0.5s, $property: all, $function: ease) {\r\n\r\n transition: $property $delay $function;\r\n}\r\n\r\n@mixin transation_delay_none () {\r\n\r\n transition: none;\r\n}\r\n\r\n@mixin display ($display: none) {\r\n\r\n\tdisplay: $display;\r\n}\r\n\r\n@mixin visibility ($visibility: hidden) {\r\n\r\n\t@if $visibility == hidden {\r\n\t\topacity: 0;\r\n\t\tvisibility: hidden;\r\n\t\tbackface-visibility: hidden;\r\n\t} @else {\r\n\t\topacity: 1;\r\n\t\tvisibility: visible;\r\n\t\tbackface-visibility: visible;\r\n\t}\r\n}\r\n\r\n@mixin scale () {\r\n\r\n transform: scale(1.1);\r\n @include transation_delay();\r\n}\r\n\r\n@mixin position ( $top, $bottom, $left, $right ) {\r\n\t\r\n\ttop: $top;\r\n\tbottom: $bottom;\r\n\tleft: $left;\r\n\tright: $right;\r\n\ttransform:translateY(-50%);\r\n}\r\n\r\n@mixin position_topnleft () {\r\n\t\r\n\ttop: 50%;\r\n\tleft: 50%;\r\n transform: translateX(-50%) translateY(-50%);\r\n}\r\n\r\n@mixin box_shadow () {\r\n\r\n\tbox-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);\r\n}\r\n\r\n@mixin mild_box_shadow() {\r\n\r\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);\r\n}\r\n\r\n@mixin large_box_shadow () {\r\n\r\n box-shadow: 0px 0px 65px rgba(0, 0, 0, 0.1);\r\n}\r\n\r\n","/* -------------------------------------------------------------------------- \r\n\tQuick view button\r\n -------------------------------------------------------------------------- */\r\n\r\n.adfy-qv-button {\r\n\t\r\n\tdisplay: inline-block;\r\n\tpadding: 0;\r\n\tmargin: 0;\r\n\tfont-size: inherit;\r\n\tfont-weight: inherit;\r\n\tline-height: inherit;\r\n\tborder: none;\r\n\tbackground-color: transparent;\r\n\t@include transation_delay();\r\n\r\n\t&:is(:hover) {\r\n\r\n\t\tborder: none;\r\n\t\tbackground-color: transparent;\r\n\t}\r\n\r\n\t&:is(:focus) {\r\n\r\n\t\toutline: none;\r\n\t\tborder: none;\r\n\t\tbackground-color: transparent;\r\n\t}\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tQuick view model close button\r\n -------------------------------------------------------------------------- */\r\n\r\n#addonify-qvm-close-button {\r\n\r\n\tdisplay: inline-flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tfill: var(--addonify_qv_close_button_text);\r\n\tcolor: var(--addonify_qv_close_button_text);\r\n\theight: 30px;\r\n\twidth: 30px;\r\n\tbackground-color: var(--addonify_qv_close_button_background);\r\n\tborder-radius: 100%;\r\n\tcursor: pointer;\r\n\r\n\t&:is(:hover) {\r\n\r\n\t\tfill: var(--addonify_qv_close_button_text_hover);\r\n\t\tcolor: var(--addonify_qv_close_button_text_hover);\r\n\t\tbackground-color: var(--addonify_qv_close_button_background_hover);\r\n\t}\r\n\r\n\tsvg {\r\n\r\n \theight: 14px;\r\n \twidth: 14px;\r\n\t}\r\n}\r\n\r\n/**\r\n*\r\n* Hide quick view button if disabled in mobile view is 'enabled' on the setting page.\r\n*\r\n* @since: 1.2.4\r\n*/\r\n\r\n@media ( max-width: 575px ) {\r\n\r\n\t.addonify-quick-view-disabled-on-mobile {\r\n\r\n\t\t&.woocommerce {\r\n\r\n\t\t\tul.products li.product .button.addonify-qvm-button,\r\n\t\t\tul.products li.product .button.addonify-qvm-button {\r\n\r\n\t\t\t\tdisplay: none;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.addonify-qvm-button {\r\n\r\n\t\t\tdisplay: none;\r\n\t\t}\r\n\t}\r\n}","/* -------------------------------------------------------------------------- \r\n\tWooCommerce light box.\r\n -------------------------------------------------------------------------- */\r\n\r\n.addonify-qvm-is-active {\r\n\r\n &.woocommerce,\r\n &.woocommerce-page {\r\n\r\n .pswp {\r\n\r\n opacity: 1;\r\n z-index: calc( var(--addonify_qv_modal_zindex) + 10 );\r\n\r\n .pswp__bg {\r\n\r\n opacity: 1 !important;\r\n backdrop-filter: blur(10px);\r\n background-color: rgba(0, 0, 0, 1);\r\n }\r\n\r\n img.pswp__img {\r\n\r\n background-color: white;\r\n }\r\n }\r\n }\r\n}","/* -------------------------------------------------------------------------- \r\n\tOverlay\r\n -------------------------------------------------------------------------- */\r\n\r\n#addonify-quick-view-modal-wrapper {\r\n\r\n\t@include flex(column, center, center, null, wrap);\r\n\tposition: fixed;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tbottom: 0;\r\n\tright: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tbackdrop-filter: blur(10px);\r\n\tz-index: calc( var(--addonify_qv_modal_zindex) - 30 );\r\n\tbackground-color: var(--addonify_qv_modal_overlay_background);\r\n\t@include visibility(hidden);\r\n\toverflow: hidden;\r\n\t@include transation_delay(all, 0.3s, ease-in);\r\n}\r\n\r\n.addonify-qvm-is-active {\r\n\r\n #addonify-quick-view-modal-wrapper {\r\n\r\n\t\t@include visibility(visible);\r\n }\r\n}\r\n","/* -------------------------------------------------------------------------- \r\n\tModel spinner\r\n -------------------------------------------------------------------------- */\r\n\r\n#adfy-qvm-spinner {\r\n\r\n\t@include flex(row, center, center, 0, wrap);\r\n\tposition: fixed;\r\n\theight: auto;\r\n\twidth: auto;\r\n\toverflow: hidden;\r\n\tborder-radius: 100%;\r\n\tz-index: calc( var(--addonify_qv_modal_zindex) + 10 );\r\n\t@include visibility(visible);\r\n\t@include position_topnleft();\r\n\r\n &.hide {\r\n\r\n\t\t@include display(none);\r\n\t\t@include visibility(hidden);\r\n\t\tanimation: none;\r\n }\r\n\r\n\tsvg {\r\n\r\n\t\tdisplay: inline-flex;\r\n\t\twidth: var(--addonify_qv_spinner_icon_size);\r\n\t\theight: var(--addonify_qv_spinner_icon_size);\r\n\t\tfill: var(--addonify_qv_modal_spinner_icon_color);\r\n\t\tcolor: var(--addonify_qv_modal_spinner_icon_color);\r\n\t\tline-height: 1;\r\n\t\tanimation-name: AddonifyQuickViewSpin;\r\n\t\tanimation-duration: 800ms;\r\n\t\tanimation-iteration-count: infinite;\r\n\t\tanimation-timing-function: ease-in-out;\r\n\t}\r\n}","/* -------------------------------------------------------------------------- \r\n\tModel Layout - General\r\n -------------------------------------------------------------------------- */\r\n\r\n.woocommerce,\r\n.woocommerce-page {\r\n\r\n #addonify-quick-view-modal {\r\n\r\n .woocommerce {\r\n\r\n .product {\r\n\r\n @include grid();\r\n grid-template-columns: repeat(2, 1fr);\r\n column-gap: 40px;\r\n position: relative;\r\n\r\n &::after,\r\n &::before {\r\n\r\n content: \"\";\r\n display: none;\r\n }\r\n\r\n .onsale {\r\n\r\n display: inline-flex;\r\n align-items: center;\r\n flex-wrap: wrap;\r\n position: absolute;\r\n right: auto;\r\n left: 20px;\r\n top: 20px;\r\n bottom: auto;\r\n z-index: 10;\r\n margin: 0;\r\n padding: 5px 15px;\r\n height: auto;\r\n width: auto;\r\n min-width: 1px;\r\n min-height: 1px;\r\n font-size: var(--addonify_qv_product_onsale_badge_font_size);\r\n line-height: 1;\r\n border-radius: 4px;\r\n color: var(--addonify_qv_product_onsale_badge_text);\r\n background-color: var(--addonify_qv_product_onsale_badge_background);\r\n font-weight: normal;\r\n }\r\n\r\n .images {\r\n\r\n @include flex(column, null, null, 20px);\r\n position: relative;\r\n float: none;\r\n width: 100%;\r\n margin: 0;\r\n padding: 0;\r\n\r\n .woocommerce-product-gallery__trigger {\r\n\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n position: absolute;\r\n top: 20px;\r\n left: auto;\r\n right: 20px;\r\n bottom: auto;\r\n z-index: 10;\r\n margin: 0;\r\n padding: 0;\r\n width: calc( var(--addonify_qv_gallery_trigger_icon_size) + 20px );\r\n height: calc( var(--addonify_qv_gallery_trigger_icon_size) + 20px );\r\n border-radius: 100%;\r\n fill: var(--addonify_qv_gallery_trigger_icon_color);\r\n color: var(--addonify_qv_gallery_trigger_icon_color);\r\n border: none;\r\n box-shadow: none;\r\n background-color: var(--addonify_qv_gallery_trigger_icon_background_color);\r\n\r\n svg {\r\n\r\n display: inline-flex;\r\n width: var(--addonify_qv_gallery_trigger_icon_size);\r\n height: var(--addonify_qv_gallery_trigger_icon_size);\r\n }\r\n\r\n &::before,\r\n &::after {\r\n\r\n content: \"\";\r\n display: none;\r\n }\r\n\r\n &:is(:hover, :focus) {\r\n\r\n border: none;\r\n box-shadow: none;\r\n text-decoration: none;\r\n fill: var(--addonify_qv_gallery_trigger_icon_color_hover);\r\n color: var(--addonify_qv_gallery_trigger_icon_color_hover);\r\n background-color: var(--addonify_qv_gallery_trigger_icon_background_color_hover);\r\n }\r\n\r\n &:is(:focus) {\r\n\r\n outline: none;\r\n }\r\n }\r\n\r\n .flex-viewport {\r\n\r\n position: relative;\r\n padding: 0;\r\n margin: 0;\r\n }\r\n\r\n .woocommerce-product-gallery__wrapper {\r\n\r\n .woocommerce-product-gallery__image {\r\n\r\n position: relative;\r\n overflow: hidden;\r\n \r\n img {\r\n\r\n border-radius: 10px;\r\n border: 1px solid var(--addonify_qv_modal_images_border);\r\n }\r\n }\r\n }\r\n\r\n .flex-control-thumbs {\r\n\r\n @include grid();\r\n grid-template-columns: repeat(4, 1fr);\r\n column-gap: 20px;\r\n row-gap: 20px;\r\n margin: 0;\r\n list-style: none;\r\n padding: 0;\r\n float: none;\r\n\r\n li {\r\n\r\n display: block;\r\n width: 100%;\r\n max-width: 100%;\r\n height: auto;\r\n min-height: 100%;\r\n margin: 0;\r\n padding: 0;\r\n float: none;\r\n clear: none;\r\n overflow: hidden;\r\n border-radius: 3px;\r\n\r\n img {\r\n\r\n display: block;\r\n max-width: 100%;\r\n padding: 0;\r\n border: none;\r\n cursor: pointer;\r\n\r\n &.active {\r\n\r\n padding: 0;\r\n border: none;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n .summary {\r\n\r\n @include flex(column, null, null, 20px);\r\n float: none;\r\n width: 100%;\r\n margin: 0;\r\n padding: 0;\r\n\r\n .summary-content {\r\n\r\n @include flex(column);\r\n margin: 0;\r\n padding: 0;\r\n float: none;\r\n border: none;\r\n\r\n .product_title {\r\n\r\n display: block;\r\n padding: 0;\r\n margin: 0;\r\n color: var(--addonify_qv_product_title);\r\n font-size: var(--adonify_qv_product_title_font_size);\r\n font-weight: var(--adonify_qv_product_title_font_weight);\r\n line-height: var(--adonify_qv_product_title_line_height);\r\n }\r\n\r\n .woocommerce-product-rating {\r\n\r\n @include flex(row, null, null, 10px);\r\n \r\n margin: 10px 0 0 0;\r\n\r\n .star-rating {\r\n \r\n color: var(--addonify_qv_product_rating_filled);\r\n\r\n &::before {\r\n\r\n\t\t\t\t\t color: var(--addonify_qv_product_rating_empty);\r\n\t\t\t\t }\r\n }\r\n\r\n .woocommerce-review-link {\r\n\r\n margin: 0;\r\n color: var(--addonify_qv_product_meta);\r\n\r\n &:is(:hover) {\r\n\r\n color: var(--addonify_qv_product_meta_hover);\r\n }\r\n }\r\n }\r\n\r\n .price {\r\n\r\n @include flex(row, center, stretch, 10px, nowrap);\r\n position: relative;\r\n margin: 20px 0;\r\n padding: 0;\r\n color: var(--addonify_qv_product_price);\r\n font-size: var(--adonify_qv_product_price_font_size);\r\n font-weight: var(--adonify_qv_product_price_font_weight);\r\n line-height: 1;\r\n\r\n ins,\r\n del {\r\n\r\n display: inline-flex;\r\n align-items: center;\r\n flex-wrap: nowrap;\r\n margin: 0;\r\n background: transparent;\r\n background-color: transparent;\r\n }\r\n\r\n del {\r\n\r\n color: var(--addonify_qv_product_price);\r\n font-size: calc( var(--adonify_qv_product_price_font_size) - 30% );\r\n font-weight: normal;\r\n }\r\n\r\n ins {\r\n\r\n font-size: 150%;\r\n font-weight: bold;\r\n color: var(--addonify_qv_product_price_sale);\r\n font-size: var(--adonify_qv_product_price_font_size);\r\n font-weight: var(--adonify_qv_product_price_font_weight);\r\n }\r\n }\r\n\r\n .woocommerce-product-details__short-description {\r\n\r\n margin: 0;\r\n padding: 0;\r\n color: var(--addonify_qv_product_excerpt);\r\n\r\n p {\r\n\r\n margin: 0 0 15px 0;\r\n }\r\n }\r\n\r\n .stock {\r\n\r\n color: var(--addonify_qv_stock_in);\r\n margin: 0 0 15px 0;\r\n\r\n &.out-of-stock {\r\n\r\n color: var(--addonify_qv_stock_out);\r\n }\r\n }\r\n\r\n form {\r\n\r\n @include flex(row, center, null, 10px);\r\n margin: 0 0 30px 0;\r\n padding: 0;\r\n float: none;\r\n\r\n &::before,\r\n &::after {\r\n\r\n content: \"\";\r\n display: none;\r\n }\r\n\r\n label {\r\n\r\n color: var(--addonify_qv_modal_general_text_color);\r\n }\r\n\r\n input::placeholder {\r\n\r\n color: var(--addonify_qv_modal_inputs_text_color);\r\n opacity: 1;\r\n }\r\n\r\n input:-ms-input-placeholder { \r\n\r\n color: var(--addonify_qv_modal_inputs_text_color);\r\n }\r\n\r\n input::-ms-input-placeholder { \r\n\r\n color: var(--addonify_qv_modal_inputs_text_color);\r\n }\r\n\r\n input[type=\"text\"],\r\n input[type=\"number\"] {\r\n\r\n color: var(--addonify_qv_modal_inputs_text_color);\r\n background-color: var(--addonify_qv_modal_inputs_background_color);\r\n }\r\n\r\n select {\r\n\r\n color: var(--addonify_qv_modal_inputs_text_color);\r\n background-color: var(--addonify_qv_modal_inputs_background_color);\r\n }\r\n\r\n .quantity {\r\n\r\n float: none;\r\n width: 110px;\r\n height: 50px;\r\n padding: 0;\r\n margin: 0;\r\n border-radius: 4px;\r\n\r\n &::before,\r\n &::after {\r\n\r\n content: \"\";\r\n display: none;\r\n }\r\n\r\n input[type=\"text\"],\r\n input[type=\"number\"] {\r\n\r\n display: inline-flex;\r\n align-items: center;\r\n width: 110px;\r\n height: 50px;\r\n border-radius: 4px;\r\n }\r\n }\r\n\r\n .button {\r\n\r\n float: none;\r\n margin: 0;\r\n height: 50px;\r\n padding: 0 30px;\r\n }\r\n\r\n }\r\n\r\n .variations {\r\n\r\n\r\n }\r\n\r\n .single_variation_wrap {\r\n\r\n\r\n }\r\n\r\n .product_meta {\r\n\r\n @include flex(column, stretch, stretch, 10px);\r\n margin-top: 30px;\r\n\r\n a {\r\n\r\n color: var(--addonify_qv_product_meta);\r\n\r\n &:hover {\r\n\r\n color: var(--addonify_qv_product_meta_hover);\r\n }\r\n }\r\n }\r\n }\r\n\r\n .button {\r\n\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n flex-wrap: wrap;\r\n height: 50px;\r\n padding: 0 30px;\r\n fill: var(--addonify_qv_misc_button_text);\r\n color: var(--addonify_qv_misc_button_text);\r\n border-radius: 5px;\r\n background-color: var(--addonify_qv_misc_button_background);\r\n @include transation_delay();\r\n\r\n &:is(:hover) {\r\n\r\n fill: var(--addonify_qv_misc_button_text_hover);\r\n color: var(--addonify_qv_misc_button_text_hover);\r\n background-color: var(--addonify_qv_misc_button_background_hover);\r\n }\r\n\r\n &.to-wc-ps-link {\r\n\r\n width: fit-content;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}","/* -------------------------------------------------------------------------- \r\n\tResponsive\r\n -------------------------------------------------------------------------- */\r\n\r\n@media( max-width: 1100px ) {\r\n\r\n\t#addonify-quick-view-modal {\r\n\r\n\t\tmax-width: 95vw;\r\n\t}\r\n}\r\n\r\n@media( max-width: 768px) {\r\n\r\n\t#addonify-quick-view-modal .woocommerce .product {\r\n\r\n\t\tgrid-template-columns: repeat(1, 1fr);\r\n\t\trow-gap: 20px;\r\n\t\tcolumn-gap: 0;\r\n\t}\r\n\r\n\t#addonify-quick-view-modal .woocommerce .product .images,\r\n\t#addonify-quick-view-modal .woocommerce .product .summary {\r\n\r\n\t\tmargin: 0;\r\n\t\tpadding: 0;\r\n\t}\r\n}\r\n\r\n@media( max-width: 575px ) {\r\n\r\n\t#addonify-quick-view-modal {\r\n\r\n\t\tmax-width: 90vw;\r\n\t\theight: 90vh;\r\n\t\tmin-height: 90vh;\r\n\t\tmax-height: 90vh;\r\n\t}\r\n\r\n\t.adfy-quick-view-modal-content {\r\n\r\n\t\tpadding: 30px 20px;\r\n\t}\r\n}","/* -------------------------------------------------------------------------- \r\n\tKeyframe - Spin\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewSpin {\r\n\r\n from {\r\n transform: rotate( 0deg );\r\n }\r\n to {\r\n transform: rotate( 360deg );\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - FadeIn\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewFadeIn {\r\n\r\n from {\r\n opacity: 0;\r\n }\r\n to {\r\n opacity: 1;\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - FadeOut\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewFadeOut {\r\n\r\n from {\r\n opacity: 1;\r\n }\r\n to {\r\n opacity: 0;\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - FadeInUp\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewFadeInUp {\r\n\r\n from {\r\n opacity: 0;\r\n transform: translateY( 100px );\r\n }\r\n to {\r\n opacity: 1;\r\n transform: translateY( 0 );\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - FadeOutDown\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewFadeOutDown {\r\n\r\n from {\r\n opacity: 1;\r\n transform: translateY( 0 );\r\n }\r\n to {\r\n opacity: 0;\r\n transform: translateY( 100px );\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - SlideInLeft\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewSlideInLeft {\r\n\r\n from {\r\n opacity: 0;\r\n transform: translateX( -500px );\r\n }\r\n to {\r\n opacity: 1;\r\n transform: translateX( 0 );\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - SlideOutLeft\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewSlideOutLeft {\r\n\r\n from {\r\n opacity: 1;\r\n transform: translateX( 0 );\r\n }\r\n to {\r\n opacity: 0;\r\n transform: translateX( -500px );\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - SlideInRight\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewSlideInRight {\r\n\r\n from {\r\n opacity: 0;\r\n transform: translateX( 500px );\r\n }\r\n to {\r\n opacity: 1;\r\n transform: translateX( 0 );\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - SlideOutRight\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewSlideOutRight {\r\n\r\n from {\r\n opacity: 1;\r\n transform: translateX( 0 );\r\n }\r\n to {\r\n opacity: 0;\r\n transform: translateX( 500px );\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - bounceIn\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewBounceIn {\r\n\r\n from,\r\n 20%,\r\n 40%,\r\n 60%,\r\n 80%,\r\n to {\r\n animation-timing-function: cubic-bezier( 0.215, 0.610, 0.355, 1.000 );\r\n }\r\n 0% {\r\n opacity: 0;\r\n transform: scale3d( 0.3, 0.3, 0.3 );\r\n }\r\n 20% {\r\n transform: scale3d( 1.1, 1.1, 1.1 );\r\n }\r\n 40% {\r\n transform: scale3d( 0.9, 0.9, 0.9 );\r\n }\r\n 60% {\r\n opacity: 1;\r\n transform: scale3d( 1.03, 1.03, 1.03 );\r\n }\r\n 80% {\r\n transform: scale3d( 0.97, 0.97, 0.97 );\r\n }\r\n to {\r\n opacity: 1;\r\n transform: scale3d( 1, 1, 1 );\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - bounceOut\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewBounceOut {\r\n\r\n 20% {\r\n transform: scale3d( 0.9, 0.9, 0.9 );\r\n }\r\n 50%,\r\n 55% {\r\n opacity: 1;\r\n transform: scale3d( 1.1, 1.1, 1.1 );\r\n }\r\n to {\r\n opacity: 0;\r\n transform: scale3d( 0.3, 0.3, 0.3 );\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - zoomIn\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewZoomIn {\r\n\r\n from {\r\n opacity: 0;\r\n transform: scale3d( 0.3, 0.3, 0.3 );\r\n }\r\n 50% {\r\n opacity: 1;\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n Keyframe - zoomOut\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewZoomOut {\r\n\r\n from {\r\n opacity: 1;\r\n }\r\n 50% {\r\n opacity: 0;\r\n transform: scale3d( 0.3, 0.3, 0.3 );\r\n }\r\n to {\r\n opacity: 0;\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n Keyframe - Swing\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewSwing {\r\n\r\n 20% {\r\n transform: rotate3d( 0, 0, 1, 15deg );\r\n }\r\n 40% {\r\n transform: rotate3d( 0, 0, 1, -10deg );\r\n }\r\n 60% {\r\n transform: rotate3d( 0, 0, 1, 5deg );\r\n }\r\n 80% {\r\n transform: rotate3d( 0, 0, 1, -5deg );\r\n }\r\n to {\r\n transform: rotate3d( 0, 0, 1, 0deg );\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n Keyframe - Jello\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewJello {\r\n\r\n 0%,\r\n 11.1% {\r\n transform: none;\r\n }\r\n 22.2% {\r\n transform: skewX( -12.5deg ) skewY( -12.5deg );\r\n }\r\n 33.3% {\r\n transform: skewX( 6.25deg ) skewY( 6.25deg );\r\n }\r\n 44.4% {\r\n transform: skewX( -3.125deg ) skewY( -3.125deg );\r\n }\r\n 55.5% {\r\n transform: skewX( 1.5625deg ) skewY( 1.5625deg );\r\n }\r\n 66.6% {\r\n transform: skewX( -0.78125deg ) skewY( -0.78125deg );\r\n }\r\n 77.7% {\r\n transform: skewX( 0.390625deg ) skewY( 0.390625deg );\r\n }\r\n 88.8% {\r\n transform: skewX( -0.1953125deg ) skewY( -0.1953125deg );\r\n }\r\n to {\r\n transform: none;\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - rubberBand\r\n -------------------------------------------------------------------------- */\r\n@keyframes AddonifyQuickViewRubberBand {\r\n\r\n from {\r\n transform: scale3d( 1, 1, 1 );\r\n }\r\n 30% {\r\n transform: scale3d( 1.25, 0.75, 1 );\r\n }\r\n 40% {\r\n transform: scale3d( 0.75, 1.25, 1 );\r\n }\r\n 50% {\r\n transform: scale3d( 1.15, 0.85, 1 );\r\n }\r\n 65% {\r\n transform: scale3d( 0.95, 1.05, 1 );\r\n }\r\n 75% {\r\n transform: scale3d( 1.05, 0.95, 1 );\r\n }\r\n to {\r\n transform: scale3d( 1, 1, 1 );\r\n }\r\n}"]} \ No newline at end of file +{"version":3,"sources":["abstracts/_variables.scss","app.css","components/_modal.scss","abstracts/_mixins.scss","components/_button.scss","layout/_pswp.scss","layout/_overlay.scss","layout/_spinner.scss","layout/modal/_default.scss","layout/_responsive.scss","components/_keyframe.scss"],"names":[],"mappings":"AAIE,MAGE,qDAAA,CACA,mCAAA,CACA,2CAAA,CACA,gDAAA,CACA,0CAAA,CAEA,sCAAA,CACA,4CAAA,CAGA,gCAAA,CACA,qCAAA,CACA,2CAAA,CACA,0CAAA,CACA,gCAAA,CACA,oCAAA,CACA,kCAAA,CACA,wCAA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GACI,sBAAA,CAAA,cTqrBN,CACF,CS/qBA,+CAEI,GACI,2BAAA,CAAA,mBTmrBN,CSjrBE,IACI,qCAAA,CAAA,6BTmrBN,CSjrBE,IACI,qCAAA,CAAA,6BTmrBN,CSjrBE,IACI,qCAAA,CAAA,6BTmrBN,CSjrBE,IACI,qCAAA,CAAA,6BTmrBN,CSjrBE,IACI,qCAAA,CAAA,6BTmrBN,CSjrBE,GACI,2BAAA,CAAA,mBTmrBN,CACF,CSzsBA,uCAEI,GACI,2BAAA,CAAA,mBTmrBN,CSjrBE,IACI,qCAAA,CAAA,6BTmrBN,CSjrBE,IACI,qCAAA,CAAA,6BTmrBN,CSjrBE,IACI,qCAAA,CAAA,6BTmrBN,CSjrBE,IACI,qCAAA,CAAA,6BTmrBN,CSjrBE,IACI,qCAAA,CAAA,6BTmrBN,CSjrBE,GACI,2BAAA,CAAA,mBTmrBN,CACF","file":"addonify-quick-view.css","sourcesContent":["/* -------------------------------------------------------------------------- \r\n\tVariables\r\n -------------------------------------------------------------------------- */\r\n\r\n :root {\r\n\r\n // Modal\r\n --addonify_qv_modal_overlay_background: rgba(0, 0, 0, 0.6);\r\n --addonify_qv_modal_background: rgba(255, 255, 255, 1);\r\n --addonify_qv_modal_general_text_color: rgba(51, 51, 51, 1);\r\n --addonify_qv_modal_inputs_background_color: rgba(255, 255, 255, 1);\r\n --addonify_qv_modal_inputs_text_color: rgba(51, 51, 51, 1);\r\n \r\n --addonify_qv_modal_border_radius: 10px; // NEW\r\n --addonify_qv_modal_zindex: 10000000000000000; // NEW\r\n\r\n // Product\r\n --addonify_qv_product_title: rgba(51, 51, 51, 1);\r\n --addonify_qv_product_excerpt: rgba(88, 88, 88, 1);\r\n --addonify_qv_product_rating_filled: rgba(245, 196, 14, 1);\r\n --addonify_qv_product_rating_empty: rgba(185, 185, 185, 1);\r\n --addonify_qv_product_price: rgba(51, 51, 51, 1);\r\n --addonify_qv_product_price_sale: rgba(255, 0, 0, 1);\r\n --addonify_qv_product_meta: rgba(2, 134, 231, 1);\r\n --addonify_qv_product_meta_hover: rgba(88, 88, 88, 1);\r\n --addonify_qv_stock_in: rgba(0, 128, 0, 1);\r\n --addonify_qv_stock_out: rgba(255, 0, 0, 1);\r\n --addonify_qv_product_onsale_badge_text: rgba(255, 255, 255, 1);\r\n --addonify_qv_product_onsale_badge_background: rgba(255, 0, 0, 1);\r\n\r\n --adonify_qv_product_title_font_size: 32px; // NEW\r\n --adonify_qv_product_title_font_weight: normal; // NEW\r\n --adonify_qv_product_title_line_height: 1.2; // NEW\r\n --adonify_qv_product_price_font_size: 22px; // NEW\r\n --adonify_qv_product_price_font_weight: normal; // NEW\r\n --addonify_qv_product_onsale_badge_font_size: 14px; // NEW\r\n\r\n // Image gallery\r\n --addonify_qv_modal_images_border: rgba(238, 238, 238, 1);\r\n --addonify_qv_gallery_trigger_icon_color: rgba(51, 51, 51, 1); // NEW\r\n --addonify_qv_gallery_trigger_icon_color_hover: rgb(54, 91, 255); // NEW\r\n --addonify_qv_gallery_trigger_icon_background_color: rbga(255, 255, 255, 0); // NEW\r\n --addonify_qv_gallery_trigger_icon_background_color_hover: rbga(255, 255, 255, 0); // NEW\r\n --addonify_qv_gallery_trigger_icon_size: 20px; // NEW\r\n \r\n // Close button\r\n --addonify_qv_close_button_text: rgba(118, 118, 118, 1);\r\n --addonify_qv_close_button_text_hover: rgba(2, 134, 231, 1);\r\n --addonify_qv_close_button_background: rgba(238, 238, 238, 1);\r\n --addonify_qv_close_button_background_hover: rgba(182, 222, 255, 1);\r\n\r\n // Misc buttons\r\n --addonify_qv_misc_button_text: rgba(255, 255, 255, 1);\r\n --addonify_qv_misc_button_text_hover: rgba(255, 255, 255, 1);\r\n --addonify_qv_misc_button_background: rgba(51, 51, 51, 1);\r\n --addonify_qv_misc_button_background_hover: rgba(2, 134, 231, 1);\r\n\r\n // Spinner \r\n --addonify_qv_modal_spinner_icon_color: rgba(51, 51, 51, 1);\r\n --addonify_qv_spinner_icon_size: 28px; // NEW\r\n }","/* -------------------------------------------------------------------------- \n\tVariables\n -------------------------------------------------------------------------- */\n:root {\n --addonify_qv_modal_overlay_background: rgba(0, 0, 0, 0.6);\n --addonify_qv_modal_background: rgba(255, 255, 255, 1);\n --addonify_qv_modal_general_text_color: rgba(51, 51, 51, 1);\n --addonify_qv_modal_inputs_background_color: rgba(255, 255, 255, 1);\n --addonify_qv_modal_inputs_text_color: rgba(51, 51, 51, 1);\n --addonify_qv_modal_border_radius: 10px;\n --addonify_qv_modal_zindex: 10000000000000000;\n --addonify_qv_product_title: rgba(51, 51, 51, 1);\n --addonify_qv_product_excerpt: rgba(88, 88, 88, 1);\n --addonify_qv_product_rating_filled: rgba(245, 196, 14, 1);\n --addonify_qv_product_rating_empty: rgba(185, 185, 185, 1);\n --addonify_qv_product_price: rgba(51, 51, 51, 1);\n --addonify_qv_product_price_sale: rgba(255, 0, 0, 1);\n --addonify_qv_product_meta: rgba(2, 134, 231, 1);\n --addonify_qv_product_meta_hover: rgba(88, 88, 88, 1);\n --addonify_qv_stock_in: rgba(0, 128, 0, 1);\n --addonify_qv_stock_out: rgba(255, 0, 0, 1);\n --addonify_qv_product_onsale_badge_text: rgba(255, 255, 255, 1);\n --addonify_qv_product_onsale_badge_background: rgba(255, 0, 0, 1);\n --adonify_qv_product_title_font_size: 32px;\n --adonify_qv_product_title_font_weight: normal;\n --adonify_qv_product_title_line_height: 1.2;\n --adonify_qv_product_price_font_size: 22px;\n --adonify_qv_product_price_font_weight: normal;\n --addonify_qv_product_onsale_badge_font_size: 14px;\n --addonify_qv_modal_images_border: rgba(238, 238, 238, 1);\n --addonify_qv_gallery_trigger_icon_color: rgba(51, 51, 51, 1);\n --addonify_qv_gallery_trigger_icon_color_hover: rgb(54, 91, 255);\n --addonify_qv_gallery_trigger_icon_background_color: rbga(255, 255, 255, 0);\n --addonify_qv_gallery_trigger_icon_background_color_hover: rbga(255, 255, 255, 0);\n --addonify_qv_gallery_trigger_icon_size: 20px;\n --addonify_qv_close_button_text: rgba(118, 118, 118, 1);\n --addonify_qv_close_button_text_hover: rgba(2, 134, 231, 1);\n --addonify_qv_close_button_background: rgba(238, 238, 238, 1);\n --addonify_qv_close_button_background_hover: rgba(182, 222, 255, 1);\n --addonify_qv_misc_button_text: rgba(255, 255, 255, 1);\n --addonify_qv_misc_button_text_hover: rgba(255, 255, 255, 1);\n --addonify_qv_misc_button_background: rgba(51, 51, 51, 1);\n --addonify_qv_misc_button_background_hover: rgba(2, 134, 231, 1);\n --addonify_qv_modal_spinner_icon_color: rgba(51, 51, 51, 1);\n --addonify_qv_spinner_icon_size: 28px;\n}\n\n/* -------------------------------------------------------------------------- \n\tMixins\n -------------------------------------------------------------------------- */\n/*\n===========================================================\n\n# Pugin: Addonify - Quick View For WooCommerce\n# Author: https://addonify.com/\n# Since: 28 July, 2020\n\n=====================================\n*/\n/* -------------------------------------------------------------------------- \n\tModel Default\n -------------------------------------------------------------------------- */\n#addonify-quick-view-modal {\n display: flex;\n flex-direction: column;\n gap: 10px;\n align-items: stretch;\n justify-content: stretch;\n flex-wrap: wrap;\n position: relative;\n margin: 0 auto;\n width: 100%;\n max-width: 1000px;\n height: auto;\n min-height: 400px;\n max-height: 80vh;\n border-radius: var(--addonify_qv_modal_border_radius);\n box-shadow: 0 0 65px rgba(0, 0, 0, 0.1);\n background-color: var(--addonify_qv_modal_background);\n z-index: var(--addonify_qv_modal_zindex);\n opacity: 0;\n visibility: hidden;\n backface-visibility: hidden;\n transition: none;\n cursor: initial;\n}\n#addonify-quick-view-modal .adfy-quick-view-model-inner {\n position: relative;\n height: 100%;\n width: 100%;\n max-width: 100%;\n}\n#addonify-quick-view-modal .adfy-quick-view-model-inner .adfy-qvm-header {\n position: absolute;\n top: 10px;\n right: 10px;\n z-index: 10;\n}\n#addonify-quick-view-modal .adfy-quick-view-model-inner .adfy-quick-view-modal-content {\n position: relative;\n padding: 40px 30px;\n color: var(--addonify_qv_modal_general_text_color);\n}\n\n/* -------------------------------------------------------------------------- \n\tVisibility\n -------------------------------------------------------------------------- */\n.addonify-qvm-is-active #addonify-quick-view-modal {\n opacity: 1;\n visibility: visible;\n backface-visibility: visible;\n}\n\n/* -------------------------------------------------------------------------- \n\tAnimations - Exit animations\n -------------------------------------------------------------------------- */\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-closing-animation[data-close_animation=fade-out] #addonify-quick-view-modal {\n animation: AddonifyQuickViewFadeOut 1.2s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-closing-animation[data-close_animation=fade-out-down] #addonify-quick-view-modal {\n animation: AddonifyQuickViewFadeOutDown 0.8s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-closing-animation[data-close_animation=bounce-out] #addonify-quick-view-modal {\n animation: AddonifyQuickViewBounceOut 1.2s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-closing-animation[data-close_animation=slide-out-left] #addonify-quick-view-modal {\n animation: AddonifyQuickViewSlideOutLeft 0.8s linear forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-closing-animation[data-close_animation=slide-out-right] #addonify-quick-view-modal {\n animation: AddonifyQuickViewSlideOutRight 0.8s linear forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-closing-animation[data-close_animation=zoom-out] #addonify-quick-view-modal {\n animation: AddonifyQuickViewZoomOut 1.2s ease-in-out forwards;\n}\n\n/* -------------------------------------------------------------------------- \n\tAnimations - Entrance Animations\n -------------------------------------------------------------------------- */\n.addonify-qvm-is-active {\n position: relative;\n overflow: hidden;\n max-height: 100vh;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-opening-animation[data-open_animation=fade-in] #addonify-quick-view-modal {\n animation: AddonifyQuickViewFadeIn 0.8s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-opening-animation[data-open_animation=fade-in-up] #addonify-quick-view-modal {\n animation: AddonifyQuickViewFadeInUp 0.8s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-opening-animation[data-open_animation=bounce-in] #addonify-quick-view-modal {\n animation: AddonifyQuickViewBounceIn 0.8s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-opening-animation[data-open_animation=slide-in-left] #addonify-quick-view-modal {\n animation: AddonifyQuickViewSlideInLeft 0.8s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-opening-animation[data-open_animation=slide-in-right] #addonify-quick-view-modal {\n animation: AddonifyQuickViewSlideInRight 0.8s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-opening-animation[data-open_animation=zoom-in] #addonify-quick-view-modal {\n animation: AddonifyQuickViewZoomIn 0.8s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-opening-animation[data-open_animation=swing] #addonify-quick-view-modal {\n animation: AddonifyQuickViewSwing 1s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-opening-animation[data-open_animation=jello] #addonify-quick-view-modal {\n animation: AddonifyQuickViewJello 1s ease-in-out forwards;\n}\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper.play-opening-animation[data-open_animation=rubber-band] #addonify-quick-view-modal {\n animation: AddonifyQuickViewRubberBand 1s ease-in-out forwards;\n}\n\n/* -------------------------------------------------------------------------- \n\tQuick view button\n -------------------------------------------------------------------------- */\n.adfy-qv-button {\n display: inline-block;\n padding: 0;\n margin: 0;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n border: none;\n background-color: transparent;\n transition: all 0.5s ease;\n}\n.adfy-qv-button:is(:hover) {\n border: none;\n background-color: transparent;\n}\n.adfy-qv-button:is(:focus) {\n outline: none;\n border: none;\n background-color: transparent;\n}\n\n/* -------------------------------------------------------------------------- \n\tQuick view model close button\n -------------------------------------------------------------------------- */\n#addonify-qvm-close-button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n fill: var(--addonify_qv_close_button_text);\n color: var(--addonify_qv_close_button_text);\n height: 30px;\n width: 30px;\n background-color: var(--addonify_qv_close_button_background);\n border-radius: 100%;\n cursor: pointer;\n}\n#addonify-qvm-close-button:is(:hover) {\n fill: var(--addonify_qv_close_button_text_hover);\n color: var(--addonify_qv_close_button_text_hover);\n background-color: var(--addonify_qv_close_button_background_hover);\n}\n#addonify-qvm-close-button svg {\n height: 14px;\n width: 14px;\n}\n\n/**\n*\n* Hide quick view button if disabled in mobile view is 'enabled' on the setting page.\n*\n* @since: 1.2.4\n*/\n@media (max-width: 575px) {\n .addonify-quick-view-disabled-on-mobile.woocommerce ul.products li.product .button.addonify-qvm-button,\n .addonify-quick-view-disabled-on-mobile.woocommerce ul.products li.product .button.addonify-qvm-button {\n display: none;\n }\n .addonify-quick-view-disabled-on-mobile .addonify-qvm-button {\n display: none;\n }\n}\n/* -------------------------------------------------------------------------- \n\tWooCommerce light box.\n -------------------------------------------------------------------------- */\n.addonify-qvm-is-active.woocommerce .pswp, .addonify-qvm-is-active.woocommerce-page .pswp {\n opacity: 1;\n z-index: calc(var(--addonify_qv_modal_zindex) + 10);\n}\n.addonify-qvm-is-active.woocommerce .pswp .pswp__bg, .addonify-qvm-is-active.woocommerce-page .pswp .pswp__bg {\n opacity: 1 !important;\n backdrop-filter: blur(10px);\n background-color: rgb(0, 0, 0);\n}\n.addonify-qvm-is-active.woocommerce .pswp img.pswp__img, .addonify-qvm-is-active.woocommerce-page .pswp img.pswp__img {\n background-color: white;\n}\n\n/* -------------------------------------------------------------------------- \n\tOverlay\n -------------------------------------------------------------------------- */\n#addonify-quick-view-modal-wrapper {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n position: fixed;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n width: 100%;\n height: 100%;\n backdrop-filter: blur(10px);\n z-index: calc(var(--addonify_qv_modal_zindex) - 30);\n background-color: var(--addonify_qv_modal_overlay_background);\n opacity: 0;\n visibility: hidden;\n backface-visibility: hidden;\n overflow: hidden;\n transition: 0.3s all ease-in;\n}\n\n.addonify-qvm-is-active #addonify-quick-view-modal-wrapper {\n opacity: 1;\n visibility: visible;\n backface-visibility: visible;\n}\n\n/* -------------------------------------------------------------------------- \n\tModel spinner\n -------------------------------------------------------------------------- */\n#adfy-qvm-spinner {\n display: flex;\n flex-direction: row;\n gap: 0;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n position: fixed;\n height: auto;\n width: auto;\n overflow: hidden;\n border-radius: 100%;\n z-index: calc(var(--addonify_qv_modal_zindex) + 10);\n opacity: 1;\n visibility: visible;\n backface-visibility: visible;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n}\n#adfy-qvm-spinner.hide {\n display: none;\n opacity: 0;\n visibility: hidden;\n backface-visibility: hidden;\n animation: none;\n}\n#adfy-qvm-spinner svg {\n display: inline-flex;\n width: var(--addonify_qv_spinner_icon_size);\n height: var(--addonify_qv_spinner_icon_size);\n fill: var(--addonify_qv_modal_spinner_icon_color);\n color: var(--addonify_qv_modal_spinner_icon_color);\n line-height: 1;\n animation-name: AddonifyQuickViewSpin;\n animation-duration: 800ms;\n animation-iteration-count: infinite;\n animation-timing-function: ease-in-out;\n}\n\n/* -------------------------------------------------------------------------- \n\tModel Layout - General\n -------------------------------------------------------------------------- */\n.woocommerce #addonify-quick-view-modal .woocommerce .product,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n column-gap: 40px;\n position: relative;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product::after, .woocommerce #addonify-quick-view-modal .woocommerce .product::before,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product::after,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product::before {\n content: \"\";\n display: none;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .onsale,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .onsale {\n display: inline-flex;\n align-items: center;\n flex-wrap: wrap;\n position: absolute;\n right: auto;\n left: 20px;\n top: 20px;\n bottom: auto;\n z-index: 10;\n margin: 0;\n padding: 5px 15px;\n height: auto;\n width: auto;\n min-width: 1px;\n min-height: 1px;\n font-size: var(--addonify_qv_product_onsale_badge_font_size);\n line-height: 1;\n border-radius: 4px;\n color: var(--addonify_qv_product_onsale_badge_text);\n background-color: var(--addonify_qv_product_onsale_badge_background);\n font-weight: normal;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images {\n display: flex;\n flex-direction: column;\n gap: 20px;\n position: relative;\n float: none;\n width: 100%;\n margin: 0;\n padding: 0;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 20px;\n left: auto;\n right: 20px;\n bottom: auto;\n z-index: 10;\n margin: 0;\n padding: 0;\n width: calc(var(--addonify_qv_gallery_trigger_icon_size) + 20px);\n height: calc(var(--addonify_qv_gallery_trigger_icon_size) + 20px);\n border-radius: 100%;\n fill: var(--addonify_qv_gallery_trigger_icon_color);\n color: var(--addonify_qv_gallery_trigger_icon_color);\n border: none;\n box-shadow: none;\n background-color: var(--addonify_qv_gallery_trigger_icon_background_color);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger svg,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger svg {\n display: inline-flex;\n width: var(--addonify_qv_gallery_trigger_icon_size);\n height: var(--addonify_qv_gallery_trigger_icon_size);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger::before, .woocommerce #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger::after,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger::before,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger::after {\n content: \"\";\n display: none;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger:is(:hover, :focus),\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger:is(:hover, :focus) {\n border: none;\n box-shadow: none;\n text-decoration: none;\n fill: var(--addonify_qv_gallery_trigger_icon_color_hover);\n color: var(--addonify_qv_gallery_trigger_icon_color_hover);\n background-color: var(--addonify_qv_gallery_trigger_icon_background_color_hover);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger:is(:focus),\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__trigger:is(:focus) {\n outline: none;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .flex-viewport,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .flex-viewport {\n position: relative;\n padding: 0;\n margin: 0;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {\n position: relative;\n overflow: hidden;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img {\n border-radius: 10px;\n border: 1px solid var(--addonify_qv_modal_images_border);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .flex-control-thumbs,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .flex-control-thumbs {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n column-gap: 20px;\n row-gap: 20px;\n margin: 0;\n list-style: none;\n padding: 0;\n float: none;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .flex-control-thumbs li,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .flex-control-thumbs li {\n display: block;\n width: 100%;\n max-width: 100%;\n height: auto;\n min-height: 100%;\n margin: 0;\n padding: 0;\n float: none;\n clear: none;\n overflow: hidden;\n border-radius: 3px;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .flex-control-thumbs li img,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .flex-control-thumbs li img {\n display: block;\n max-width: 100%;\n padding: 0;\n border: none;\n cursor: pointer;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .images .flex-control-thumbs li img.active,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .images .flex-control-thumbs li img.active {\n padding: 0;\n border: none;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary {\n display: flex;\n flex-direction: column;\n gap: 20px;\n float: none;\n width: 100%;\n margin: 0;\n padding: 0;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content {\n display: flex;\n flex-direction: column;\n margin: 0;\n padding: 0;\n float: none;\n border: none;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .product_title,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .product_title {\n display: block;\n padding: 0;\n margin: 0;\n color: var(--addonify_qv_product_title);\n font-size: var(--adonify_qv_product_title_font_size);\n font-weight: var(--adonify_qv_product_title_font_weight);\n line-height: var(--adonify_qv_product_title_line_height);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-rating,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-rating {\n display: flex;\n flex-direction: row;\n gap: 10px;\n margin: 10px 0 0 0;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-rating .star-rating,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-rating .star-rating {\n color: var(--addonify_qv_product_rating_filled);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-rating .star-rating::before,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-rating .star-rating::before {\n color: var(--addonify_qv_product_rating_empty);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-rating .woocommerce-review-link,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-rating .woocommerce-review-link {\n margin: 0;\n color: var(--addonify_qv_product_meta);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-rating .woocommerce-review-link:is(:hover),\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-rating .woocommerce-review-link:is(:hover) {\n color: var(--addonify_qv_product_meta_hover);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .price,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .price {\n display: flex;\n flex-direction: row;\n gap: 10px;\n align-items: center;\n justify-content: stretch;\n flex-wrap: nowrap;\n position: relative;\n margin: 20px 0;\n padding: 0;\n color: var(--addonify_qv_product_price);\n font-size: var(--adonify_qv_product_price_font_size);\n font-weight: var(--adonify_qv_product_price_font_weight);\n line-height: 1;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .price ins,\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .price del,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .price ins,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .price del {\n display: inline-flex;\n align-items: center;\n flex-wrap: nowrap;\n margin: 0;\n background: transparent;\n background-color: transparent;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .price del,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .price del {\n color: var(--addonify_qv_product_price);\n font-size: calc(var(--adonify_qv_product_price_font_size) - 30%);\n font-weight: normal;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .price ins,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .price ins {\n font-size: 150%;\n font-weight: bold;\n color: var(--addonify_qv_product_price_sale);\n font-size: var(--adonify_qv_product_price_font_size);\n font-weight: var(--adonify_qv_product_price_font_weight);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-details__short-description,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-details__short-description {\n margin: 0;\n padding: 0;\n color: var(--addonify_qv_product_excerpt);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-details__short-description p,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .woocommerce-product-details__short-description p {\n margin: 0 0 15px 0;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .stock,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .stock {\n color: var(--addonify_qv_stock_in);\n margin: 0 0 15px 0;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .stock.out-of-stock,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .stock.out-of-stock {\n color: var(--addonify_qv_stock_out);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form {\n display: flex;\n flex-direction: row;\n gap: 10px;\n align-items: center;\n margin: 0 0 30px 0;\n padding: 0;\n float: none;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form::before, .woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form::after,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form::before,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form::after {\n content: \"\";\n display: none;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form label,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form label {\n color: var(--addonify_qv_modal_general_text_color);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form input::placeholder,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form input::placeholder {\n color: var(--addonify_qv_modal_inputs_text_color);\n opacity: 1;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form input:-ms-input-placeholder,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form input:-ms-input-placeholder {\n color: var(--addonify_qv_modal_inputs_text_color);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form input::-ms-input-placeholder,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form input::-ms-input-placeholder {\n color: var(--addonify_qv_modal_inputs_text_color);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form input[type=text],\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form input[type=number],\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form input[type=text],\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form input[type=number] {\n color: var(--addonify_qv_modal_inputs_text_color);\n background-color: var(--addonify_qv_modal_inputs_background_color);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form select,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form select {\n color: var(--addonify_qv_modal_inputs_text_color);\n background-color: var(--addonify_qv_modal_inputs_background_color);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .quantity,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .quantity {\n float: none;\n width: 110px;\n height: 50px;\n padding: 0;\n margin: 0;\n border-radius: 4px;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .quantity::before, .woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .quantity::after,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .quantity::before,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .quantity::after {\n content: \"\";\n display: none;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .quantity input[type=text],\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .quantity input[type=number],\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .quantity input[type=text],\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .quantity input[type=number] {\n display: inline-flex;\n align-items: center;\n width: 110px;\n height: 50px;\n border-radius: 4px;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .button,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content form .button {\n float: none;\n margin: 0;\n height: 50px;\n padding: 0 30px;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .product_meta,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .product_meta {\n display: flex;\n flex-direction: column;\n gap: 10px;\n align-items: stretch;\n justify-content: stretch;\n margin-top: 30px;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .product_meta a,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .product_meta a {\n color: var(--addonify_qv_product_meta);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .summary-content .product_meta a:hover,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .summary-content .product_meta a:hover {\n color: var(--addonify_qv_product_meta_hover);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .button,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n height: 50px;\n padding: 0 30px;\n fill: var(--addonify_qv_misc_button_text);\n color: var(--addonify_qv_misc_button_text);\n border-radius: 5px;\n background-color: var(--addonify_qv_misc_button_background);\n transition: all 0.5s ease;\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .button:is(:hover),\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .button:is(:hover) {\n fill: var(--addonify_qv_misc_button_text_hover);\n color: var(--addonify_qv_misc_button_text_hover);\n background-color: var(--addonify_qv_misc_button_background_hover);\n}\n.woocommerce #addonify-quick-view-modal .woocommerce .product .summary .button.to-wc-ps-link,\n.woocommerce-page #addonify-quick-view-modal .woocommerce .product .summary .button.to-wc-ps-link {\n width: fit-content;\n}\n\n/* -------------------------------------------------------------------------- \n\tResponsive\n -------------------------------------------------------------------------- */\n@media (max-width: 1100px) {\n #addonify-quick-view-modal {\n max-width: 95vw;\n }\n}\n@media (max-width: 768px) {\n #addonify-quick-view-modal .woocommerce .product {\n grid-template-columns: repeat(1, 1fr);\n row-gap: 20px;\n column-gap: 0;\n }\n #addonify-quick-view-modal .woocommerce .product .images,\n #addonify-quick-view-modal .woocommerce .product .summary {\n margin: 0;\n padding: 0;\n }\n}\n@media (max-width: 575px) {\n #addonify-quick-view-modal {\n max-width: 90vw;\n height: 90vh;\n min-height: 90vh;\n max-height: 90vh;\n }\n .adfy-quick-view-modal-content {\n padding: 30px 20px;\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - Spin\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewSpin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - FadeIn\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewFadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - FadeOut\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewFadeOut {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - FadeInUp\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewFadeInUp {\n from {\n opacity: 0;\n transform: translateY(100px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - FadeOutDown\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewFadeOutDown {\n from {\n opacity: 1;\n transform: translateY(0);\n }\n to {\n opacity: 0;\n transform: translateY(100px);\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - SlideInLeft\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewSlideInLeft {\n from {\n opacity: 0;\n transform: translateX(-500px);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - SlideOutLeft\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewSlideOutLeft {\n from {\n opacity: 1;\n transform: translateX(0);\n }\n to {\n opacity: 0;\n transform: translateX(-500px);\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - SlideInRight\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewSlideInRight {\n from {\n opacity: 0;\n transform: translateX(500px);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - SlideOutRight\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewSlideOutRight {\n from {\n opacity: 1;\n transform: translateX(0);\n }\n to {\n opacity: 0;\n transform: translateX(500px);\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - bounceIn\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewBounceIn {\n from, 20%, 40%, 60%, 80%, to {\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n 0% {\n opacity: 0;\n transform: scale3d(0.3, 0.3, 0.3);\n }\n 20% {\n transform: scale3d(1.1, 1.1, 1.1);\n }\n 40% {\n transform: scale3d(0.9, 0.9, 0.9);\n }\n 60% {\n opacity: 1;\n transform: scale3d(1.03, 1.03, 1.03);\n }\n 80% {\n transform: scale3d(0.97, 0.97, 0.97);\n }\n to {\n opacity: 1;\n transform: scale3d(1, 1, 1);\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - bounceOut\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewBounceOut {\n 20% {\n transform: scale3d(0.9, 0.9, 0.9);\n }\n 50%, 55% {\n opacity: 1;\n transform: scale3d(1.1, 1.1, 1.1);\n }\n to {\n opacity: 0;\n transform: scale3d(0.3, 0.3, 0.3);\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - zoomIn\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewZoomIn {\n from {\n opacity: 0;\n transform: scale3d(0.3, 0.3, 0.3);\n }\n 50% {\n opacity: 1;\n }\n}\n/* -------------------------------------------------------------------------- \n Keyframe - zoomOut\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewZoomOut {\n from {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n transform: scale3d(0.3, 0.3, 0.3);\n }\n to {\n opacity: 0;\n }\n}\n/* -------------------------------------------------------------------------- \n Keyframe - Swing\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewSwing {\n 20% {\n transform: rotate3d(0, 0, 1, 15deg);\n }\n 40% {\n transform: rotate3d(0, 0, 1, -10deg);\n }\n 60% {\n transform: rotate3d(0, 0, 1, 5deg);\n }\n 80% {\n transform: rotate3d(0, 0, 1, -5deg);\n }\n to {\n transform: rotate3d(0, 0, 1, 0deg);\n }\n}\n/* -------------------------------------------------------------------------- \n Keyframe - Jello\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewJello {\n 0%, 11.1% {\n transform: none;\n }\n 22.2% {\n transform: skewX(-12.5deg) skewY(-12.5deg);\n }\n 33.3% {\n transform: skewX(6.25deg) skewY(6.25deg);\n }\n 44.4% {\n transform: skewX(-3.125deg) skewY(-3.125deg);\n }\n 55.5% {\n transform: skewX(1.5625deg) skewY(1.5625deg);\n }\n 66.6% {\n transform: skewX(-0.78125deg) skewY(-0.78125deg);\n }\n 77.7% {\n transform: skewX(0.390625deg) skewY(0.390625deg);\n }\n 88.8% {\n transform: skewX(-0.1953125deg) skewY(-0.1953125deg);\n }\n to {\n transform: none;\n }\n}\n/* -------------------------------------------------------------------------- \n\tKeyframe - rubberBand\n -------------------------------------------------------------------------- */\n@keyframes AddonifyQuickViewRubberBand {\n from {\n transform: scale3d(1, 1, 1);\n }\n 30% {\n transform: scale3d(1.25, 0.75, 1);\n }\n 40% {\n transform: scale3d(0.75, 1.25, 1);\n }\n 50% {\n transform: scale3d(1.15, 0.85, 1);\n }\n 65% {\n transform: scale3d(0.95, 1.05, 1);\n }\n 75% {\n transform: scale3d(1.05, 0.95, 1);\n }\n to {\n transform: scale3d(1, 1, 1);\n }\n}","/* -------------------------------------------------------------------------- \r\n\tModel Default\r\n -------------------------------------------------------------------------- */\r\n\r\n#addonify-quick-view-modal {\r\n\r\n\t@include flex(column, stretch, stretch, 10px, wrap);\r\n\tposition: relative;\r\n\tmargin: 0 auto;\r\n width: 100%;\r\n\tmax-width: 1000px;\r\n\theight: auto;\r\n\tmin-height: 400px;\r\n\tmax-height: 80vh;\r\n\tborder-radius: var(--addonify_qv_modal_border_radius);\r\n\tbox-shadow: 0 0 65px rgba(0, 0, 0, 0.1);\r\n background-color: var(--addonify_qv_modal_background);\r\n\tz-index: var(--addonify_qv_modal_zindex);\r\n\t@include visibility(hidden);\r\n\ttransition: none;\r\n\tcursor: initial;\r\n\r\n\t.adfy-quick-view-model-inner {\r\n\r\n\t\tposition: relative;\r\n\t\theight: 100%;\r\n\t\twidth: 100%;\r\n\t\tmax-width: 100%;\r\n\r\n\t\t.adfy-qvm-header {\r\n\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 10px;\r\n\t\t\tright: 10px;\r\n\t\t\tz-index: 10;\r\n\t\t}\r\n\r\n\t\t.adfy-quick-view-modal-content {\r\n\r\n\t\t\tposition: relative;\r\n\t\t\tpadding: 40px 30px;\r\n\t\t\tcolor: var(--addonify_qv_modal_general_text_color);\r\n\t\t}\r\n\t}\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tVisibility\r\n -------------------------------------------------------------------------- */\r\n\r\n.addonify-qvm-is-active {\r\n\r\n\t#addonify-quick-view-modal {\r\n\r\n\t\t@include visibility(visible);\r\n\t}\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tAnimations - Exit animations\r\n -------------------------------------------------------------------------- */\r\n\r\n.addonify-qvm-is-active {\r\n\r\n\t#addonify-quick-view-modal-wrapper {\r\n\r\n\t\t&.play-closing-animation {\r\n\r\n\t\t\t&[data-close_animation=\"fade-out\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewFadeOut 1.2s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-close_animation=\"fade-out-down\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewFadeOutDown 0.8s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-close_animation=\"bounce-out\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewBounceOut 1.2s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-close_animation=\"slide-out-left\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewSlideOutLeft 0.8s linear forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-close_animation=\"slide-out-right\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewSlideOutRight 0.8s linear forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-close_animation=\"zoom-out\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewZoomOut 1.2s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tAnimations - Entrance Animations\r\n -------------------------------------------------------------------------- */\r\n\r\n.addonify-qvm-is-active {\r\n\r\n\tposition: relative;\r\n\toverflow: hidden;\r\n\tmax-height: 100vh;\r\n\r\n\t#addonify-quick-view-modal-wrapper {\r\n\r\n\t\t&.play-opening-animation {\r\n\r\n\t\t\t&[data-open_animation=\"fade-in\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewFadeIn 0.8s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-open_animation=\"fade-in-up\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewFadeInUp 0.8s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-open_animation=\"bounce-in\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewBounceIn 0.8s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-open_animation=\"slide-in-left\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewSlideInLeft 0.8s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-open_animation=\"slide-in-right\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewSlideInRight 0.8s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-open_animation=\"zoom-in\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewZoomIn 0.8s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-open_animation=\"swing\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewSwing 1s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-open_animation=\"jello\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewJello 1s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t&[data-open_animation=\"rubber-band\"] {\r\n\r\n\t\t\t\t#addonify-quick-view-modal {\r\n\r\n\t\t\t\t\tanimation: AddonifyQuickViewRubberBand 1s ease-in-out forwards;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} \r\n\t}\r\n}\r\n","\r\n/* -------------------------------------------------------------------------- \r\n\tMixins\r\n -------------------------------------------------------------------------- */\r\n\r\n@mixin flex( $direction: row, $align: null, $justify: null, $gap: null, $wrap: null ) {\r\n\r\n\tdisplay: flex;\r\n\tflex-direction: $direction;\r\n\r\n\t@if $gap != null {\r\n\r\n\t\tgap: $gap;\r\n\t}\r\n\r\n\t@if $align != null {\r\n\r\n\t\talign-items: $align;\r\n\t}\r\n\r\n\t@if $justify != null {\r\n\r\n\t\tjustify-content: $justify;\r\n\t}\r\n\r\n\t@if $wrap != null {\r\n\r\n\t\tflex-wrap: $wrap;\r\n\t}\r\n}\r\n\r\n@mixin grid () {\r\n\r\n\tdisplay: grid;\r\n}\r\n\r\n@mixin transation_delay ($delay: 0.5s, $property: all, $function: ease) {\r\n\r\n transition: $property $delay $function;\r\n}\r\n\r\n@mixin transation_delay_none () {\r\n\r\n transition: none;\r\n}\r\n\r\n@mixin display ($display: none) {\r\n\r\n\tdisplay: $display;\r\n}\r\n\r\n@mixin visibility ($visibility: hidden) {\r\n\r\n\t@if $visibility == hidden {\r\n\t\topacity: 0;\r\n\t\tvisibility: hidden;\r\n\t\tbackface-visibility: hidden;\r\n\t} @else {\r\n\t\topacity: 1;\r\n\t\tvisibility: visible;\r\n\t\tbackface-visibility: visible;\r\n\t}\r\n}\r\n\r\n@mixin scale () {\r\n\r\n transform: scale(1.1);\r\n @include transation_delay();\r\n}\r\n\r\n@mixin position ( $top, $bottom, $left, $right ) {\r\n\t\r\n\ttop: $top;\r\n\tbottom: $bottom;\r\n\tleft: $left;\r\n\tright: $right;\r\n\ttransform:translateY(-50%);\r\n}\r\n\r\n@mixin position_topnleft () {\r\n\t\r\n\ttop: 50%;\r\n\tleft: 50%;\r\n transform: translateX(-50%) translateY(-50%);\r\n}\r\n\r\n@mixin box_shadow () {\r\n\r\n\tbox-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);\r\n}\r\n\r\n@mixin mild_box_shadow() {\r\n\r\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);\r\n}\r\n\r\n@mixin large_box_shadow () {\r\n\r\n box-shadow: 0px 0px 65px rgba(0, 0, 0, 0.1);\r\n}\r\n\r\n","/* -------------------------------------------------------------------------- \r\n\tQuick view button\r\n -------------------------------------------------------------------------- */\r\n\r\n.adfy-qv-button {\r\n\t\r\n\tdisplay: inline-block;\r\n\tpadding: 0;\r\n\tmargin: 0;\r\n\tfont-size: inherit;\r\n\tfont-weight: inherit;\r\n\tline-height: inherit;\r\n\tborder: none;\r\n\tbackground-color: transparent;\r\n\t@include transation_delay();\r\n\r\n\t&:is(:hover) {\r\n\r\n\t\tborder: none;\r\n\t\tbackground-color: transparent;\r\n\t}\r\n\r\n\t&:is(:focus) {\r\n\r\n\t\toutline: none;\r\n\t\tborder: none;\r\n\t\tbackground-color: transparent;\r\n\t}\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tQuick view model close button\r\n -------------------------------------------------------------------------- */\r\n\r\n#addonify-qvm-close-button {\r\n\r\n\tdisplay: inline-flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tfill: var(--addonify_qv_close_button_text);\r\n\tcolor: var(--addonify_qv_close_button_text);\r\n\theight: 30px;\r\n\twidth: 30px;\r\n\tbackground-color: var(--addonify_qv_close_button_background);\r\n\tborder-radius: 100%;\r\n\tcursor: pointer;\r\n\r\n\t&:is(:hover) {\r\n\r\n\t\tfill: var(--addonify_qv_close_button_text_hover);\r\n\t\tcolor: var(--addonify_qv_close_button_text_hover);\r\n\t\tbackground-color: var(--addonify_qv_close_button_background_hover);\r\n\t}\r\n\r\n\tsvg {\r\n\r\n \theight: 14px;\r\n \twidth: 14px;\r\n\t}\r\n}\r\n\r\n/**\r\n*\r\n* Hide quick view button if disabled in mobile view is 'enabled' on the setting page.\r\n*\r\n* @since: 1.2.4\r\n*/\r\n\r\n@media ( max-width: 575px ) {\r\n\r\n\t.addonify-quick-view-disabled-on-mobile {\r\n\r\n\t\t&.woocommerce {\r\n\r\n\t\t\tul.products li.product .button.addonify-qvm-button,\r\n\t\t\tul.products li.product .button.addonify-qvm-button {\r\n\r\n\t\t\t\tdisplay: none;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.addonify-qvm-button {\r\n\r\n\t\t\tdisplay: none;\r\n\t\t}\r\n\t}\r\n}","/* -------------------------------------------------------------------------- \r\n\tWooCommerce light box.\r\n -------------------------------------------------------------------------- */\r\n\r\n.addonify-qvm-is-active {\r\n\r\n &.woocommerce,\r\n &.woocommerce-page {\r\n\r\n .pswp {\r\n\r\n opacity: 1;\r\n z-index: calc( var(--addonify_qv_modal_zindex) + 10 );\r\n\r\n .pswp__bg {\r\n\r\n opacity: 1 !important;\r\n backdrop-filter: blur(10px);\r\n background-color: rgba(0, 0, 0, 1);\r\n }\r\n\r\n img.pswp__img {\r\n\r\n background-color: white;\r\n }\r\n }\r\n }\r\n}","/* -------------------------------------------------------------------------- \r\n\tOverlay\r\n -------------------------------------------------------------------------- */\r\n\r\n#addonify-quick-view-modal-wrapper {\r\n\r\n\t@include flex(column, center, center, null, wrap);\r\n\tposition: fixed;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tbottom: 0;\r\n\tright: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tbackdrop-filter: blur(10px);\r\n\tz-index: calc( var(--addonify_qv_modal_zindex) - 30 );\r\n\tbackground-color: var(--addonify_qv_modal_overlay_background);\r\n\t@include visibility(hidden);\r\n\toverflow: hidden;\r\n\t@include transation_delay(all, 0.3s, ease-in);\r\n}\r\n\r\n.addonify-qvm-is-active {\r\n\r\n #addonify-quick-view-modal-wrapper {\r\n\r\n\t\t@include visibility(visible);\r\n }\r\n}\r\n","/* -------------------------------------------------------------------------- \r\n\tModel spinner\r\n -------------------------------------------------------------------------- */\r\n\r\n#adfy-qvm-spinner {\r\n\r\n\t@include flex(row, center, center, 0, wrap);\r\n\tposition: fixed;\r\n\theight: auto;\r\n\twidth: auto;\r\n\toverflow: hidden;\r\n\tborder-radius: 100%;\r\n\tz-index: calc( var(--addonify_qv_modal_zindex) + 10 );\r\n\t@include visibility(visible);\r\n\t@include position_topnleft();\r\n\r\n &.hide {\r\n\r\n\t\t@include display(none);\r\n\t\t@include visibility(hidden);\r\n\t\tanimation: none;\r\n }\r\n\r\n\tsvg {\r\n\r\n\t\tdisplay: inline-flex;\r\n\t\twidth: var(--addonify_qv_spinner_icon_size);\r\n\t\theight: var(--addonify_qv_spinner_icon_size);\r\n\t\tfill: var(--addonify_qv_modal_spinner_icon_color);\r\n\t\tcolor: var(--addonify_qv_modal_spinner_icon_color);\r\n\t\tline-height: 1;\r\n\t\tanimation-name: AddonifyQuickViewSpin;\r\n\t\tanimation-duration: 800ms;\r\n\t\tanimation-iteration-count: infinite;\r\n\t\tanimation-timing-function: ease-in-out;\r\n\t}\r\n}","/* -------------------------------------------------------------------------- \r\n\tModel Layout - General\r\n -------------------------------------------------------------------------- */\r\n\r\n.woocommerce,\r\n.woocommerce-page {\r\n\r\n #addonify-quick-view-modal {\r\n\r\n .woocommerce {\r\n\r\n .product {\r\n\r\n @include grid();\r\n grid-template-columns: repeat(2, 1fr);\r\n column-gap: 40px;\r\n position: relative;\r\n\r\n &::after,\r\n &::before {\r\n\r\n content: \"\";\r\n display: none;\r\n }\r\n\r\n .onsale {\r\n\r\n display: inline-flex;\r\n align-items: center;\r\n flex-wrap: wrap;\r\n position: absolute;\r\n right: auto;\r\n left: 20px;\r\n top: 20px;\r\n bottom: auto;\r\n z-index: 10;\r\n margin: 0;\r\n padding: 5px 15px;\r\n height: auto;\r\n width: auto;\r\n min-width: 1px;\r\n min-height: 1px;\r\n font-size: var(--addonify_qv_product_onsale_badge_font_size);\r\n line-height: 1;\r\n border-radius: 4px;\r\n color: var(--addonify_qv_product_onsale_badge_text);\r\n background-color: var(--addonify_qv_product_onsale_badge_background);\r\n font-weight: normal;\r\n }\r\n\r\n .images {\r\n\r\n @include flex(column, null, null, 20px);\r\n position: relative;\r\n float: none;\r\n width: 100%;\r\n margin: 0;\r\n padding: 0;\r\n\r\n .woocommerce-product-gallery__trigger {\r\n\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n position: absolute;\r\n top: 20px;\r\n left: auto;\r\n right: 20px;\r\n bottom: auto;\r\n z-index: 10;\r\n margin: 0;\r\n padding: 0;\r\n width: calc( var(--addonify_qv_gallery_trigger_icon_size) + 20px );\r\n height: calc( var(--addonify_qv_gallery_trigger_icon_size) + 20px );\r\n border-radius: 100%;\r\n fill: var(--addonify_qv_gallery_trigger_icon_color);\r\n color: var(--addonify_qv_gallery_trigger_icon_color);\r\n border: none;\r\n box-shadow: none;\r\n background-color: var(--addonify_qv_gallery_trigger_icon_background_color);\r\n\r\n svg {\r\n\r\n display: inline-flex;\r\n width: var(--addonify_qv_gallery_trigger_icon_size);\r\n height: var(--addonify_qv_gallery_trigger_icon_size);\r\n }\r\n\r\n &::before,\r\n &::after {\r\n\r\n content: \"\";\r\n display: none;\r\n }\r\n\r\n &:is(:hover, :focus) {\r\n\r\n border: none;\r\n box-shadow: none;\r\n text-decoration: none;\r\n fill: var(--addonify_qv_gallery_trigger_icon_color_hover);\r\n color: var(--addonify_qv_gallery_trigger_icon_color_hover);\r\n background-color: var(--addonify_qv_gallery_trigger_icon_background_color_hover);\r\n }\r\n\r\n &:is(:focus) {\r\n\r\n outline: none;\r\n }\r\n }\r\n\r\n .flex-viewport {\r\n\r\n position: relative;\r\n padding: 0;\r\n margin: 0;\r\n }\r\n\r\n .woocommerce-product-gallery__wrapper {\r\n\r\n .woocommerce-product-gallery__image {\r\n\r\n position: relative;\r\n overflow: hidden;\r\n \r\n img {\r\n\r\n border-radius: 10px;\r\n border: 1px solid var(--addonify_qv_modal_images_border);\r\n }\r\n }\r\n }\r\n\r\n .flex-control-thumbs {\r\n\r\n @include grid();\r\n grid-template-columns: repeat(4, 1fr);\r\n column-gap: 20px;\r\n row-gap: 20px;\r\n margin: 0;\r\n list-style: none;\r\n padding: 0;\r\n float: none;\r\n\r\n li {\r\n\r\n display: block;\r\n width: 100%;\r\n max-width: 100%;\r\n height: auto;\r\n min-height: 100%;\r\n margin: 0;\r\n padding: 0;\r\n float: none;\r\n clear: none;\r\n overflow: hidden;\r\n border-radius: 3px;\r\n\r\n img {\r\n\r\n display: block;\r\n max-width: 100%;\r\n padding: 0;\r\n border: none;\r\n cursor: pointer;\r\n\r\n &.active {\r\n\r\n padding: 0;\r\n border: none;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n .summary {\r\n\r\n @include flex(column, null, null, 20px);\r\n float: none;\r\n width: 100%;\r\n margin: 0;\r\n padding: 0;\r\n\r\n .summary-content {\r\n\r\n @include flex(column);\r\n margin: 0;\r\n padding: 0;\r\n float: none;\r\n border: none;\r\n\r\n .product_title {\r\n\r\n display: block;\r\n padding: 0;\r\n margin: 0;\r\n color: var(--addonify_qv_product_title);\r\n font-size: var(--adonify_qv_product_title_font_size);\r\n font-weight: var(--adonify_qv_product_title_font_weight);\r\n line-height: var(--adonify_qv_product_title_line_height);\r\n }\r\n\r\n .woocommerce-product-rating {\r\n\r\n @include flex(row, null, null, 10px);\r\n \r\n margin: 10px 0 0 0;\r\n\r\n .star-rating {\r\n \r\n color: var(--addonify_qv_product_rating_filled);\r\n\r\n &::before {\r\n\r\n\t\t\t\t\t color: var(--addonify_qv_product_rating_empty);\r\n\t\t\t\t }\r\n }\r\n\r\n .woocommerce-review-link {\r\n\r\n margin: 0;\r\n color: var(--addonify_qv_product_meta);\r\n\r\n &:is(:hover) {\r\n\r\n color: var(--addonify_qv_product_meta_hover);\r\n }\r\n }\r\n }\r\n\r\n .price {\r\n\r\n @include flex(row, center, stretch, 10px, nowrap);\r\n position: relative;\r\n margin: 20px 0;\r\n padding: 0;\r\n color: var(--addonify_qv_product_price);\r\n font-size: var(--adonify_qv_product_price_font_size);\r\n font-weight: var(--adonify_qv_product_price_font_weight);\r\n line-height: 1;\r\n\r\n ins,\r\n del {\r\n\r\n display: inline-flex;\r\n align-items: center;\r\n flex-wrap: nowrap;\r\n margin: 0;\r\n background: transparent;\r\n background-color: transparent;\r\n }\r\n\r\n del {\r\n\r\n color: var(--addonify_qv_product_price);\r\n font-size: calc( var(--adonify_qv_product_price_font_size) - 30% );\r\n font-weight: normal;\r\n }\r\n\r\n ins {\r\n\r\n font-size: 150%;\r\n font-weight: bold;\r\n color: var(--addonify_qv_product_price_sale);\r\n font-size: var(--adonify_qv_product_price_font_size);\r\n font-weight: var(--adonify_qv_product_price_font_weight);\r\n }\r\n }\r\n\r\n .woocommerce-product-details__short-description {\r\n\r\n margin: 0;\r\n padding: 0;\r\n color: var(--addonify_qv_product_excerpt);\r\n\r\n p {\r\n\r\n margin: 0 0 15px 0;\r\n }\r\n }\r\n\r\n .stock {\r\n\r\n color: var(--addonify_qv_stock_in);\r\n margin: 0 0 15px 0;\r\n\r\n &.out-of-stock {\r\n\r\n color: var(--addonify_qv_stock_out);\r\n }\r\n }\r\n\r\n form {\r\n\r\n @include flex(row, center, null, 10px);\r\n margin: 0 0 30px 0;\r\n padding: 0;\r\n float: none;\r\n\r\n &::before,\r\n &::after {\r\n\r\n content: \"\";\r\n display: none;\r\n }\r\n\r\n label {\r\n\r\n color: var(--addonify_qv_modal_general_text_color);\r\n }\r\n\r\n input::placeholder {\r\n\r\n color: var(--addonify_qv_modal_inputs_text_color);\r\n opacity: 1;\r\n }\r\n\r\n input:-ms-input-placeholder { \r\n\r\n color: var(--addonify_qv_modal_inputs_text_color);\r\n }\r\n\r\n input::-ms-input-placeholder { \r\n\r\n color: var(--addonify_qv_modal_inputs_text_color);\r\n }\r\n\r\n input[type=\"text\"],\r\n input[type=\"number\"] {\r\n\r\n color: var(--addonify_qv_modal_inputs_text_color);\r\n background-color: var(--addonify_qv_modal_inputs_background_color);\r\n }\r\n\r\n select {\r\n\r\n color: var(--addonify_qv_modal_inputs_text_color);\r\n background-color: var(--addonify_qv_modal_inputs_background_color);\r\n }\r\n\r\n .quantity {\r\n\r\n float: none;\r\n width: 110px;\r\n height: 50px;\r\n padding: 0;\r\n margin: 0;\r\n border-radius: 4px;\r\n\r\n &::before,\r\n &::after {\r\n\r\n content: \"\";\r\n display: none;\r\n }\r\n\r\n input[type=\"text\"],\r\n input[type=\"number\"] {\r\n\r\n display: inline-flex;\r\n align-items: center;\r\n width: 110px;\r\n height: 50px;\r\n border-radius: 4px;\r\n }\r\n }\r\n\r\n .button {\r\n\r\n float: none;\r\n margin: 0;\r\n height: 50px;\r\n padding: 0 30px;\r\n }\r\n\r\n }\r\n\r\n .variations {\r\n\r\n\r\n }\r\n\r\n .single_variation_wrap {\r\n\r\n\r\n }\r\n\r\n .product_meta {\r\n\r\n @include flex(column, stretch, stretch, 10px);\r\n margin-top: 30px;\r\n\r\n a {\r\n\r\n color: var(--addonify_qv_product_meta);\r\n\r\n &:hover {\r\n\r\n color: var(--addonify_qv_product_meta_hover);\r\n }\r\n }\r\n }\r\n }\r\n\r\n .button {\r\n\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n flex-wrap: wrap;\r\n height: 50px;\r\n padding: 0 30px;\r\n fill: var(--addonify_qv_misc_button_text);\r\n color: var(--addonify_qv_misc_button_text);\r\n border-radius: 5px;\r\n background-color: var(--addonify_qv_misc_button_background);\r\n @include transation_delay();\r\n\r\n &:is(:hover) {\r\n\r\n fill: var(--addonify_qv_misc_button_text_hover);\r\n color: var(--addonify_qv_misc_button_text_hover);\r\n background-color: var(--addonify_qv_misc_button_background_hover);\r\n }\r\n\r\n &.to-wc-ps-link {\r\n\r\n width: fit-content;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}","/* -------------------------------------------------------------------------- \r\n\tResponsive\r\n -------------------------------------------------------------------------- */\r\n\r\n@media( max-width: 1100px ) {\r\n\r\n\t#addonify-quick-view-modal {\r\n\r\n\t\tmax-width: 95vw;\r\n\t}\r\n}\r\n\r\n@media( max-width: 768px) {\r\n\r\n\t#addonify-quick-view-modal .woocommerce .product {\r\n\r\n\t\tgrid-template-columns: repeat(1, 1fr);\r\n\t\trow-gap: 20px;\r\n\t\tcolumn-gap: 0;\r\n\t}\r\n\r\n\t#addonify-quick-view-modal .woocommerce .product .images,\r\n\t#addonify-quick-view-modal .woocommerce .product .summary {\r\n\r\n\t\tmargin: 0;\r\n\t\tpadding: 0;\r\n\t}\r\n}\r\n\r\n@media( max-width: 575px ) {\r\n\r\n\t#addonify-quick-view-modal {\r\n\r\n\t\tmax-width: 90vw;\r\n\t\theight: 90vh;\r\n\t\tmin-height: 90vh;\r\n\t\tmax-height: 90vh;\r\n\t}\r\n\r\n\t.adfy-quick-view-modal-content {\r\n\r\n\t\tpadding: 30px 20px;\r\n\t}\r\n}","/* -------------------------------------------------------------------------- \r\n\tKeyframe - Spin\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewSpin {\r\n\r\n from {\r\n transform: rotate( 0deg );\r\n }\r\n to {\r\n transform: rotate( 360deg );\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - FadeIn\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewFadeIn {\r\n\r\n from {\r\n opacity: 0;\r\n }\r\n to {\r\n opacity: 1;\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - FadeOut\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewFadeOut {\r\n\r\n from {\r\n opacity: 1;\r\n }\r\n to {\r\n opacity: 0;\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - FadeInUp\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewFadeInUp {\r\n\r\n from {\r\n opacity: 0;\r\n transform: translateY( 100px );\r\n }\r\n to {\r\n opacity: 1;\r\n transform: translateY( 0 );\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - FadeOutDown\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewFadeOutDown {\r\n\r\n from {\r\n opacity: 1;\r\n transform: translateY( 0 );\r\n }\r\n to {\r\n opacity: 0;\r\n transform: translateY( 100px );\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - SlideInLeft\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewSlideInLeft {\r\n\r\n from {\r\n opacity: 0;\r\n transform: translateX( -500px );\r\n }\r\n to {\r\n opacity: 1;\r\n transform: translateX( 0 );\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - SlideOutLeft\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewSlideOutLeft {\r\n\r\n from {\r\n opacity: 1;\r\n transform: translateX( 0 );\r\n }\r\n to {\r\n opacity: 0;\r\n transform: translateX( -500px );\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - SlideInRight\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewSlideInRight {\r\n\r\n from {\r\n opacity: 0;\r\n transform: translateX( 500px );\r\n }\r\n to {\r\n opacity: 1;\r\n transform: translateX( 0 );\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - SlideOutRight\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewSlideOutRight {\r\n\r\n from {\r\n opacity: 1;\r\n transform: translateX( 0 );\r\n }\r\n to {\r\n opacity: 0;\r\n transform: translateX( 500px );\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - bounceIn\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewBounceIn {\r\n\r\n from,\r\n 20%,\r\n 40%,\r\n 60%,\r\n 80%,\r\n to {\r\n animation-timing-function: cubic-bezier( 0.215, 0.610, 0.355, 1.000 );\r\n }\r\n 0% {\r\n opacity: 0;\r\n transform: scale3d( 0.3, 0.3, 0.3 );\r\n }\r\n 20% {\r\n transform: scale3d( 1.1, 1.1, 1.1 );\r\n }\r\n 40% {\r\n transform: scale3d( 0.9, 0.9, 0.9 );\r\n }\r\n 60% {\r\n opacity: 1;\r\n transform: scale3d( 1.03, 1.03, 1.03 );\r\n }\r\n 80% {\r\n transform: scale3d( 0.97, 0.97, 0.97 );\r\n }\r\n to {\r\n opacity: 1;\r\n transform: scale3d( 1, 1, 1 );\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - bounceOut\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewBounceOut {\r\n\r\n 20% {\r\n transform: scale3d( 0.9, 0.9, 0.9 );\r\n }\r\n 50%,\r\n 55% {\r\n opacity: 1;\r\n transform: scale3d( 1.1, 1.1, 1.1 );\r\n }\r\n to {\r\n opacity: 0;\r\n transform: scale3d( 0.3, 0.3, 0.3 );\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - zoomIn\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewZoomIn {\r\n\r\n from {\r\n opacity: 0;\r\n transform: scale3d( 0.3, 0.3, 0.3 );\r\n }\r\n 50% {\r\n opacity: 1;\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n Keyframe - zoomOut\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewZoomOut {\r\n\r\n from {\r\n opacity: 1;\r\n }\r\n 50% {\r\n opacity: 0;\r\n transform: scale3d( 0.3, 0.3, 0.3 );\r\n }\r\n to {\r\n opacity: 0;\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n Keyframe - Swing\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewSwing {\r\n\r\n 20% {\r\n transform: rotate3d( 0, 0, 1, 15deg );\r\n }\r\n 40% {\r\n transform: rotate3d( 0, 0, 1, -10deg );\r\n }\r\n 60% {\r\n transform: rotate3d( 0, 0, 1, 5deg );\r\n }\r\n 80% {\r\n transform: rotate3d( 0, 0, 1, -5deg );\r\n }\r\n to {\r\n transform: rotate3d( 0, 0, 1, 0deg );\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n Keyframe - Jello\r\n -------------------------------------------------------------------------- */\r\n\r\n@keyframes AddonifyQuickViewJello {\r\n\r\n 0%,\r\n 11.1% {\r\n transform: none;\r\n }\r\n 22.2% {\r\n transform: skewX( -12.5deg ) skewY( -12.5deg );\r\n }\r\n 33.3% {\r\n transform: skewX( 6.25deg ) skewY( 6.25deg );\r\n }\r\n 44.4% {\r\n transform: skewX( -3.125deg ) skewY( -3.125deg );\r\n }\r\n 55.5% {\r\n transform: skewX( 1.5625deg ) skewY( 1.5625deg );\r\n }\r\n 66.6% {\r\n transform: skewX( -0.78125deg ) skewY( -0.78125deg );\r\n }\r\n 77.7% {\r\n transform: skewX( 0.390625deg ) skewY( 0.390625deg );\r\n }\r\n 88.8% {\r\n transform: skewX( -0.1953125deg ) skewY( -0.1953125deg );\r\n }\r\n to {\r\n transform: none;\r\n }\r\n}\r\n\r\n/* -------------------------------------------------------------------------- \r\n\tKeyframe - rubberBand\r\n -------------------------------------------------------------------------- */\r\n@keyframes AddonifyQuickViewRubberBand {\r\n\r\n from {\r\n transform: scale3d( 1, 1, 1 );\r\n }\r\n 30% {\r\n transform: scale3d( 1.25, 0.75, 1 );\r\n }\r\n 40% {\r\n transform: scale3d( 0.75, 1.25, 1 );\r\n }\r\n 50% {\r\n transform: scale3d( 1.15, 0.85, 1 );\r\n }\r\n 65% {\r\n transform: scale3d( 0.95, 1.05, 1 );\r\n }\r\n 75% {\r\n transform: scale3d( 1.05, 0.95, 1 );\r\n }\r\n to {\r\n transform: scale3d( 1, 1, 1 );\r\n }\r\n}"]} \ No newline at end of file diff --git a/public/assets/build/js/addonify-quick-view.min.js b/public/assets/build/js/addonify-quick-view.min.js index 8afb035..a4a2491 100644 --- a/public/assets/build/js/addonify-quick-view.min.js +++ b/public/assets/build/js/addonify-quick-view.min.js @@ -1 +1 @@ -!function(i){"use strict";const o={loadOnReady:function(){this.handleQuickViewButtonEvents(),this.handleCloseButtonEvents(),this.initPerfectScrollbar()},loadOnScroll:function(){},loadOnResize:function(){},handleQuickViewButtonEvents:function(){i("body").on("click",".addonify-qvm-button",function(e){e.preventDefault(),o.hydrateModalContent(parseInt(i(this).data("product_id"))),t.open()})},handleCloseButtonEvents:function(){i("body").on("click","#addonify-qvm-close-button",function(e){e.preventDefault(),t.animate()}),i(document).keyup(function(e){27===e.keyCode&&t.animate()}),i("#addonify-quick-view-modal-wrapper").css("cursor","pointer"),i("body").on("click","#addonify-quick-view-modal-wrapper",function(e){"addonify-quick-view-modal-wrapper"===e.target.id&&t.animate()})},setSpinner:function(e){var o=i("#adfy-qvm-spinner");"show"===e?o.removeClass("hide"):o.addClass("hide")},hydrateModalContent:function(e){let n=i("#addonify-quick-view-modal #adfy-quick-view-modal-content");if(o.setSpinner("show"),i(n).html(" "),!e)throw new Error("Addonify Quick View: Product id is not supplied!");i.ajax({type:"GET",url:addonifyQuickViewPublicScriptObject.ajaxURL,contentType:"application/json; charset=utf-8",data:{action:addonifyQuickViewPublicScriptObject.quickViewAction,product_id:e,nonce:addonifyQuickViewPublicScriptObject.nonce},success:function(e){var o;e.success?e.success&&(i(n).html(e.data),t.modalContentLoaded(e.data),0<(o=i(n).find(".variations_form")).length&&(o.each(function(){i(this).wc_variation_form()}),o.trigger("check_variations"),o.trigger("reset_image")),0<(o=i("#addonify-quick-view-modal .woocommerce-product-gallery")).length)&&o.each(function(){i(this).wc_product_gallery()}):console.warn(e.message)},error:function(e){console.error("Addonify Quick View - error loading modal content!"),console.log(e)},complete:function(){o.renderWooCommerceGalleryTriggerIcon(),o.setSpinner("hide")}})},initPerfectScrollbar:function(){var e;"function"==typeof PerfectScrollbar?(e=document.getElementById("addonify-quick-view-modal"))&&new PerfectScrollbar(e,{wheelSpeed:1,wheelPropagation:!0,minScrollbarLength:20}):console.warn("Addonify Quick View: PerfectScrollbar is not defined. Perfect scroll bar won't be initialized.")},renderWooCommerceGalleryTriggerIcon:function(){var e=i("#addonify-quick-view-modal .woocommerce-product-gallery__trigger");console.log("renderWooCommerceGalleryTriggerIcon fn invoked!"),0'))}},t={open:function(){i("body").addClass("addonify-qvm-is-active"),i(document).trigger("addonifyQuickViewModalOpened"),document.dispatchEvent(new CustomEvent("addonifyQuickViewModalOpened"))},close:function(){i("body").removeClass("addonify-qvm-is-active"),i(document).trigger("addonifyQuickViewModalClosed"),document.dispatchEvent(new CustomEvent("addonifyQuickViewModalClosed"))},animate:function(){let e=null,o=null,n=i("#addonify-quick-view-modal-wrapper");n.removeClass("play-opening-animation"),n.addClass("play-closing-animation"),clearTimeout(o),o=setTimeout(()=>{this.close(),n.removeClass("play-closing-animation"),clearTimeout(o)},800),clearTimeout(e),e=setTimeout(()=>{n.addClass("play-opening-animation"),clearTimeout(e)},1200)},modalContentLoaded:function(e){e={content:e};i(document).trigger("addonifyQuickViewModalContentLoded",[e]),document.dispatchEvent(new CustomEvent("addonifyQuickViewModalContentLoded",{detail:e}))}};i(document).ready(function(){o.loadOnReady()}),i(window).on("scroll",function(){o.loadOnScroll()}),i(window).on("resize",function(){o.loadOnResize()})}(jQuery); \ No newline at end of file +!function(i){"use strict";const o=addonifyQuickViewPublicScriptObject.animateModelOnClose,e=addonifyQuickViewPublicScriptObject.closeModalOnEscClicked,n=addonifyQuickViewPublicScriptObject.closeModelOnOutsideClicked,t=addonifyQuickViewPublicScriptObject.enableWcGalleryLightBox,a={loadOnReady:function(){this.handleQuickViewButtonEvents(),this.handleCloseButtonEvents(),this.initPerfectScrollbar()},loadOnScroll:function(){},loadOnResize:function(){},handleQuickViewButtonEvents:function(){i("body").on("click",".addonify-qvm-button",function(e){e.preventDefault(),a.hydrateModalContent(parseInt(i(this).data("product_id"))),c.open()})},handleCloseButtonEvents:function(){i("body").on("click","#addonify-qvm-close-button",function(e){e.preventDefault(),o?c.animate():c.close()}),e&&i(document).keyup(function(e){27===e.keyCode&&(o?c.animate():c.close())}),n&&(i("#addonify-quick-view-modal-wrapper").css("cursor","pointer"),i("body").on("click","#addonify-quick-view-modal-wrapper",function(e){"addonify-quick-view-modal-wrapper"===e.target.id&&(o?c.animate():c.close())}))},setSpinner:function(e){var o=i("#adfy-qvm-spinner");"show"===e?o.removeClass("hide"):o.addClass("hide")},hydrateModalContent:function(e){let n=i("#addonify-quick-view-modal #adfy-quick-view-modal-content");if(a.setSpinner("show"),i(n).html(" "),!e)throw new Error("Addonify Quick View: Product id is not supplied!");i.ajax({type:"GET",url:addonifyQuickViewPublicScriptObject.ajaxURL,contentType:"application/json; charset=utf-8",data:{action:addonifyQuickViewPublicScriptObject.quickViewAction,product_id:e,nonce:addonifyQuickViewPublicScriptObject.nonce},success:function(e){var o;e.success?e.success&&(i(n).html(e.data),c.modalContentLoaded(e.data),0<(o=i(n).find(".variations_form")).length&&(o.each(function(){i(this).wc_variation_form()}),o.trigger("check_variations"),o.trigger("reset_image")),0<(o=i("#addonify-quick-view-modal .woocommerce-product-gallery")).length)&&o.each(function(){i(this).wc_product_gallery()}):console.warn(e.message)},error:function(e){console.error("Addonify Quick View - error loading modal content!"),console.log(e)},complete:function(){t&&a.renderWooCommerceGalleryTriggerIcon(),a.setSpinner("hide")}})},initPerfectScrollbar:function(){var e;"function"==typeof PerfectScrollbar?(e=document.getElementById("addonify-quick-view-modal"))&&new PerfectScrollbar(e,{wheelSpeed:1,wheelPropagation:!0,minScrollbarLength:20}):console.warn("Addonify Quick View: PerfectScrollbar is not defined. Perfect scroll bar won't be initialized.")},renderWooCommerceGalleryTriggerIcon:function(){var e=i("#addonify-quick-view-modal .woocommerce-product-gallery__trigger");0'))}},c={open:function(){i("body").addClass("addonify-qvm-is-active"),i(document).trigger("addonifyQuickViewModalOpened"),document.dispatchEvent(new CustomEvent("addonifyQuickViewModalOpened"))},close:function(){i("body").removeClass("addonify-qvm-is-active"),i(document).trigger("addonifyQuickViewModalClosed"),document.dispatchEvent(new CustomEvent("addonifyQuickViewModalClosed"))},animate:function(){let e=null,o=null,n=i("#addonify-quick-view-modal-wrapper");n.removeClass("play-opening-animation"),n.addClass("play-closing-animation"),clearTimeout(o),o=setTimeout(()=>{this.close(),n.removeClass("play-closing-animation"),clearTimeout(o)},800),clearTimeout(e),e=setTimeout(()=>{n.addClass("play-opening-animation"),clearTimeout(e)},1200)},modalContentLoaded:function(e){e={content:e};i(document).trigger("addonifyQuickViewModalContentLoded",[e]),document.dispatchEvent(new CustomEvent("addonifyQuickViewModalContentLoded",{detail:e}))}};i(document).ready(function(){a.loadOnReady()}),i(window).on("scroll",function(){a.loadOnScroll()}),i(window).on("resize",function(){a.loadOnResize()})}(jQuery); \ No newline at end of file diff --git a/public/assets/src/js/custom/public-scripts.js b/public/assets/src/js/custom/public-scripts.js index 9c78a09..3018a41 100644 --- a/public/assets/src/js/custom/public-scripts.js +++ b/public/assets/src/js/custom/public-scripts.js @@ -2,9 +2,10 @@ 'use strict'; - const animateModelOnClose = true; // NEW - const closeModalOnEscClicked = true; // NEW - const closeModelOnOutsideClicked = true; // NEW + const animateModelOnClose = addonifyQuickViewPublicScriptObject.animateModelOnClose; // NEW + const closeModalOnEscClicked = addonifyQuickViewPublicScriptObject.closeModalOnEscClicked; // NEW + const closeModelOnOutsideClicked = addonifyQuickViewPublicScriptObject.closeModelOnOutsideClicked; // NEW + const enableWcGalleryLightBox = addonifyQuickViewPublicScriptObject.enableWcGalleryLightBox; /** * Main object for addonify quick view modal. @@ -104,7 +105,7 @@ } // close quick view modal when outside modal is clicked. - if (closeModalOnEscClicked) { + if (closeModelOnOutsideClicked) { // set cursor to pointer. $('#addonify-quick-view-modal-wrapper').css('cursor', 'pointer'); @@ -227,7 +228,10 @@ complete: function () { // render trigger icon for WooCommerce gallery. - addonifyQuickView.renderWooCommerceGalleryTriggerIcon(); + if (enableWcGalleryLightBox) { + + addonifyQuickView.renderWooCommerceGalleryTriggerIcon(); + } // hide loading state. addonifyQuickView.setSpinner('hide'); @@ -285,12 +289,8 @@ let triggerEle = $('#addonify-quick-view-modal .woocommerce-product-gallery__trigger'); - console.log('renderWooCommerceGalleryTriggerIcon fn invoked!'); - if (triggerEle.length > 0) { - console.log('Found WooCommerce gallery trigger icon!'); - triggerEle.html(" "); triggerEle.html(icon); } diff --git a/public/assets/src/scss/abstracts/_variables.scss b/public/assets/src/scss/abstracts/_variables.scss index 039bfbd..8b479c1 100644 --- a/public/assets/src/scss/abstracts/_variables.scss +++ b/public/assets/src/scss/abstracts/_variables.scss @@ -11,7 +11,6 @@ --addonify_qv_modal_inputs_background_color: rgba(255, 255, 255, 1); --addonify_qv_modal_inputs_text_color: rgba(51, 51, 51, 1); - --addonify_qv_modal_border_radius: 10px; // NEW --addonify_qv_modal_zindex: 10000000000000000; // NEW diff --git a/public/class-addonify-quick-view-public.php b/public/class-addonify-quick-view-public.php index e881a6b..6eb45ec 100644 --- a/public/class-addonify-quick-view-public.php +++ b/public/class-addonify-quick-view-public.php @@ -227,8 +227,18 @@ public function enqueue_scripts() { 'addonify-quick-view-public', 'addonifyQuickViewPublicScriptObject', array( - 'ajaxURL' => esc_url( admin_url( 'admin-ajax.php' ) ), - 'quickViewAction' => 'get_quick_view_contents', + 'ajaxURL' => esc_url( admin_url( 'admin-ajax.php' ) ), + + 'quickViewAction' => 'get_quick_view_contents', + + 'animateModelOnClose' => addonify_quick_view_get_settings_fields_values( 'modal_closing_animation' ) === 'none' ? false : true, + + 'closeModalOnEscClicked' => addonify_quick_view_get_settings_fields_values( 'close_modal_when_esc_pressed' ) === '1' ? true : false, + + 'closeModelOnOutsideClicked' => addonify_quick_view_get_settings_fields_values( 'close_modal_when_clicked_outside' ) === '1' ? true : false, + + 'enableWcGalleryLightBox' => (int) addonify_quick_view_get_settings_fields_values( 'enable_lightbox' ) === 1 ? true : false, + 'nonce' => wp_create_nonce( 'addonify_quick_view_nonce' ), ) ); diff --git a/public/template-functions.php b/public/template-functions.php index ebeb97d..85e70b9 100644 --- a/public/template-functions.php +++ b/public/template-functions.php @@ -164,6 +164,30 @@ function addonify_quick_view_content_template( $product_id ) { add_action( 'addonify_quick_view_content', 'addonify_quick_view_content_template' ); +/** + * Return the name of the modal animation. + * + * @since 1.2.8 + * @param string action. Opening or closing. + */ +function addonify_quick_view_get_modal_animation( $action ) { + + if ( $action === '') { + + return 'none'; + } + + if ( $action === 'opening' ) { + + return addonify_quick_view_get_settings_fields_values( 'modal_opening_animation' ) ? addonify_quick_view_get_settings_fields_values( 'modal_opening_animation' ) : 'jello'; + } + + if ( $action === 'closing' ) { + + return addonify_quick_view_get_settings_fields_values( 'modal_closing_animation' ) ? addonify_quick_view_get_settings_fields_values( 'modal_closing_animation' ) : 'bounce-out'; + } +} + diff --git a/public/templates/addonify-quick-view-content-wrapper.php b/public/templates/addonify-quick-view-content-wrapper.php index 341d773..f71640f 100644 --- a/public/templates/addonify-quick-view-content-wrapper.php +++ b/public/templates/addonify-quick-view-content-wrapper.php @@ -21,9 +21,9 @@