vendor: 4,698 bytes, line 1
1(window.webpackJsonp=window.webpackJsonp||[]).push([[56,74,116,117,120,363,496],{1028:function(e,t,n){"use strict";n.r(t);var r=n(38),o=n(81),a=n(0),i=n.n(a),l=n(11),c=n(55),s=n(2706),u=n(39),d=n(67),m=n(42),p=n(50),f=n(219),h=n(101),v=n(132),g=n(21);function E(){E=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(I){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new L(r||[]);return a._invoke=function(e,t,n){var r="suspendedStart";return function(o,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw a;return S()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var l=O(i,n);if(l){if(l===u)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===u)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(e,n,i),a}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(I){return{type:"throw",arg:I}}}e.wrap=c;var u={};function d(){}function m(){}function p(){}var f={};l(f,o,function(){return this});var h=Object.getPrototypeOf,v=h&&h(h(w([])));v&&v!==t&&n.call(v,o)&&(f=v);var g=p.prototype=d.prototype=Object.create(f);function y(e){["next","throw","return"].forEach(function(t){l(e,t,function(e){return this._invoke(t,e)})})}function b(e,t){var r;this._invoke=function(o,a){function i(){return new t(function(r,i){!function r(o,a,i,l){var c=s(e[o],e,a);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then(function(e){r("next",e,i,l)},function(e){r("throw",e,i,l)}):t.resolve(d).then(function(e){u.value=e,i(u)},function(e){return r("throw",e,i,l)})}l(c.arg)}(o,a,r,i)})}return r=r?r.then(i,i):i()}}function O(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,O(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function C(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 N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function w(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:S}}function S(){return{value:void 0,done:!0}}return m.prototype=p,l(g,"constructor",p),l(p,"constructor",m),m.displayName=l(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,l(e,i,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),l(b.prototype,a,function(){return this}),e.AsyncIterator=b,e.async=function(t,n,r,o,a){void 0===a&&(a=Promise);var i=new b(c(t,n,r,o),a);return e.isGeneratorFunction(n)?i:i.next().then(function(e){return e.done?e.value:i.next()})},y(g),l(g,i,"Generator"),l(g,o,function(){return this}),l(g,"toString",function(){return"[object Generator]"}),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=w,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
1h(N),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return i.type="throw",i.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),N(n),u}},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;N(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:w(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}var y={store:"collectionStore",form:"COLLECTION_MAPPING_CONTENT_FRM"},b={publish:{label:"Publish",icon:"view",icon1:"no-view"}},O=function(e){return i.a.createElement("b",null,e.keyTerms&&e.keyTerms.shorthandBusinessName?e.keyTerms.shorthandBusinessName:e.keyTerms&&e.keyTerms.legalBusinessName?e.keyTerms.legalBusinessName:"N/A")},C=Object(s.sortableHandle)(function(){return i.a.createElement(u.a,{className:"ml-10 ns-drag-holder-large mr-10"})}),N=Object(s.SortableElement)(function(e){var t=e.record,n=e.handleAction,r=e.smartElement,o=e.removeMedia,a=e.isOffering,l=e.fieldIndex,c=e.collectionId,s=e.isReadOnly;return i.a.createElement(d.a.Row,{className:"PUBLIC"===t.scope?"":"row-highlight",collapsing:!0},i.a.createElement(d.a.Cell,{collapsing:!0},!s&&i.a.createElement(C,null),a?O(t).length>50?"".concat(O(t).substring(0,55),"..."):O(t):t.title.length>60?"".concat(t.title.substring(0,55),"..."):t.title),i.a.createElement(d.a.Cell,null,r.ImageCropper("image",{style:{height:"125px"},multiForm:[y.form,"mappingContent",l],uploadPath:"collections/".concat(c),disabled:s,removeMedia:o})),!s&&i.a.createElement(d.a.Cell,{collapsing:!0},i.a.createElement(m.a.Group,null,Object.keys(b).map(function(e){return i.a.createElement(m.a,{icon:!0,className:"link-button"},i.a.createElement(u.a,{className:"ns-".concat("PUBLIC"===t.scope?b[e].icon:b[e].icon1),onClick:function(){return n(b[e].label,t,"PUBLIC"!==t.scope)}}))}),i.a.createElement(m.a,{icon:!0,className:"link-button"},i.a.createElement(u.a,{className:"ns-trash",onClick:function(){return n("Delete",t,!t.scope)}})))))}),L=Object(s.SortableContainer)(function(e){var t=e.toggleVisible,n=e.isOffering,r=e.collectionId,o=e.allRecordsList,a=e.handleAction,l=e.isReadOnly,c=e.smartElement,s=e.removeMedia,u=e.removeOne;return i.a.createElement("div",{className:"tbody"},i.a.createElement("div",{className:"row-wrap"},i.a.createElement(p.a.Group,{className:"mlr-0 plr-0 pt-0 pb-0"},i.a.createElement(d.a,{basic:!0,compact:!0,className:"form-table bg-white striped"},i.a.createElement(d.a.Header,null,i.a.createElement(d.a.Row,null,i.a.createElement(d.a.HeaderCell,null,n?"Offering":"Title"),i.a.createElement(d.a.HeaderCell,null,"Image"),!l&&i.a.createElement(d.a.HeaderCell,{textAlign:"right"},"Action"))),i.a.createElement(d.a.Body,null,o.map(function(e,o){return i.a.createElement(N,{key:"item-".concat(o),record:e,fieldIndex:o,isOffering:n,index:o,collectionId:r,isReadOnly:l,smartElement:c,handleAction:a,removeMedia:s,removeOne:u,toggleVisible:t})}))))))}),w=function(e){var t=e.toggleVisible,n=e.collectionId,r=e.isOffering,o=e.allRecordsList,a=e.handleAction,l=e.isReadOnly,c=e.onSortEnd,s=e.smartElement,u=e.removeMedia,d=e.removeOne;return i.a.createElement("div",{className:"ui card fluid"},i.a.createElement(L,{allRecordsList:o,pressDelay:100,onSortEnd:c,lockAxis:"y",useDragHandle:!0,isReadOnly:l,isOffering:r,handleAction:a,smartElement:s,removeMedia:u,removeOne:d,collectionId:n,toggleVisible:t}))};t.default=Object(l.b)("collectionStore","uiStore")(Object(c.i)(Object(v.a)(Object(l.c)(function(e){var t=Object(a.useState)(!1),n=Object(o.a)(t,2),l=n[0],c=n[1],u=Object(a.useState)(!1),d=Object(o.a)(u,2),m=d[0],p=d[1],v=e.smartElement,y=e.allRecords,b=e.isLoading,O=e.isOffering,C=e.collectionStore.isLocked,N=e.uiStore.confirmBox,L=function(){var t=Object(r.a)(E().mark(function t(n){var r,o;return E().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=n.oldIndex,o=n.newIndex,r===o){t.next=8;break}return c(!0),t.next=5,e.collectionStore.setOrderForCollectionsMapping(Object(s.arrayMove)(e.allRecords,r,o));case 5:c(!1),e.collectionStore.setFieldValue("collectionIndex",null),e.history.push("".concat(e.match.url));case 8:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}(),S=function(){var t=Object(r.a)(E().mark(function t(){var n,r,o,a,i;return E().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.collectionStore,r=e.uiStore,o=e.index,a=n.COLLECTION_CONTENT_FRM.fields.content[o].customValue,i={type:O?"OFFERING":"INSIGHT",collectionId:n.collectionId,referenceId:r.confirmBox.refId,customValue:a.value,scope:"PUBLIC"===m?"PUBLIC":"HIDDEN"},t.next=5,n.collectionMappingMutation("adminCollectionMappingUpsert",i,o);case 5:n.setFieldValue("collectionIndex",null),e.uiStore.setConfirmBox(""),e.history.push("".concat(e.match.url));case 8:case"end":return t.stop()}},t)}));return function(){return t.apply(this,arguments)}}(),I=function(){var t=Object(r.a)(E().mark(function t(){var n,r,o,a,i;return E().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.collectionStore,r=e.uiStore,o=e.index,a=n.COLLECTION_CONTENT_FRM.fields.content[o].customValue,i={type:O?"OFFERING":"INSIGHT",collectionId:n.collectionId,customValue:a.value,referenceId:r.confirmBox.refId},t.next=5,n.collectionMappingMutation("adminDeleteCollectionMapping",i);case 5:n.setFieldValue("collectionIndex",null),e.history.push("".concat(e.match.url)),e.uiStore.setConfirmBox("");case 8:case"end":return t.stop()}},t)}));return function(){return t.apply(this,arguments)}}();return b||l?i.a.createElement(g.k,null):i.a.createElement(i.a.Fragment,null,i.a.createElement(w,{allRecordsList:y,removeMedia:function(e,t){window.logger(e,t)},smartElement:v,handleAction:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];"Delete"===t?e.uiStore.setConfirmBox(t,n.id):"Publish"===t&&(p(r?"PUBLIC":"HIDDEN"),e.uiStore.setConfirmBox(t,n.id,r))},onSortEnd:L,isOffering:O,isReadOnly:C,collectionId:e.collectionStore.collectionId}),i.a.createElement(f.a,{header:"Confirm",content:"Publish"===N.entity?"Are you sure you want to make this offering ".concat(m?"Public":"Non-Public","?"):"Are you sure you want to delete this offering?",open:"Delete"===N.entity||"Publish"===N.entity,onCancel:function(){e.uiStore.setConfirmBox("")},onConfirm:"Publish"===N.entity?S:I,size:"mini",className:"deletion"}),i.a.createElement(h.a,{section:!0}
1))}),y)))},1029:function(e,t,n){"use strict";n.r(t);var r=n(29),o=n(0),a=n.n(o),i=n(11),l=n(55),c=n(2706),s=n(39),u=n(50),d=n(67),m=n(52),p=n(42),f=n(101),h=n(132),v={store:"collectionStore",form:"GALLERY_FRM"},g=Object(c.sortableHandle)(function(){return a.a.createElement(s.a,{className:"ml-10 ns-drag-holder-large mr-10"})}),E=Object(c.SortableElement)(function(e){var t=e.toggleVisible,n=e.GALLERY_FRM,r=e.isReadOnly,o=e.fieldIndex,i=e.smartElement,l=e.removeOne,c=e.collectionId,f=e.removeMedia;return a.a.createElement("div",{className:"row-wrap"},a.a.createElement(u.a.Group,{className:"mlr-0 plr-0 pt-0 pb-0"},a.a.createElement(d.a,{basic:!0,compact:!0,className:"form-table bg-white"},a.a.createElement(d.a.Body,null,a.a.createElement(d.a.Row,{className:n.fields.gallery[o].isVisible.value?"":"bg-offwhite"},a.a.createElement(d.a.Cell,{collapsing:!0},!r&&a.a.createElement(g,null)),a.a.createElement(d.a.Cell,null,i.Input("caption",{displayMode:r,multiForm:[v.form,"gallery",o]})),a.a.createElement(d.a.Cell,null,a.a.createElement(m.a,{as:"h4"},n.fields.gallery[o].image.label),i.ImageCropper("image",{style:{height:"125px"},disabled:r,multiForm:[v.form,"gallery",o],uploadPath:"collections/".concat(c),removeMedia:f})),!r&&a.a.createElement(d.a.Cell,{collapsing:!0},a.a.createElement(p.a,{className:"link-button"},a.a.createElement(s.a,{onClick:function(){return t(o)},color:"blue",name:n.fields.gallery[o].isVisible.value?"ns-view":"ns-no-view"}))),!r&&n.fields.gallery.length>1&&a.a.createElement(d.a.Cell,{collapsing:!0},a.a.createElement(p.a,{icon:!0,circular:!0,floated:"right",className:"link-button"},a.a.createElement(s.a,{className:"ns-trash",onClick:function(e){return l(v.form,"gallery",o,e)}}))))))))}),y=Object(c.SortableContainer)(function(e){var t=e.toggleVisible,n=e.GALLERY_FRM,r=e.isReadOnly,o=e.smartElement,i=e.collectionId,l=e.removeMedia,c=e.removeOne;return a.a.createElement("div",{className:"tbody"},n.fields.gallery.map(function(e,s){return a.a.createElement(E,{key:"item-".concat(s),field:e,fieldIndex:s,index:s,isReadOnly:r,smartElement:o,GALLERY_FRM:n,collectionId:i,removeMedia:l,removeOne:c,toggleVisible:t})}))}),b=function(e){var t=e.toggleVisible,n=e.GALLERY_FRM,r=e.isReadOnly,o=e.onSortEnd,i=e.smartElement,l=e.collectionId,c=e.removeMedia,s=e.removeOne;return a.a.createElement("div",{className:"ui card fluid"},a.a.createElement(y,{GALLERY_FRM:n,pressDelay:100,onSortEnd:o,lockAxis:"y",useDragHandle:!0,isReadOnly:r,smartElement:i,collectionId:l,removeMedia:c,removeOne:s,toggleVisible:t}))};t.default=Object(i.b)("collectionStore","uiStore","nsUiStore")(Object(l.i)(Object(h.a)(Object(i.c)(function(e){var t=e.smartElement,n=e.title,o=e.noAddMore,i=e.uiStore,l=e.collectionStore,s=l.GALLERY_FRM,u=l.removeOne,d=l.collectionId,h=l.addMore,v=l.toggleVisible,g=l.isLocked,E=e.nsUiStore.loadingArray;return a.a.createElement(a.a.Fragment,null,a.a.createElement(m.a,{as:"h4"},n||"Gallery",!o&&a.a.createElement(p.a,{size:"small",color:"blue",className:"ml-10 link-button mt-20",onClick:function(){return h("GALLERY_FRM","gallery")}},"+ Add another image")),a.a.createElement(b,{GALLERY_FRM:s,removeOne:u,removeMedia:function(e,t){window.logger(e,t)},smartElement:t,collectionId:d,onSortEnd:function(t){var n=t.oldIndex,o=t.newIndex,a=Object(r.a)(e.collectionStore.GALLERY_FRM.fields.gallery);e.collectionStore.reOrderHandle(Object(c.arrayMove)(a,n,o),"GALLERY_FRM","gallery")},toggleVisible:v,isReadOnly:g}),a.a.createElement("div",{className:"sticky-actions"},a.a.createElement(p.a.Group,{vertical:i.responsiveVars.isMobile,size:i.responsiveVars.isMobile?"mini":"",compact:i.responsiveVars.isMobile,className:i.responsiveVars.isMobile?"sticky-buttons":""},a.a.createElement(p.a,{disabled:g||E.includes("adminCollectionUpsert"),loading:E.includes("adminCollectionUpsert"),primary:!0,onClick:function(){e.collectionStore.upsertCollection({forms:["GALLERY_FRM"]})},color:"green",className:"relaxed"},"Save"))),a.a.createElement(f.a,{section:!0}))}),v)))},1068:function(e,t,n){"use strict";n.r(t);var r,o=n(64),a=n(9),i=n(10),l=n(16),c=n(14),s=n(15),u=n(0),d=n.n(u),m=n(11),p=n(2),f=n(55),h=n(25),v=n(50),g=n(39),E=n(52),y=n(101),b=n(42),O=n(219),C=n(132),N=n(1028),L=n(1116),w=n(1029),S={store:"collectionStore",form:"COLLECTION_CONTENT_FRM"},I={LIVE:"ACTIVE_INVESTMENTS",COMPLETE:"COMPLETE_INVESTMENTS"},x=Object(m.b)("collectionStore","nsUiStore","uiStore")(r=Object(f.i)(r=Object(m.c)(r=function(e){function t(e){var n;Object(a.a)(this,t),(n=Object(l.a)(this,Object(c.a)(t).call(this,e))).state={editable:!1,showConfirm:!1},n.removeMedia=function(e,t){window.logger(e,t)},n.updateState=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"editable";n.setState(Object(o.a)({},t,e))},n.handleFormSubmit=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&n.props.collectionStore.reOrderHandle(n.props.collectionStore.COLLECTION_CONTENT_FRM.fields.content,"COLLECTION_CONTENT_FRM","content"),n.props.collectionStore.upsertCollection({keyName:!1,forms:["COLLECTION_CONTENT_FRM"]})},n.handleDeleteAction=function(){var e=n.props.match.params.index,t=parseInt(e,10)-1;n.props.collectionStore.removeOne("COLLECTION_CONTENT_FRM","content",t),n.handleFormSubmit(!0),n.props.collectionStore.setFieldValue("collectionIndex",null),n.props.history.push("".concat(n.props.refLink,"/1"))};var r=n.props.match,i=r.params,s=r.url,u=i.index;if(u){var d=n.props.collectionStore.COLLECTION_CONTENT_FRM,m=parseInt(u,10)-1,p=d.fields.content[m].contentType.value;n.props.collectionStore.getCollectionMapping(p,m)}else n.props.history.push("".concat(s,"/1"));return n}return Object(s.a)(t,e),Object(i.a)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.smartElement,r=t.collectionStore,o=t.uiStore,a=this.props.htmlEditorImageLoading,i=parseInt(this.props.match.params.index,10)-1||0,l=r.COLLECTION_CONTENT_FRM,c=r.collectionId,s=r.collectionMapping,u=r.isLocked,m=l.fields.content[i],f=m.contentType,C=m.customValue,x=f.value,M=this.props.nsUiStore.loadingArray,j=u||!this.state.editable,T=j||a||M.includes("adminCollectionUpsert")||!l.meta.isValid;
1return d.a.createElement("div",{className:"inner-content-spacer"},d.a.createElement(v.a,null,!u&&d.a.createElement("small",{className:"pull-right"},this.state.editable?d.a.createElement(h.b,{to:"/",className:"text-link mr-10",onClick:function(t){t.preventDefault(),e.updateState(!1)}},"Cancel"):d.a.createElement(h.b,{to:"/",onClick:function(t){t.preventDefault(),e.updateState(!0)}},d.a.createElement(g.a,{className:"ns-pencil"}),"Edit"),l.fields.content.length>1&&d.a.createElement(h.b,{to:"/",className:"ml-10 negative-text",disabled:!0,onClick:function(t){t.preventDefault(),e.updateState(!0,"showConfirm")}},d.a.createElement(g.a,{className:"ns-trash"}),"Delete")),d.a.createElement(v.a.Group,{widths:2},n.Input("title",{multiForm:[S.form,"content",i],displayMode:j}),n.FormSelect("scope",{multiForm:[S.form,"content",i],displayMode:j}),n.Masked("order",{multiForm:[S.form,"content",i],displayMode:!0}),n.FormSelect("contentType",{multiForm:[S.form,"content",i],displayMode:j})),["ACTIVE_INVESTMENTS","COMPLETE_INVESTMENTS","INSIGHTS"].includes(x)&&d.a.createElement(v.a.Group,{widths:1},d.a.createElement(v.a.Field,null,d.a.createElement(E.a,{as:"h6"},"Description"),n.HtmlEditor("description",{multiForm:[S.form,"content",i],index:i,readOnly:j,imageUploadPath:"collections/".concat(c)}))),d.a.createElement(y.a,{hidden:!0}),["CUSTOM","HEADER"].includes(l.fields.content[i].contentType.value)&&d.a.createElement(v.a.Group,{widths:1},d.a.createElement(v.a.Field,null,this.state.editable&&d.a.createElement(E.a,{as:"h6"},l.fields.content[i].customValue.label),n.HtmlEditor("customValue",{multiForm:[S.form,"content",i],index:i,readOnly:j,imageUploadPath:"collections/".concat(c)}))),this.state.editable&&"GALLERY"===x&&d.a.createElement(d.a.Fragment,null,d.a.createElement("div",{className:"sticky-actions"},d.a.createElement(b.a.Group,{vertical:o.responsiveVars.isMobile,size:o.responsiveVars.isMobile?"mini":"",compact:o.responsiveVars.isMobile,className:o.responsiveVars.isMobile?"sticky-buttons":""},d.a.createElement(b.a,{disabled:j||M.includes("adminCollectionUpsert"),loading:M.includes("adminCollectionUpsert"),primary:!0,onClick:this.handleFormSubmit,color:"green",className:"relaxed"},"Save")))),d.a.createElement(y.a,{hidden:!0}),Object(p.get)(s,"OFFERING")&&Object.keys(I).map(function(e){return x===I[e]&&s.OFFERING[e].length>0&&d.a.createElement(d.a.Fragment,null,d.a.createElement(N.default,{allRecords:s.OFFERING[e],isOffering:!0,isLoading:M.includes("getCollectionMapping"),index:i}))}),"INSIGHTS"===x&&s.INSIGHT&&s.INSIGHT.length>0&&d.a.createElement(d.a.Fragment,null,d.a.createElement(N.default,{allRecords:s.INSIGHT,isLoading:Object(p.intersection)(M,["adminCollectionMappingUpsert"]).length>0,index:i})),"GALLERY"===x&&d.a.createElement(w.default,null),!u&&["ACTIVE_INVESTMENTS","COMPLETE_INVESTMENTS","INSIGHTS"].includes(x)&&d.a.createElement(L.default,{customValue:C.value,index:i,isDisabled:j,collectionId:c,isContentMapping:!0,isOffering:"INSIGHTS"!==x}),"GALLERY"!==x&&this.state.editable&&d.a.createElement(d.a.Fragment,null,d.a.createElement("div",{className:"sticky-actions"},d.a.createElement(b.a.Group,{vertical:o.responsiveVars.isMobile,size:o.responsiveVars.isMobile?"mini":"",compact:o.responsiveVars.isMobile,className:o.responsiveVars.isMobile?"sticky-buttons":""},d.a.createElement(b.a,{disabled:T,loading:M.includes("adminCollectionUpsert"),primary:!0,onClick:this.handleFormSubmit,color:"green",className:"relaxed"},"Save")))),d.a.createElement(y.a,{hidden:!0})),d.a.createElement(O.a,{header:"Confirm",content:"Are you sure you want to remove this component?",open:this.state.showConfirm,onCancel:function(){return e.updateState(!1,"showConfirm")},onConfirm:this.handleDeleteAction,size:"mini",className:"deletion"}))}}]),t}(u.Component))||r)||r)||r;t.default=Object(C.a)(x,S)},1069:function(e,t,n){"use strict";n.r(t);var r,o=n(7),a=n(38),i=n(9),l=n(10),c=n(16),s=n(14),u=n(15),d=n(0),m=n.n(d),p=n(11),f=n(24),h=n.n(f),v=n(55),g=n(68),E=n(52),y=n(50),b=n(101),O=n(42),C=n(132);function N(){N=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}
vendor: 4,120 bytes, line 1
1try{l({},"")}catch(I){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),i=new L(r||[]);return a._invoke=function(e,t,n){var r="suspendedStart";return function(o,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw a;return S()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var l=b(i,n);if(l){if(l===u)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===u)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(e,n,i),a}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(I){return{type:"throw",arg:I}}}e.wrap=c;var u={};function d(){}function m(){}function p(){}var f={};l(f,o,function(){return this});var h=Object.getPrototypeOf,v=h&&h(h(w([])));v&&v!==t&&n.call(v,o)&&(f=v);var g=p.prototype=d.prototype=Object.create(f);function E(e){["next","throw","return"].forEach(function(t){l(e,t,function(e){return this._invoke(t,e)})})}function y(e,t){var r;this._invoke=function(o,a){function i(){return new t(function(r,i){!function r(o,a,i,l){var c=s(e[o],e,a);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then(function(e){r("next",e,i,l)},function(e){r("throw",e,i,l)}):t.resolve(d).then(function(e){u.value=e,i(u)},function(e){return r("throw",e,i,l)})}l(c.arg)}(o,a,r,i)})}return r=r?r.then(i,i):i()}}function b(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,b(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function O(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 C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function w(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:S}}function S(){return{value:void 0,done:!0}}return m.prototype=p,l(g,"constructor",p),l(p,"constructor",m),m.displayName=l(p,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,l(e,i,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},E(y.prototype),l(y.prototype,a,function(){return this}),e.AsyncIterator=y,e.async=function(t,n,r,o,a){void 0===a&&(a=Promise);var i=new y(c(t,n,r,o),a);return e.isGeneratorFunction(n)?i:i.next().then(function(e){return e.done?e.value:i.next()})},E(g),l(g,i,"Generator"),l(g,o,function(){return this}),l(g,"toString",function(){return"[object Generator]"}),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=w,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
1h(C),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return i.type="throw",i.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),u}},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;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:w(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}var L={store:"collectionStore",form:"COLLECTION_CONTENT_FRM"},w=Object(p.b)("collectionStore","nsUiStore")(r=Object(v.i)(r=Object(p.c)(r=function(e){function t(){var e,n;Object(i.a)(this,t);for(var r=arguments.length,o=new Array(r),l=0;l<r;l++)o[l]=arguments[l];return(n=Object(c.a)(this,(e=Object(s.a)(t)).call.apply(e,[this].concat(o)))).handleFormSubmit=Object(a.a)(N().mark(function e(){var t,r,o,a,i,l;return N().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t={keyName:!1,forms:["COLLECTION_CONTENT_FRM"]},r=n.props.collectionStore,o=r.setFieldValue,a=r.upsertCollection,i=r.COLLECTION_CONTENT_FRM,l=n.props.index,"CUSTOM"!==i.fields.content[l].contentType.value&&o("COLLECTION_CONTENT_FRM",h()().unix().toString(),"fields.content[".concat(l,"].customValue.value")),e.next=7,a(t);case 7:o("newContentModal",!1),n.props.collectionStore.setFieldValue("collectionIndex",null),n.props.history.push("".concat(n.props.refLink,"/").concat(n.props.index+1));case 10:case"end":return e.stop()}},e)})),n}return Object(u.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.smartElement,r=t.index,a=t.nsUiStore,i=t.collectionStore,l=t.toggleModal,c=a.loadingArray,s=i.COLLECTION_CONTENT_FRM;return m.a.createElement(g.a,{open:!0,closeIcon:!0,size:"small",onClose:function(){return l(!1,r)},closeOnDimmerClick:!1},m.a.createElement(g.a.Header,{className:"center-align signup-header"},m.a.createElement(E.a,{as:"h3"},"Add new content block")),m.a.createElement(g.a.Content,{className:"signup-content"},m.a.createElement(y.a,null,m.a.createElement(y.a.Group,{widths:1},n.Input("title",{multiForm:[L.form,"content",r],containerwidth:16}),n.FormSelect("scope",{multiForm:[L.form,"content",r],containerwidth:16}),n.FormSelect("contentType",{multiForm:[L.form,"content",r],fielddata:Object(o.a)({},s.fields.content[r].contentType),containerwidth:16})),m.a.createElement(b.a,{hidden:!0})),m.a.createElement("div",{className:"center-align"},m.a.createElement(O.a,{disabled:!s.meta.isValid,loading:c.includes("adminCollectionUpsert"),primary:!0,content:"Save",onClick:function(){return e.handleFormSubmit()}}),m.a.createElement(O.a,{content:"Close",onClick:function(){return l(!1,r)}}))))}}]),t}(m.a.Component))||r)||r)||r;t.default=Object(C.a)(w,L)},1116:function(e,t,n){"use strict";n.r(t),n.d(t,"default",function(){return h});var r,o=n(7),a=n(9),i=n(10),l=n(16),c=n(14),s=n(15),u=n(0),d=n.n(u),m=n(11),p=n(2),f=n(30),h=Object(m.b)("collectionStore","nsUiStore")(r=Object(m.c)(r=function(e){function t(){var e,n;Object(a.a)(this,t);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return(n=Object(l.a)(this,(e=Object(c.a)(t)).call.apply(e,[this].concat(i)))).getCollectionId=function(e){return n.props.collectionStore.selectedCollectionArray.filter(function(t){return!e.includes(t)}).pop()},n.handleCollectionChange=function(e,t){var r=n.props.collectionStore,a=r.collectionMappingMutation,i=r.setFieldValue,l=n.props,c=l.referenceId,s=l.isOffering,u=l.isContentMapping,d=l.collectionId,m=l.customValue,p=n.props.collectionStore.COLLECTION_MAP_DROPDOWN.fields.mappingMeta.value,f=t.value.length>p.length?"adminCollectionMappingUpsert":"adminDeleteCollectionMapping",h="adminCollectionMappingUpsert"===f?t.value[t.value.length-1]:n.getCollectionId(t.value),v=u?{collectionId:d,referenceId:h}:{collectionId:h,referenceId:c},g=Object(o.a)({},v,{type:s?"OFFERING":"INSIGHT",customValue:m,order:t.value.length-1,scope:"PUBLIC"});a(f,g,u).then(function(){if("adminCollectionMappingUpsert"===f)i("selectedCollectionArray",t.value);else{var e=n.props.collectionStore.selectedCollectionArray;i("selectedCollectionArray",e.filter(function(e){return t.value.includes(e)}))}i("COLLECTION_MAP_DROPDOWN",t.value,"fields.mappingMeta.value"),i("collectionIndex",null),n.props.history.push("".concat(n.props.match.url))}).catch(function(){i("COLLECTION_MAP_DROPDOWN",p,"fields.collection.value")})},n}return Object(s.a)(t,e),Object(i.a)(t,[{key:"render",value:function(){var e=this,t=this.props.collectionStore,n=t.collectionMappingList,r=t.COLLECTION_MAP_DROPDOWN,o=this.props.nsUiStore.loadingArray;return d.a.createElement(f.g,{name:"collection",fielddata:r.fields.mappingMeta,options:n,disabled:Object(p.intersection)(o,["adminCollectionMappingUpsert","adminDeleteCollectionMapping"]).length>0||this.props.isDisabled,multiple:!0,selection:!0,search:!0,fluid:!0,containerclassname:"dropdown-field",onChange:function(t,n){return e.handleCollectionChange(t,n)}})}}]),t}(d.a.Component))||r)||r},1175:function(e,t,n){"use strict";n.r(t);var r,o=n(9),a=n(10),i=n(16),l=n(14),c=n(15),s=n(0),u=n.n(s),d=n(55),m=n(11),p=n(1340),f=Object(d.i)(r=Object(m.c)(r=function(e){function t(){return Object(o.a)(this,t),Object(i.a)(this,Object(l.a)(t).apply(this,arguments))}return Object(c.a)(t,e),Object(a.a)(t,[{key:"render",value:function(){return u.a.createElement(u.a.Fragment,null,this.props.children)}}]),t}(u.a.Component))||r)||r;t.default=Object(p.default)(f,{store:"collectionStore",form:"COLLECTION_FRM"})},1340:function(e,t,n){"use strict";n.r(t);var r=n(29),o=n(9),a=n(10),i=n(16),l=n(14),c=n(15),s=n(0),u=n.n(s),d=n(11),m=n(2706),p=n(
155),f=n(41),h=n(42),v=n(2732),g=n(1068),E=n(1069);t.default=Object(d.c)(function(e,t){return Object(d.b)(t.store)(Object(d.c)(function(n){function s(){var e,n;Object(o.a)(this,s);for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];return(n=Object(i.a)(this,(e=Object(l.a)(s)).call.apply(e,[this].concat(c)))).state={openModal:!1},n.toggleModal=function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n.setState({openModal:e}),r&&n.props[t.store].removeOne(t.form,"content",r)},n.checkValidFormIndexZero=function(){var e=n.props[t.store][t.form].fields.content[0];return e.title.value&&e.contentType.value&&e.scope.value},n.addMore=function(){n.checkValidFormIndexZero()&&n.props[t.store].addMore(t.form,"content"),n.toggleModal(!0)},n.onSortEnd=function(e){var o=e.oldIndex,a=e.newIndex,i=Object(r.a)(n.props[t.store][t.form].fields.content);n.props[t.store].reOrderHandle(Object(m.arrayMove)(i,o,a),t.form,"content"),n.props[t.store].setFieldValue("onDragSaveEnable",!0)},n}return Object(c.a)(s,n),Object(a.a)(s,[{key:"render",value:function(){var n=this.props.match,r=this.props[t.store][t.form],o=[];return r.fields.content.map(function(e,t){return o.push({title:"".concat(""!==e.title.value?e.title.value:"Content Block ".concat(t+1)),to:"".concat(t+1),index:t}),o}),u.a.createElement(e,null,u.a.createElement("div",{className:"inner-content-spacer"},this.stateopenModal&&u.a.createElement(E.default,{refLink:n.url,toggleModal:this.toggleModal,index:r.fields.content.length-1}),u.a.createElement(f.a,null,u.a.createElement(f.a.Column,{widescreen:4,computer:4,tablet:3,mobile:16},u.a.createElement("div",{className:"sticky-sidebar"},u.a.createElement(v.a,{secondary:!0,vertical:!0,match:n,onSortEnd:this.onSortEnd,navItems:o}),r.fields.content.length<20&&u.a.createElement(h.a,{size:"small",color:"blue",className:"link-button mt-20",onClick:this.addMore},"+ Add another content block"))),u.a.createElement(f.a.Column,{widescreen:12,computer:12,tablet:13,mobile:16},u.a.createElement(p.d,null,u.a.createElement(p.b,{exact:!0,path:n.url,render:function(e){return u.a.createElement(g.default,Object.assign({refLink:n.url},e,{index:0}))}}),o.map(function(e){return u.a.createElement(p.b,{exact:!1,key:e.to,path:"".concat(n.url,"/").concat(e.to),render:function(t){return u.a.createElement(g.default,Object.assign({refLink:n.url},t,{index:e.index||0}))}})}))))))}}]),s}(u.a.Component)))})},2732:function(e,t,n){"use strict";var r,o=n(9),a=n(10),i=n(16),l=n(14),c=n(15),s=n(0),u=n.n(s),d=n(25),m=n(55),p=n(2706),f=n(2),h=n(39),v=n(94),g=n(110),E=n(52),y=n(126),b=n(21),O=Object(p.sortableHandle)(function(){return u.a.createElement(h.a,{className:"ns-drag-holder mr-10 ml-10"})}),C=Object(p.SortableElement)(function(e){var t=e.dragHandle,n=e.item,r=e.navCustomClick,o=e.addon,a=e.match;return u.a.createElement("div",{className:"row-wrap drag-menu"},t&&u.a.createElement(O,null),u.a.createElement(v.a.Item,{className:"mlr-0",target:!!n.forced&&"_blank",key:n.to,onClick:r,as:d.c,to:n.forced||"".concat(a.url,"/").concat(n.to)},o&&"left"===o.pos&&o.data[n.to],n.title,o&&"left"!==o.pos&&o.data[n.to]))}),N=Object(p.SortableContainer)(function(e){var t=e.isActive,n=e.location,r=e.navItems,o=e.navClick,a=e.match,i=e.addon,l=e.navCustomClick,c=e.onSortEnd;return u.a.createElement("div",null,r.map(function(e,r){return u.a.createElement(C,{key:"item-".concat(r),index:r,item:e,isActive:t,navCustomClick:l,addon:i,location:n,match:a,navClick:o,onSortEnd:c,dragHandle:!0})}))}),L=Object(m.i)(r=function(e){function t(){var e,n;Object(o.a)(this,t);for(var r=arguments.length,a=new Array(r),c=0;c<r;c++)a[c]=arguments[c];return(n=Object(i.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(a)))).navClick=function(e,t){var r=t.name;e.target&&"byPass"!==e.target.name&&n.props.history.replace("".concat(n.props.match.url,"/").concat(r))},n.isActive=function(e,t){return t.pathname.startsWith("".concat(n.props.match.url,"/").concat(e))},n}return Object(c.a)(t,e),Object(a.a)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.navItems,r=t.match,o=t.refMatch,a=t.location,i=t.vertical,l=t.noinvert,c=t.attached,s=t.className,d=t.stepsStatus,m=t.addon,p=t.heading,h=t.force2ary,O=t.navCustomClick,C=t.responsiveVars,L=t.onSortEnd,w=[],S=Object(f.get)(C,"isTabletLand")||Object(f.get)(C,"isSmallScreen")?5:8,I=!Object(f.get)(C,"isMobile")&&this.props.offering&&n&&n.length>S;I&&(w=n.splice(S,n.length-S).map(function(e){return{key:e.to,text:e.title,value:e.to}}));return u.a.createElement(u.a.Fragment,null,u.a.createElement(g.a,{minWidth:768,as:u.a.Fragment},p&&u.a.createElement(E.a,{as:"h6"},p),u.a.createElement(v.a,{className:s||"",celled:!i,horizontal:!i,inverted:!l&&!i,secondary:h||i,vertical:i,attached:c},u.a.createElement(N,{addon:m,isActive:this.isActive,location:this.props.location,navItems:n,navClick:this.navClick,match:o||r,stepsStatus:d,navCustomClick:O,onSortEnd:L,lockAxis:"y",pressDelay:100,useDragHandle:!0}),I&&u.a.createElement(y.a,{selectOnBlur:!1,onChange:function(t,n){return e.props.history.push(n.value)},text:"More...",options:w,className:"more-items link item"}),this.props.rightLabel)),u.a.createElement(g.a,{className:"secondary-menu",maxWidth:767,as:u.a.Fragment},"/legal"===r.url?u.a.createElement(b.o,{inverted:!0,refMatch:o||r,navItems:n,location:a,className:"legal-menu"}):u.a.createElement(b.o,{className:"private-secondary-menu",refMatch:o||r,navItems:n,location:a,useIsActive:!0,isBonusReward:this.props.isBonusReward,bonus
1Rewards:this.props.bonusRewards})))}}]),t}(s.Component))||r;t.a=L}}]);
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.