PageSourceSearch

https://www.yepdesk.com/assets/components/pricing-page/pricingCtrl.min.js

js yepdesk.com collected 2026-09-24 11:11:18 UTC 2,326 bytes, 1 lines download raw bytes

1function PricingCtrl(e,t,i){var c=this;i.currencies=[{name:"INR"},{name:"USD"},{name:"CAD"}],c.selectedCurrency="INR",c.changeCurrency=function(e){c.selectedCurrency=e,"INR"==c.selectedCurrency?(c.fixedCharge=0,c.variableCharge=6):"CAD"==c.selectedCurrency?(c.fixedCharge=.5,c.variableCharge=6):"USD"==c.selectedCurrency&&(c.fixedCharge=.5,c.variableCharge=6),c.ticketPriceAdded(c.ticketPrice)},c.currency="INR",c.ticketPrice=100,c.yepdeskCharge=0,c.govtTax=0,c.fixedCharge=0,c.variableCharge=6,c.totalPrice=0;c.totalInternetHandlingFee=0,c.originalPrice=0;c.ticketType="Exclusive",c.inclusiveCalc=function(e){c.ticketPrice=e,c.ticketPrice<5&&c.ticketPrice,c.govtTax=0,c.originalPrice=c.ticketPrice,c.yepdeskCharge=0,c.totalPrice=0,c.totalInternetHandlingFee=0,e>0&&("INR"==c.selectedCurrency&&(c.govtTax=.18),c.yepdeskCharge=Math.round(100*(c.fixedCharge+c.ticketPrice*c.variableCharge/100))/100,c.govtTax=Math.round(c.yepdeskCharge*c.govtTax*100)/100,c.originalPrice=Math.round(100*(c.ticketPrice-c.yepdeskCharge-c.govtTax))/100,c.totalPrice=Math.round(100*c.ticketPrice)/100,c.totalInternetHandlingFee=Math.round(100*(c.yepdeskCharge+c.govtTax))/100)},c.exclusiveCalc=function(e){c.originalPrice=c.ticketPrice,c.govtTax=0,c.yepdeskCharge=0,c.totalPrice=0,c.totalInternetHandlingFee=0,e>0&&(c.yepdeskCharge=Math.round(100*(c.fixedCharge+c.variableCharge*c.ticketPrice/100))/100,"INR"==c.selectedCurrency&&(c.govtTax=Math.round(18*c.yepdeskCharge/100*100)/100),c.totalInternetHandlingFee=Math.round(100*(c.yepdeskCharge+c.govtTax))/100,c.totalPrice=Math.round(100*(c.ticketPrice+c.yepdeskCharge+c.govtTax))/100)},c.ticketPriceAdded=function(e){c.ticketPrice=NaN==e||""==e?0:parseInt(e),"Exclusive"==c.ticketType?c.exclusiveCalc(c.ticketPrice):c.inclusiveCalc(c.ticketPrice)},c.ticketPriceAdded(c.ticketPrice),c.calClick=function(e){if("C"==e)c.ticketPrice=0;else if("B"==e){var t=c.ticketPrice.toString();t=t.length>1?t.slice(0,-1):0,c.ticketPrice=parseInt(t),NaN==c.ticketPrice&&(c.ticketPrice=0)}c.ticketPrice=parseInt(c.ticketPrice+""+e),c.ticketPriceAdded(c.ticketPrice)},c.ticketTypeChanged=function(e){c.ticketType=e,"Exclusive"==c.ticketType?c.exclusiveCalc(c.ticketPrice):c.inclusiveCalc(c.ticketPrice)}}angular.module("yepdesk").controller("PricingCtrl",PricingCtrl),PricingCtrl.$inject=["$q","$rootScope","$scope"];

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.