"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7464],{58192:function(e,n,t){t.d(n,{bR:function(){return s},n8:function(){return u},dE:function(){return d},fm:function(){return m},jy:function(){return f}});var o=t(91164),i=t(9669),r=t.n(i),a=(t(17673),t(46835)),c=t(72198),l=["requestConfig"];var s={rent:"rent",sale:"sale"};function u(e,n){return r()({method:"POST",url:"/api-java/company-".concat(n),data:e})}function d(e,n){var t=e.id,o=e.data;return r()({method:"PUT",url:"/api-java/company-".concat(n,"/").concat(t),data:o})}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.id,t=arguments.length>1?arguments[1]:void 0;return r()({method:"DELETE",url:"/api-java/company-".concat(t,"/").concat(n)})}function f(e){var n=e.requestConfig,t=void 0===n?{}:n,i=(0,o.Z)(e,l);return(0,a.Z)({method:"GET",url:"".concat("https://www.linquip.com/api-java","/company-sale/filter"),params:i,paramsSerializer:function(e){return(0,c.Z)(e)},requestConfig:t})}},27464:function(e,n,t){t.r(n),t.d(n,{OtherCompany:function(){return y},default:function(){return b}});var o=t(67294),i=t(94184),r=t.n(i),a=t(76717),c=t(85893);function l(e){var n=e.onCancel,t="list-disc mb-2";return(0,c.jsx)(a.Z,{visible:!0,closable:!0,onCancel:n,footer:null,centered:!0,title:"Verify by Sending Business Documents",children:(0,c.jsxs)("div",{className:"flex flex-col px-6 pt-3 pb-6",children:[(0,c.jsx)("p",{className:"mb-6 text-base font-medium leading-2",children:"Prepare one of the following business documents that include your business name and address:"}),(0,c.jsxs)("ul",{className:"pl-6 mb-4 text-base font-normal leading-1",children:[(0,c.jsx)("li",{className:t,children:"Articles of Incorporation"}),(0,c.jsx)("li",{className:t,children:"Business License"}),(0,c.jsx)("li",{className:t,children:"Business Tax Permit"}),(0,c.jsx)("li",{className:t,children:"Certificate of Formation"})]}),(0,c.jsxs)("p",{className:"m-0 text-base font-medium",children:["Please send the file to",(0,c.jsxs)("a",{href:"mailto: claim@linquip.com",className:"font-normal text-secondary leading-2",children:[" ","claim@linquip.com"]})," ","from one of your company's dedicated email addresses (info, sales, CEO, etc).",(0,c.jsx)("br",{}),(0,c.jsx)("br",{}),"Upon receiving your request, our team will review it and contact you soon."]})]})})}var s=t(60662),u=t(63533),d=t(5016),m=t(53070),f=t(28171),p=t.n(f);var v=function(){var e=(0,d.r)(m.KQ.ABOUT),n=(0,d.r)(m.KQ.INTRODUCTION_VIDEO),t=(0,d.r)(m.KQ.CATALOGS),o=(0,d.r)(m.KQ.CATEGORIES),i=(0,d.r)(m.KQ.SERVICES),a=(0,d.r)(m.KQ.EMPLOYEES),l=(0,d.r)(m.KQ.PRODUCTS),s=(0,d.r)(m.KQ.SALES),u=function(e){var n=[];return e.forEach((function(e){e&&e.isVisible&&n.push(e.id)})),n}([e,n,t,o,l,s,i,a]),f=[{title:"About Company",info:e,blockPosition:"end"},{title:"Introduction Video",info:n,blockPosition:"center"},{title:"Catalogs",info:t,blockPosition:"center"},{title:"Industries and Categories",info:o,blockPosition:"center"},{title:"Products",info:l,blockPosition:"center"},{title:"Sales",id:m.KQ.SALES,info:s,blockPosition:"center"},{title:"Services",info:i,blockPosition:"center"},{title:"Employees",info:a,blockPosition:"start"}];return(0,c.jsx)("div",{className:r()("flex flex-col px-4 py-6 border border-gray-light rounded mb-4",p().itemsContainer),children:f.map((function(e){var n,t,o,i,a;return null!==e&&void 0!==e&&e.info?(0,c.jsx)("span",{onClick:(i=null===e||void 0===e||null===(n=e.info)||void 0===n||null===(t=n.ref)||void 0===t?void 0:t.current,a=e.blockPosition,function(){null===i||void 0===i||i.scrollIntoView({behavior:"smooth",block:a,inline:"center"})}),className:r()("text-1 text-primary-light cursor-pointer",(o=e.info,(u[0]===(null===o||void 0===o?void 0:o.id)&&u[0]===m.KQ.ABOUT||!(u[1]!==(null===o||void 0===o?void 0:o.id)&&(1!==u.length||u[0]!==(null===o||void 0===o?void 0:o.id))))&&"text-secondary heading-5")),children:e.title},null===e||void 0===e?void 0:e.info.id):null}))})},y=function(e){var n,t=e.company,i=void 0===t?{}:t,a=(0,o.useState)(!1),d=a[0],m=a[1],f=(0,o.useState)(!0),p=f[0],y=f[1];return(0,o.useEffect)((function(){return setTimeout(y,1e3,!1),n=window.document.addEventListener("company-view-load",(function(){y(!0),setTimeout(y,0,!1),document.removeEventListener("company-view-load",n)})),function(){document.removeEventListener("company-view-load",n)}}),[]),(0,c.jsxs)("div",{children:[(0,c.jsx)(u.Z,{company:i}),!p&&(0,c.jsx)(v,{}),(0,c.jsx)(s.Z,{title:"Is this your business?",description:"You can claim this business, which will allow you to manage your profile and your account.",className:r()("p-4 border rounded border-gray-light"),type:"small",position:"vertical",ctaTitle:"Request to Claim",onClick:function(e){e.preventDefault(),m(!0)}}),d&&(0,c.jsx)(l,{onCancel:function(){return m(!1)}})]})},b=y},86251:function(e,n,t){t.d(n,{p:function(){return a}});var o=t(13128),i=t(85893),r="mr-2 text-3xl icon lfi-add-outline text-secondary",a={Videos:{title:"Videos",perSlide:{sm:1,md:1,lg:2},ctaTitle:"Add Video",ctaIcon:(0,i.jsx)("i",{className:r}),ctaHref:o.Up.dashboard.company.contentLibrary,seeAllHref:function(){}},Catalogs:{title:"Catalogs and Case Studies",perSlide:{sm:1,md:1,lg:3},ctaTitle:"Add Catalog",ctaIcon:(0,i.jsx)("i",{className:r}),ctaHref:o.Up.dashboard.company.contentLibrary,seeAllHref:function(){}},Categories:{title:"Categories and Industries",perSlide:{sm:1,md:1,lg:3},ctaTitle:"Edit Categories and Industries",ctaIcon:(0,i.jsx)("i",{className:"mr-2 text-3xl icon lfi-edit text-secondary"}),ctaHref:o.Up.dashboard.company.businessSector,seeAllHref:function(){}},ForSale:{title:"Products for Sale",perSlide:{sm:1,md:1,lg:3},ctaTitle:"Add Product for Sale",ctaIcon:(0,i.jsx)("i",{className:r}),ctaHref:o.Up.dashboard.company.sale.root,seeAllHref:o.Up.company.sale.root},ManufacturedProducts:{title:"Manufactured Products",perSlide:{sm:1,md:1,lg:3},ctaTitle:"Add Manufactured Product",ctaIcon:(0,i.jsx)("i",{className:r}),ctaHref:o.Up.dashboard.company.products,seeAllHref:o.Up.company.manufactured.root},Services:{title:"Services",perSlide:{sm:1,md:1,lg:3},ctaTitle:"Add Service",ctaIcon:(0,i.jsx)("i",{className:r}),ctaHref:o.Up.dashboard.company.services,seeAllHref:o.Up.company.services.root},Employees:{title:"Employees",perSlide:{sm:1,md:2,lg:4},ctaTitle:"Add Employee",ctaIcon:(0,i.jsx)("i",{className:r}),ctaHref:"",seeAllHref:function(){}}}},53070:function(e,n,t){t.d(n,{KQ:function(){return c},ho:function(){return l},CP:function(){return s},s9:function(){return u},IP:function(){return d},uJ:function(){return m},Sw:function(){return f},uu:function(){return p},vk:function(){return v}});t(11163);var o=t(13128),i=t(1548),r=t(86251),a=t(58192),c={ABOUT:"about-company",INTRODUCTION_VIDEO:"introduction-video",CATALOGS:"company-catalogs",CATEGORIES:"company-categories",SALES:"company-sales",SERVICES:"company-services",EMPLOYEES:"company-employees",PRODUCTS:"company-products"},l=function(e){var n=e.equipmentName,t=e.equipmentModel,o=e.saleOrRentType;return"".concat(n," ").concat(t," for ").concat(o)},s=function(e){var n=e.equipmentName,t=e.equipmentModel,o=e.saleOrRentType;return"".concat(t," ").concat(n," for\n\t").concat(o===a.bR.sale?"Sale":"Rent")},u=function(e){var n=e.key,t=e.totalCount,o=e.isSm,a=e.isMd,c=e.companyId,l=e.companyName,s=t>d({key:n,isSm:o,isMd:a}),u=r.p[n].seeAllHref(c,(0,i.Z)(l));return{href:u,title:s&&u?"See All":" ",totalCount:t}},d=function(e){var n=e.key,t=e.isSm,o=e.isMd;return t?r.p[n].perSlide.sm:o?r.p[n].perSlide.md:r.p[n].perSlide.lg},m=function(e){var n=e.key;return{title:r.p[n].ctaTitle,href:r.p[n].ctaHref,icon:r.p[n].ctaIcon}},f=function(e,n){var t,r;return null!==n&&void 0!==n&&null!==(t=n.manufacturedCategories)&&void 0!==t&&t.find((function(n){return n.id===e.id}))?(0,o.W5)(o.Up.company.manufactured.show,[null===n||void 0===n?void 0:n.id,(0,i.Z)(null===n||void 0===n?void 0:n.name),null===e||void 0===e?void 0:e.id,(0,i.Z)(null===e||void 0===e?void 0:e.name)]):null!==n&&void 0!==n&&null!==(r=n.interestedCategories)&&void 0!==r&&r.find((function(n){return n.id===e.id}))?(0,o.W5)(o.Up.category.show,[null===e||void 0===e?void 0:e.id,(0,i.Z)(null===e||void 0===e?void 0:e.name)]):void 0},p=function(e){var n;return"vimeo"===(null===e||void 0===e||null===(n=e.source)||void 0===n?void 0:n.toLowerCase())?"https://player.vimeo.com/video/".concat(null===e||void 0===e?void 0:e.url,"?width=560"):"https://www.youtube.com/embed/".concat(null===e||void 0===e?void 0:e.url)},v=function(e){var n,t="";return"youtube"===(null===e||void 0===e||null===(n=e.source)||void 0===n?void 0:n.toLowerCase())&&(t="https://img.youtube.com/vi/".concat(null===e||void 0===e?void 0:e.url,"/0.jpg")),t}},5016:function(e,n,t){t.d(n,{r:function(){return r}});var o=t(49711),i=t(3584);function r(e){var n=null;n=document.getElementById(e);var t=(0,i.R)([n],n),r=(0,o.Z)(t,3),a=r[0],c=r[1],l=r[2];return n?{ref:a,visiableRatio:c,isVisible:l,id:e}:null}},62587:function(e){function n(e,n){return Object.prototype.hasOwnProperty.call(e,n)}e.exports=function(e,t,o,i){t=t||"&",o=o||"=";var r={};if("string"!==typeof e||0===e.length)return r;var a=/\+/g;e=e.split(t);var c=1e3;i&&"number"===typeof i.maxKeys&&(c=i.maxKeys);var l=e.length;c>0&&l>c&&(l=c);for(var s=0;s=0?(u=p.substr(0,v),d=p.substr(v+1)):(u=p,d=""),m=decodeURIComponent(u),f=decodeURIComponent(d),n(r,m)?Array.isArray(r[m])?r[m].push(f):r[m]=[r[m],f]:r[m]=f}return r}},12361:function(e){var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,o,i){return t=t||"&",o=o||"=",null===e&&(e=void 0),"object"===typeof e?Object.keys(e).map((function(i){var r=encodeURIComponent(n(i))+o;return Array.isArray(e[i])?e[i].map((function(e){return r+encodeURIComponent(n(e))})).join(t):r+encodeURIComponent(n(e[i]))})).join(t):i?encodeURIComponent(n(i))+o+encodeURIComponent(n(e)):""}},17673:function(e,n,t){t(62587),t(12361)}}]);