PageSourceSearch

https://www.canorealestate.com/wp-content/build/plugins/bt-testimonials.frontend.5f0d4557.min.js

js canorealestate.com collected 2026-10-08 08:55:08 UTC 7,272 bytes, 1 lines download raw bytes

1(self.webpackChunkbt_consumer_build=self.webpackChunkbt_consumer_build||[]).push([[704],{7228:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}},2858:function(e){e.exports=function(e){if(Array.isArray(e))return e}},3884:function(e){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var i=[],n=!0,a=!1,o=void 0;try{for(var l,r=e[Symbol.iterator]();!(n=(l=r.next()).done)&&(i.push(l.value),!t||i.length!==t);n=!0);}catch(e){a=!0,o=e}finally{try{n||null==r.return||r.return()}finally{if(a)throw o}}return i}}},521:function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},3038:function(e,t,i){var n=i(2858),a=i(3884),o=i(379),l=i(521);e.exports=function(e,t){return n(e)||a(e,t)||o(e,t)||l()}},379:function(e,t,i){var n=i(7228);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(e,t):void 0}}},43:function(e,t,i){"use strict";i.d(t,{C:function(){return a},e:function(){return n}});var n=[{clientName:"Bob",clientType:"Buyer",testimonial:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. "},{clientName:"Nora",clientType:"Buyer",testimonial:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. "},{clientName:"Scout",clientType:"Seller",testimonial:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. "},{clientName:"Willow",clientType:"Buyer",testimonial:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. "},{clientName:"Hawkeye",clientType:"Buyer",testimonial:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. "},{clientName:"BoomTown",clientType:"Buyer/Seller",testimonial:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. "}],a={ONE_COLUMN_FIXED:{value:"oneColumnFixed",label:"Single Column Fixed",limit:1},TWO_COLUMN_FIXED:{value:"twoColumnFixed",label:"Two Column Fixed",limit:2},THREE_COLUMN_FIXED:{value:"threeColumnFixed",label:"Three Column Fixed",limit:3},ONE_COLUMN_CAROUSEL:{value:"oneColumnCarousel",label:"Single Column Carousel",limit:12}}},7296:function(e,t,i){"use strict";i.d(t,{Z:function(){return L}});var n=i(9307),a=i(9196),o=i(7086),l=i.n(o),r=function(e){var t=e.testimonial,i=e.clientName,a=e.clientType;return(0,n.createElement)("div",{className:"testimonial"},(0,n.createElement)("div",{className:"testimonial__content mx-auto"},(0,n.createElement)("div",{className:"testimonial__content--top"},(0,n.createElement)("i",{className:"testimonial__icon fas fa-quote-right"}),(0,n.createElement)("div",{className:"testimonial__text"},(0,n.createElement)("div",{className:"testimonial__text__spacer"}),(0,n.createElement)("p",null,t),(0,n.createElement)("div",{className:"testimonial__text__spacer"}))),(0,n.createElement)("div",{className:"testimonial__content--bottom"},(0,n.createElement)("p",{className:"testimonial__client-name"},i),(0,n.createElement)("p",{className:"testimonial__client-type"},a))))},s={clientName:l().string.isRequired,clientType:l().string.isRequired,testimonial:l().string.isRequired};r.propTypes=s;var u=r,c=i(3038),m=i.n(c),d=i(535),p=function(e){var t=e.testimonials,i=(0,a.useState)(t),o=m()(i,2),l=o[0],r=o[1];return(0,a.useEffect)((function(){r(t)}),[t]),(0,n.createElement)("div",{className:"testimonial-carousel__container"},(0,n.createElement)(d.GlideSlider,{className:"testimonial-carousel",options:{gap:0,autoplay:7e3,hoverpause:!0,type:"carousel"}},(0,n.createElement)(d.GlideSlides,null,l.map((function(e){return(0,n.createElement)(d.GlideSlide,null,(0,n.createElement)(u,{clientName:e.clientName,clientType:e.clientType,testimonial:e.testimonial}))}))),(0,n.createElement)(d.GlideArrows,null),(0,n.createElement)(d.GlideBullets,{count:l.length})))};p.propTypes={testimonials:l().arrayOf(l().shape(s))},p.defaultProps={testimonials:[]};var f=p,v=i(4184),y=i.n(v),E=i(43),_=E.C.ONE_COLUMN_FIXED,N=E.C.TWO_COLUMN_FIXED,g=E.C.THREE_COLUMN_FIXED;var C=function(e){var t=e.layout,i=e.testimonials,a=function(e){return y()("grid grid--gutters grid-xs--full",{"grid-md--halves":"twoColumnFixed"===e,"grid-md--halves grid-lg--thirds":"threeColumnFixed"===e})}(t);return(0,n.createElement)("div",{className:"testimonial-grid"},(0,n.createElement)("div",{className:a},i.map((function(e){return(0,n.createElement)("div",{className:"cell",key:e.id},(0,n.createElement)(u,{clientName:e.clientName,clientType:e.clientType,testimonial:e.testimonial}))}))))};C.propTypes={layout:l().oneOf([_.value,N.value,g.value]),testimonials:l().arrayOf(l().shape(s))},C.defaultProps={layout:_,testimonials:[]};var b=C,h=E.C.ONE_COLUMN_FIXED,w=E.C.TWO_COLUMN_FIXED,O=E.C.THREE_COLUMN_FIXED,x=E.C.ONE_COLUMN_CAROUSEL,T=function(e){var t=e.layout,i=void 0===t?O.value:t,a=e.testimonials;return i===x.value?(0,n.createElement)(f,{testimonials:a}):(0,n.createElement)(b,{testimonials:a,layout:i})};T.propTypes={layout:l().oneOf([h.value,w.value,O.value,x.value]),testimonials:l().arrayOf(l().shape(s))},T.defaultProps={layout:O.VALUE,testimonials:[]};var L=T},7747:function(e,t,i){"use strict";var n=i(9307),a=(i(9196),i(1850)),o=i.n(a),l=i(7296);function r(){document.querySelectorAll(".bt-widget-testimonials").forEach((function(e){var t,i=JSON.parse(null==e||null===(t=e.dataset)||void 0===t?void 0:t.widgetData),a=i.layout,r=i.testimonials;if(Array.isArray(r)&&r.length){var s=(0,n.createElement)(l.Z,{testimonials:r,layout:a});o().render(s,e)}}))}function s(e){var t,i;"bt_testimonials"===(null==e||null===(t=e.partial)||void 0===t||null===(i=t.widgetIdParts)||void 0===i?void 0:i.idBase)&&r()}"undefined"!=typeof wp&&wp.customize?wp.customize.bind("preview-ready",(function(){wp.customize.selectiveRefresh.bind("partial-content-rendered",s),wp.customize.selectiveRefresh.bind("partial-content-moved",
1s)})):window.onload=function(){r()}},4184:function(e,t){var i;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var i=arguments[t];if(i){var o=typeof i;if("string"===o||"number"===o)e.push(i);else if(Array.isArray(i)&&i.length){var l=a.apply(null,i);l&&e.push(l)}else if("object"===o)for(var r in i)n.call(i,r)&&i[r]&&e.push(r)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(i=function(){return a}.apply(t,[]))||(e.exports=i)}()},7086:function(e){"use strict";e.exports=PropTypes},535:function(e){"use strict";e.exports=coreComponents},9196:function(e){"use strict";e.exports=window.React},1850:function(e){"use strict";e.exports=window.ReactDOM},9307:function(e){"use strict";e.exports=window.wp.element}},function(e){var t;t=7747,e(e.s=t)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.