(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4b11130b"],{"0747":function(t,e,a){"use strict";a("e961")},"08bf":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAQAAABLCVATAAAAc0lEQVR4Ae3UpwJAUABAUfuLdYq9mqZpkubTNLOb13b1423h7501bmPsR8Qmbfr0/VDeNAwlkVRBUTJJlRSlkFRFUdpCqjFnP7upF1DNunQKMpmpBcxi72IUiikJRqaY4kaMRDE5wAxvdgYwY00CMLfsrwWMoGAzSn+5BgAAAABJRU5ErkJggg=="},"0b72":function(t,e,a){},"32ea":function(t,e,a){},"4c36":function(t,e,a){},"4f58":function(t,e,a){"use strict";a("0b72")},5161:function(t,e,a){"use strict";a("d74c")},"564c":function(t,e,a){"use strict";a("4c36")},"6c96":function(t,e,a){"use strict";a("946e")},"6db7":function(t,e,a){t.exports=a.p+"assets/img/fieo.bb2a32a9.png"},"7ad9":function(t,e,a){"use strict";a("9f23")},"7db0":function(t,e,a){"use strict";var s=a("23e7"),n=a("b727").find,i=a("44d2"),r="find",o=!0;r in[]&&Array(1)[r]((function(){o=!1})),s({target:"Array",proto:!0,forced:o},{find:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}}),i(r)},"7dc1":function(t,e,a){"use strict";var s=function(){var t=this,e=t._self._c;return e("div",[t.isWebScreen?e("div",[e("b-modal",{ref:"popup-modal",attrs:{centered:"","hide-footer":"","hide-header":"","body-class":"p-0","content-class":"border-0"}},[e("PopupContent",{on:{hideModal:t.hideModal}})],1)],1):t.show?e("div",[e("PopupContent",{attrs:{isMobileScreen:!t.isWebScreen},on:{hideModal:t.hideModal}})],1):t._e()])},n=[],i=(a("caad"),a("b0c0"),a("a4d3"),a("e01a"),a("2532"),function(){var t=this,e=t._self._c;return e("div",[e("b-card",{staticClass:"border-0 p-0",class:{"fixed-bottom wrapper":t.isMobileScreen,"hiding-popup":t.shouldHideOnMobile}},[e("b-card-img",{staticClass:"border-0 d-none d-sm-block max-img-height",attrs:{src:t.categoryModal.imageUrl||a("de0b"),alt:"India's Export Data",top:""}}),e("b-card-body",{staticClass:"p-4"},[e("div",{staticClass:"card-heading"},[t._v(" "+t._s(t.categoryModal.title||"Get Fast Access to Cash without Collateral")+" ")]),e("b-card-text",{staticClass:"sub-text"},[t._v(" "+t._s(t.categoryModal.description||"Instant Disbursal | High Credit Limit | Lowest Rates | Paperless | Transparent")+" ")]),e("b-button",{attrs:{variant:"outline-primary"},on:{click:t.hideModal}},[t._v(" Not Now ")]),(t.$route.path.includes("/us-customs-import-duty")||t.$route.path.includes("/hts-code"),e("b-button",{staticClass:"ml-4",attrs:{href:t.getQuoteUrl,variant:"secondary"},on:{click:t.hideModal}},[t._v(" Get Quote ")]))],1)],1)],1)}),r=[],o=a("5530"),c=(a("99af"),a("7db0"),a("e9f5"),a("f665"),a("d3b7"),{data:function(){return{shouldHideOnMobile:!1,categoryModal:{}}},props:["isMobileScreen"],computed:{getQuoteUrl:function(){var t="https://www.dripcapital.com/en-us/apply",e=localStorage.getItem("landingPageURL");return e?"".concat(t,"?landing_page_url=").concat(encodeURIComponent(e)):t}},methods:{hideModal:function(){this.isMobileScreen?this.shouldHideOnMobile=!0:this.$emit("hideModal")}},mounted:function(){for(var t=this,e=["".concat("/hsn-code/","modalImages/automotivePartsAutomotive.webp"),"".concat("/hsn-code/","modalImages/clothing.webp"),"".concat("/hsn-code/","modalImages/constructionMaterials.webp"),"".concat("/hsn-code/","modalImages/electronics.webp"),"".concat("/hsn-code/","modalImages/ironSteelArticles.webp"),"".concat("/hsn-code/","modalImages/machinery.webp"),"".concat("/hsn-code/","modalImages/plasticProducts.webp"),"".concat("/hsn-code/","modalImages/printsStationery.webp"),"".concat("/hsn-code/","modalImages/woodFurnitureFittings.webp")],a=0;a<e.length;a++){var s=document.createElement("link");s.rel="preload",s.as="image",s.href=e[a],document.head.appendChild(s)}if(["searchResults","hsCode"].includes(this.$route.name)){var n=this.$store.state.app.hsnUrls,i=this.$store.state.app.modalCategories,r=n.find((function(e){return e.url.toLowerCase().indexOf(t.$route.fullPath.toLowerCase())>-1}));if(r){var c=i.find((function(t){return t.title&&t.category===r.category}));c&&(this.categoryModal=Object(o["a"])(Object(o["a"])({},c),{},{imageUrl:"".concat("/hsn-code/","modalImages/").concat(c.imageUrl)}))}}}}),l=c,u=(a("e0b5"),a("2877")),d=Object(u["a"])(l,i,r,!1,null,"4493f5e6",null),p=d.exports,h={props:["searchQuery"],data:function(){return{isWebScreen:window.innerWidth>576,show:!1}},methods:{showModal:function(){this.$refs["popup-modal"]?this.$refs["popup-modal"].show():this.show=!0},hideModal:function(){this.$refs["popup-modal"]?this.$refs["popup-modal"].hide():this.show=!1}},components:{PopupContent:p},watch:{searchQuery:{handler:function(t,e){var a=this;t!==e&&setTimeout((function(){a.showModal()}),1e4)}}},mounted:function(){var t=this;setTimeout((function(){["searchResults","hsCode"].includes(t.$route.name)||t.$store.state.app.initalModalShown?["searchResults","hsCode"].includes(t.$route.name)&&t.showModal():(t.$store.dispatch("app/initialModalShown"),t.showModal())}),1e4)}},f=h,m=(a("5161"),Object(u["a"])(f,s,n,!1,null,"1c57ecc9",null));e["a"]=m.exports},"834e":function(t,e,a){t.exports=a.p+"assets/img/wells-fargo.b8db6088.png"},"85b4":function(t,e,a){},"946e":function(t,e,a){},"99af":function(t,e,a){"use strict";var s=a("23e7"),n=a("d039"),i=a("e8b5"),r=a("861d"),o=a("7b0b"),c=a("07fa"),l=a("3511"),u=a("8418"),d=a("65f0"),p=a("1dde"),h=a("b622"),f=a("1212"),m=h("isConcatSpreadable"),b=f>=51||!n((function(){var t=[];return t[m]=!1,t.concat()[0]!==t})),g=function(t){if(!r(t))return!1;var e=t[m];return void 0!==e?!!e:i(t)},v=!b||!p("concat");s({target:"Array",proto:!0,arity:1,forced:v},{concat:function(t){var e,a,s,n,i,r=o(this),p=d(r,0),h=0;for(e=-1,s=arguments.length;e<s;e++)if(i=-1===e?r:arguments[e],g(i))for(n=c(i),l(h+n),a=0;a<n;a++,h++)a in i&&u(p,h,i[a]);else l(h+1),u(p,h++,i);return p.length=h,p}})},"9f23":function(t,e,a){},a9fc:function(t,e,a){t.exports=a.p+"assets/img/EEPC.21cb49b9.png"},ad92:function(t,e,a){},b0c0:function(t,e,a){"use strict";var s=a("83ab"),n=a("5e77").EXISTS,i=a("e330"),r=a("edd0"),o=Function.prototype,c=i(o.toString),l=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u=i(l.exec),d="name";s&&!n&&r(o,d,{configurable:!0,get:function(){try{return u(l,c(this))[1]}catch(t){return""}}})},bb51:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t._self._c;return e("div",[t.$consentManager.getConsentValue("preference")?e("pop-up"):t._e(),e("main-jumbotron",{scopedSlots:t._u([{key:"heading",fn:function(){return[e("b-row",{attrs:{"align-h":"center"}},[e("b-col",{attrs:{cols:12,lg:10}},[e("h1",{staticClass:"jumbotron-mainheading mt-0"},[t._v(" "+t._s(t.landingPageData.h1)+" ")]),e("h3",{staticClass:"jumbotron-subheading text-muted"},[t._v(" "+t._s(t.landingPageData.subtext)+" ")])])],1)]},proxy:!0}])}),e("b-container",{staticClass:"product-content",attrs:{id:"overview"}},[e("b-row",{staticClass:"justify-content-md-center question-container"},[e("b-col",[t.contentfulData?e("div",[e("question-card",{attrs:{landingPageData:t.landingPageData.landingData,"hero-image":t.landingPageData.heroImage.fields}})],1):t._e()])],1),e("div",{staticClass:"product-banner"},[e("b-row",[e("b-col",{staticClass:"text-center text-lg-left",attrs:{cols:12,lg:8}},[e("div",{staticClass:"h3"},[t._v(" Receive cash advance against your trade receivables ")])]),e("b-col",{staticClass:"d-flex flex-column flex-lg-row align-items-center justify-content-end",attrs:{cols:12,lg:4}},[e("button-arrow",{staticClass:"btn-lg",attrs:{variant:"secondary"},nativeOn:{click:function(e){return t.applyNow.apply(null,arguments)}}},[t._v(" Apply now ")])],1)],1)],1),e("quick-facts"),e("our-partners"),e("conclusion")],1)],1)},n=[],i=a("eec1"),r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"blog-landing-wrapper"},[e("div",{domProps:{innerHTML:t._s(t.pageData)}})])},o=[],c=(a("99af"),{"":["<em>","</em>"],_:["<strong>","</strong>"],"*":["<strong>","</strong>"],"~":["<s>","</s>"],"\n":["<br />"]," ":["<br />"],"-":["<hr />"]});function l(t){return t.replace(RegExp("^"+(t.match(/^(\t| )+/)||"")[0],"gm"),"")}function u(t){return(t+"").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function d(t,e){var a,s,n,i,r,o=/((?:^|\n+)(?:\n---+|\* \*(?: \*)+)\n)|(?:^``` *(\w*)\n([\s\S]*?)\n```$)|((?:(?:^|\n+)(?:\t|  {2,}).+)+\n*)|((?:(?:^|\n)([>*+-]|\d+\.)\s+.*)+)|(?:!\[([^\]]*?)\]\(([^)]+?)\))|(\[)|(\](?:\(([^)]+?)\))?)|(?:(?:^|\n+)([^\s].*)\n(-{3,}|={3,})(?:\n+|$))|(?:(?:^|\n+)(#{1,6})\s*(.+)(?:\n+|$))|(?:`([^`].*?)`)|(  \n\n*|\n{2,}|__|\*\*|[_*]|~~)/gm,p=[],h="",f=e||{},m=0;function b(t){var e=c[t[1]||""],a=p[p.length-1]==t;return e?e[1]?(a?p.pop():p.push(t),e[0|a]):e[0]:t}function g(){for(var t="";p.length;)t+=b(p[p.length-1]);return t}for(t=t.replace(/^\[(.+?)\]:\s*(.+)$/gm,(function(t,e,a){return f[e.toLowerCase()]=a,""})).replace(/^\n+|\n+$/g,"");n=o.exec(t);)s=t.substring(m,n.index),m=o.lastIndex,a=n[0],s.match(/[^\\](\\\\)*\\$/)||((r=n[3]||n[4])?a='<pre class="code '+(n[4]?"poetry":n[2].toLowerCase())+'"><code'+(n[2]?' class="language-'+n[2].toLowerCase()+'"':"")+">"+l(u(r).replace(/^\n+|\n+$/g,""))+"</code></pre>":(r=n[6])?(r.match(/\./)&&(n[5]=n[5].replace(/^\d+/gm,"")),i=d(l(n[5].replace(/^\s*[>*+.-]/gm,""))),">"==r?r="blockquote":(r=r.match(/\./)?"ol":"ul",i=i.replace(/^(.*)(\n|$)/gm,"<li>$1</li>")),a="<"+r+">"+i+"</"+r+">"):n[8]?a='<img src="'+u(n[8])+'" alt="'+u(n[7])+'">':n[10]?(h=h.replace("<a>",'<a href="'+u(n[11]||f[s.toLowerCase()])+'">'),a=g()+"</a>"):n[9]?a="<a>":n[12]||n[14]?a="<"+(r="h"+(n[14]?n[14].length:n[13]>"="?1:2))+">"+d(n[12]||n[15],f)+"</"+r+">":n[16]?a="<code>"+u(n[16])+"</code>":(n[17]||n[1])&&(a=b(n[17]||"--"))),h+=s,h+=a;return(h+t.substring(m)+g()).replace(/^\n+|\n+$/g,"")}var p={props:{landingPageData:{type:String,default:""},heroImage:{type:Object,default:function(){}}},computed:{pageData:function(){return this.template+d(this.landingPageData)},template:function(){return'<div class="blog-landing-img-wrapper"><img width="100%" src="'.concat(this.heroImage.file.url,'" alt="').concat(this.heroImage.title,'"></div>')}}},h=p,f=(a("6c96"),a("2877")),m=Object(f["a"])(h,r,o,!1,null,"2017dc78",null),b=m.exports,g=a("e76e"),v=function(){var t=this,e=t._self._c;return e("b-container",{staticClass:"quick-facts"},[e("b-row",[e("b-col",{staticClass:"text-center text-lg-left",attrs:{cols:12}},[e("h3",{staticClass:"product-pages-title"},[t._v("Quick Facts on Drip Capital")])])],1),e("b-row",[e("b-col",{attrs:{cols:12}},[e("success")],1)],1)],1)},C=[],w=function(){var t=this,e=t._self._c;return e("page-section",{staticClass:"light p-0",attrs:{"section-class":"partner-success-section"}},[e("b-row",t._l(t.stats,(function(a,s){return e("b-col",{key:s,attrs:{cols:12,lg:3}},[e("div",{staticClass:"success-card text-center"},[e("span",{staticClass:"stat-number stat-title font-weight-bold"},[t._v(t._s(a.number))]),e("p",{staticClass:"sec-line mt-1 mb-0"},[t._v(t._s(a.text))])])])})),1)],1)},y=[],_=function(){var t=this,e=t._self._c;return e("section",{staticClass:"bg-white"},[t._t("default")],2)},x=[],k={name:"page-section"},A=k,S=Object(f["a"])(A,_,x,!1,null,null,null),O=S.exports,M={data:function(){return{stats:[{number:"$9 Billion+",text:"Trade Financed"},{number:"11,000+ Customers",text:"Exporters and Importers"},{number:"100+ Countries",text:"Trade Routes"},{number:"2 Offices",text:"Global Offices"}]}},components:{PageSection:O}},P=M,D=(a("f32f"),Object(f["a"])(P,w,y,!1,null,"3fb3a429",null)),$=D.exports,j={components:{Success:$}},R=j,Q=(a("7ad9"),Object(f["a"])(R,v,C,!1,null,"09998d1a",null)),E=Q.exports,I=function(){var t=this,e=t._self._c;return e("section",{staticClass:"news-section"},[e("b-container",{attrs:{fluid:""}},[e("b-row",[e("b-col",{staticClass:"text-center text-lg-left"},[e("h3",{staticClass:"news-section-title"},[t._v("Our Partners")])])],1),e("slick",{ref:"slick",staticClass:"press-slider text-center",attrs:{id:"quote-slider",options:t.slickOptions}},t._l(t.partners,(function(t,s){return e("div",{key:s,staticClass:"press-slide"},[e("b-img",{staticClass:"logo-tc img-fluid m-auto d-inline",attrs:{src:a("c47d")("./".concat(t.slug)),alt:t.alt,height:t.height,width:t.width||"auto"}})],1)})),0)],1)],1)},q=[],U=a("7ecd"),T={components:{Slick:U["a"]},data:function(){return{slickOptions:{infinite:!0,arrows:!0,autoplay:!0,autoplaySpeed:4e3,speed:300,prevArrow:'<a class="slick-arrow prev-arrow"></a>',nextArrow:'<a class="slick-arrow next-arrow"></a>',slidesToShow:3,responsive:[{breakpoint:992,settings:{arrows:!1,slidesToShow:1,slidesToScroll:1}}]},partners:[{slug:"EEPC.png",alt:"eepc",height:35},{slug:"chemexcil.png",alt:"chemexcil",height:35},{slug:"fieo.png",alt:"fieo",height:15},{slug:"svb.png",alt:"svb",height:35},{slug:"wells-fargo.png",alt:"wells-fargo",height:35}]}}},F=T,L=(a("e1f9"),Object(f["a"])(F,I,q,!1,null,"9594da64",null)),N=L.exports,B=(a("b0c0"),function(){var t=this,e=t._self._c;return e("b-container",{staticClass:"conclusion"},[e("b-row",[e("b-col",{staticClass:"text-center text-lg-left"},[e("h3",{staticClass:"product-pages-title"},[t._v("Still not convinced? Let us help")])])],1),e("b-row",[e("b-col",{staticClass:"d-flex flex-column text-center contact-details",attrs:{cols:12,lg:5}},[e("div",{staticClass:"pb-2 contact-heading"},[t._v("Connect With Us")]),e("div",{staticClass:"py-2 h4 mb-0"},[e("b-icon-phone",{staticClass:"phone-icon"}),e("a",{staticClass:"product-page-help-link ml-2 ml-md-4",attrs:{href:"tel:+91-9987-779-334"}},[t._v("+91-9987-779-334")])],1),e("div",{staticClass:"py-2 h4 mb-0"},[e("b-icon-envelope-fill",{staticClass:"contact-icons"}),e("a",{staticClass:"product-page-help-link ml-2 ml-md-4",attrs:{href:"mailto:cs@dripcapital.com"}},[t._v(" cs@dripcapital.com ")])],1)]),e("b-col",{staticClass:"text-center",attrs:{lg:1}},[e("div",{staticClass:"separation-text"},[t._v("Or")])]),e("b-col",{attrs:{lg:5,sm:12,"offset-lg":1}},[t.thanks?t._e():e("b-card",{staticClass:"product-contact",attrs:{id:"apply"}},[e("h4",{staticClass:"text-secondary card-title text-center"},[t._v(" Request Call back ")]),e("form",{on:{submit:function(e){return e.preventDefault(),t.onSubmit.apply(null,arguments)}}},[e("b-form-group",[e("label",{staticClass:"material-label required",class:{empty:""===t.form.name}},[e("span",{staticClass:"placeholder"},[t._v("Name")]),e("b-form-input",{attrs:{id:"name-input",name:"name",block:"",type:"text",required:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1)]),e("b-form-group",[e("label",{staticClass:"material-label required",class:{empty:""===t.form.phone}},[e("span",{staticClass:"placeholder"},[t._v("Phone")]),e("b-form-input",{attrs:{id:"phone-input",name:"phone",block:"",type:"text",required:""},model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}})],1)]),e("b-form-group",[e("label",{staticClass:"material-label required",class:{empty:""===t.form.email}},[e("span",{staticClass:"placeholder"},[t._v("Email")]),e("b-form-input",{attrs:{id:"email-input",name:"email",block:"",type:"email",required:""},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}})],1)]),e("div",{staticClass:"d-flex justify-content-center"},[e("button-arrow",{attrs:{loading:t.loading,disabled:t.loading,variant:"secondary",type:"submit"}},[t._v(" "+t._s(t.loading?"Submitting":"Submit")+" ")])],1)],1)]),t.thanks?e("b-card",{staticClass:"card-cta mt-0",attrs:{id:"apply"}},[e("h3",{staticClass:"text-secondary card-title"},[t._v("Thanks for your interest!")]),e("p",[t._v(" Our team will contact you shortly with the details on how to invest in Drip. For urgent queries, please contact us at "),e("a",{attrs:{href:"mailto:info@dripcapital.com"}},[t._v("info@dripcapital.com")])])]):t._e()],1)],1)],1)}),J=[],H={data:function(){return{loading:!1,thanks:!1,form:{name:"",email:"",phone:"",message:"message recieved from "+this.title}}},methods:{onSubmit:function(){var t=this;this.loading=!0,this.axios({url:"https://api.dripcapital.com/business/messages",method:"post",headers:{Authorization:"Token "+this.$store.state.app.apiPublicToken},data:{message:this.form}}).then((function(e){t.loading=!1,t.thanks=!0})).catch((function(e){t.loading=!1}))}},props:["title"],components:{ButtonArrow:g["a"]}},V=H,W=(a("e9ec"),Object(f["a"])(V,B,J,!1,null,"312954d5",null)),G=W.exports,z=a("28e2"),Y=a("7dc1"),K={data:function(){return{landingPageData:[],contentfulData:null}},metaInfo:function(){return{title:this.landingPageData.title,meta:[{vmid:"description",name:"description",content:this.landingPageData.metaDescription}],link:[{rel:"canonical",href:"https://www.dripcapital.com/hsn-code"}]}},created:function(){this.getContentfulData()},methods:{applyNow:function(){window.location.href="https://www.dripcapital.com/en-in/exporters/apply"},getContentfulData:function(){var t=this,e=Object(z["createClient"])();e.getEntries({content_type:"hsnCode"}).then((function(e){t.landingPageData=e.items[0].fields,t.contentfulData=t.landingPageData.landingData})).catch((function(t){return t}))}},components:{MainJumbotron:i["a"],QuestionCard:b,ButtonArrow:g["a"],QuickFacts:E,OurPartners:N,Conclusion:G,PopUp:Y["a"]}},X=K,Z=(a("564c"),Object(f["a"])(X,s,n,!1,null,"28e50ca2",null));e["default"]=Z.exports},c47d:function(t,e,a){var s={"./EEPC.png":"a9fc","./chemexcil.png":"e544","./fieo.png":"6db7","./svb.png":"d1cd","./wells-fargo.png":"834e"};function n(t){var e=i(t);return a(e)}function i(t){if(!a.o(s,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return s[t]}n.keys=function(){return Object.keys(s)},n.resolve=i,t.exports=n,n.id="c47d"},d1cd:function(t,e,a){t.exports=a.p+"assets/img/svb.3dbba99a.png"},d74c:function(t,e,a){},d7b5:function(t,e,a){},de0b:function(t,e,a){t.exports=a.p+"assets/img/popup.f12c1bb7.webp"},e0b5:function(t,e,a){"use strict";a("85b4")},e1f9:function(t,e,a){"use strict";a("d7b5")},e544:function(t,e,a){t.exports=a.p+"assets/img/chemexcil.58930fdc.png"},e76e:function(t,e,a){"use strict";var s=function(){var t=this,e=t._self._c;return e("b-button",{staticClass:"d-flex justify-items-center new-button",attrs:{disabled:t.disabled,variant:t.variant}},[t._t("default"),e("div",{staticClass:"button-icon-container"},[t.loading?t._e():e("b-img",{staticClass:"button-icon",attrs:{src:a("08bf")}}),t.loading?e("div",{staticClass:"spinner-border spinner-icon text-light",attrs:{role:"status"}}):t._e()],1)],2)},n=[],i={props:{variant:{default:"primary"},disabled:{default:!1},loading:{default:!1}}},r=i,o=(a("4f58"),a("2877")),c=Object(o["a"])(r,s,n,!1,null,"78147932",null);e["a"]=c.exports},e961:function(t,e,a){},e9ec:function(t,e,a){"use strict";a("ad92")},eec1:function(t,e,a){"use strict";a("b64b");var s=function(){var t=this,e=t._self._c;return e("b-jumbotron",[e("div",{staticClass:"text-white"},[e("div",{staticClass:"mb-5"},[e("b-link",{directives:[{name:"b-modal",rawName:"v-b-modal.sidebar-chapter",modifiers:{"sidebar-chapter":!0}}],staticClass:"browse"},[e("b-icon",{staticClass:"h2 mb-0",attrs:{icon:"list"}}),e("span",[t._v("Categories")])],1)],1),e("b-container",[t._t("heading"),e("b-row",{attrs:{"align-h":"center"}},[e("b-col",{attrs:{cols:12,lg:8}},[e("div",{staticClass:"search-form"},[e("b-form",{on:{submit:function(t){t.preventDefault()},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.doFullPageSearch.apply(null,arguments)}}},[e("b-input-group",{attrs:{size:"lg"}},[e("p",{staticClass:"h5"},[e("b-icon",{staticClass:"icon",attrs:{icon:"search",variant:"secondary"}})],1),e("b-form-input",{staticClass:"d-none d-sm-block",attrs:{type:"text",placeholder:"Enter HS code or product description"},model:{value:t.searchQuery,callback:function(e){t.searchQuery=e},expression:"searchQuery"}}),e("b-form-input",{staticClass:"d-block d-sm-none",attrs:{type:"text",placeholder:"Enter HS code"},model:{value:t.searchQuery,callback:function(e){t.searchQuery=e},expression:"searchQuery"}}),e("b-btn",{staticClass:"search-btn",attrs:{disabled:t.loading,variant:"primary",size:"sm"},on:{click:t.doFullPageSearch}},[t.loading?e("b-spinner",{staticClass:"mr-1",attrs:{small:"",label:"loading"}}):t._e(),t._v("Search ")],1)],1)],1),e("ul",{staticClass:"list-group"},[t.loading?e("li",{staticClass:"spinner"},[e("b-spinner",{attrs:{variant:"primary",label:"loading"}})],1):t._e(),t._l(t.searchResult,(function(a,s,n){return e("li",{key:n},[e("b-link",{staticClass:"list-group-item text-truncate",attrs:{to:{name:"hsCode",params:{id:s}}},on:{click:t.handleClick}},[e("b-icon",{staticClass:"small-search-icon",attrs:{icon:"search"}}),e("span",{staticClass:"code-pill"},[t._v(t._s(s))]),t._v(" "+t._s(a.desc)+" ")],1)],1)})),t.fetched&&Object.keys(t.searchResult).length>0?e("li",{staticClass:"list-group-item text-center more-results"},[e("b-link",{staticClass:"text-uppercase",attrs:{to:{name:"searchResults",params:{searchQuery:this.searchQuery}}},nativeOn:{click:function(e){return t.requestAccess.apply(null,arguments)}}},[t._v("Click for more results")])],1):t._e(),t.fetched&&0===Object.keys(t.searchResult).length?e("li",{staticClass:"list-group-item text-center more-results"},[t._v(" No results found ")]):t._e()],2)],1)])],1),e("b-row",{attrs:{"align-h":"center"}},[e("b-col",{attrs:{cols:12,lg:10}},[e("div",{staticClass:"keywords mt-3 d-flex justify-content-center align-items-center"},[e("div",{staticClass:"mr-3"},[t._v("Frequently searched:")]),e("div",{staticClass:"keyword-list"},[e("ul",{staticClass:"keyword-search"},t._l(t.keywords,(function(a){return e("li",{key:a},[e("b-link",{staticClass:"keyword-item mr-3",attrs:{to:{name:"searchResults",params:{searchQuery:a}}},nativeOn:{click:function(e){return t.requestAccess.apply(null,arguments)}}},[t._v(t._s(a))])],1)})),0)])])])],1),e("b-row",{attrs:{"align-h":"center"}},[e("b-col",{attrs:{cols:12,lg:10}},[t.fetched?t._e():e("div",{staticClass:"keywords mt-3 d-flex justify-content-center align-items-center"},[e("span",[e("b-link",{directives:[{name:"b-modal",rawName:"v-b-modal.sidebar-chapter",modifiers:{"sidebar-chapter":!0}}]},[t._v(" See all categories "),e("b-icon",{attrs:{icon:"caret-right-fill"}})],1)],1)])])],1)],2)],1)])},n=[],i=a("c14f"),r=a("1da1"),o=(a("14d9"),a("2ef0")),c=a.n(o),l=a("6ada"),u=a("0c12"),d={data:function(){return{searchQuery:"",isTyping:!1,searchResult:[],loading:!1,count:4,fetched:null,page:1,keywords:["Cement","Battery","Furniture","Rice","Sugar"]}},watch:{searchQuery:c.a.debounce(Object(r["a"])(Object(i["a"])().m((function t(){return Object(i["a"])().w((function(t){while(1)switch(t.n){case 0:if(!(this.searchQuery.length>2)){t.n=2;break}return t.n=1,this.hsnQuery();case 1:t.n=3;break;case 2:0===this.searchQuery.length&&(this.searchResult=[],this.fetched=!1);case 3:return t.a(2)}}),t,this)}))),400)},methods:{requestAccess:function(){u["b"].$emit(u["a"])},doFullPageSearch:function(){this.searchQuery.length>2&&(this.requestAccess(),this.$router.push({name:"searchResults",params:{searchQuery:this.searchQuery}}))},handleClick:function(){this.requestAccess(),this.searchQuery=""}},mixins:[l["a"]]},p=d,h=(a("0747"),a("2877")),f=Object(h["a"])(p,s,n,!1,null,"2051a074",null);e["a"]=f.exports},f32f:function(t,e,a){"use strict";a("32ea")},f665:function(t,e,a){"use strict";var s=a("23e7"),n=a("c65b"),i=a("2266"),r=a("59ed"),o=a("825a"),c=a("46c4"),l=a("2a62"),u=a("f99f"),d=u("find",TypeError);s({target:"Iterator",proto:!0,real:!0,forced:d},{find:function(t){o(this);try{r(t)}catch(s){l(this,"throw",s)}if(d)return n(d,this,t);var e=c(this),a=0;return i(e,(function(e,s){if(t(e,a++))return s(e)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})}}]);
//# sourceMappingURL=chunk-4b11130b.36a37eae.js.map