index of
/
home
/
thefkyzp
/
hulmvisaadvisor.com
/
wp-content
/
plugins
/
surecart
/
dist
/
File: /home/thefkyzp/hulmvisaadvisor.com/wp-content/plugins/surecart/dist/2842.js
"use strict";(self.webpackChunk_surecart_surecart=self.webpackChunk_surecart_surecart||[]).push([[2842],{1494:function(i,t,e){e.d(t,{o:function(){return n}});var o=e(8860),n=function(i,t,e){void 0===e&&(e=!0);var n="Function"===i.constructor.name?i.prototype:i,r=n.componentWillLoad;n.componentWillLoad=function(){var i,n=this,s=(0,o.a)(this),a={promise:new Promise((function(t){i=t})),resolve:i},l=new CustomEvent("openWormhole",{bubbles:!0,composed:!0,detail:{consumer:this,fields:t,updater:function(i,t){(i in s?s:n)[i]=t},onOpen:a}});s.dispatchEvent(l);var h=function(){if(r)return r.call(n)};return e?a.promise.then((function(){return h()})):h()}}},2842:function(i,t,e){e.r(t),e.d(t,{sc_order_password:function(){return c}});var o=e(5861),n=e(5671),r=e(3144),s=e(1284),a=e.n(s),l=e(8860),h=e(1494),c=function(){function i(t){(0,n.Z)(this,i),(0,l.r)(this,t),this.loggedIn=void 0,this.size="medium",this.value="",this.pill=!1,this.label=void 0,this.showLabel=!0,this.help="",this.placeholder=void 0,this.disabled=!1,this.readonly=!1,this.required=!1,this.autofocus=void 0,this.emailExists=void 0,this.confirmation=!1,this.confirmationLabel=void 0,this.confirmationPlaceholder=void 0,this.confirmationHelp=void 0,this.enableValidation=!0}var t;return(0,r.Z)(i,[{key:"reportValidity",value:(t=(0,o.Z)(a().mark((function i(){var t,e;return a().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.abrupt("return",null===(e=null===(t=this.input)||void 0===t?void 0:t.reportValidity)||void 0===e?void 0:e.call(t));case 1:case"end":return i.stop()}}),i,this)}))),function(){return t.apply(this,arguments)})},{key:"render",value:function(){var i=this;return this.loggedIn?(0,l.h)(l.H,{style:{display:"none"}}):(0,l.h)("sc-password",{label:this.label,"aria-label":this.label,help:this.help,autofocus:this.autofocus,placeholder:this.placeholder,showLabel:this.showLabel,size:this.size?this.size:"medium",name:"password",ref:function(t){return i.input=t},value:this.value,required:this.required,disabled:this.disabled,enableValidation:this.enableValidation,confirmationHelp:this.confirmationHelp,confirmationLabel:this.confirmationLabel,confirmationPlaceholder:this.confirmationPlaceholder,confirmation:this.confirmation})}}]),i}();(0,h.o)(c,["loggedIn","emailExists"],!1),c.style=":host{display:block}.password{display:grid;gap:var(--sc-form-row-spacing, 0.75em)}.password__hint{padding-top:0.36rem;color:red}"}}]);