1import{T as b}from"./TheFlashAlerts-66e95c7a.js";import{B as d}from"./BaseBox-9a291374.js";import{n as o}from"./main-a79477bd.js";import{a as v,B as i}from"./NumberFormatter-ee7c1e6f.js";import{B as _}from"./BaseBlockHeader-0daa82d4.js";import{h as n}from"./productUsage-9d408814.js";import{F as y}from"./FontAwesomeIcon-78ce7022.js";import{V as C}from"./vue-autonumeric.min-31b4d087.js";import{q as f,m as k}from"./700-33945e34.js";import{B as R}from"./BaseDate-8a13d2d9.js";import{a as g}from"./SubscriptionPlanServices-a0a56bfc.js";import{c as x}from"./vue-currency-input.esm-cd88b2f7.js";import{R as A}from"./ReportDownloadButton-1d3e5ada.js";import{D}from"./DateFormatter-394ab976.js";import{D as P}from"./DefaultPremiumPopup-7155c819.js";import"./InputMixin-e4836f08.js";import"./ObjectUtils-89f2450e.js";import"./BaseUtils-3068e455.js";import"./index.esm-5d4f622a.js";import"./BaseButtonContainer-c2b3c591.js";import"./BaseButton-e60948fb.js";import"./FileUtility-aac1b0fd.js";const $={name:"Rule701Criteria",components:{BaseBox:d},props:{isGreatestValueToCompare:{type:Boolean,default:!1}}};var T=function(){var e=this,t=e._self._c;return t("BaseBox",{class:{"base-box-greatest-value--border":e.isGreatestValueToCompare}},[t("div",{staticClass:"uk-text-bold"},[e._t("name")],2),t("div",{staticClass:"greatest-value-box"},[e.isGreatestValueToCompare?t("div",{staticClass:"greatest-value-text"},[e._v(" Greatest value to compare ")]):e._e()]),t("div",[e._t("description")],2)])},O=[],N=o($,T,O,!1,null,"ddcbcc3b",null,null);const w=N.exports;const E={name:"Rule701CriteriaSection",mixins:[v],components:{Rule701Criteria:w,BaseBox:d,BaseBlockHeader:_},props:{data:{type:Object,required:!0}},computed:{bestCriteria(){const a={[this.$page.props.share.types.rule_701_criteria_type.SALES_PRICE_LESS_THAN_1M]:i(this.data.aggregateSalesPriceOfRule701Shares).dividedBy(1e6),[this.$page.props.share.types.rule_701_criteria_type.SECURITIES_SOLD_LESS_THAN_15P]:i(this.data.aggregateNumberOfRule701Shares).dividedBy(this.fifteenPercentOfOutstandingShares),[this.$page.props.share.types.rule_701_criteria_type.SALES_PRICE_LESS_THAN_15P]:i(this.data.aggregateSalesPriceOfRule701Shares).dividedBy(this.fifteenPercentOfTotalAssets)},e=t=>a[t].isLessThanOrEqualTo(1)&&Object.values(a).every(s=>a[t].isLessThanOrEqualTo(s));for(let t in a)if(e(t))return this.data.bestCriteria=t,t;return this.data.bestCriteria=null,null},fifteenPercentOfOutstandingShares(){return this.data.totalSharesIssued?i(this.data.totalSharesIssued).multipliedBy(.15):i(0)},fifteenPercentOfTotalAssets(){return this.data.totalAssets?i(this.data.totalAssets).multipliedBy(.15):i(0)}}};var B=function(){var e=this,t=e._self._c;return t("BaseBox",[t("BaseBlockHeader",{attrs:{title:"Qualification Criteria"}}),t("div",[t("div",{staticClass:"text-blue--muted"},[e._v(" To ensure compliance with Rule 701 exemption, the aggregate sales price or amount of securities sold within a continuous 12-month period "),t("span",{staticClass:"uk-text-bold"},[e._v("must not exceed")]),e._v(" the greatest value among the following options: ")]),t("hr"),t("div",{staticClass:"criteria text-blue--muted"},[t("Rule701Criteria",{attrs:{isGreatestValueToCompare:e.bestCriteria===e.$page.props.share.types.rule_701_criteria_type.SALES_PRICE_LESS_THAN_1M},scopedSlots:e._u([{key:"name",fn:function(){return[e._v(" Aggregate sales price of Rule 701 "),t("br"),e._v(" shares < $1M ")]},proxy:!0},{key:"description",fn:function(){return[e.bestCriteria===e.$page.props.share.types.rule_701_criteria_type.SALES_PRICE_LESS_THAN_1M?[t("span",{staticClass:"font-bold"},[e._v(" "+e._s(e.formatPriceToMaxDecimalsOrFirstNonZero(e.data.aggregateSalesPriceOfRule701Shares,e.$page.props.current_company.currency_code,e.$page.props.current_company.capital_committed_display_rounding,e.$page.props.current_company.capital_committed_display_rounding))+" ")]),e._v(" Aggregate sales price "),t("br"),e._v(" < US$1 million ")]:[e._v(" Aggregate sales price: "),t("br"),t("span",{staticClass:"font-bold"},[e._v(" "+e._s(e.formatPriceToMaxDecimalsOrFirstNonZero(e.data.aggregateSalesPriceOfRule701Shares,e.$page.props.current_company.currency_code,e.$page.props.current_company.capital_committed_display_rounding,e.$page.props.current_company.capital_committed_display_rounding))+" ")])]]},proxy:!0}])}),t("Rule701Criteria",{attrs:{isGreatestValueToCompare:e.bestCriteria===e.$page.props.share.types.rule_701_criteria_type.SECURITIES_SOLD_LESS_THAN_15P},scopedSlots:e._u([{key:"name",fn:function(){return[e._v(" Aggregate Rule 701 shares < 15% of "),t("br"),e._v(" outstanding shares ")]},proxy:!0},{key:"description",fn:function(){return[e.bestCriteria===e.$page.props.share.types.rule_701_criteria_type.SECURITIES_SOLD_LESS_THAN_15P?[t("span",{staticClass:"font-bold"},[e._v(" "+e._s(e.formatNumberToMaxDecimalsOrFirstNonZero(e.data.aggregateNumberOfRule701Shares,10))+" ")]),e._v(" sold "),t("br"),e._v(" < "+e._s(e.formatNumberToMaxDecimalsOrFirstNonZero(e.fifteenPercentOfOutstandingShares,10))+" shares ")]:[e._v(" 15% of the outstanding shares: "),t("br"),t("span",{staticClass:"font-bold"},[e._v(" "+e._s(e.formatNumberToMaxDecimalsOrFirstNonZero(e.fifteenPercentOfOutstandingShares,10))+" ")])]]},proxy:!0}])}),t("Rule701Criteria",{attrs:{isGreatestValueToCompare:e.bestCriteria===e.$page.props.share.types.rule_701_criteria_type.SALES_PRICE_LESS_THAN_15P},scopedSlots:e._u([{key:"name",fn:function(){return[e._v(" Aggregate sales price of Rule 701 "),t("br"),e._v(" shares < 15% of assets ")]},proxy:!0},{key:"description",fn:function(){return[e.bestCriteria===e.$page.props.share.types.rule_701_criteria_type.SALES_PRICE_LESS_THAN_15P?[t("span",{staticClass:"font-bold"},[e._v(" "+e._s(e.formatPriceToMaxDecimalsOrFirstNonZero(e.data.aggregateSalesPriceOfRule701Shares,e.$page.props.current_company.currency_code,e.$page.props.current_company.capital_committed_display_rounding,e.$page.props.current_company.capital_committed_display_rounding))+" ")]),e._v(" Aggregate sales price "),t("br"),e._v(" < "+e._s(e.formatPriceToMaxDecimalsOrFirstNonZero(e.fifteenPercentOfTotalAssets,e.$page.props.current_company.currency_code,e.$page.props.current_company.capital_committed_display_rounding,e.$page.props.current_company.capital_committed_display_rounding))+" of assets ")]:[e._v(" 15% of assets: "),t("br"),t("span",{staticClass:"font-bold"},[e._v(" "+e._s(e.formatPriceToMaxDecimalsOrFirstNonZero(e.fifteenPercentOfTotalAssets,e.$page.props.current_company.currency_code,e.$page.props.current_company.capital_committed_display_rounding,e.$page.props.current_company.capital_committed_display_rounding))+" ")])]]},proxy:!0}])})],1)])],1)}
1,q=[],F=o(E,B,q,!1,null,"e0a64c3f",null,null);const I=F.exports;const M={name:"Rule701FormSection",emits:["newDataBeingFetched"],components:{CurrencyInput:x,BaseDate:R,FontAwesomeIcon:y,VueAutonumeric:C,BaseBox:d,BaseBlockHeader:_},props:{data:{type:Object,required:!0}},data(){return{balanceSheetsRoute:f("client.company.show",{company:this.$page.props.current_company.id})+"#balance-sheets",fetchingNewData:!0,featureId:this.$page.props.share.constants.application_features.rule_701.id}},methods:{route:f,numberInputRule(){return{required:!0,min_value:1e-10}},setPeriodData(a=!1){if(!g.hasAccessToFeature(this.featureId)){this.fetchingNewData=!1;return}if(!n(this.data.checkPeriodStart).isValid()||!n(this.data.checkPeriodEnd).isValid()){this.fetchingNewData=!1;return}this.$emit("newDataBeingFetched"),k.post(f("compliance.rule701.getPeriodData",{company:this.$page.props.current_company.id}),{check_period_end_changed:!!a,check_period_start:n(this.data.checkPeriodStart).format("YYYY-MM-DD"),check_period_end:n(this.data.checkPeriodEnd).format("YYYY-MM-DD"),balance_sheet_date:this.data.balanceSheetDate?n(this.data.balanceSheetDate).format("YYYY-MM-DD"):null}).then(e=>{this.data.totalSharesIssued=e.data.total_shares_issued,this.data.totalAssets=e.data.total_assets,this.data.balanceSheetDate=e.data.balance_sheet_date?n(e.data.balance_sheet_date,"YYYY-MM-DD").toDate():null,this.data.securities=e.data.securities,this.fetchingNewData=!1})},setCheckPeriod(a){this.fetchingNewData=!0,this.data.securities={equities:[],options:[],warrants:[]},this.data.checkPeriodEnd=n(a).toDate(),this.data.checkPeriodStart=n(a).subtract(1,"year").toDate(),this.setPeriodData(!0)},setDefaultCheckPeriod(){this.setCheckPeriod(new Date)}},mounted(){g.hasAccessToFeature(this.featureId)&&this.setDefaultCheckPeriod()}};var Y=function(){var e=this,t=e._self._c;return t("BaseBox",[t("BaseBlockHeader",{attrs:{title:"Company Information"}}),t("div",[t("div",{staticClass:"text-blue--muted"},[e._v(" To determine your eligibility, please provide the following information: ")]),t("hr"),t("div",{staticClass:"form-inputs text-blue--muted"},[t("div",[t("div",[e._v(" Check Period End "),t("a",{attrs:{"data-tooltip":"Enter the check period end date for Rule 701 eligibility."}},[t("FontAwesomeIcon",{attrs:{icon:"fas fa-question-circle"}})],1)]),t("ValidationProvider",{attrs:{rules:"required"},scopedSlots:e._u([{key:"default",fn:function({errors:s}){return[t("BaseDate",{class:{"uk-disabled":e.fetchingNewData,"uk-form-danger":s[0]},attrs:{"datepicker-class":"full-width","error-class":"uk-form-danger",disabled:e.fetchingNewData},on:{change:e.setCheckPeriod},model:{value:e.data.checkPeriodEnd,callback:function(c){e.$set(e.data,"checkPeriodEnd",c)},expression:"data.checkPeriodEnd"}}),s[0]?t("div",{staticClass:"form-error"},[e._v(" * Check period end date is required. ")]):e._e()]}}])})],1),t("div",[t("div",[e._v(" Total Shares Issued "),t("a",{attrs:{"data-tooltip":"Enter the total shares offered during the period."}},[t("FontAwesomeIcon",{attrs:{icon:"fas fa-question-circle"}})],1)]),t("ValidationProvider",{attrs:{rules:e.numberInputRule()},scopedSlots:e._u([{key:"default",fn:function({errors:s}){return[t("VueAutonumeric",{staticClass:"uk-input",class:{"uk-disabled":e.fetchingNewData,"uk-form-danger":s[0]},attrs:{options:["floatPos",{allowDecimalPadding:!1,decimalPlaces:10,minimumValue:0}],placeholder:"eg. 10,000",required:"",disabled:e.fetchingNewData,autocomplete:"off"},model:{value:e.data.totalSharesIssued,callback:function(c){e.$set(e.data,"totalSharesIssued",c)},expression:"data.totalSharesIssued"}}),s[0]?t("div",{staticClass:"form-error"},[e._v(" * Total shares issued is required. ")]):e._e()]}}])})],1),t("div",[t("div",[e._v(" Balance Sheet Date "),t("a",{attrs:{"data-tooltip":"Total assets are calculated up to this date."}},[t("FontAwesomeIcon",{attrs:{icon:"fas fa-question-circle"}})],1),t("a",{attrs:{href:e.balanceSheetsRoute,target:"_blank"}},[t("FontAwesomeIcon",{attrs:{icon:"fas fa-arrow-right"}})],1)]),t("ValidationProvider",{attrs:{rules:"required"},scopedSlots:e._u([{key:"default",fn:function({errors:s}){return[t("BaseDate",{class:{"uk-disabled":e.fetchingNewData,"uk-form-danger":s[0]},attrs:{"datepicker-class":"full-width","error-class":"uk-form-danger",disabled:e.fetchingNewData},on:{change:function(c){return e.setPeriodData()}},model:{value:e.data.balanceSheetDate,callback:function(c){e.$set(e.data,"balanceSheetDate",c)},expression:"data.balanceSheetDate"}}),s[0]?t("div",{staticClass:"form-error"}
1,[e._v(" * Balance sheet date is required. ")]):e._e()]}}])})],1),t("div",[t("div",[e._v(" Total Assets "),t("a",{attrs:{"data-tooltip":"From most recent balance sheet."}},[t("FontAwesomeIcon",{attrs:{icon:"fas fa-question-circle"}})],1)]),t("ValidationProvider",{attrs:{rules:e.numberInputRule()},scopedSlots:e._u([{key:"default",fn:function({errors:s}){return[t("currency-input",{staticClass:"uk-input",class:{"uk-disabled":e.fetchingNewData,"uk-form-danger":s[0]},attrs:{currency:e.$page.props.current_company.currency_code,precision:{min:0,max:10},"distraction-free":{hideNegligibleDecimalDigits:!0},"allow-negative":!1,placeholder:"eg. 1,000",required:"",disabled:e.fetchingNewData,autocomplete:"off"},model:{value:e.data.totalAssets,callback:function(c){e.$set(e.data,"totalAssets",c)},expression:"data.totalAssets"}}),s[0]?t("div",{staticClass:"form-error"},[e._v(" * Total assets is required. ")]):e._e()]}}])})],1)])])],1)},L=[],H=o(M,Y,L,!1,null,"ae86fdbb",null,null);const V=H.exports;const G={name:"Rule701StatusSection",components:{ReportDownloadButton:A,FontAwesomeIcon:y,BaseBox:d,BaseBlockHeader:_},props:{data:{type:Object,required:!0}},computed:{anyCriteriaMet(){const a=this.data.aggregateSalesPriceOfRule701Shares.isLessThanOrEqualTo(1e6),e=this.data.aggregateNumberOfRule701Shares.isLessThanOrEqualTo(this.fifteenPercentOfOutstandingShares),t=this.data.aggregateSalesPriceOfRule701Shares.isLessThanOrEqualTo(this.fifteenPercentOfTotalAssets);return a||e||t},fifteenPercentOfOutstandingShares(){return this.data.totalSharesIssued?i(this.data.totalSharesIssued).multipliedBy(.15):i(0)},fifteenPercentOfTotalAssets(){return this.data.totalAssets?i(this.data.totalAssets).multipliedBy(.15):i(0)},noSecuritiesSelected(){return i(this.data.aggregateNumberOfRule701Shares).isEqualTo(0)}},methods:{getParams(){return{data:{checkPeriodStart:n(this.data.checkPeriodStart).format("YYYY-MM-DD"),checkPeriodEnd:n(this.data.checkPeriodEnd).format("YYYY-MM-DD"),securities:{common_equities:this.data.securities&&this.data.securities.equities?this.data.securities.equities.filter(a=>a.share_type==="common"&&a.selected===!0):[],preferred_equities:this.data.securities&&this.data.securities.equities?this.data.securities.equities.filter(a=>a.share_type==="preferred"&&a.selected===!0):[],options:this.data.securities&&this.data.securities.options?this.data.securities.options.filter(a=>a.selected===!0):[],warrants:this.data.securities&&this.data.securities.warrants?this.data.securities.warrants.filter(a=>a.selected===!0):[]},bestCriteria:this.data.bestCriteria}}}}};var Z=function(){var e=this,t=e._self._c;return t("BaseBox",[t("div",{staticClass:"header-container"},[t("BaseBlockHeader",{attrs:{title:"Status"}}),e.noSecuritiesSelected?e._e():[e.anyCriteriaMet?t("div",{staticClass:"qualified"},[e._v("Qualified")]):t("div",{staticClass:"not-qualified"},[e._v("Not Qualified")])]],2),t("div",{staticClass:"uk-margin-small-bottom text-blue--muted"},[e.noSecuritiesSelected?[e._v(" No securities selected. Please select securities to check the status. ")]:e.anyCriteriaMet?[e._v(" Congratulations! Your company qualifies for the Rule 701 exemption. No additional reporting is needed. To review all the details, please download the report. ")]:[e._v(" We have identified that your company does not meet the qualification criteria for Rule 701 exemption. Further action is required to ensure compliance. To review all the details, please download the report. ")]],2),t("div",[t("ReportDownloadButton",{staticClass:"report-download-button--align-left",attrs:{typeOfReport:e.$page.props.share.types.report_type.TYPE_RULE_701_REPORT,isButtonDisabled:e.noSecuritiesSelected,params:e.getParams(),showLeft:!0}})],1)])},U=[],j=o(G,Z,U,!1,null,"fe23babc",null,null);const W=j.exports;const K={name:"Rule701SelectAllOfType",emits:["selectAllOfTypeChanged"],props:{data:{type:Object,required:!0},type:{type:String,required:!0}},methods:{selectAllOfType(){this.data.securities[this.type].forEach(a=>{a.selected=!0}),this.$emit("selectAllOfTypeChanged")}}};var Q=function(){var e=this,t=e._self._c;return t("span",{staticClass:"rule701-select-all font-semibold text-transform-uppercase"},[t("a",{on:{click:e.selectAllOfType}},[e._v("Select All")])])},z=[],J=o(K,Q,z,!1,null,"d190a20f",null,null);const X=J.exports;const ee={name:"Rule701SecuritiesTable",components:{Rule701SelectAllOfType:X},mixins:[v,D],props:{data:{type:Object,required:!0}},data(){return{selectAllChecked:!1}
1},methods:{getSecurityAggregatesSalesPrice(a){return i(a.shares_amount).times(a.share_price)},recalculateAggregateData(){const a=this.data.securities.equities.concat(this.data.securities.options).concat(this.data.securities.warrants);this.data.aggregateNumberOfRule701Shares=a.filter(e=>e.selected).reduce((e,t)=>e.plus(t.shares_amount),i(0)),this.data.aggregateSalesPriceOfRule701Shares=a.filter(e=>e.selected).reduce((e,t)=>e.plus(this.getSecurityAggregatesSalesPrice(t)),i(0))},onSecuritySelectChanged(a,e){a.selected=!!e.target.checked,this.setSelectAll(),this.recalculateAggregateData()},onSelectTypeOfAllChanged(){this.setSelectAll(),this.recalculateAggregateData()},onSelectAllChanged(a){const e=a.target.checked;this.data.securities.equities.forEach(t=>{t.selected=e}),this.data.securities.options.forEach(t=>{t.selected=e}),this.data.securities.warrants.forEach(t=>{t.selected=e}),this.recalculateAggregateData()},setSelectAll(){const a=this.data.securities.equities.every(s=>s.selected),e=this.data.securities.options.every(s=>s.selected),t=this.data.securities.warrants.every(s=>s.selected);this.selectAllChecked=a&&e&&t},getTypeDisplayName(a){switch(a){case"equities":return"Equities";case"options":return"Options";default:return"Warrants"}},getRouteToSecurity(a,e){switch(a){case"equities":return route("showEquityGrant",{company:this.$page.props.current_company.id,equityGrant:e});case"options":return route("showOptionGrant",{company:this.$page.props.current_company.id,optionGrant:e});default:return route("showWarrantGrant",{company:this.$page.props.current_company.id,warrantGrant:e})}}}};var te=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"security-grant__container"},[e._v(" Securities granted between "+e._s(e.formatDate(e.data.checkPeriodStart))+" - "+e._s(e.formatDate(e.data.checkPeriodEnd))+" ")]),t("div",{staticClass:"table-overflow"},[t("table",{staticClass:"uk-table uk-table-middle securities-table"},[t("thead",[t("tr",[t("th",{staticClass:"select-column--width"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectAllChecked,expression:"selectAllChecked"}],staticClass:"cursor-pointer",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.selectAllChecked)?e._i(e.selectAllChecked,null)>-1:e.selectAllChecked},on:{change:[function(s){var c=e.selectAllChecked,r=s.target,p=!!r.checked;if(Array.isArray(c)){var l=null,u=e._i(c,l);r.checked?u<0&&(e.selectAllChecked=c.concat([l])):u>-1&&(e.selectAllChecked=c.slice(0,u).concat(c.slice(u+1)))}else e.selectAllChecked=p},e.onSelectAllChanged]}})]),t("th",{staticClass:"uk-text-center"},[e._v("Grant name")]),t("th",{staticClass:"uk-text-center"},[e._v("Issued")]),t("th",{staticClass:"uk-text-center"},[e._v("Shareholder")]),t("th",{staticClass:"uk-text-center"},[e._v("Type")]),t("th",{staticClass:"uk-text-center"},[e._v("Amount of securities")]),t("th",{staticClass:"uk-text-center"},[e._v("Aggregate sales price")])])]),t("tbody",{staticClass:"uk-table-divider"},[e._l(e.data.securities,function(s,c){return e.data.securities?[s&&s.length>0?[t("tr",{staticClass:"securities-tr security-type-tr"},[t("td",{staticClass:"detailed-captable-td",attrs:{colspan:"7"}},[t("span",{staticClass:"uk-text-bold"},[e._v(" "+e._s(e.getTypeDisplayName(c))+" ")]),t("Rule701SelectAllOfType",{attrs:{data:e.data,type:c},on:{selectAllOfTypeChanged:e.onSelectTypeOfAllChanged}})],1)]),e._l(s,function(r){return t("tr",{staticClass:"equities uk-table-middle uk-table tr-blue-hover"},[t("td",{staticClass:"uk-text-center"},[t("input",{directives:[{name:"model",rawName:"v-model",value:r.selected,expression:"security.selected"}],staticClass:"cursor-pointer",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(r.selected)?e._i(r.selected,null)>-1:r.selected},on:{change:[function(p){var l=r.selected,u=p.target,S=!!u.checked;if(Array.isArray(l)){var m=null,h=e._i(l,m);u.checked?h<0&&e.$set(r,"selected",l.concat([m])):h>-1&&e.$set(r,"selected",l.slice(0,h).concat(l.slice(h+1)))}else e.$set(r,"selected",S)},function(p){return e.onSecuritySelectChanged(r,p)}]}})]),t("td",{staticClass:"uk-text-center"},[t("a",{attrs:{href:e.getRouteToSecurity(c,r.id),target:"_blank"}},[e._v(" "+e._s(r.name)+" ")])]),t("td",{staticClass:"uk-text-center"},[e._v(" "+e._s(e.formatDate(r.date_issued))+" ")]),t("td",{staticClass:"uk-text-center"},[e._v(" "+e._s(r.shareholder_name)+" ")]),t("td",{staticClass:"uk-text-center"},[t("span",{staticClass:"badge badge--gold"},[e._v(" "+e._s(r.shareholder_type)+" ")])]),t("td",{staticClass:"uk-text-center"},[e._v(" "+e._s(e.formatNumberToMaxDecimalsOrFirstNonZero(r.shares_amount,10))+" "),t("br"),e._v(" Price / Share: "+e._s(e.formatPriceToMaxDecimalsOrFirstNonZero(r.share_price,e.$page.props.current_company.currency_code,e.$page.props.current_company.share_price_display_rounding,e.$page.props.current_company.share_price_display_rounding))+" ")]),t("td",{staticClass:"uk-text-center"},[e._v(" "+e._s(e.formatPriceToMaxDecimalsOrFirstNonZero(e.getSecurityAggregatesSalesPr
1ice(r),e.$page.props.current_company.currency_code,e.$page.props.current_company.capital_committed_display_rounding,e.$page.props.current_company.capital_committed_display_rounding))+" ")])])})]:e._e()]:e._e()})],2),t("tfoot",{staticClass:"uk-text-bold table-info"},[t("tr",[t("td",{staticClass:"uk-text-left",staticStyle:{"line-height":"15px"},attrs:{colspan:5}},[e._v(" Total selected securities ")]),t("td",{staticClass:"uk-text-center"},[e._v(" "+e._s(e.formatNumberToMaxDecimalsOrFirstNonZero(this.data.aggregateNumberOfRule701Shares,10))+" ")]),t("td",{staticClass:"uk-text-center"},[e._v(" "+e._s(e.formatPriceToMaxDecimalsOrFirstNonZero(this.data.aggregateSalesPriceOfRule701Shares,e.$page.props.current_company.currency_code,e.$page.props.current_company.capital_committed_display_rounding,e.$page.props.current_company.capital_committed_display_rounding))+" ")])])])])])])},ae=[],se=o(ee,te,ae,!1,null,"828d52d8",null,null);const re=se.exports,ie={name:"Rule701SecuritiesSection",components:{Rule701SecuritiesTable:re,BaseBox:d,BaseBlockHeader:_},props:{data:{type:Object,required:!0}}};var ce=function(){var e=this,t=e._self._c;return t("BaseBox",[t("BaseBlockHeader",{attrs:{title:"Securities"}}),t("div",{staticClass:"uk-margin-bottom text-blue--muted"},[e._v(" Select securities for Rule 701 exemption by checking the checkbox. Checked securities will be considered for qualification criteria. ")]),t("Rule701SecuritiesTable",{attrs:{data:e.data}})],1)},ne=[],oe=o(ie,ce,ne,!1,null,null,null,null);const le=oe.exports;const ue={name:"Rule701DifferentCurrencyNotice",components:{BaseBox:d,BaseBlockHeader:_}};var de=function(){var e=this,t=e._self._c;return t("BaseBox",{staticClass:"warning-background"},[t("BaseBlockHeader",{attrs:{title:"Notice"}}),t("div",[e._v(" We notice your account currency is set to "+e._s(e.$page.props.current_company.currency_code)+" instead of USD. Rule 701 is a US regulation, so the calculations and information displayed may not be fully accurate for your non-USD account. ")])],1)},_e=[],pe=o(ue,de,_e,!1,null,"f39342e6",null,null);const he=pe.exports,fe={name:"Rule701Checker",components:{Rule701DifferentCurrencyNotice:he,Rule701SecuritiesSection:le,Rule701StatusSection:W,Rule701FormSection:V,Rule701CriteriaSection:I},data(){return{data:{checkPeriodEnd:null,checkPeriodStart:null,totalSharesIssued:null,totalAssets:null,balanceSheetDate:null,securities:null,bestCriteria:null,aggregateSalesPriceOfRule701Shares:i(0),aggregateNumberOfRule701Shares:i(0)},securitiesSectionKey:0}},methods:{afterDataIsFetched(){this.data.bestCriteria=null,this.data.aggregateSalesPriceOfRule701Shares=i(0),this.data.aggregateNumberOfRule701Shares=i(0),this.securitiesSectionKey+=1}}};var me=function(){var e=this,t=e._self._c;return t("div",[e.$page.props.current_company.currency_code!=="USD"?t("Rule701DifferentCurrencyNotice",{staticClass:"uk-margin-bottom"}):e._e(),t("Rule701FormSection",{staticClass:"uk-margin-bottom",attrs:{data:e.data},on:{newDataBeingFetched:function(s){return e.afterDataIsFetched()}}}),t("Rule701CriteriaSection",{staticClass:"uk-margin-bottom",attrs:{data:e.data}}),t("Rule701StatusSection",{staticClass:"uk-margin-bottom",attrs:{data:e.data}}),t("Rule701SecuritiesSection",{key:e.securitiesSectionKey,staticClass:"uk-margin-bottom",attrs:{data:e.data}})],1)},ge=[],ve=o(fe,me,ge,!1,null,null,null,null);const ye=ve.exports,Se={name:"Rule701IndexPage.vue",components:{DefaultPremiumPopup:P,Rule701Checker:ye,TheFlashAlerts:b,BaseBlockHeader:_}};var be=function(){var e=this,t=e._self._c;return t("DefaultPremiumPopup",{attrs:{"application-feature-id":e.$page.props.share.constants.application_features.rule_701.id}},[t("div",{attrs:{id:"rule-701-index-page"}},[t("InertiaHead",{attrs:{title:"Rule 701 Eligibility Checker"}}),t("TheFlashAlerts"),t("BaseBlockHeader",{attrs:{title:"Rule 701 Eligibility Checker"}}),t("Rule701Checker")],1)])},Ce=[],ke=o(Se,be,Ce,!1,null,null,null,null);const Ue=ke.exports;export{Ue as default};
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.