Sei sulla pagina 1di 512

Day.ex.apply(this,[t.n,"00","init",e])}})}};n.fn.

jDaySelectPageContent=function()
{return t.init.apply(n(this),null)}}(jQuery);$(document).ready(function(){$
("body").on("click",".tabs ul li",function(n){try{$(n.target).is(".tabs ul li")&&$
(this).find("a:first").click()}catch(t)
{bGlobal.eventHandler({Code:ec.Jday.V.Code+1,Exception:t})}});$
("body").on("click",".tabs ul li a",function(){try{if($
(this).attr("disabled")=="disabled"||$(this).attr("readonly")=="readonly")return!
1;var n=$(this).attr("target");n!=null&&($
(this).closest("ul").find("li").removeClass("active"),$
(this).parent().addClass("active"),$
(this).closest("div.tabs").find(".master").children("div").hide(),$
(this).closest("div.tabs").find(".master").children("#"+n).show())}catch(t)
{bGlobal.eventHandler({Code:ec.Jday.V.Code+2,Exception:t})}return!0})}),function(n)
{var t={n:"jDayToolTip-1.0",ec:ec.Jday.W.Code,init:function(i)
{n("#ToolTip").length<=0&&n("body").append(n('<div
id="ToolTip"><span><\/span><\/div>').hide());var r={TimeOut:500};return
this.each(function(){var u,f,e;try{u=n(this);f=u.data("settings")||
{};n.extend(f,r,i);u.data("settings",f);e=u.data("settings");u.mouseenter(function(
){t.hide.apply(u);clearTimeout(ToolTipTimeOut);ToolTipTimeOut=setTimeout(function()
{t.show.apply(u)},e.TimeOut)}).mouseleave(function()
{clearTimeout(ToolTipTimeOut);t.hide.apply(u)})}catch(o){jDay.ex.apply(this,
[t.n,t.ec+"01","init",o])}})},show:function(){var
r;try{r=n(this);n("#ToolTip").is(":visible")&&n("#ToolTip").hide();n("#ToolTip
span").html(r.attr("tooltip"));var
f=r.offset(),e=n(document).outerWidth(),o=n(document).outerHeight(),u=f.left,i=f.to
p,s=r.outerWidth(),h=r.outerHeight();u>e/2&&(u=u+s-
n("#ToolTip").outerWidth());i=i>o/2?i-n("#ToolTip").outerHeight():i+h;u-
=n(document).scrollLeft();i-
=n(document).scrollTop();n("#ToolTip").css({top:i,left:u}).show()}catch(c)
{jDay.ex.apply(this,[t.n,t.ec+"02","show",c])}},hide:function()
{try{n("#ToolTip").is(":visible")&&n("#ToolTip").hide()}catch(i)
{jDay.ex.apply(this,[t.n,t.ec+"03","hide",i])}},destroy:function(){return
this.each(function(){try{var
i=n(this);i.data("settings",null);i.removeAttr("tooltip");i.unbind("mouseenter").un
bind("mouseleave")}catch(r){jDay.ex.apply(this,
[t.n,t.ec+"04","destroy",r])}})}};n.fn.jDayToolTip=function(i){if(t[i])return
t[i].apply(this,Array.prototype.slice.call(arguments,1));if(typeof i!
="object"&&i)n.error("Method "+i+" does not exist on "+t.n);else return
t.init.apply(this,arguments);return this}}(jQuery);$(document).ready(function()
{try{$("[tooltip]").jDayToolTip()}catch(n){jDay.ex.apply(this,["jDayToolTip-
1.0",ec.Jday.W.Code+"04","GlobalInit",e])}});settings.Validator={required:"El campo
{0} es requerido.",invalid:"El campo {0} es inválido.",text:"Por favor introduzca
sólo caracteres alfanuméricos",string:"Por favor introduzca sólo texto",email:"Por
favor introduzca un correo electrónico válido",decimal:"Por favor introduzca un
valor decimal válido.",number:"Por favor introduzca sólo números",creditCard:"Por
favor introduzca una tarjeta de crédito válida",length:"Por favor introduzca
unicamente {0} caracteres.",maxLength:"Por favor introduzca a lo más {0}
caracteres.",minLength:"Por favor introduzca a lo menos {0}
caracteres.",rangeLength:"Por favor introduzca entre {0} y {1}
caracteres.",range:"Por favor introduzca un valor entre {0} y {1}.",max:"Por favor
introduzca un valor menor o igual a {0}.",min:"Por favor introduzca un valor mayor
o igual a {0}.",telephone:"El teléfono solo pude contener números y los caracteres
- ( ) +",password:"La contraseña debe tener al menos 8 caracteres, 1 letra
mayúscula, 1 letra minúscula y 1 número",equalTo:'El valor debe ser igual al de
"{0}"',distinctTo:'El valor debe ser distinto al de "{0}"',premier:"La cuenta Club
Premier proporcionada es incorrecta. Intenta nuevamente.",rut:"RUT/CUIT incorrecto.
Verifica los Datos de Facturación con el Cliente.",rutError:!1,requiredAuth:"Tiene
al menos un campo modificado, pendiente de autorizar.",authDenided:"La autorización
fue denegada."},function(n){var t={n:"jDayValidate-
1.1",ec:ec.Jday.X.Code,main:function(i){try{n(this).length!
=1&&n.error("jDayValidate Plug-in must be used on only one element at time");var
f,e=n(this),r={},u={IsValid:!0,Message:""};return(n.extend(r,
{NotifyPanel:"jDayNotify",NotifyTitle:"Llenar datos
obligatorios.",NotifySize:"large",NotifyTimeOut:5,notNameStarts:null,ValidateHidden
:!1,MarkInvalid:!0},i),r.Items!=null&&r.Items.length>0?n.each(r.Items,function(i,f)
{var e=t.validateControl.apply(n(f.Item),
[{Message:u.Message,Settings:r,Validate:f.Validate}]);u.IsValid=u.IsValid&&e.IsVali
d;u.Message=e.Message}):e.find("[validate]").each(function()
{if(t.isDisabled.apply(n(this)))return!0;if(r.ValidateHidden||
n(this).is(":visible")){var i=t.validateControl.apply(n(this),
[{Message:u.Message,Settings:r}]);u.IsValid=u.IsValid&&i.IsValid;u.Message=i.Messag
e}}),f=u.IsValid,cVF.isBlank(r.NotifyPanel))?f?"":u.Message:
(cVF.isBlank(u.Message)||
n("#"+r.NotifyPanel).jDayNotify({Title:r.NotifyTitle,Message:u.Message,Mode:"warnin
g",Size:r.NotifySize,TimeOut:r.NotifyTimeOut}),f)}catch(o){return
jDay.ex.apply(this,[t.n,t.ec+"01","main",o]),!1}},isDisabled:function(){try{var
i=n(this);if(i.hasClass("jDaySelect")?
i=i.find("input"):i.hasClass("jDayAutocomplete")?
i=i.find("input"):i.hasClass("jDayFDecimal")&&(i=n("#"+i.attr("id")
+"FDecimalMask")),i.is("[readonly]")||i.is("[disabled]"))return!0}catch(r)
{jDay.ex.apply(this,[t.n,t.ec+"01","isDisabled",r])}return!
1},validateControl:function(i){var s=!0,o;try{var h={IsAuthorizedRequired:!
1,Required:1,Validate:null,Lenght:null,MinLenght:null,MaxLenght:null,Min:null,Max:n
ull,Regex:null,EqualTo:null,DistinctTo:null,AlertMode:2,CustomMessage:null,Format:n
ull,Name:"",ShortMessage:!
1,Checked:null},r=n(this),e=r,f=null,u={};n.extend(u,i.Settings);i.Validate!=null?
n.extend(u,h,i.Validate):r.filter("[validate]:first").length>0&&n.extend(u,h,n.pars
eJSON(r.filter("[validate]:first").attr("validate")));r.hasClass("jDaySelect")?
(e=r.find("input"),f=r.jDaySelect("value")):r.hasClass("jDayAutocomplete")?
(e=r.find("input"),f=r.jDayAutocomplete("isInput")?
r.jDayAutocomplete("text"):r.jDayAutocomplete("value")):r.hasClass("calendar")?
f=r.datepicker("getDate"):r.hasClass("jDayFDecimal")?(e=n("#"+r.attr("id")
+"FDecimalMask"),f=r.val()):r.is("input")||r.is("textarea")?
(f=r.val(),r.jDayControl("isRequiredAuth")&&(s=bAGlobal.Authorization.validate(r.pa
rent()))):n.error("Unknown DOM element to
validate");e.removeClass("invalid");r.next("i.invalid").remove();o=t.validate(f,u);
o!=null&&(s=!1,cVF.isBlank(u.CustomMessage)||
(o=u.CustomMessage),u.MarkInvalid&&e.addClass("invalid"),u.AlertMode==1?
r.after(cVF.formatString('<i
class="invalid">{0}<\/i>',o)):u.AlertMode==2&&(i.Message+=(cVF.isBlank(i.Message)?"
":"<br />")+o))}catch(c){return jDay.ex.apply(this,
[t.n,t.ec+"02","validateControl",c]),{IsValid:!
1,Message:c}}return{IsValid:s,Message:i.Message}},validate:function(i,r){try{var
u;if(r.Required==!0&&cVF.isBlank(i)==!0)return
cVF.formatString(settings.Validator.required,r.Name);if(cVF.isBlank(i)==!0)return
null;if(r.EqualTo!=null&&(u=t.equalTo(i,r.EqualTo),!cVF.isBlank(u))||r.DistinctTo!
=null&&(u=t.distinctTo(i,r.DistinctTo),!cVF.isBlank(u))||r.rutData!
=null&&(u=t.rutData(i,r.rutData),!cVF.isBlank(u))||
(r.Validate=="telephone"&&(r.MinLenght=r.MinLenght==null?
6:r.MinLenght,r.MaxLenght=r.MaxLenght==null?
20:r.MaxLenght),u=t.length(i,r.MinLenght,r.MaxLenght,r.Lenght),!
cVF.isBlank(u)))return(r.ShortMessage?"":cVF.formatString(settings.Validator.invali
d,r.Name))+u;if((r.Min!=null||r.Max!=null)&&r.Validate!
="number"&&(r.Validate="decimal"),cVF.isBlank(r.Validate))return
null;switch(r.Validate)
{case"string":u=t.string(i);break;case"email":u=t.email(i);break;case"text":u=t.tex
t(i);break;case"decimal":u=t.decimal(i);u=cVF.isBlank(u)?
t.range(i,r.Min,r.Max):u;break;case"number":u=t.number(i);u=cVF.isBlank(u)?
t.range(i,r.Min,r.Max):u;break;case"creditcard":u=t.creditCard(i);break;case"teleph
one":u=t.telephone(i);break;case"password":u=t.password(i);break;case"rut":u=t.rut(
i);break;case"premier":u=t.validatePremierAccount(i);break;default:n.error('Unknown
selector to validate["'+r.Validate+'"]')}return cVF.isBlank(u)||r.ShortMessage||
(u=cVF.formatString(settings.Validator.invalid,r.Name)+u),u}catch(f){return
jDay.ex.apply(this,[t.n,t.ec+"03","validate",f]),f}},length:function(n,t,i,r)
{return r!=null&&n.length!=r?cVF.formatString(settings.Validator.length,r):t!
=null&&n.length<t?i!=null?
cVF.formatString(settings.Validator.rangeLength,t,i):cVF.formatString(settings.Vali
dator.minLength,t):i!=null&&n.length>i?t!=null?
cVF.formatString(settings.Validator.rangeLength,t,i):cVF.formatString(settings.Vali
dator.maxLength,i):null},text:function(n){return/^[a-zA-Z0-9\ \u00f1\u00d1]+
$/.test(n)?null:settings.Validator.text},string:function(n){return/^[a-z A-
ZáéíóúàèìòùÀÈÌÒÙÁÉÍÓÚñÑüÜ\s]+$/.test(n)?
null:settings.Validator.string},email:function(n){return/^((([a-z]|\d|[!#\$%&'\*\
+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$
%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)
((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|
[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\
([\x01-\x09\x0b\x0c\x0d-\x7f]|
[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?
(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-
z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|
[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|
[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|
[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|
[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|
[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|
[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(n)?
null:settings.Validator.email},decimal:function(n){return/^-?(?:\d+|\d{1,3}(?:,\d)
+)?(?:\.\d+)?$/.test(n)?null:settings.Validator.decimal},range:function(n,t,i)
{return
t!=null&&n<t?i!=null?
cVF.formatString(settings.Validator.range,t,i):cVF.formatString(settings.Validator.
min,t):i!=null&&n>i?t!=null?
cVF.formatString(settings.Validator.range,t,i):cVF.formatString(settings.Validator.
max,i):null},number:function(n){return/^\d+$/.test(n)?
null:settings.Validator.number},creditCard:function(n){return
cVF.isValidCreditCard(n)?null:settings.Validator.creditCard},telephone:function(n)
{return/^[\d|\-|\+|\(|\) ]+$/.test(n)?
null:settings.Validator.telephone},password:function(n){return/((?=.*\d)(?=.*[a-z])
(?=.*[A-Z]).{8,20})/.test(n)?
null:settings.Validator.password},equalTo:function(t,i){return t!
=n(i.Selector).val()?
cVF.formatString(settings.Validator.equalTo,i.Name):null},distinctTo:function(t,i)
{return t==n(i.Selector).val()?
cVF.formatString(settings.Validator.distinctTo,i.Name):null},rut:function(n)
{return(!/\d{2}[.]\d{3}[.]\d{3}-\d{1}/.test(n)||n.length<=11||
n.length>12)&&bGlobal.showNotify({Title:"RUT/CUIT",Message:"Formato o longitud de
datos
incorrecta.",Mode:settings.ErrorType.Info,TimeOut:5}),settings.Validator.rutError&&
bGlobal.showNotify({Title:"RUT",Message:settings.Validator.rut,Mode:settings.ErrorT
ype.Info,TimeOut:5}),null},validatePremierAccount:function(n){var
u,i,e,t;if(n.length>9||(u=new RegExp(/^[0-9]+$/),!u.test(n)))return
cVF.formatString(settings.Validator.premier);var f=0,t=0,r=!1;for(i=n.length-
1;i>=0;i--)e=n.charAt(i),t=parseInt(e,10),r&&(t*=2)>9&&(t-=9),f+=t,r=!r;return f
%10==0?null:cVF.formatString(settings.Validator.premier)},rutData:function(t,i){var
r=n("[name="+i.personType+"]").jDaySelect("value"),f=cVF.isBlank(r),s=!f&&r==="F"?
n("[name="+i.gender+"]").jDaySelect("value"):null,u=null,e=null,o,h;switch(i.Sectio
nType){case"COT":u=!f&&r=="F"?
n("[name="+i.countryID+"]").jDaySelect("value"):quotesPaymentsTabGlobal.Affiliate.C
ountry.Id;e=quotesPaymentsTabGlobal.Affiliate.Company.Id;break;case"NPAY":u=!
f&&r=="F"?
n("[name="+i.countryID+"]").jDaySelect("value"):detailsGlobal.Head.Client.Country;e
=paymentsTabGlobal.FiscalData.Company}return u=="CL"&&(o={Filters:
{DocumentType:0,DocumentID:t,PersonType:f?"F":r,Gender:cVF.isBlank(s)?"M":s,Residen
ceID:cVF.isBlank(u)?"CL":u,TaxCategory:1,CompanyID:cVF.isBlank(e)?
settings.Enums.HotelDO.Chile.Id:e}},n.extend(!
0,o,settings.Request.GetBaseRequest()),h=bGlobal.getFiscalDataResponse({Url:setting
s.Urls.Payments.FiscalNumber,Request:o}),h.RUT.toUpperCase().indexOf("ERROR")>-
1&&(settings.Validator.rutError=!0)),null}};n.fn.jDayValidate=function(){return
t.main.apply(this,arguments)}}(jQuery),function(n){var t={n:"jDayIgnoreValidate-
1.1",ec:ec.Jday.Y.Code,init:function(i){var r={Ignore:!0,Items:[]};return
this.each(function(){try{var f=n(this),u=n.extend(!0,{},r,i);u.Items!
=null&&u.Items.length>0?n.each(u.Items,function(i,r){t.ignoreValidate.apply(n(r),
[u.Ignore])}):u.Ignore?f.find("[validate]").each(function(i,r)
{t.ignoreValidate.apply(n(r),[!0])}):f.find("[validateIgnore]").each(function(i,r)
{t.ignoreValidate.apply(n(r),[!1])})}catch(e){jDay.ex.apply(this,
[t.n,t.ec+"01","init",e])}return this})},ignoreValidate:function(i){try{i?
(n(this).attr("validateIgnore",n(this).attr("validate")).removeAttr("validate"),n(t
his).removeClass("invalid")):n(this).attr("validate",n(this).attr("validateIgnore")
).removeAttr("validateIgnore")}catch(r){jDay.ex.apply(this,
[t.n,t.ec+"02","ignoreValidate",r])}return
this}};n.fn.jDayIgnoreValidate=function(i){if(t[i])return
t[i].apply(this,Array.prototype.slice.call(arguments,1));if(typeof i!
="object"&&i)n.error('Method "'+i+'" does not exist on '+t.n);else return
t.init.apply(this,arguments);return this}}
(jQuery);mailAdvisor={Code:"mailAdvisor-",data:null,callback:null,defaults:
{MailRequest:{IsOnline:!1,Source:"WebMatrix"}},getMail:function(n){try{var
i=settings.Urls.Components.MailAdvisor.GetMail,t=$.extend(!0,
{},mailAdvisor.defaults,n.request);$.extend(!
0,t,settings.Request.GetBaseRequest());$.extend(t,{AppTransaction:
{Reference:"WebMatrix AjaxController
3.0",LanguageCulture:settings.Culture.Locale,UserId:t.Authorization.User.Id,App:"We
bMatrix"}});execAjax.post({Url:i,Request:t,Handle:!1,Callback:function(i){if(i!
=null&&i.AppTransaction.Success){var
r={To:n.To,Subject:n.Subject,Body:i.Html,Cc:n.Cc};bMail.openOutlookDoc(r)}else
$.isFunction(n.callback)?
n.callback(t):bGlobal.showNotify({Title:settings.Dictionaries.Warnings.Title,Messag
e:settings.Dictionaries.Warnings.NoDataMail,Mode:"info",TimeOut:5})}})}catch(r)
{bGlobal.eventHandler({Code:mailAdvisor.Code+"getMail",Exception:r})}return!
1},getItineraryMail:function(n){try{var
i=settings.Urls.Components.MailAdvisor.GetItineraryMail,t=$.extend(!0,
{},mailAdvisor.defaults,n.request);$.extend(!
0,t,settings.Request.GetBaseRequest());$.extend(!0,t,{AppTransaction:
{Reference:"WebMatrix AjaxController
3.0",LanguageCulture:settings.Culture.Locale,UserId:t.Authorization.User.Id,App:"We
bMatrix"}});eAjax.get({Url:i,Request:t,Handle:!1,Callback:function(i){if(i!
=null&&i.AppTransaction.Success){var
r={To:n.To,Subject:n.Subject,Body:i.Html,Cc:n.Cc};bMail.openOutlookDoc(r)}else
$.isFunction(n.callback)?
n.callback(t):bGlobal.showNotify({Title:settings.Dictionaries.Warnings.Title,Messag
e:settings.Dictionaries.Warnings.NoDataMail,Mode:"info",TimeOut:5})}})}catch(r)
{bGlobal.eventHandler({Code:mailAdvisor.Code+"getItineraryMail",Exception:r})}retur
n!1},outlookEmail:function(n){var r;try{var i=String.EMPTY,t=$.extend(!0,{},
{MailRequest:{IsOnline:!
1,Source:"WebMatrix"}},n.request);mailAdvisor.callback=function(n)
{i=settings.Urls.Components.MailAdvisor.GetItineraryMail;eAjax.get({Url:i,Request:n
,Handle:!1,Callback:function(n){r(n)}})};mailAdvisor.data=n.data;r=function(t)
{if(t!=null&&t.AppTransaction.Success){var
i={To:n.To,Subject:n.Subject,Body:t.Html,Cc:n.Cc};bMail.openOutlookDoc(i)}else
bGlobal.showNotify({Title:settings.Dictionaries.Warnings.Title,Message:settings.Dic
tionaries.Warnings.NoDataMail,Mode:"info",TimeOut:5})};i=settings.Urls.Components.M
ailAdvisor.GetMail;$.extend(!0,t,settings.Request.GetBaseRequest());$.extend(t,
{AppTransaction:{Reference:"WebMatrix AjaxController
3.0",LanguageCulture:settings.Culture.Locale,UserId:t.Authorization.User.Id,App:"We
bMatrix"}});execAjax.post({Url:i,Request:t,Handle:!1,Callback:function(n){n!
=null&&n.AppTransaction.Success?r(n):mailAdvisor.callback(t)}})}catch(u)
{bGlobal.eventHandler({Code:templateGlobal.Code+1,Exception:u})}return!
1}};mailServer={Code:"mailServer-",data:null,callback:null,getContentMailServer:fun
ction(n){try{mailServer.callback=n.callback;n.Subject=cVF.isBlank(n.Subject)?
cVF.formatString('Reservación "{0}"',n.ReservationNumber):n.Subject;var
t={EmailSheet:
{AffiliateId:n.Affiliate.Id,TemplateCode:n.EmailType,Id:n.ReservationNumber,Styles:
n.Site.Id,Template:n.Email.replace(/\s/g,""),ServiceType:n.ServiceType,ServiceNumbe
r:n.ServiceNumber}};$.extend(!
0,t,settings.Request.GetBaseRequest());execAjax.get({Url:settings.Urls.Email.WebMai
lTemplate,Request:bGlobal.getIRequestJson(t),Handle:!1,Callback:function(i)
{if(i.Status.SeverityType===settings.SeverityTypes.Success){var
r={Subject:n.Subject,To:n.Email,Body:i.EmailSheet.Text,Cc:n.Cc};bMail.openOutlookDo
c(r)}else $.isFunction(n.callback)?
n.callback(t):bGlobal.showNotify({Title:settings.Dictionaries.Warnings.Title,Messag
e:settings.Dictionaries.Warnings.NoDataMail,Mode:"info",TimeOut:5})}})}catch(i)
{bGlobal.eventHandler({Code:mailServer.Code+"-
getContentMailServer",Exception:i})}return!1}},function(n)
{n.syslogLogin=function(t){try{t.successInd?
n.syslogCallback("Login","Exito","Usuario entro al
sistema."):n.syslogCallback("Login","Fallo","Usuario intento entrar al sistema.
Mensaje: "+t.failMessage+"")}catch(i){}};n.syslogLogout=function(t)
{try{t.successInd?n.syslogCallback("Logout","Exito","Usuario salio del
sistema."):n.syslogCallback("Logout","Fallo","Usuario intento salir del sistema.
Mensaje: "+t.failMessage+"")}catch(i){}};n.syslogRead=function(t){try{t.successInd?
n.syslogCallback("Consulta","Exito","Se consulto la informacion
"+t.infoDetail+"."):n.syslogCallback("Consulta","Fallo","Se intento consultar la
informacion "+t.infoDetail+". Mensaje: "+t.failMessage+"")}catch(i)
{}};n.syslogCreate=function(t){try{t.successInd?
n.syslogCallback("Insercion","Exito","Se inserto la informacion
"+t.infoDetail+"."):n.syslogCallback("Insercion","Fallo","Se intento insertar la
informacion "+t.infoDetail+". Mensaje: "+t.failMessage+"")}catch(i)
{}};n.syslogUpdate=function(t){try{t.successInd?
n.syslogCallback("Actualizacion","Exito","Se actualizo la informacion
"+t.infoDetail+"."):n.syslogCallback("Actualizacion","Fallo","Se intento actualizar
la informacion "+t.infoDetail+". Mensaje: "+t.failMessage+"")}catch(i)
{}};n.syslogDelete=function(t){try{t.successInd?
n.syslogCallback("Borrado","Exito","Se borro la informacion
"+t.infoDetail+"."):n.syslogCallback("Borrado","Fallo","Se intento borrar la
informacion "+t.infoDetail+". Mensaje: "+t.failMessage+"")}catch(i)
{}};n.syslogCallback=function(t,i,r){try{var u=n.extend({Message:
{EventType:t,SuccessInd:i,Description:r}},settings.Request.GetBaseRequest());cVF.is
Blank(u.Authorization.Token)&&(u.Authorization.Token="3D5B927B-2748-44AA-A82A-
E7DB8407E2F6");execAjax.post({Handle:!
1,Url:settings.Urls.Configuration.JsSyslog,Request:u,Callback:function()
{}})}catch(f){}}}(jQuery),function(n,t){typeof exports=="object"&&typeof
module=="object"?module.exports=t():typeof define=="function"&&define.amd?
define([],t):typeof exports=="object"?exports.signalR=t():n.signalR=t()}
(window,function(){return function(n){function t(r){if(i[r])return i[r].exports;var
u=i[r]={i:r,l:!1,exports:{}};return n[r].call(u.exports,u,u.exports,t),u.l=!
0,u.exports}var i={};return t.m=n,t.c=i,t.d=function(n,i,r){t.o(n,i)||
Object.defineProperty(n,i,{enumerable:!0,get:r})},t.r=function(n){typeof Symbol!
="undefined"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,
{value:"Module"});Object.defineProperty(n,"__esModule",{value:!
0})},t.t=function(n,i){var r,u;if((i&1&&(n=t(n)),i&8)||i&4&&typeof
n=="object"&&n&&n.__esModule)return
n;if(r=Object.create(null),t.r(r),Object.defineProperty(r,"default",{enumerable:!
0,value:n}),i&2&&typeof n!="string")for(u in n)t.d(r,u,function(t){return
n[t]}.bind(null,u));return r},t.n=function(n){var i=n&&n.__esModule?function()
{return n["default"]}:function(){return n};return t.d(i,"a",i),i},t.o=function(n,t)
{return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=0)}
([function(n,t,i){"use strict";i.r(t);var
u=i(1),f=i.n(u),r=i(3);i.d(t,"VERSION",function(){return
r.VERSION});i.d(t,"HttpError",function(){return
r.HttpError});i.d(t,"TimeoutError",function(){return
r.TimeoutError});i.d(t,"DefaultHttpClient",function(){return
r.DefaultHttpClient});i.d(t,"HttpClient",function(){return
r.HttpClient});i.d(t,"HttpResponse",function(){return
r.HttpResponse});i.d(t,"HubConnection",function(){return
r.HubConnection});i.d(t,"HubConnectionBuilder",function(){return
r.HubConnectionBuilder});i.d(t,"MessageType",function(){return
r.MessageType});i.d(t,"LogLevel",function(){return
r.LogLevel});i.d(t,"HttpTransportType",function(){return
r.HttpTransportType});i.d(t,"TransferFormat",function(){return
r.TransferFormat});i.d(t,"NullLogger",function(){return
r.NullLogger});i.d(t,"JsonHubProtocol",function(){return
r.JsonHubProtocol});Uint8Array.prototype.indexOf||
Object.defineProperty(Uint8Array.prototype,"indexOf",
{value:Array.prototype.indexOf,writable:!0});Uint8Array.prototype.slice||
Object.defineProperty(Uint8Array.prototype,"slice",
{value:Array.prototype.slice,writable:!0});Uint8Array.prototype.forEach||
Object.defineProperty(Uint8Array.prototype,"forEach",
{value:Array.prototype.forEach,writable:!0})},function(n,t,i){(function(t){var r;
(function(t,i){n.exports=i()})(this,function(){"use strict";function kt(n){var
t=typeof n;return n!==null&&(t==="object"||t==="function")}function et(n){return
typeof n=="function"}function dt(n){d=n}function gt(n){e=n}function ii(){return
function(){return process.nextTick(h)}}function ri(){return typeof k!="undefined"?
function(){k(h)}:g()}function ui(){var n=0,i=new
lt(h),t=document.createTextNode("");return i.observe(t,{characterData:!
0}),function(){t.data=n=++n%2}}function fi(){var n=new MessageChannel;return
n.port1.onmessage=h,function(){return n.port2.postMessage(0)}}function g(){var
n=setTimeout;return function(){return n(h,1)}}function h(){for(var
t,i,n=0;n<s;n+=2)t=o[n],i=o[n+1],t(i),o[n]=undefined,o[n+1]=undefined;s=0}function
ei(){try{var t=r,n=i(!function(){var n=new Error("Cannot find module
'vertx'");n.code="MODULE_NOT_FOUND";throw n;}());return k=n.runOnLoop||
n.runOnContext,ri()}catch(f){return g()}}function tt(n,t){var u=this,i=new
this.constructor(c),r,f;return i[v]===undefined&&wt(i),r=u._state,r?(f=arguments[r-
1],e(function(){return pt(r,i,f,u._result)})):rt(u,i,n,t),i}function it(n){var
i=this,t;return n&&typeof n=="object"&&n.constructor===i?n:(t=new
i(c),w(t,n),t)}function c(){}function oi(){return new TypeError("You cannot resolve
a promise with itself")}function si(){return new TypeError("A promises callback
cannot return that same promise.")}function at(n){try{return n.then}catch(t){return
p.error=t,p}}function hi(n,t,i,r){try{n.call(t,i,r)}catch(u){return u}}function
ci(n,t,i){e(function(n){var r=!1,e=hi(i,t,function(i){r||(r=!0,t!==i?
w(n,i):f(n,i))},function(t){r||(r=!0,u(n,t))},"Settle: "+(n._label||" unknown
promise"));!r&&e&&(r=!0,u(n,e))},n)}function li(n,t){t._state===y?
f(n,t._result):t._state===a?u(n,t._result):rt(t,undefined,function(t){return
w(n,t)},function(t){return u(n,t)})}function vt(n,t,i)
{t.constructor===n.constructor&&i===tt&&t.constructor.resolve===it?li(n,t):i===p?
(u(n,p.error),p.error=null):i===undefined?f(n,t):et(i)?ci(n,t,i):f(n,t)}function
w(n,t){n===t?u(n,oi()):kt(t)?vt(n,t,at(t)):f(n,t)}function ai(n)
{n._onerror&&n._onerror(n._result);ut(n)}function f(n,t)
{n._state===l&&(n._result=t,n._state=y,n._subscribers.length!==0&&e(ut,n))}function
u(n,t){n._state===l&&(n._state=a,n._result=t,e(ai,n))}function rt(n,t,i,r){var
u=n._subscribers,f=u.length;n._onerror=null;u[f]=t;u[f+y]=i;u[f+a]=r;f===0&&n._stat
e&&e(ut,n)}function ut(n){var i=n._subscribers,f=n._state,t;if(i.length!==0){var
r=void 0,u=void 0,e=n._result;for(t=0;t<i.length;t+=3)r=i[t],u=i[t+f],r?
pt(f,r,u,e):u(e);n._subscribers.length=0}}function yt(){this.error=null}function
vi(n,t){try{return n(t)}catch(i){return b.error=i,b}}function pt(n,t,i,r){var
s=et(i),e=void 0,h=void 0,o=void 0,c=void 0;if(s){if(e=vi(i,r),e===b?(c=!
0,h=e.error,e.error=null):o=!0,t===e){u(t,si());return}}else e=r,o=!0;t._state!
==l||(s&&o?w(t,e):c?u(t,h):n===y?f(t,e):n===a&&u(t,e))}function yi(n,t)
{try{t(function(t){w(n,t)},function(t){u(n,t)})}catch(i){u(n,i)}}function pi()
{return ft++}function wt(n){n[v]=ft+
+;n._state=undefined;n._result=undefined;n._subscribers=[]}function wi(){return new
Error("Array Methods must be provided an Array")}function wi(){return new
Error("Array Methods must be provided an Array")}function bi(n){return new
bt(this,n).promise}function ki(n){var t=this;return st(n)?new t(function(i,r)
{for(var f=n.length,u=0;u<f;u++)t.resolve(n[u]).then(i,r)}):new t(function(n,t)
{return t(new TypeError("You must pass an array to race."))})}function di(n){var
i=this,t=new i(c);return u(t,n),t}function gi(){throw new TypeError("You must pass
a resolver function as the first argument to the promise constructor");}function
nr(){throw new TypeError("Failed to construct 'Promise': Please use the 'new'
operator, this object constructor cannot be called as a function.");}function tr()
{var i=void 0,r,u;if(typeof t!="undefined")i=t;else if(typeof self!
="undefined")i=self;else try{i=Function("return this")()}catch(f){throw new
Error("polyfill failed because global object is unavailable in this
environment");}if(r=i.Promise,r)
{u=null;try{u=Object.prototype.toString.call(r.resolve())}catch(f){}if(u==="[object
Promise]"&&!r.cast)return}i.Promise=n}var ot=void
0,o,nt,v,b,ft,bt,n;ot=Array.isArray?Array.isArray:function(n){return
Object.prototype.toString.call(n)==="[object Array]"};var st=ot,s=0,k=void 0,d=void
0,e=function(n,t){o[s]=n;o[s+1]=t;s+=2;s===2&&(d?d(h):nt())};var ht=typeof window!
="undefined"?window:undefined,ct=ht||{},lt=ct.MutationObserver||
ct.WebKitMutationObserver,ni=typeof self=="undefined"&&typeof process!
="undefined"&&{}.toString.call(process)==="[object process]",ti=typeof
Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof
MessageChannel!="undefined";o=new Array(1e3);nt=void 0;nt=ni?ii():lt?ui():ti?
fi():ht===undefined&&!0?ei():g();v=Math.random().toString(36).substring(16);var
l=void 0,y=1,a=2,p=new yt;return b=new yt,ft=0,bt=function(){function t(n,t)
{this._instanceConstructor=n;this.promise=new n(c);this.promise[v]||
wt(this.promise);st(t)?
(this.length=t.length,this._remaining=t.length,this._result=new
Array(this.length),this.length===0?f(this.promise,this._result):
(this.length=this.length||
0,this._enumerate(t),this._remaining===0&&f(this.promise,this._result))):u(this.pro
mise,wi())}return t.prototype._enumerate=function(n){for(var
t=0;this._state===l&&t<n.length;t+
+)this._eachEntry(n[t],t)},t.prototype._eachEntry=function(t,i){var
r=this._instanceConstructor,e=r.resolve,u,f;e===it?(u=at(t),u===tt&&t._state!==l?
this._settledAt(t._state,i,t._result):typeof u!="function"?
(this._remaining--,this._result[i]=t):r===n?(f=new
r(c),vt(f,t,u),this._willSettleAt(f,i)):this._willSettleAt(new r(function(n){return
n(t)}),i)):this._willSettleAt(e(t),i)},t.prototype._settledAt=function(n,t,i){var
r=this.promise;r._state===l&&(this._remaining--,n===a?
u(r,i):this._result[t]=i);this._remaining===0&&f(r,this._result)},t.prototype._will
SettleAt=function(n,t){var i=this;rt(n,undefined,function(n){return
i._settledAt(y,t,n)},function(n){return i._settledAt(a,t,n)})},t}(),n=function()
{function n(t)
{this[v]=pi();this._result=this._state=undefined;this._subscribers=[];c!
==t&&(typeof t!="function"&&gi(),this instanceof n?yi(this,t):nr())}return
n.prototype.catch=function(n){return
this.then(null,n)},n.prototype.finally=function(n){var
t=this,i=t.constructor;return t.then(function(t){return
i.resolve(n()).then(function(){return t})},function(t){return
i.resolve(n()).then(function(){throw t;})})},n}
(),n.prototype.then=tt,n.all=bi,n.race=ki,n.resolve=it,n.reject=di,n._setScheduler=
dt,n._setAsap=gt,n._asap=e,n.polyfill=tr,n.Promise=n,n.polyfill(),n})}).call(this,i
(2))},function(n){var t=function(){return this}();try{t=t||Function("return this")
()||eval("this")}catch(i){typeof
window=="object"&&(t=window)}n.exports=t},function(n,t,i){"use strict";var
u,r,e,o,s,h,f,c,l,a;i.r(t);i.d(t,"VERSION",function(){return
a});u=i(4);i.d(t,"HttpError",function(){return
u.HttpError});i.d(t,"TimeoutError",function(){return
u.TimeoutError});r=i(5);i.d(t,"DefaultHttpClient",function(){return
r.DefaultHttpClient});i.d(t,"HttpClient",function(){return
r.HttpClient});i.d(t,"HttpResponse",function(){return
r.HttpResponse});e=i(7);i.d(t,"HubConnection",function(){return
e.HubConnection});o=i(13);i.d(t,"HubConnectionBuilder",function(){return
o.HubConnectionBuilder});s=i(10);i.d(t,"MessageType",function(){return
s.MessageType});h=i(6);i.d(t,"LogLevel",function(){return
h.LogLevel});f=i(15);i.d(t,"HttpTransportType",function(){return
f.HttpTransportType});i.d(t,"TransferFormat",function(){return
f.TransferFormat});c=i(12);i.d(t,"NullLogger",function(){return
c.NullLogger});l=i(20);i.d(t,"JsonHubProtocol",function(){return
l.JsonHubProtocol});a="1.0.4"},function(n,t,i){"use
strict";i.r(t);i.d(t,"HttpError",function(){return
u});i.d(t,"TimeoutError",function(){return f});var
r=undefined&&undefined.__extends||function(){var n=Object.setPrototypeOf||
{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var
i in t)t.hasOwnProperty(i)&&(n[i]=t[i])};return function(t,i){function r()
{this.constructor=t}n(t,i);t.prototype=i===null?Object.create(i):
(r.prototype=i.prototype,new
r)}}(),u=function(n){function t(t,i){var
u=this.constructor,r=this,f=u.prototype;return r=n.call(this,t)||
this,r.statusCode=i,r.__proto__=f,r}return r(t,n),t}(Error),f=function(n){function
t(t){var u=this.constructor,i,r;return t===void 0&&(t="A timeout
occurred."),i=this,r=u.prototype,i=n.call(this,t)||this,i.__proto__=r,i}return
r(t,n),t}(Error)},function(n,t,i){"use
strict";i.r(t);i.d(t,"HttpResponse",function(){return
e});i.d(t,"HttpClient",function(){return o});i.d(t,"DefaultHttpClient",function()
{return h});var r=i(4),f=i(6),s=undefined&&undefined.__extends||function(){var
n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t)
{n.__proto__=t}||function(n,t){for(var i in
t)t.hasOwnProperty(i)&&(n[i]=t[i])};return function(t,i){function r()
{this.constructor=t}n(t,i);t.prototype=i===null?Object.create(i):
(r.prototype=i.prototype,new r)}}(),u=undefined&&undefined.__assign||
Object.assign||function(n){for(var t,r,i=1,u=arguments.length;i<u;i++)
{t=arguments[i];for(r in
t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},e=function()
{function n(n,t,i){this.statusCode=n;this.statusText=t;this.content=i}return n}
(),o=function(){function n(){}return n.prototype.get=function(n,t){return
this.send(u({},t,{method:"GET",url:n}))},n.prototype.post=function(n,t){return
this.send(u({},t,{method:"POST",url:n}))},n.prototype.delete=function(n,t){return
this.send(u({},t,{method:"DELETE",url:n}))},n}(),h=function(n){function t(t){var
i=n.call(this)||this;return i.logger=t,i}return s(t,n),t.prototype.send=function(n)
{var t=this;return new Promise(function(i,u){var o=new
XMLHttpRequest;o.open(n.method,n.url,!0);o.withCredentials=!
0;o.setRequestHeader("X-Requested-
With","XMLHttpRequest");o.setRequestHeader("Content-Type","text/plain;charset=UTF-
8");n.headers&&Object.keys(n.headers).forEach(function(t){return
o.setRequestHeader(t,n.headers[t])});n.responseType&&(o.responseType=n.responseType
);n.abortSignal&&(n.abortSignal.onabort=function()
{o.abort()});n.timeout&&(o.timeout=n.timeout);o.onload=function()
{n.abortSignal&&(n.abortSignal.onabort=null);o.status>=200&&o.status<300?i(new
e(o.status,o.statusText,o.response||o.responseText)):u(new
r.HttpError(o.statusText,o.status))};o.onerror=function()
{t.logger.log(f.LogLevel.Warning,"Error from HTTP request. "+o.status+":
"+o.statusText);u(new r.HttpError(o.statusText,o.status))};o.ontimeout=function()
{t.logger.log(f.LogLevel.Warning,"Timeout from HTTP request.");u(new
r.TimeoutError)};o.send(n.content||"")})},t}(o)},function(n,t,i){"use
strict";i.r(t);i.d(t,"LogLevel",function(){return r});var r;(function(n)
{n[n.Trace=0]="Trace";n[n.Debug=1]="Debug";n[n.Information=2]="Information";n[n.War
ning=3]="Warning";n[n.Error=4]="Error";n[n.Critical=5]="Critical";n[n.None=6]="None
"})(r||(r={}))},function(n,t,i){"use
strict";i.r(t);i.d(t,"HubConnection",function(){return c});var
e=i(8),r=i(10),u=i(6),f=i(11),o=undefined&&undefined.__awaiter||function(n,t,i,r)
{return new(i||(i=Promise))(function(u,f){function o(n){try{e(r.next(n))}catch(t)
{f(t)}}function s(n){try{e(r["throw"](n))}catch(t){f(t)}}function e(n){n.done?
u(n.value):new i(function(t){t(n.value)}).then(o,s)}e((r=r.apply(n,t||
[])).next())})},s=undefined&&undefined.__generator||function(n,t){function o(n)
{return function(t){return s([n,t])}}function s(e){if(f)throw new
TypeError("Generator is already executing.");while(r)try{if(f=1,u&&(i=e[0]&2?
u["return"]:e[0]?u["throw"]||((i=u["return"])&&i.call(u),0):u.next)&&!
(i=i.call(u,e[1])).done)return i;(u=0,i)&&(e=[e[0]&2,i.value]);switch(e[0]){case
0:case 1:i=e;break;case 4:return r.label++,{value:e[1],done:!1};case 5:r.label+
+;u=e[1];e=[0];continue;case 7:e=r.ops.pop();r.trys.pop();continue;default:if(!
(i=r.trys,i=i.length>0&&i[i.length-1])&&(e[0]===6||e[0]===2))
{r=0;continue}if(e[0]===3&&(!i||e[1]>i[0]&&e[1]<i[3]))
{r.label=e[1];break}if(e[0]===6&&r.label<i[1])
{r.label=i[1];i=e;break}if(i&&r.label<i[2])
{r.label=i[2];r.ops.push(e);break}i[2]&&r.ops.pop();r.trys.pop();continue}e=t.call(
n,r)}catch(o){e=[6,o];u=0}finally{f=i=0}if(e[0]&5)throw e[1];return{value:e[0]?
e[1]:void 0,done:!0}}var r={label:0,sent:function(){if(i[0]&1)throw i[1];return
i[1]},trys:[],ops:[]},f,u,i,e;return
e={next:o(0),"throw":o(1),"return":o(2)},typeof
Symbol=="function"&&(e[Symbol.iterator]=function(){return
this}),e},h=3e4,c=function(){function n(n,t,i){var
r=this;f.Arg.isRequired(n,"connection");f.Arg.isRequired(t,"logger");f.Arg.isRequir
ed(i,"protocol");this.serverTimeoutInMilliseconds=h;this.logger=t;this.protocol=i;t
his.connection=n;this.handshakeProtocol=new
e.HandshakeProtocol;this.connection.onreceive=function(n){return
r.processIncomingData(n)};this.connection.onclose=function(n){return
r.connectionClosed(n)};this.callbacks={};this.methods={};this.closedCallbacks=[];th
is.id=0}return n.create=function(t,i,r){return new
n(t,i,r)},n.prototype.start=function(){return o(this,void 0,void 0,function(){var
n;return s(this,function(t){switch(t.label){case 0:return
n={protocol:this.protocol.name,version:this.protocol.version},this.logger.log(u.Log
Level.Debug,"Starting HubConnection."),this.receivedHandshakeResponse=!1,
[4,this.connection.start(this.protocol.transferFormat)];case 1:return
t.sent(),this.logger.log(u.LogLevel.Debug,"Sending handshake request."),
[4,this.connection.send(this.handshakeProtocol.writeHandshakeRequest(n))];case
2:return t.sent(),this.logger.log(u.LogLevel.Information,"Using HubProtocol
'"+this.protocol.name+"'."),this.cleanupTimeout(),this.configureTimeout(),
[2]}})})},n.prototype.stop=function(){return
this.logger.log(u.LogLevel.Debug,"Stopping
HubConnection."),this.cleanupTimeout(),this.connection.stop()},n.prototype.stream=f
unction(n){for(var i,t,s,u=this,o=[],e=1;e<arguments.length;e++)o[e-
1]=arguments[e];return i=this.createStreamInvocation(n,o),t=new
f.Subject(function(){var
n=u.createCancelInvocation(i.invocationId),t=u.protocol.writeMessage(n);return
delete
u.callbacks[i.invocationId],u.connection.send(t)}),this.callbacks[i.invocationId]=f
unction(n,i){if(i){t.error(i);return}n.type===r.MessageType.Completion?n.error?
t.error(new
Error(n.error)):t.complete():t.next(n.item)},s=this.protocol.writeMessage(i),this.c
onnection.send(s).catch(function(n){t.error(n);delete
u.callbacks[i.invocationId]}),t},n.prototype.send=function(n){for(var
r,u,i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];return
r=this.createInvocation(n,i,!
0),u=this.protocol.writeMessage(r),this.connection.send(u)},n.prototype.invoke=func
tion(n){for(var u,e,t=this,f=[],i=1;i<arguments.length;i++)f[i-
1]=arguments[i];return u=this.createInvocation(n,f,!1),e=new Promise(function(n,i)
{t.callbacks[u.invocationId]=function(t,u){if(u)
{i(u);return}if(t.type===r.MessageType.Completion){var f=t;f.error?i(new
Error(f.error)):n(f.result)}else i(new Error("Unexpected message type:
"+t.type))};var f=t.protocol.writeMessage(u);t.connection.send(f).catch(function(n)
{i(n);delete t.callbacks[u.invocationId]})}),e},n.prototype.on=function(n,t)
{n&&t&&(n=n.toLowerCase(),this.methods[n]||
(this.methods[n]=[]),this.methods[n].indexOf(t)===-
1)&&this.methods[n].push(t)},n.prototype.off=function(n,t){var
i,r;n&&(n=n.toLowerCase(),i=this.methods[n],i)&&(t?(r=i.indexOf(t),r!==-
1&&(i.splice(r,1),i.length===0&&delete this.methods[n])):delete
this.methods[n])},n.prototype.onclose=function(n)
{n&&this.closedCallbacks.push(n)},n.prototype.processIncomingData=function(n){var
o,i,f,t,e;if(this.cleanupTimeout(),this.receivedHandshakeResponse||
(n=this.processHandshakeResponse(n),this.receivedHandshakeResponse=!
0),n)for(o=this.protocol.parseMessages(n,this.logger),i=0,f=o;i<f.length;i++)
{t=f[i];switch(t.type){case
r.MessageType.Invocation:this.invokeClientMethod(t);break;case
r.MessageType.StreamItem:case
r.MessageType.Completion:e=this.callbacks[t.invocationId];e!
=null&&(t.type===r.MessageType.Completion&&delete
this.callbacks[t.invocationId],e(t));break;case r.MessageType.Ping:break;case
r.MessageType.Close:this.logger.log(u.LogLevel.Information,"Close message received
from server.");this.connection.stop(t.error?new Error("Server returned an error on
close: "+t.error):null);break;default:this.logger.log(u.LogLevel.Warning,"Invalid
message type:
"+t.type)}}this.configureTimeout()},n.prototype.processHandshakeResponse=function(n
){var
i,r,e,f,t;try{i=this.handshakeProtocol.parseHandshakeResponse(n);e=i[0];r=i[1]}catc
h(o){t="Error parsing handshake response:
"+o;this.logger.log(u.LogLevel.Error,t);f=new
Error(t);this.connection.stop(f);throw f;}return r.error?(t="Server returned
handshake error:
"+r.error,this.logger.log(u.LogLevel.Error,t),this.connection.stop(new
Error(t))):this.logger.log(u.LogLevel.Debug,"Server handshake
complete."),e},n.prototype.configureTimeout=function(){var
n=this;this.connection.features&&this.connection.features.inherentKeepAlive||
(this.timeoutHandle=setTimeout(function(){return
n.serverTimeout()},this.serverTimeoutInMilliseconds))},n.prototype.serverTimeout=fu
nction(){this.connection.stop(new Error("Server timeout elapsed without receiving a
message from the server."))},n.prototype.invokeClientMethod=function(n){var
r=this,i=this.methods[n.target.toLowerCase()],t;i?(i.forEach(function(t){return
t.apply(r,n.arguments)}),n.invocationId&&(t="Server requested a response, which is
not supported in this version of the
client.",this.logger.log(u.LogLevel.Error,t),this.connection.stop(new
Error(t)))):this.logger.log(u.LogLevel.Warning,"No client method with the name
'"+n.target+"' found.")},n.prototype.connectionClosed=function(n){var
i=this,t=this.callbacks;this.callbacks={};Object.keys(t).forEach(function(i){var
r=t[i];r(undefined,n?n:new Error("Invocation canceled due to connection being
closed."))});this.cleanupTimeout();this.closedCallbacks.forEach(function(t){return
t.apply(i,[n])})},n.prototype.cleanupTimeout=function()
{this.timeoutHandle&&clearTimeout(this.timeoutHandle)},n.prototype.createInvocation
=function(n,t,i)
{if(i)return{arguments:t,target:n,type:r.MessageType.Invocation};var
u=this.id;return this.id++,
{arguments:t,invocationId:u.toString(),target:n,type:r.MessageType.Invocation}},n.p
rototype.createStreamInvocation=function(n,t){var i=this.id;return this.id++,
{arguments:t,invocationId:i.toString(),target:n,type:r.MessageType.StreamInvocation
}},n.prototype.createCancelInvocation=function(n)
{return{invocationId:n,type:r.MessageType.CancelInvocation}},n}()},function(n,t,i)
{"use strict";i.r(t);i.d(t,"HandshakeProtocol",function(){return u});var
r=i(9),u=function(){function n(){}return
n.prototype.writeHandshakeRequest=function(n){return
r.TextMessageFormat.write(JSON.stringify(n))},n.prototype.parseHandshakeResponse=fu
nction(n){var s,e,o,u,f,i,t,h;if(n instanceof ArrayBuffer){if(u=new
Uint8Array(n),i=u.indexOf(r.TextMessageFormat.RecordSeparatorCode),i===-1)throw new
Error("Message is
incomplete.");t=i+1;e=String.fromCharCode.apply(null,u.slice(0,t));o=u.byteLength>t
?
u.slice(t).buffer:null}else{if(f=n,i=f.indexOf(r.TextMessageFormat.RecordSeparator)
,i===-1)throw new Error("Message is
incomplete.");t=i+1;e=f.substring(0,t);o=f.length>t?f.substring(t):null}return
h=r.TextMessageFormat.parse(e),s=JSON.parse(h[0]),[o,s]},n}()},function(n,t,i){"use
strict";i.r(t);i.d(t,"TextMessageFormat",function(){return r});var r=function()
{function n(){}return n.write=function(t)
{return""+t+n.RecordSeparator},n.parse=function(t){if(t[t.length-1]!
==n.RecordSeparator)throw new Error("Message is incomplete.");var
i=t.split(n.RecordSeparator);return
i.pop(),i},n.RecordSeparatorCode=30,n.RecordSeparator=String.fromCharCode(n.RecordS
eparatorCode),n}()},function(n,t,i){"use
strict";i.r(t);i.d(t,"MessageType",function(){return r});var r;(function(n)
{n[n.Invocation=1]="Invocation";n[n.StreamItem=2]="StreamItem";n[n.Completion=3]="C
ompletion";n[n.StreamInvocation=4]="StreamInvocation";n[n.CancelInvocation=5]="Canc
elInvocation";n[n.Ping=6]="Ping";n[n.Close=7]="Close"})(r||(r={}))},function(n,t,i)
{"use strict";function f(n,t){var i=null;return n instanceof ArrayBuffer?(i="Binary
data of length "+n.byteLength,t&&(i+=". Content: '"+e(n)+"'")):typeof
n=="string"&&(i="String data of length "+n.length,t&&(i+=". Content:
'"+n+"'.")),i}function e(n){var i=new Uint8Array(n),t="";return
i.forEach(function(n){var i=n<16?"0":"";t+="0x"+i+n.toString(16)+"
"}),t.substr(0,t.length-1)}function a(n,t,i,u,e,o,s){return h(this,void 0,void
0,function(){var h,a,l,v;return c(this,function(c){switch(c.label){case
0:return[4,e()];case 1:return l=c.sent(),l&&(a=(h={},h.Authorization="Bearer
"+l,h)),n.log(r.LogLevel.Trace,"("+t+" transport) sending data. "+f(o,s)+"."),
[4,i.post(u,{content:o,headers:a})];case 2:return
v=c.sent(),n.log(r.LogLevel.Trace,"("+t+" transport) request complete. Response
status: "+v.statusCode+"."),[2]}})})}function v(n){return n===undefined?new
u(r.LogLevel.Information):n===null?s.NullLogger.instance:n.log?n:new
u(n)}i.r(t);i.d(t,"Arg",function(){return l});i.d(t,"getDataDetail",function()
{return f});i.d(t,"formatArrayBuffer",function(){return
e});i.d(t,"sendMessage",function(){return a});i.d(t,"createLogger",function()
{return v});i.d(t,"Subject",function(){return
y});i.d(t,"SubjectSubscription",function(){return
o});i.d(t,"ConsoleLogger",function(){return u});var
r=i(6),s=i(12),h=undefined&&undefined.__awaiter||function(n,t,i,r){return new(i||
(i=Promise))(function(u,f){function o(n){try{e(r.next(n))}catch(t){f(t)}}function
s(n){try{e(r["throw"](n))}catch(t){f(t)}}function e(n){n.done?u(n.value):new
i(function(t){t(n.value)}).then(o,s)}e((r=r.apply(n,t||
[])).next())})},c=undefined&&undefined.__generator||function(n,t){function o(n)
{return function(t){return s([n,t])}}function s(e){if(f)throw new
TypeError("Generator is already executing.");while(r)try{if(f=1,u&&(i=e[0]&2?
u["return"]:e[0]?u["throw"]||((i=u["return"])&&i.call(u),0):u.next)&&!
(i=i.call(u,e[1])).done)return i;(u=0,i)&&(e=[e[0]&2,i.value]);switch(e[0]){case
0:case 1:i=e;break;case 4:return r.label++,{value:e[1],done:!1};case 5:r.label+
+;u=e[1];e=[0];continue;case 7:e=r.ops.pop();r.trys.pop();continue;default:if(!
(i=r.trys,i=i.length>0&&i[i.length-1])&&(e[0]===6||e[0]===2))
{r=0;continue}if(e[0]===3&&(!i||e[1]>i[0]&&e[1]<i[3]))
{r.label=e[1];break}if(e[0]===6&&r.label<i[1])
{r.label=i[1];i=e;break}if(i&&r.label<i[2])
{r.label=i[2];r.ops.push(e);break}i[2]&&r.ops.pop();r.trys.pop();continue}e=t.call(
n,r)}catch(o){e=[6,o];u=0}finally{f=i=0}if(e[0]&5)throw e[1];return{value:e[0]?
e[1]:void 0,done:!0}}var r={label:0,sent:function(){if(i[0]&1)throw i[1];return
i[1]},trys:[],ops:[]},f,u,i,e;return
e={next:o(0),"throw":o(1),"return":o(2)},typeof
Symbol=="function"&&(e[Symbol.iterator]=function(){return this}),e},l=function()
{function n(){}return n.isRequired=function(n,t){if(n===null||n===undefined)throw
new Error("The '"+t+"' argument is required.");},n.isIn=function(n,t,i){if(!(n in
t))throw new Error("Unknown "+i+" value: "+n+".");},n}();var y=function(){function
n(n){this.observers=[];this.cancelCallback=n}return n.prototype.next=function(n)
{for(var r,t=0,i=this.observers;t<i.length;t+
+)r=i[t],r.next(n)},n.prototype.error=function(n){for(var
r,t=0,i=this.observers;t<i.length;t+
+)r=i[t],r.error&&r.error(n)},n.prototype.complete=function(){for(var
i,n=0,t=this.observers;n<t.length;n+
+)i=t[n],i.complete&&i.complete()},n.prototype.subscribe=function(n){return
this.observers.push(n),new o(this,n)},n}(),o=function(){function n(n,t)
{this.subject=n;this.observer=t}return n.prototype.dispose=function(){var
n=this.subject.observers.indexOf(this.observer);n>-
1&&this.subject.observers.splice(n,1);this.subject.observers.length===0&&this.subje
ct.cancelCallback().catch(function(){})},n}(),u=function(){function n(n)
{this.minimumLogLevel=n}return n.prototype.log=function(n,t)
{if(n>=this.minimumLogLevel)switch(n){case r.LogLevel.Critical:case
r.LogLevel.Error:console.error(r.LogLevel[n]+": "+t);break;case
r.LogLevel.Warning:console.warn(r.LogLevel[n]+": "+t);break;case
r.LogLevel.Information:console.info(r.LogLevel[n]+":
"+t);break;default:console.log(r.LogLevel[n]+": "+t)}},n}()},function(n,t,i){"use
strict";i.r(t);i.d(t,"NullLogger",function(){return r});var r=function(){function
n(){}return n.prototype.log=function(){},n.instance=new n,n}()},function(n,t,i)
{"use strict";function h(n){return n.log!
==undefined}i.r(t);i.d(t,"HubConnectionBuilder",function(){return s});var
u=i(14),f=i(7),e=i(20),o=i(12),r=i(11),s=function(){function n(){}return
n.prototype.configureLogging=function(n){return
r.Arg.isRequired(n,"logging"),this.logger=h(n)?n:new
r.ConsoleLogger(n),this},n.prototype.withUrl=function(n,t){return
r.Arg.isRequired(n,"url"),this.url=n,this.httpConnectionOptions=typeof t=="object"?
t:{transport:t},this},n.prototype.withHubProtocol=function(n){return
r.Arg.isRequired(n,"protocol"),this.protocol=n,this},n.prototype.build=function()
{var n=this.httpConnectionOptions||
{},t;if(n.logger===undefined&&(n.logger=this.logger),!this.url)throw new Error("The
'HubConnectionBuilder.withUrl' method must be called before building the
connection.");return t=new
u.HttpConnection(this.url,n),f.HubConnection.create(t,this.logger||
o.NullLogger.instance,this.protocol||new e.JsonHubProtocol)},n}()},function(n,t,i)
{"use strict";function y(n,t){return!n||(t&n)!
=0}i.r(t);i.d(t,"HttpConnection",function(){return v});var
c=i(5),u=i(6),r=i(15),s=i(16),l=i(18),o=i(11),a=i(19),e=undefined&&undefined.__awai
ter||function(n,t,i,r){return new(i||(i=Promise))(function(u,f){function o(n)
{try{e(r.next(n))}catch(t){f(t)}}function s(n){try{e(r["throw"](n))}catch(t)
{f(t)}}function e(n){n.done?u(n.value):new i(function(t)
{t(n.value)}).then(o,s)}e((r=r.apply(n,t||
[])).next())})},f=undefined&&undefined.__generator||function(n,t){function o(n)
{return function(t){return s([n,t])}}function s(e){if(f)throw new
TypeError("Generator is already executing.");while(r)try{if(f=1,u&&(i=e[0]&2?
u["return"]:e[0]?u["throw"]||((i=u["return"])&&i.call(u),0):u.next)&&!
(i=i.call(u,e[1])).done)return i;(u=0,i)&&(e=[e[0]&2,i.value]);switch(e[0]){case
0:case 1:i=e;break;case 4:return r.label++,{value:e[1],done:!1};case 5:r.label+
+;u=e[1];e=[0];continue;case 7:e=r.ops.pop();r.trys.pop();continue;default:if(!
(i=r.trys,i=i.length>0&&i[i.length-1])&&(e[0]===6||e[0]===2))
{r=0;continue}if(e[0]===3&&(!i||e[1]>i[0]&&e[1]<i[3]))
{r.label=e[1];break}if(e[0]===6&&r.label<i[1])
{r.label=i[1];i=e;break}if(i&&r.label<i[2])
{r.label=i[2];r.ops.push(e);break}i[2]&&r.ops.pop();r.trys.pop();continue}e=t.call(
n,r)}catch(o){e=[6,o];u=0}finally{f=i=0}if(e[0]&5)throw e[1];return{value:e[0]?
e[1]:void 0,done:!0}}var r={label:0,sent:function(){if(i[0]&1)throw i[1];return
i[1]},trys:[],ops:[]},f,u,i,e;return
e={next:o(0),"throw":o(1),"return":o(2)},typeof
Symbol=="function"&&(e[Symbol.iterator]=function(){return
this}),e},h=100,v=function(){function n(n,t){t===void
0&&(t={});this.features={};o.Arg.isRequired(n,"url");this.logger=Object(o.createLog
ger)(t.logger);this.baseUrl=this.resolveUrl(n);t=t||
{};t.accessTokenFactory=t.accessTokenFactory||function(){return
null};t.logMessageContent=t.logMessageContent||!1;this.httpClient=t.httpClient||new
c.DefaultHttpClient(this.logger);this.connectionState=2;this.options=t}return
n.prototype.start=function(n){return(n=n||
r.TransferFormat.Binary,o.Arg.isIn(n,r.TransferFormat,"transferFormat"),this.logger
.log(u.LogLevel.Debug,"Starting connection with transfer format
'"+r.TransferFormat[n]+"'."),this.connectionState!==2)?Promise.reject(new
Error("Cannot start a connection that is not in the 'Disconnected' state.")):
(this.connectionState=0,this.startPromise=this.startInternal(n),this.startPromise)}
,n.prototype.send=function(n){if(this.connectionState!==1)throw new Error("Cannot
send data if the connection is not in the 'Connected' State.");return
this.transport.send(n)},n.prototype.stop=function(n){return e(this,void 0,void
0,function(){var t;return f(this,function(i){switch(i.label){case
0:this.connectionState=2;i.label=1;case 1:return
i.trys.push([1,3,,4]),[4,this.startPromise];case 2:return i.sent(),[3,4];case
3:return t=i.sent(),[3,4];case 4:return this.transport?(this.stopError=n,
[4,this.transport.stop()]):[3,6];case 5:i.sent();this.transport=null;i.label=6;case
6:return[2]}})})},n.prototype.startInternal=function(n){return e(this,void 0,void
0,function(){var i,t,e,a,o,c,l,v=this;return f(this,function(y){switch(y.label)
{case
0:i=this.baseUrl;this.accessTokenFactory=this.options.accessTokenFactory;y.label=1;
case 1:return(y.trys.push([1,12,,13]),!this.options.skipNegotiation)?[3,5]:
(this.options.transport===r.HttpTransportType.WebSockets)?
(this.transport=this.constructTransport(r.HttpTransportType.WebSockets),
[4,this.transport.connect(i,n)]):[3,3];case 2:return y.sent(),[3,4];case 3:throw
Error("Negotiation can only be skipped when using the WebSocket transport
directly.");case 4:return[3,11];case 5:t=null;e=0;a=function(){var n;return
f(this,function(r){switch(r.label){case
0:return[4,o.getNegotiationResponse(i)];case
1:return(t=r.sent(),o.connectionState===2)?[2,{value:void 0}]:
(t.url&&(i=t.url),t.accessToken&&(n=t.accessToken,o.accessTokenFactory=function()
{return n}),e++,[2])}})};o=this;y.label=6;case 6:return[5,a()];case
7:if(c=y.sent(),typeof c=="object")return[2,c.value];y.label=8;case
8:if(t.url&&e<h)return[3,6];y.label=9;case 9:if(e===h&&t.url)throw Error("Negotiate
redirection limit
exceeded.");return[4,this.createTransport(i,this.options.transport,t,n)];case
10:y.sent();y.label=11;case 11:return this.transport instanceof
s.LongPollingTransport&&(this.features.inherentKeepAlive=!
0),this.transport.onreceive=this.onreceive,this.transport.onclose=function(n)
{return v.stopConnection(n)},this.changeState(0,1),[3,13];case
12:l=y.sent();this.logger.log(u.LogLevel.Error,"Failed to start the connection:
"+l);this.connectionState=2;this.transport=null;throw l;case
13:return[2]}})})},n.prototype.getNegotiationResponse=function(n){return
e(this,void 0,void 0,function(){var i,r,s,e,t,o;return f(this,function(f)
{switch(f.label){case 0:return[4,this.accessTokenFactory()];case
1:r=f.sent();r&&(s=(i={},i.Authorization="Bearer
"+r,i));e=this.resolveNegotiateUrl(n);this.logger.log(u.LogLevel.Debug,"Sending
negotiation request: "+e);f.label=2;case 2:return f.trys.push([2,4,,5]),
[4,this.httpClient.post(e,{content:"",headers:s})];case
3:if(t=f.sent(),t.statusCode!==200)throw Error("Unexpected status code returned
from negotiate "+t.statusCode);return[2,JSON.parse(t.content)];case
4:o=f.sent();this.logger.log(u.LogLevel.Error,"Failed to complete negotiation with
the server: "+o);throw o;case
5:return[2]}})})},n.prototype.createConnectUrl=function(n,t){return n+
(n.indexOf("?")===-1?"?":"&")+
("id="+t)},n.prototype.createTransport=function(n,t,i,o){return e(this,void 0,void
0,function(){var e,l,s,c,a,h,v;return f(this,function(f){switch(f.label){case
0:return(e=this.createConnectUrl(n,i.connectionId),!this.isITransport(t))?[3,2]:
(this.logger.log(u.LogLevel.Debug,"Connection was provided an instance of
ITransport, using that directly."),this.transport=t,
[4,this.transport.connect(e,o)]);case 1:return f.sent(),this.changeState(0,1),
[2];case 2:l=i.availableTransports;s=0;c=l;f.label=3;case 3:return(s<c.length)?
(a=c[s],this.connectionState=0,h=this.resolveTransport(a,t,o),!(typeof
h=="number"))?[3,8]:(this.transport=this.constructTransport(h),!
(i.connectionId===null))?[3,5]:[4,this.getNegotiationResponse(n)]:[3,9];case
4:i=f.sent();e=this.createConnectUrl(n,i.connectionId);f.label=5;case 5:return
f.trys.push([5,7,,8]),[4,this.transport.connect(e,o)];case 6:return
f.sent(),this.changeState(0,1),[2];case 7:return
v=f.sent(),this.logger.log(u.LogLevel.Error,"Failed to start the transport
'"+r.HttpTransportType[h]+"': "+v),this.connectionState=2,i.connectionId=null,
[3,8];case 8:return s++,[3,3];case 9:throw new Error("Unable to initialize any of
the available transports.");}})})},n.prototype.constructTransport=function(n)
{switch(n){case r.HttpTransportType.WebSockets:return new
a.WebSocketTransport(this.accessTokenFactory,this.logger,this.options.logMessageCon
tent);case r.HttpTransportType.ServerSentEvents:return new
l.ServerSentEventsTransport(this.httpClient,this.accessTokenFactory,this.logger,thi
s.options.logMessageContent);case r.HttpTransportType.LongPolling:return new
s.LongPollingTransport(this.httpClient,this.accessTokenFactory,this.logger,this.opt
ions.logMessageContent);default:throw new Error("Unknown transport:
"+n+".");}},n.prototype.resolveTransport=function(n,t,i){var
f=r.HttpTransportType[n.transport],e;if(f===null||
f===undefined)this.logger.log(u.LogLevel.Debug,"Skipping transport
'"+n.transport+"' because it is not supported by this client.");else
if(e=n.transferFormats.map(function(n){return
r.TransferFormat[n]}),y(t,f))if(e.indexOf(i)>=0)if(f===r.HttpTransportType.WebSocke
ts&&typeof WebSocket=="undefined"||f===r.HttpTransportType.ServerSentEvents&&typeof
EventSource=="undefined")this.logger.log(u.LogLevel.Debug,"Skipping transport
'"+r.HttpTransportType[f]+"' because it is not supported in your
environment.'");else return this.logger.log(u.LogLevel.Debug,"Selecting transport
'"+r.HttpTransportType[f]+"'"),f;else this.logger.log(u.LogLevel.Debug,"Skipping
transport '"+r.HttpTransportType[f]+"' because it does not support the requested
transfer format '"+r.TransferFormat[i]+"'.");else
this.logger.log(u.LogLevel.Debug,"Skipping transport '"+r.HttpTransportType[f]+"'
because it was disabled by the client.");return
null},n.prototype.isITransport=function(n){return n&&typeof
n=="object"&&"connect"in n},n.prototype.changeState=function(n,t){return
this.connectionState===n?(this.connectionState=t,!0):!
1},n.prototype.stopConnection=function(n){return e(this,void 0,void 0,function()
{return f(this,function(){if(this.transport=null,n=this.stopError||n,n?
this.logger.log(u.LogLevel.Error,"Connection disconnected with error
'"+n+"'."):this.logger.log(u.LogLevel.Information,"Connection
disconnected."),this.connectionState=2,this.onclose)this.onclose(n);return[2]})})},
n.prototype.resolveUrl=function(n){if(n.lastIndexOf("https://",0)===0||
n.lastIndexOf("http://",0)===0)return n;if(typeof window=="undefined"||!window||!
window.document)throw new Error("Cannot resolve '"+n+"'.");var
t=window.document.createElement("a");return
t.href=n,this.logger.log(u.LogLevel.Information,"Normalizing '"+n+"' to
'"+t.href+"'."),t.href},n.prototype.resolveNegotiateUrl=function(n){var
i=n.indexOf("?"),t=n.substring(0,i===-1?n.length:i);return t[t.length-1]!
=="/"&&(t+="/"),t+="negotiate",t+(i===-1?"":n.substring(i))},n}()},function(n,t,i)
{"use strict";var r,u;i.r(t);i.d(t,"HttpTransportType",function(){return
r});i.d(t,"TransferFormat",function(){return u}),function(n)
{n[n.None=0]="None";n[n.WebSockets=1]="WebSockets";n[n.ServerSentEvents=2]="ServerS
entEvents";n[n.LongPolling=4]="LongPolling"}(r||(r={})),function(n)
{n[n.Text=1]="Text";n[n.Binary=2]="Binary"}(u||(u={}))},function(n,t,i){"use
strict";i.r(t);i.d(t,"LongPollingTransport",function(){return l});var
h=i(17),o=i(4),r=i(6),s=i(15),u=i(11),f=undefined&&undefined.__awaiter||
function(n,t,i,r){return new(i||(i=Promise))(function(u,f){function o(n)
{try{e(r.next(n))}catch(t){f(t)}}function s(n){try{e(r["throw"](n))}catch(t)
{f(t)}}function e(n){n.done?u(n.value):new i(function(t)
{t(n.value)}).then(o,s)}e((r=r.apply(n,t||
[])).next())})},e=undefined&&undefined.__generator||function(n,t){function o(n)
{return function(t){return s([n,t])}}function s(e){if(f)throw new
TypeError("Generator is already executing.");while(r)try{if(f=1,u&&(i=e[0]&2?
u["return"]:e[0]?u["throw"]||((i=u["return"])&&i.call(u),0):u.next)&&!
(i=i.call(u,e[1])).done)return i;(u=0,i)&&(e=[e[0]&2,i.value]);switch(e[0]){case
0:case 1:i=e;break;case 4:return r.label++,{value:e[1],done:!1};case 5:r.label+
+;u=e[1];e=[0];continue;case 7:e=r.ops.pop();r.trys.pop();continue;default:if(!
(i=r.trys,i=i.length>0&&i[i.length-1])&&(e[0]===6||e[0]===2))
{r=0;continue}if(e[0]===3&&(!i||e[1]>i[0]&&e[1]<i[3]))
{r.label=e[1];break}if(e[0]===6&&r.label<i[1])
{r.label=i[1];i=e;break}if(i&&r.label<i[2])
{r.label=i[2];r.ops.push(e);break}i[2]&&r.ops.pop();r.trys.pop();continue}e=t.call(
n,r)}catch(o){e=[6,o];u=0}finally{f=i=0}if(e[0]&5)throw e[1];return{value:e[0]?
e[1]:void 0,done:!0}}var r={label:0,sent:function(){if(i[0]&1)throw i[1];return
i[1]},trys:[],ops:[]},f,u,i,e;return
e={next:o(0),"throw":o(1),"return":o(2)},typeof
Symbol=="function"&&(e[Symbol.iterator]=function(){return
this}),e},c=5e3,l=function(){function n(n,t,i,r,u)
{this.httpClient=n;this.accessTokenFactory=t||function(){return
null};this.logger=i;this.pollAbort=new
h.AbortController;this.logMessageContent=r;this.shutdownTimeout=u||c}return
Object.defineProperty(n.prototype,"pollAborted",{get:function(){return
this.pollAbort.aborted},enumerable:!0,configurable:!
0}),n.prototype.connect=function(n,t){return f(this,void 0,void 0,function(){var
i,c,l,h,f;return e(this,function(e){switch(e.label){case
0:if(u.Arg.isRequired(n,"url"),u.Arg.isRequired(t,"transferFormat"),u.Arg.isIn(t,s.
TransferFormat,"transferFormat"),this.url=n,this.logger.log(r.LogLevel.Trace,"(Long
Polling transport) Connecting"),t===s.TransferFormat.Binary&&typeof(new
XMLHttpRequest).responseType!="string")throw new Error("Binary protocols over
XmlHttpRequest not implementing advanced features are not supported.");return
i={abortSignal:this.pollAbort.signal,headers:
{},timeout:9e4},t===s.TransferFormat.Binary&&(i.responseType="arraybuffer"),
[4,this.accessTokenFactory()];case 1:return
c=e.sent(),this.updateHeaderToken(i,c),h=n+"&_="+Date.now(),this.logger.log(r.LogLe
vel.Trace,"(LongPolling transport) polling: "+h),[4,this.httpClient.get(h,i)];case
2:return f=e.sent(),f.statusCode!==200?
(this.logger.log(r.LogLevel.Error,"(LongPolling transport) Unexpected response
code: "+f.statusCode),l=new o.HttpError(f.statusText,f.statusCode),this.running=!
1):this.running=!0,this.poll(this.url,i,l),
[2,Promise.resolve()]}})})},n.prototype.updateHeaderToken=function(n,t){if(t)
{n.head
ers.Authorization="Bearer "+t;return}n.headers.Authorization&&delete
n.headers.Authorization},n.prototype.poll=function(n,t,i){return f(this,void 0,void
0,function(){var c,h,f,s;return e(this,function(e){switch(e.label){case
0:e.trys.push([0,,8,9]);e.label=1;case 1:return this.running?
[4,this.accessTokenFactory()]:[3,7];case
2:c=e.sent();this.updateHeaderToken(t,c);e.label=3;case 3:return
e.trys.push([3,5,,6]),h=n+"&_="+Date.now(),this.logger.log(r.LogLevel.Trace,"(LongP
olling transport) polling: "+h),[4,this.httpClient.get(h,t)];case
4:if(f=e.sent(),f.statusCode===204)this.logger.log(r.LogLevel.Information,"(LongPol
ling transport) Poll terminated by server"),this.running=!1;else if(f.statusCode!
==200)this.logger.log(r.LogLevel.Error,"(LongPolling transport) Unexpected response
code: "+f.statusCode),i=new o.HttpError(f.statusText,f.statusCode),this.running=!
1;else if(f.content){if(this.logger.log(r.LogLevel.Trace,"(LongPolling transport)
data received. "+Object(u.getDataDetail)
(f.content,this.logMessageContent)),this.onreceive)this.onreceive(f.content)}else
this.logger.log(r.LogLevel.Trace,"(LongPolling transport) Poll timed out,
reissuing.");return[3,6];case 5:return s=e.sent(),this.running?s instanceof
o.TimeoutError?this.logger.log(r.LogLevel.Trace,"(LongPolling transport) Poll timed
out, reissuing."):(i=s,this.running=!
1):this.logger.log(r.LogLevel.Trace,"(LongPolling transport) Poll errored after
shutdown: "+s.message),[3,6];case 6:return[3,1];case 7:return[3,9];case
8:if(this.stopped=!
0,this.shutdownTimer&&clearTimeout(this.shutdownTimer),this.onclose)
{this.logger.log(r.LogLevel.Trace,"(LongPolling transport) Firing onclose event.
Error: "+(i||"<undefined>"));this.onclose(i)}return
this.logger.log(r.LogLevel.Trace,"(LongPolling transport) Transport finished."),
[7];case 9:return[2]}})})},n.prototype.send=function(n){return f(this,void 0,void
0,function(){return e(this,function(){return this.running?[2,Object(u.sendMessage)
(this.logger,"LongPolling",this.httpClient,this.url,this.accessTokenFactory,n,this.
logMessageContent)]:[2,Promise.reject(new Error("Cannot send until the transport is
connected"))]})})},n.prototype.stop=function(){return f(this,void 0,void
0,function(){var n,t,i=this;return e(this,function(u){switch(u.label){case 0:return
u.trys.push([0,,3,4]),this.running=!
1,this.logger.log(r.LogLevel.Trace,"(LongPolling transport) sending DELETE request
to "+this.url+"."),n={headers:{}},[4,this.accessTokenFactory()];case 1:return
t=u.sent(),this.updateHeaderToken(n,t),[4,this.httpClient.delete(this.url,n)];case
2:return u.sent(),this.logger.log(r.LogLevel.Trace,"(LongPolling transport) DELETE
request accepted."),[3,4];case 3:return this.stopped||
(this.shutdownTimer=setTimeout(function()
{i.logger.log(r.LogLevel.Warning,"(LongPolling transport) server did not terminate
after DELETE request, canceling
poll.");i.pollAbort.abort()},this.shutdownTimeout)),[7];case 4:return[2]}})})},n}
()},function(n,t,i){"use strict";i.r(t);i.d(t,"AbortController",function(){return
r});var r=function(){function n(){this.isAborted=!1}return
n.prototype.abort=function(){this.isAborted||(this.isAborted=!
0,this.onabort&&this.onabort())},Object.defineProperty(n.prototype,"signal",
{get:function(){return this},enumerable:!0,configurable:!
0}),Object.defineProperty(n.prototype,"aborted",{get:function(){return
this.isAborted},enumerable:!0,configurable:!0}),n}()},function(n,t,i){"use
strict";i.r(t);i.d(t,"ServerSentEventsTransport",function(){return s});var
u=i(6),f=i(15),r=i(11),e=undefined&&undefined.__awaiter||function(n,t,i,r){return
new(i||(i=Promise))(function(u,f){function o(n){try{e(r.next(n))}catch(t)
{f(t)}}function s(n){try{e(r["throw"](n))}catch(t){f(t)}}function e(n){n.done?
u(n.value):new i(function(t){t(n.value)}).then(o,s)}e((r=r.apply(n,t||
[])).next())})},o=undefined&&undefined.__generator||function(n,t){function o(n)
{return function(t){return s([n,t])}}function s(e){if(f)throw new
TypeError("Generator is already executing.");while(r)try{if(f=1,u&&(i=e[0]&2?
u["return"]:e[0]?u["throw"]||((i=u["return"])&&i.call(u),0):u.next)&&!
(i=i.call(u,e[1])).done)return i;(u=0,i)&&(e=[e[0]&2,i.value]);switch(e[0]){case
0:case 1:i=e;break;case 4:return r.label++,{value:e[1],done:!1};case 5:r.label+
+;u=e[1];e=[0];continue;case 7:e=r.ops.pop();r.trys.pop();continue;default:if(!
(i=r.trys,i=i.length>0&&i[i.length-1])&&(e[0]===6||e[0]===2))
{r=0;continue}if(e[0]===3&&(!i||e[1]>i[0]&&e[1]<i[3]))
{r.label=e[1];break}if(e[0]===6&&r.label<i[1])
{r.label=i[1];i=e;break}if(i&&r.label<i[2])
{r.label=i[2];r.ops.push(e);break}i[2]&&r.ops.pop();r.trys.pop();continue}e=t.call(
n,r)}catch(o){e=[6,o];u=0}finally{f=i=0}if(e[0]&5)throw e[1];return{value:e[0]?
e[1]:void 0,done:!0}}var r={label:0,sent:function(){if(i[0]&1)throw i[1];return
i[1]},trys:[],ops:[]},f,u,i,e;return
e={next:o(0),"throw":o(1),"return":o(2)},typeof
Symbol=="function"&&(e[Symbol.iterator]=function(){return this}),e},s=function()
{function n(n,t,i,r){this.httpClient=n;this.accessTokenFactory=t||function(){return
null};this.logger=i;this.logMessageContent=r}return
n.prototype.connect=function(n,t){return e(this,void 0,void 0,function(){var
e,i=this;return o(this,function(o){switch(o.label){case
0:if(r.Arg.isRequired(n,"url"),r.Arg.isRequired(t,"transferFormat"),r.Arg.isIn(t,f.
TransferFormat,"transferFormat"),typeof EventSource=="undefined")throw new
Error("'EventSource' is not supported in your environment.");return
this.logger.log(u.LogLevel.Trace,"(SSE transport) Connecting"),
[4,this.accessTokenFactory()];case 1:return
e=o.sent(),e&&(n+=(n.indexOf("?")<0?"?":"&")+
("access_token="+encodeURIComponent(e))),this.url=n,[2,new Promise(function(e,o)
{var h=!1,s;t!==f.TransferFormat.Text&&o(new Error("The Server-Sent Events
transport only supports the 'Text' transfer format"));s=new EventSource(n,
{withCredentials:!0});try{s.onmessage=function(n)
{if(i.onreceive)try{i.logger.log(u.LogLevel.Trace,"(SSE transport) data received.
"+Object(r.getDataDetail)(n.data,i.logMessageContent)
+".");i.onreceive(n.data)}catch(t)
{if(i.onclose)i.onclose(t);return}};s.onerror=function(n){var t=new
Error(n.message||"Error occurred");h?i.close(t):o(t)};s.onopen=function()
{i.logger.log(u.LogLevel.Information,"SSE connected to "+i.url);i.eventSource=s;h=!
0;e()}}catch(c){return Promise.reject(c)}})]}})})},n.prototype.send=function(n)
{return e(this,void 0,void 0,function(){return o(this,function(){return
this.eventSource?[2,Object(r.sendMessage)
(this.logger,"SSE",this.httpClient,this.url,this.accessTokenFactory,n,this.logMessa
geContent)]:[2,Promise.reject(new Error("Cannot send until the transport is
connected"))]})})},n.prototype.stop=function(){return
this.close(),Promise.resolve()},n.prototype.close=function(n)
{if(this.eventSource&&(this.eventSource.close(),this.eventSource=null,this.onclose)
)this.onclose(n)},n}()},function(n,t,i){"use
strict";i.r(t);i.d(t,"WebSocketTransport",function(){return s});var
r=i(6),f=i(15),u=i(11),e=undefined&&undefined.__awaiter||function(n,t,i,r){return
new(i||(i=Promise))(function(u,f){function o(n){try{e(r.next(n))}catch(t)
{f(t)}}function s(n){try{e(r["throw"](n))}catch(t){f(t)}}function e(n){n.done?
u(n.value):new i(function(t){t(n.value)}).then(o,s)}e((r=r.apply(n,t||
[])).next())})},o=undefined&&undefined.__generator||function(n,t){function o(n)
{return function(t){return s([n,t])}}function s(e){if(f)throw new
TypeError("Generator is already executing.");while(r)try{if(f=1,u&&(i=e[0]&2?
u["return"]:e[0]?u["throw"]||((i=u["return"])&&i.call(u),0):u.next)&&!
(i=i.call(u,e[1])).done)return i;(u=0,i)&&(e=[e[0]&2,i.value]);switch(e[0]){case
0:case 1:i=e;break;case 4:return r.label++,{value:e[1],done:!1};case 5:r.label+
+;u=e[1];e=[0];continue;case 7:e=r.ops.pop();r.trys.pop();continue;default:if(!
(i=r.trys,i=i.length>0&&i[i.length-1])&&(e[0]===6||e[0]===2))
{r=0;continue}if(e[0]===3&&(!i||e[1]>i[0]&&e[1]<i[3]))
{r.label=e[1];break}if(e[0]===6&&r.label<i[1])
{r.label=i[1];i=e;break}if(i&&r.label<i[2])
{r.label=i[2];r.ops.push(e);break}i[2]&&r.ops.pop();r.trys.pop();continue}e=t.call(
n,r)}catch(o){e=[6,o];u=0}finally{f=i=0}if(e[0]&5)throw e[1];return{value:e[0]?
e[1]:void 0,done:!0}}var r={label:0,sent:function(){if(i[0]&1)throw i[1];return
i[1]},trys:[],ops:[]},f,u,i,e;return
e={next:o(0),"throw":o(1),"return":o(2)},typeof
Symbol=="function"&&(e[Symbol.iterator]=function(){return this}),e},s=function()
{function n(n,t,i){this.logger=t;this.accessTokenFactory=n||function(){return
null};this.logMessageContent=i}return n.prototype.connect=function(n,t){return
e(this,void 0,void 0,function(){var e,i=this;return o(this,function(o)
{switch(o.label){case
0:if(u.Arg.isRequired(n,"url"),u.Arg.isRequired(t,"transferFormat"),u.Arg.isIn(t,f.
TransferFormat,"transferFormat"),typeof WebSocket=="undefined")throw new
Error("'WebSocket' is not supported in your environment.");return
this.logger.log(r.LogLevel.Trace,"(WebSockets transport) Connecting"),
[4,this.accessTokenFactory()];case 1:return
e=o.sent(),e&&(n+=(n.indexOf("?")<0?"?":"&")+
("access_token="+encodeURIComponent(e))),[2,new Promise(function(e,o)
{n=n.replace(/^http/,"ws");var s=new
WebSocket(n);t===f.TransferFormat.Binary&&(s.binaryType="arraybuffer");s.onopen=fun
ction(){i.logger.log(r.LogLevel.Information,"WebSocket connected to
"+n);i.webSocket=s;e()};s.onerror=function(n){o(n.error)};s.onmessage=function(n)
{if(i.logger.log(r.LogLevel.Trace,"(WebSockets transport) data received.
"+Object(u.getDataDetail)(n.data,i.logMessageContent)
+"."),i.onreceive)i.onreceive(n.data)};s.onclose=function(n)
{if(i.logger.log(r.LogLevel.Trace,"(WebSockets transport) socket
closed."),i.onclose)if(n.wasClean===!1||n.code!==1e3)i.onclose(new Error("Websocket
closed with status code: "+n.code+" ("+n.reason+")"));else
i.onclose()}})]}})})},n.prototype.send=function(n){return
this.webSocket&&this.webSocket.readyState===WebSocket.OPEN?
(this.logger.log(r.LogLevel.Trace,"(WebSockets transport)
sending data. "+Object(u.getDataDetail)(n,this.logMessageContent)
+"."),this.webSocket.send(n),Promise.resolve()):Promise.reject("WebSocket is not in
the OPEN state")},n.prototype.stop=function(){return
this.webSocket&&(this.webSocket.close(),this.webSocket=null),Promise.resolve()},n}
()},function(n,t,i){"use strict";i.r(t);i.d(t,"JsonHubProtocol",function(){return
h});var r=i(10),f=i(6),e=i(15),o=i(12),u=i(9),s="json",h=function(){function n()
{this.name=s;this.version=1;this.transferFormat=e.TransferFormat.Text}return
n.prototype.parseMessages=function(n,t){var c,s,e,h,l,i;if(typeof n!="string")throw
new Error("Invalid input for JSON hub protocol. Expected a string.");if(!
n)return[];for(t===null&&(t=o.NullLogger.instance),c=u.TextMessageFormat.parse(n),s
=[],e=0,h=c;e<h.length;e++){if(l=h[e],i=JSON.parse(l),typeof i.type!="number")throw
new Error("Invalid payload.");switch(i.type){case
r.MessageType.Invocation:this.isInvocationMessage(i);break;case
r.MessageType.StreamItem:this.isStreamItemMessage(i);break;case
r.MessageType.Completion:this.isCompletionMessage(i);break;case
r.MessageType.Ping:break;case
r.MessageType.Close:break;default:t.log(f.LogLevel.Information,"Unknown message
type '"+i.type+"' ignored.");continue}s.push(i)}return
s},n.prototype.writeMessage=function(n){return
u.TextMessageFormat.write(JSON.stringify(n))},n.prototype.isInvocationMessage=funct
ion(n){this.assertNotEmptyString(n.target,"Invalid payload for Invocation
message.");n.invocationId!
==undefined&&this.assertNotEmptyString(n.invocationId,"Invalid payload for
Invocation message.")},n.prototype.isStreamItemMessage=function(n)
{if(this.assertNotEmptyString(n.invocationId,"Invalid payload for StreamItem
message."),n.item===undefined)throw new Error("Invalid payload for StreamItem
message.");},n.prototype.isCompletionMessage=function(n){if(n.result&&n.error)throw
new Error("Invalid payload for Completion message.");!
n.result&&n.error&&this.assertNotEmptyString(n.error,"Invalid payload for
Completion message.");this.assertNotEmptyString(n.invocationId,"Invalid payload for
Completion message.")},n.prototype.assertNotEmptyString=function(n,t){if(typeof n!
="string"||n==="")throw new Error(t);},n}
()}])})############################################################################
###################################################################################
###################################################################################
###################################################################################
######4m۠���E#d�� X�Axk�(�h�7�%0 Ġj���#O#<#�y�n�#9#8
‫���ޖ‬c���3�R�(��d�s��Ձo�Eua���ӭ�� ���#ƚ��R#9�<��|QG='�(��a���
�P��#v"�o�]�#�D#��a�#���u#D�(����#�@##=��##4#�#�Dz#3#����#�#h�����n### ‫�ئ‬:��ջԓ
‫=�غ‬P#\u#71D����c����u�z����#��X��#���nj ‫�ڑ‬m4�A7���l#�>Tv���8�ɍ�W�I�rZ###�X��^i���
)��ӌί t#i�L�#nH��#��#r�vO�W ٨���+
��=�m:��U��-
� � ��
7�B�oh�"Գ�#�#�#��)�\��x��Ai��##e�#��]��#pÞ��E#W``�,tK<#�D�a`������a=�!
G�#�J�#��#��0�M��](��/��ٗq��W�W6�e�=��}q(��`����<*��i�#O$
��#"�u��c�#�*T(����w#��aď#6��t��1��#‫ء‬o���I#�{[Ɵƒ�#��#�Ԏ��Mx��fu�;I#{���#�i��#���
�J[�R�;z�#��M�##i��Ad
�R���#>�8K�?2���m�,�~��x�Z���]�#�u�G�=#
g��n����|-J1u5#lN�8�P-�#i7p�_� �Y�#��3���� �w‫؍‬x�va��9l�#����#�.#�
<�XPt���5����V�^
�ְV_,��#M����?�h#����X#�~��s�###��Ex ߃�rA��#8�>���B�-#$��###w�a#�&��,–���,�
�q��Ч#�##�#.!k#Y�����7���*F��tT�j�#�##�@�R�##�D# @�^�`��#'� � #�
#��#�#Y�‫ڈ‬#r-)�`�##�Wy^#�
�;2ֿO}xRM�#�!
#M��##',ж:�I�#####<#�#�P$�Yt#�Qp��������,#�gf�n<k��q�2*gk�@m#0m�&l��N�V�� �1I�
##4#�t�� ��=� 1[ �#r��#i:T]���1 �B{��
�$0v��#xI[
몥 � � 8�NYa��8�D#л�ۧg]�
‫�ۮ‬q�I����]�o#�#4�Q�K#��yЖ;�#UV���Y#DPát#�JW�lK0��N�rv"�#�#i�j[/?h#���#�H��Z~2�#.8K
F����p!#�@### �5=���#####����#(��Tq~o�-@�o�qmQ�),讥
� Z#T��#A��#���@�$шz��+N�}Uc��XMa!!`�C&A�;�8`.‫ �ܖ‬E§#�=�}Vp��0;����#�q��
��##���5�fb(��Ձ#���#��#exĠ=##B##�##�,
p� m��^'��#I5�#��#&�#N�#$@P �#�#dx��##���2 ‫���"�ސ‬S#���/���##�#�#�#�9��#�)!
�1�J#p�V�##�#��X Dp###s#�aDg#@w@#�`Y#��#I��a#�x�;IF#�q#?��##�����#�N ��d=�2FK
x'�BH s�#�g�n#3 �)���// ########################## //
// File:
// Home/Index.js
// Depends:
// All Dependences
// ########################## //

// ############# Global NameSpace ############# //


// Important !!! Only for Necesary Interoperation on Master/Parents

var hubaction = {};


hubaction["onOpenDialog"] = function (message) {

console.log("responseMessage: ", message);


var encodedMsg = "[OpenDialog]:" + message.phone + " dnis[" + message.dnis +
"]" + " date:" + new Date();
var ctiRequest = {
'Phone': message.agentId,
'Dnis': message.dnis
};
loginGlobal.isPureCloud = true;
indexGlobal.incomingCtiCall(ctiRequest);
};
function hubinvoke(invokeAction, source, message) {
console.log(hubconnection);
hubconnection.invoke(invokeAction, source, message)
.catch(function (err) {
console.error(err.toString());
});

}
function hubsubscribe(subscribeAction) {
hubconnection.on(subscribeAction, function (user, response) {
console.log("on:user: ", user);
hubaction[subscribeAction](response);
});
console.log("Subscription[" + subscribeAction + "]:ready");
}
function joinGroup(agentId) {
var _agentId = agentId;
var _source = "WebMatrix";
var _action = "AddToGroup";

var _data = {
one: 1,
two: 2
};

var _message = {
agentId: _agentId,
dnis: '',
source: _source,
request: {
action: _action,
data: _data
}
};
hubinvoke(_action, _source, _message);
}
var indexGlobal = {
// ############# Global Variables ############# //
Code: ec._Ho.i,
agentId:null,
connecthub: function(){
var onConnectionStart = function () {
console.log("SignalR Hub connection:start[success]");
hubsubscribe('onOpenDialog');
joinGroup(indexGlobal.agentId);
navBarGlobal.changeCtiIcon('On');

};

var onConnectionError = function (err) {


console.error(err.toString());
};

hubconnection.onclose(function () {
hubconnection.start()
.then(onConnectionStart)
.catch(onConnectionError);
});

hubconnection.start()
.then(onConnectionStart)
.catch(onConnectionError);
},
// ############# Global Functions ############# //
incomingCtiCall: function (requestCti) {
try {
if (loginGlobal != null && !loginGlobal.LoggedIn) {
bGlobal.showNotify.apply(null, [{
Title: settings.Dictionaries.Warnings.Cti.TitleIncomming, //
'CTI Incomming Call',
Message: settings.Dictionaries.Warnings.Cti.Message, // 'Please
login to enable full integration',
Mode: settings.ErrorType.Warning
}]);
} else {
ctiGlobal.onIncommingCall({ Cti: requestCti });
}
} catch (ex) {
bGlobal.eventHandler({
Code: indexGlobal.Code + 1,
Exception: ex
});
}
},
onCtiStart: function () {
try {
if (!settings.CtiEnabled) {
settings.CtiEnabled = true;
if (typeof navBarGlobal != 'undefined' &&
$.isFunction(navBarGlobal.changeCtiIcon)) {
navBarGlobal.changeCtiIcon('On');
}
bGlobal.showNotify.apply(null, [{
Title: 'CTI',
Message: settings.Dictionaries.Warnings.Cti.Active,
Mode: settings.ErrorType.Ok
}]);
}
} catch (ex) {
bGlobal.eventHandler({
Code: indexGlobal.Code + 2,
Exception: ex
});
}
},
onCtiExit: function () {
try {
if (settings.CtiEnabled) {
settings.CtiEnabled = false;
if (typeof ctiGlobal != 'undefined' &&
$.isFunction(navBarGlobal.changeCtiIcon)) {
navBarGlobal.changeCtiIcon('Off');
}
bGlobal.showNotify.apply(null, [{
Title: settings.Dictionaries.Warnings.Cti.Title,
Message: settings.Dictionaries.Warnings.Cti.Inactive,
Mode: settings.ErrorType.Error
}]);
}
} catch (ex) {
bGlobal.eventHandler({
Code: indexGlobal.Code + 3,
Exception: ex
});
}
}
};

$(document).ready(function() {
//############# Local Variables #############//
try {
//############# DOM Base Actions #############//
cM.loadSection('mainLogin', settings.Wmv.AbsolutePath + 'Home/Login');
} catch(ex) {
bGlobal.eventHandler({
Code: indexGlobal.Code + 4,
Exception: ex
});
}
});

###################################################################################
###################################################################################
###################################################################################
###################################################################################
###################################################################################
###################################################################################
############��[‫׆‬#h��D2�T��E�#�@s�H��fe2^�S�##>����v=��~S���
�j���#^?Ҫ�.UDk�#�O��\?�#LE�L�k��#�����2S��G##O�� w2�#���U�#Y#�?�###8`��m�?
&7#`��#�%#�#�2P�J�˞��D�j�#�ϐ�##��� #?�+o*#���>}^��g�=6�#��r���#�~��∨cy#�#���t�ԥ��
�/q�]�lq�b��
#!��#D��l�#�‫ٮ‬w�T#�"Y##:�h2�#�#\j���E�-4��_~8#��#aH!,N��ΐ�9�#J�<#�1�P#�#u-}��
#�r#z�ś�����Y#�#�##�e�8����0�#fsİJ���ĐȀ�\�*�b~(�#����(���-�|
��#�d���ֽF#>#��b�a2�d}�G2#�#=�#bj�B#
#qkS�xV/3�#]�T��w�M�o������2� wI#m&Md�aGC�u��=�1Vk��##�X��/��
‫����ݚ‬#iZk��#��#"J#~�#�P� :%����])�9?��rM ‫د‬in�#�3.#�A#�����O�8����B�(;
 �e ���v=H3sh�:�#
$�vޮ#�T##����2�#7'#�1�k���#��j�#�ꚃ`$#YI�#S�o���TM##\�@�� �#?7
m�#1�4(<=�#V�g�#�#P-�
��ƹ�#sz�Ӳ��#���okD#쩑 � e��ΰ$�=�C���Vk`y#��7[��x�
߱‫��܃‬L`}��&��.��$�#��=�#�:�t���#`Ԩ��t �l;��# Y�0#k�`6X�����<&��^(T��k
C#!#��J���8#����a� H�a#@f#�cbP~Q�$X-��)5G&��?���i�;,�N��2q�U#n"��
j#ǀ3#`fX�#���#�#��o`�[E��
O֨8##J{��ar#3�
�ReVn�#�uBo���3#�7��˭6#c�#����#+ ���k0#i#S���#�c��L
##�#�WTp#u@ၡ#U�Қ.�##�P��7�‫ރ‬E}9����>l6#�8<\���)�B�sY3###y�'8D#�g��#C�Y���/��0�}�<�!
_��#��#"b#E
##F+De##�� ��c�-��#�:�#4�j��#��C�B��#�걱 H�8C�B#�2#�+�#B"�
�S��Y��o#�#�vˤ?���#>Y��%��%�#I;Q�#�(Z��/?W��#�is��@�A���-N,��~q�
�;�:���@�����g# ‫���ۍ‬P�k���#��vi.
weT##^�#��uI�##��e��B�$#/P#�#w�N#�U���#�b�#7$vK�a��
ɢ��#y�#,LS�nӌ�#��[�lW�����j�#u
V#I�##|p�#8����0lD.���y�u�#���#�����z�#JWm��?[FY#�4Yi�#E�##�-�aî!
�)��##���#s;#{#�����##�x�����8 ۭ���#��Y##����K�^�0t�###��#4�+#�x�# #��+'c�#�|
EsA#�#���o#ń#�0"��#
���i��#?�<��x#�#\�#�U�w >��-HZ.�tM�#�'4V�P#��
¢�Y##����#@�#�#�G���A�@�l��#��Tn.�#��#O0��6?#1�=�/�Cs�O#Cden{i��f�#<#Ǭ�#�Q��q
%#Ɂ(�4�$Oe�:#�#F#��h#�IK ເ pj��#)�#��"�0|h��U�N�Fp#St�#�,?�r9��#[w���N�-��-
#�ȅ#���:#�o#=��g#Wƫ
��#�Qs�՜K��F�$.7_�
l�6�(��t^G�‫ ؙ‬#�A�9�v���#�UfC�L���VBeM�U��###G#@���E6� t-
#e�ʾ>��###F�9�'�4�#dzX�enp�@#ђ���'"_U��xx�
Ew#�M�\]y~�!~�8�p�(�#���O?�s�*pO8
_�J��#3#4#�q��-��ԩ #�f##Ȯ5�L�##R�g�N
�V��## ϏI#+�C��#��#�f�:�HE;�8�����#����=y�����
%2#�#��53}#���r#g#EP9r�#P"�p��~�0ZZg�(J�?��&!
�� � �x#RZ�1�x~[ ���##��a�$�n�J#����/#W�d6v��f#=��q�g�g�O@�#;H* ‫צ‬N|֖
�DV#'�X��g��k>�r(���#��arl��#�:��#��t-Ӆ;#~@####�W�j�#�� �g##
�#p?qJ�� \
‫ۥ‬k��#�S�#�M�#C#�����‫��ہ‬#��#�#����wg�#�����
� t�>Ӹ������u#���C ‫�ڨ‬#�r�#S N�g�Pƀ;LL��:�j ‫�ܪ‬j(�]#&
��*#Q�S#��?��&uF*f#�[�s��#LK�.[�5!�2�#꼺 u*�Y4��o���#M ꋹ � a.#g�+f�L��#b�y�x �j�
�"G���[�ʡ�C�#���/!�###���۶ 1�o�U�,�}NY�#�8�U#��#��#
�#{��mh#
�!q�#N�ig�K�A#F�#k�-�T;��x�Q�Db&N���5��#4�\#h�eM�8v#-
�#q�{5#\�d��o�(��Zq#oH�#P���<4'��#��T�(#ȁ 涁� � �� B�-�A������
# wd���J�#zGIF89a####�-
#��߰� ����������쿿 ���������
� ��� � � � � � � � � � � � � � � � � � � � � � � �
��� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 涁 � ������
涁涁涁涁涁涁涁
��� � � � � � � � � � � �
涁涁 � � � � � � ################################################
涁涁涁涁涁涁
######!�#NETSCAPE2.0#####!�#XMP DataXMP<?xpacket begin=""
id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe
XMP Core 5.0-c060 61.134777, 2010/02/12-17:32:00 "> <rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description
rdf:about="" xmlns:xmp="http://ns.adobe.com/xap/1.0/"
xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#" xmp:CreatorTool="Adobe
Photoshop CS5 Macintosh"
xmpMM:InstanceID="xmp.iid:80B22C8E4CE211E0A308FC675CD088BF"
xmpMM:DocumentID="xmp.did:80B22C8F4CE211E0A308FC675CD088BF"> <xmpMM:DerivedFrom
stRef:instanceID="xmp.iid:80B22C8C4CE211E0A308FC675CD088BF"
stRef:documentID="xmp.did:80B22C8D4CE211E0A308FC675CD088BF"/> </rdf:Description>
</rdf:RDF> </x:xmpmeta> <?xpacket end="r"?
>#���������������������������������������������������������������?
���������������������������������������������������������������~}|
{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)
#
##########!�##
#-#,##########�#pH,#�Ȥr�l:�ШtJ�Z�‫ج‬v��z��xL.���z�n���|N����~���������������������
�#*��T#��$
������p
�*&##)����T���###�
#�����E�*##"��Ȯ��� �͖�����}#####���)����###
###
#
#����a##*���������##�� #H�###��)ħ���}�H#,H�"�m&�-
�x��Ï�6��H��#�8�T�#�Ks�#��Iӎ��+s2��'�t#k
#*�F�:�����####�J��###�j]#ũ#4#��J��###�m]����#;# a��P�#��#�#�_fr��#\#�����]<+0���
#��L1�˖#C�#�Zʠ�Y�L:�XΨ#-ؐ5�k�nI�.#AB�Ը#5 �7l����# 3��;# |
��|\l��iAhp��6#x7�#�y��#��N>�#V�ӏ###����,P�<���샇 � #��###�e�z��g�\��#��`w�#(�,�-
ha0�=� ~#B��Aq#��@�#nX`�#~#"|#��"�(F��Ƶ��'���4nf�8F��*��c]
�#d�0#�## #Y#�KV ٤��U(�P� Xe�]a)f##�%I#x�%�P��
#�w�E����9�### �###&�y�z��A�~��Hh�5��ߑ��蒏 B�#���#襍 f��w�v:
#��
���F�A#�F"���~�j�2"#� *�
�F�n�H`���##,t#�J�#�"�k��b9 쳀#+���Vˬ���#��
�-�‫�{׆‬G�����#��.#i��.��b#�q,#���/�#��/##X
p��#�e�#�#��Ⱦ�pt�F\��#W���X#��# w�� C
��^Ll��a�#l�,g��v/�j��� `p�Q0pl��~����#mD#�#�0�GC�A�J7��0�#u�4W�#�X�l��X
�##
#v�P����^����;�#��g#�����m7tS���#|������Y�g�#��[36��‫؍‬涁� 2Ǖ�=6�!��l 9�#‫�ڝ‬NB �#p
/ 9�����#�W��Ƶ��6�k��Ƚ�#���O8��j#����#�|��;�<��?����[�(�� ?���5}����}��{�
̨�
5#���ׂ#�}��#�����4��#���~���
�>#H�#6�I�#���#:#��#�#�R�II�#Z0 ###�^��O����###��#!|�##SB#�� #`A#Vx�#��0��
g��#N�M�!#t���T�P
"#DHD�#1�Hd�#�Ȃ#\�P�b
X��#�HDž�1zxL�#�Ȃ#��#���
�H�+�/�K�"#�x##��R�##ɨ#3��#�JP�#Y@��X
�@�BvD�&tH"��HF�#���#")�1ZR+���&��IO##���!)K)�SZ#�����p��^2�1#��,'I�J�##�#�*��J_��
#�#�0II�)#�#�^.���"4әl��#�)�jJ��L&�I�o���f�$9�i�(���#;���w~�,##�<�iJlrEk���.���w#�
�5q�@�YO(‫��>����ܓ‬φ�*%��@+�V1�G�h#:�Q#(�(��#�<I�#��#�2S)K[
Ϛ�R�#�i#l�A��L�<��+i"K����#�6#j#�&գ;��4���ZF�#�@##l�#��êW�#K#S�##�U�##,1��=a#��##
`V#�5�#u�E~�V�
� D�Z#L��#(n# �#6���#�]jE$ZX���x" �t�`
#T�#�"f�Z�����N=�##K�
p@K���dO#�ˮ֣/%�#`�V ٢m�D#�m�#�j����o=z��#����,�L)Hh�#�Lm#�#؇
�#�-��q�@�*��T���<4*�<�#�#��#ӫ^���m�|�{��*��;0 P�f���#|�!
_�zK�#n�##�`:���EB{��##Pm #�@#΅�
�#����A��;!`#5�@Y��b#�T��`�#�#�#4# g�##�Xx#涁� � �jxxȰ-�#�|##� �#��s#��)�##2�r�k�
#�8�#�Q���c_\W���r#��#7�F#qV^�YI��#��sz�L#>��Ϲ#��#��B#8��#�����!8z!
�����#���Z���#�#F�i#wZ#�#�# П#<�=s>5O##�F��՜f�d�� 1���Ե��# y#����
{��M�#T0'#�#��L�#‫��;ۈ‬ï��a#@m#-
�#�Ո����1,#q�g##�#A�BĀ@�%��N*�#�Vo�
`NjA���zhF���X#�=��-���oQ��
“ �F`#�j�x�#b#0/h##V#��q:sx#�#9#-�O��*�v�ͼ nD
@�x#�N#N;��D�;�*##�Y�#Y�*���Pr�s4�n-"���#C]!"x,���
�c��&Ī��诋� � JC�#��ҳ[�‫׆‬x8��#m�{��U����#؎���{#y�= �-#��#<�O��@�=�|#�+2`rlM �f�|Z
#��c��nO��-x���\�^�#�z�#���� %#{]��#��=�c�7�##�@�{#X���·��
��#��#~�#��a�����#��K��x#�W�{=#����>��v�v(?��?
�8����~w�~�#��#�p�7#�W��&#(#�����Ez6�x#h�#�##H��esnЀ#�#�## 涁� ##8�#X�
߇�#g#w�u,‫؂‬.�#'#���vr�j5#q#x�W��#�#u�s?#rA�9H���ts#sI�}B�zN�p=�##8 �ަ#�W�Q
##p�;��j�\�ib#�W##d�r#�#���$ȆXЄo�S��#4H�xV#v�#
���ƃk�~�j'#�[p#��mF�#H���##_ȈS ##��#�l����_
�#��##0��hiqx###���������L ##i�3#���#�8��t#di�t��`
��_���8eZ�#�6�#�##`�^@#���.�mf#���V�(�Zp#��c�8#+���U#�####�#&�h�i�]#p��x##�#�`�f#�#
�ĵ���#n���ieЊ�H\�#�_Ћ#�[��#}��"5�
#��e�`Џ#�U#y�#���e�$�
$$
�" ِ$�Y#y#���#e�+���ؒW#�`
�29O�X�\#�8�nc��=)R�#�b##C�T/I##y��#�J)#�ؔ-ő[�R9M!P�c�#X�Q&�#Fٕ��D�`i�c�PO##Q��b��b
�ɨ�X��r�#tI#�‫�ؖ‬4�XP�r#F!ٗ_0���K��#�X��ė�9#����[�k�
H�8�Vi���l[ ���C��c����H˨#[X�+Й�###���d�S#�hy��)#�i�\��S#�)�� #�
�\T�W@��ɛ�##� ���#�#��#�c����OY#��)��)#�
�:Y#Ĺ��9�#ٝ�I#Ή��Ȟc��ԙ#�Y��H�,‫?ם‬##�Y��ɟ`P��y�R����#*#b���##��ٕ�
��� �٠
9#�Y�Ii�a#ʉ�L��G�#��)�L���9#':#7i�###�Y�*�^ЫٚR��?T�8�#�i�U�9�A
#� ##��(��a@#ʉ�M��= �R�#C
���#5���^#�;J#>#�d�#T
�S`����k�#]j�M�#$��H:�]�����G"���|�#m��3�#<���X�]�##�M0�2 涁� #1j�#�#g
��y�Z0���p*�&
�T �L
# � ��
#y� � J#"(�{
�Yীীi���

��Z�)�J#�R���Z#�i�<�#‫ [�ؙ‬#n�#�j�к#�‫ږ‬/Y�]y��Z#:��w�#���� �v��#���r�QP�mɫI
�]���:##
��
� j#�z�c��UP��I�G`�=�#[#º�#������
y d�#���###�
˺�M��h��X`��*#�z��
�U���9�EP�=#�(###ۖ,K����1##��LЮRI�9##����j#>{�##�K���٨�‫ ګګ‬J##�:�N#�Q;#�i�D�=y�R��L��(
�^�#�3��#[#�I�e�#g��LP��‫ڶ‬J �m#����t�#;
{�Κ�{�#};�x#�##�#�L#V�۸��#��;��[���{##���۹��#��;��[��+��������
‫��;��]��}��������ۻ‬#��‫���ۺ‬#��;��[��s�ț�ʻ��##oY�#м�;��{�L���J��K��#�E˺�#�K
�������k�_��vK��K����#�‫ڔ‬Z���iK#�#�f���#�Jп-9�{;��y�Bp�CY���˴cY�C��8i��;�<�##
‫ܒ‬##�#L�#�##��
��#L�#,#%‫*��ܔ‬K�L�##�"�#���m�����˽MP�M9�e#�#��E��#y�e��#��-#�m�����m
‫ٯ‬E��#)�^+�#�K�‫ۺ‬A�����C��eK�2�#�z��K�M�Ӻ�u<�9��h��P#�#i�A��Q
#�L�J|�r<��<���#��c�#{���
�:L#���#�ϋ�m��{#�U,#~�#��4��R��m��A�K�Ƅf��#��<���;#���^��`��QP�t+�#;#���#���l�Tо���
�#�c��I`X ‫�ܒ‬,�Ɍ���#�)��J��K#�‫�ܒ‬
�#�L#��
��‫�ܖ‬#�<������VP�NX�({ɑL#ꌕ˜�fj��#��� ��#‫ݔ‬V###M
� # X��#���섩�##-�(��-
�9[�#Y�N�#����
#�R0ѫ��߬� �Z��m)ŗ��#��O#ҫ��k��XY�Mp�iii
m
͋͋��S��=�@‫ݔ‬####�FH
FF����#O ‫>ݔ‬#�[=�]�#*���UM�W��
#������8��Q#�Ci�I��*�#D���*�8��Vp�#��v��e-�‫ݹ‬FYm�S}���#�
‫ܝ‬x�#y�K��O�Զ��#j�2##��UƧWI�=����DQ�m���ǧ�#���#‫ݝ‬tM#4m��-��M ‫ڍ‬#���Rd�֠��#��嬝|
�f��W��'�‫ۼ‬m#�M�p}��=�g���y ‫}���ܨ‬#�}�� � � ‫=ڱ‬#y��#
�M
‫ݠ‬۰�,��‫��}�ؠ‬m���#��� ���B�#c�����c�ֆz��=���:m�#��
��yH�X�ޫ�Y�y�#^��y�Y���h�,��_�ϔ]�#9�Xy�k#�yX�����њ���,��{�##��t�݀���
�K��")�B�#a�#(��2n�7N�&.#>��6#�"N#$��M��O��*##]��[^�a�c�#4 ‫ޖ‬gN���l��-
��X���h`�-��H��G�r#�#�����g�i��#)��H 袗
�f��#�����v#�j���(��H�X��g#���#��p�#�>������h#�x�h��# ��VԀp��#�#`#�>)#`##~�m��i�ꏨ�
\��Us��~#��}��댭
##�F�~0�����Ճ#�N��I�R�{��U��tf�r��N�Dl�g��d�T��>��}��b�����r��>#�a�>#�}���O# �["#
‫ڽڽ‬F#/�#9 0 ‫��ނ‬#��#��)#���n�#�##N�#_g#s۞#�m�#�#S�~%�S#@�#B#���P`�O�#K�|
1�p�m*#�����u7�Q�#��{?�V#O,#O^8�#:�S4?#�.zM_^A�%C�`S/��X�z��d��5�b�>#�
���n#U#Nh�[#@�Ǒ#D�Sn�Z�# =�tuO^#p��###?]}?^W��~��$��##Wo##��`o�s�I#/#0��l
`�U!#Y�T�o_:��p��7�ff#�###����#��#�#�}�_h#��#1#��u���]�#�Ox�j�o#�ow�/e
�‫�`ڋ‬#�g��#�7�~q�#(/��Ox�?#�#{�_i�7�<#~��r#0�ea�ſs�l�##�
�X4#�I��t�##֔Z�^��Y�5x6##�\###���v�����\��##�qp����# #)�#˼
�######')+�###5��&�6AY(,IK�2C#%##S]�
##Mik�##�^w�:#?y�l� ���V�Z��##� ##��
���#���#����ɑ#��ۙ�#ұ}��F��������#�N�>p�#�+����##!"#���?7##��0+b)##�eT�)���#!
^Hh�F��#(�p#e�#
#��GoP�t#j#UPq�K��
Ȥ#T��kG��d��O#ӠO��dc#j:##(#�Z##�#9�f�
�'�#ck>��L�#�i�#��#�#�##$��#�ȵo��2�#.�Į�~�[��#|#,]#
p�#�)C=��q�ȍ�#hv����x#�~##�k�TF�)�)#�#�##���7ő���f��ܾ����%�#�䡏_G�|M�?��3�~��#�
‫ڏ‬fG�����[##�����_�����e���*��/����H�#)�ω��xK@�&��@�#d#�#5���& �¤
�z@��2�P'#U��C&�B��1#����#�@�E{X��#��q
#i$F�#Q�#;7�lp�����j3��"tl��#�4�I�#5#�$"�.��##
�T�6�#G:2�#��5�Q#ϼ��
#
��D��1�l��=y�#ѝ�|��##ml�B#]�#E-%#N$&�4�q��4�L�Tԑ~�����'�SWd#֗6=�-)W��!_�U$S}
�V>��5W�#5��d]��FAT�X##Q�Y#���O����##�bdTm�#�\W�%b&o�#�7�{� ‫�܄‬tۭ�q�4�|
�5���[×�T�#X#z#��R��(�a��MXb;#~x#�-F#�W]8c;0�؏�9��c��##eN".y ‫ړ‬W&C ‫ګ‬ ��
�ej+�#��uƣ�Mιg?x#:Ÿ��#f��(�i-lN������骱�Z ꎨ�‫���ڊ‬B��5�P�>�
cɎ�k ��V { ��# $ �5 �; �# ��# 5 ���y �# ��# # wD �#0 �^!#_ ��B # �# ��# / C �# �r{#@+
‫<��ݷ‬ �Ug �##}## �
pӭ.��bc�#��ko�wUs����߯p=���w�#��6��#8J~b#f��y�#�[�Hw��z~��>�Љ��]��'����'�����>��
#���7��`����G��Y���
�##��&@R#�r#�##�#7�a�#�s`�##8#.�q#L�#����#��`�2 ‫ؼ‬
#��'###U�;��Ѕ�K��F ‫ؤ‬#��~#�`�r��#����##W#�##�~Et #�F3%2(##t�## ��M#?
#��#��#$>���1�#�XD(nq�#�b#��##��We,N#�#G8#�cv|#�#H;��b~,��#�'H�Ɂ�m�V###I"@�`��J#
%�I"#�‫�ڲ‬K#�GMj����dBB9JU#���:�=R�JY����z%9b9K]n����e3r�Ka#�#�[�/y##"#S�r#涁�
4X���#@#���hn�# Hd53� Km�#�#�9�PLm:RE�D�;[C�l*��vp##� �]###�g## J}##
֠ ͋';��|
#�#�I�����,��#}�#��O��1#��G��g�&�h�(HQ:#����&M�K+��y.I����Ia��I8��[�(��#@Q�#u###@#F

����#�&Q�J�#x&-e��P��UK#���Z�.,#P���#eA�@#�����
�#! �M�
�#@&Om�]�3#�$5#�3�e#�U�##"#(�##�W��T#U@X#JXɂ###H@##0S�}�
#8@##p#�N��b"@e/#�،AQ��Kh#`��ζ]�A�e.�3�^F����o�#\�#���5�q��\�.���#l###!�##
#-#,####�#�###�#pH,#�Ȥr�l:�ШtJ�b##Kh{�x?��#�5�ΛF�Qm���|N����>�E�*#
+����S*)����###*#j{���������p##!]
����R#����##fi��������UY%##��DS��NJ"##��������E##���������"f
#������N#('����R����&������##z�##����ߖ 篡 Ç#�#,!��Ex##j��ˆ C�|
#��œ�2n\�����0c�ă�#ʛ#��Y###� 3�
#�#A�w8�
Sɳ�1##�J�##`#RJ�ʋBϩ�c##l`H��Yj#,���6�ίp��#{���Zj���
�kܿ � 撽 K���#W�*#�#�cW#^#�Ly
���3#k�"##�V#M�HZ��S���5�
##��]#A#ոMqv�@#�'�E���9�#��[‫ݼ‬L
��K#�<9o#��k��������Z#�#F���#Ͼ:y�"T�NO���#X ‫ګ‬w��7h6�#8#t�#x�x�%�###
�%##X 
&g�o#fhG�#N��`� "���$���w#JH!�։X�Pp���+���0�X��3��6"��-HPB�=�#�x
#I�}�!١�K�ǁ�#Z@��*�X%�#��%}#��e�T~9�#��###k�)e�j��@vn�#��\�Y��y��#|
���Uzp^���X��~"j'��R�ߣ�#*�WV:U���#�k��LF�Z 涁�g©2!@��Ij�ꗊ�ZՑ��j�_"Р����룬
#;�###�O��"�_��:#�#-��R����N#¶�v�-
��N�(���{�u"�#�#Q�+��)����fo���#,��p`��&0�##�#�"�p_#����+1�
WL��#W���#O�_##�#�!Ӂ@�%��#�)#�h�t�#s���L##8�!��;sL���f0_�QH@r�27A3ҷ��4##�
u�LLM�7_�#�[�#��uv*6#�mv�h{#��J#��'ǝ��tK��7�‫ݴ‬y��=�Ӏ#+��˲�t։+~6�u��֑s��ߺ‫ה‬
6��K#w�ު�3��#>9�jZ#�‫�ݩ‬::���}�5챟�8��{�
‫�����>��;����;�ܮ‬/�^�#��~�K##�`���e��S�w�=��#=~��>�>*����>��E?�c��?��#�#�?
��#��#�#�Q@###��Q�#��@]]
q�##�"� ���Mp‫܃‬#`###@##�`V:�AF�� #P�#^DB#��#TajX��#�p 1<�#�#�#��(�afx��#*!
�gP�#�#�##�8�C
�x#&.ЉI�b#��#\�Y|�#�8#/�#�H#�#;�4�#��xL�#��F�ȯ�^��#�8FIL�>
8#"��#>�1�#�7#i#B#Ґ�#�"7��*8 8��
$ A�"X�*#Wpj��E&#�(q��JI�S�R��)b+[�I*|#����(5B�!
��RlN#w��^Nᗰ�
%�)�c"��9#3��J`�D�ì#5[`�kvг��6��L)@���$�8�yML�##�\g;��N.Ɠr�@Ϡ��##�d�>��O#�sp##�@�x#
+&T����fD)ɈJt�u<�6/��#jt��
�#�@Ϗ����$I#��'4#�#�G]:P
#��3�gM�pS��#i;��@gh�e#�CmBQ��-L�#* ##<�RR�T�J#VYF�T�fT�#8A#P�
<,�#1�*WÙT�##�f�@Y�#U&L�d P+#|:�#l�##�a]��S�#t�|=k�Fp#�JC#�M��#�‫ �إ‬Ō���IC7�
X���h�
4;<�v#�SIdh���%�P
0-j#�##d�u�}�@!�N�<`�{�m��#�#�.$
‫؀‬ ##\�
��##�#��\�##(�mP#@��"���, ��#�BV�I�m��+ީ��g�M�@�##|���U�#�k�#��b�կ@]##�7��E�|
�s�#��###{#�`��($�}0�##����
# 9��8��z�q$�#�G+'#X =
(o�X��z��!#��l#|� ��# ��#T`�:���>B,�!�X?#�1}6�a5=#��,�Cb\e+��@Y�#�^‫ه‬
0����h��Kd##�"i&ҚY�e7�s�#�휹[�"�9#y#Ӟ#�g?_��y��[h"#Z##x���
‫ܟ‬F;�L�#h�'M�+�e#I��#8�6Z�!-�^I���J#��P#
��#ֶ�ӯ����#dZ���B��
* eF �˝#v����g#���6�M@�jy-9 ‫{����ڮ‬#Ic��‫�ڶ‬#B#4
��/�#7��#�s##�#��#��/#4�)��5c�
2�#�g>�����@�[�#�.�|p#㻡 �x� #�C�À��L+~�t����s7K#��G���$���-�j#�����x�;#�h\;�27�
N`sc�##,�y���K��y���uч#wOR�J�4���*C##
���qNA�g��#�##�>鯗�#SO�#�� ��]�‫ح‬#Y��u�V
�J�#�]h���#k�{��zc�+a#VWD�/P�kb��I���&#��qh)��+VZ$>�� #���#p|�|.�zR�
‫ڭ‬/R�c���w��O}��!zާ���|�>|t#��#�/��3#��F~#�O}�[?#��~����s���t#��#�Kp���G�-
Կ~�###����/�6п�•w{�s�g{�7#�#��uu�t#�m�w�O���
�Z=w #�#(��@�#�Y�f ‫��ۥ‬ǁ��#�Y#�#�F�%h�y��)�XX ���#�w
�3�X��#Ӈ��V##��S�d=�r��#�'�ef##f�t�ZI�q
�##脴
#�R�~U#qE###���6#]x##�#'fw0�dX}g8##��j8m#V##�Uv#q�V#P��V�xЄz�]##�}X###���{�W��ƅ�h##
#���T0���`#0�z@���fl(##���##��##�#fw##Ah���#���U@#�#f�8#\'���e��P���cW�#n�ȕ#�X
�8��nЂ�8[#�����Ψ_#@#�8� e#�d�J@�٘^!###�{Չ�(2�^��#���3Ň�x���
8�T@{��T�x��@���p��XV�(��Ќ#�T�##��T�
i ��`ŏQ�#yQ#p�� �#�T?8H#9S#(�I0�% �ј�#u�,y

��<őNЍ2yD�X�#��.u�E��=�J##����BYO�X#yx��#�J9�MyWUЋR�G�X��0#�x��t�Pp�[�G���{@�byK��#
�x�H����m9F��#�$��#�t�#�x��T�B�|9�y v)�*�Kp�x 䗉
�#�ɘc���#�+9�J���##Zɗ�ə�g��D�KP�|����#�ٖo���yD�ٚIP����J��|����
ai�:Y#�y�T�#���H��gٕ�Y `i�g#��4�6d��y
<h��y#�y�I���#�9�BP�R���#��ɜEp��ٞ����i�B���I�
I��#�[y#�i�Թ#{y��9��H�*ȅ9�#����h��)#fy�i)�x`�w�~#y�#��{0#��B#�G�"�#�
�#I�[Y�+Z#7i��h�[#�3�#� �Hp�R��;�� g�)�C:#5*�2 �߉��I�##j##ٓ##�x�#�Yz�)�#��t!
b�2�)�##��h�+#�=ɚh*#����#���w��b��N��H�Xe�EP�)��vz#[J#0 ‫��ڦ‬##`�x��GY��Z#xz�=W�G ٧v�
#6Fy��:�u`��u��)�u#�%��'z�B��rP�M9#{J�� �s �M �#z��j#�y�#��) ��##��!
<I�n���*�L��2ɞ�#��)#�)��Z�p@�bIX����ʩmY��ɭ�ʘ-#�) ��
#=:����o�w�#�J��j�XȘ
�#�J#���
@�#��#K#K:�
‫ګ‬
K�_‫ڰ‬Q@�b�##��#�#$
��*�#�#�)�#�!+#�#@�#i�'##��#,��.�N���:��‫��ڳ‬1�;6 ‫د‬Sp�
%��B;##�#J��L ۴ N�P#�R;�T[�PK�G��Z��\۵^�`#�b;�d[��f{�h��j��l ۶ n�p#�r;�t[��ijT!
�v{#5#[i��Ta#}+#ͺ�|;�D��^��Bq#�##����+##P�fq��K��;#,���{##���1�#�+#
#�#K# �u!�f��e�#�˺gK�e1#�;#����K##���0�Bk�f��S���+#�[#�[��K#�z�e ##����1�@�‫ۼ‬
‫�ٻ‬p�a�Ca��۸ e��C�˹e;��{���#����[#숼 R�^���[#���;#ǩ�v�[k�w��0Q�^#�gA�#\#���;�Y�B��!
��gq�#l#
\��[#�:�B��[��g#��a�#[�Ӱ�*l#���#\#!
<##�����5l#,#�"J�va�7��<�#<��A#�/��fqĄ��Il#�;�yU�#��T1�Z##3��AA�=��T��L##,���#�O##^
��mP�X\#,��r� y��T!��:�eQ�#L#9�ǖ��i<#Al��0Ȕ#Ō<#�[�#QǑ
�#ŗ�#���8�ɷ���T#����\#�‫�ܜ‬#Ǡ<HM ʁ��oJ�:�#�L#b��t#ˣ\#d|
��O`ƚ��z�#�<#�l�u@�Dp˄�������
# ##М#�
�z# ||�E#�u�� <#�\#�L#휤휤휤
#�|�ȁ�� �����
\nS # |
A L�T�˅A�"���K#�l#���o#�N�Ο5��<V�7#,��;*�Da�M@�fA�vz�C��#M###F�!�h��#r�e�����!
#��#��
�e#��yPcRD�#�C���#����^i�e��S�хAԜ�Ӵ�F#���0M"#m#SS 2S��
u#�wQ�t��0r�@����]�1�J]�B��.�"
#M#b��i��w#����, �CR�T�#4-�o�"�\#P��B� s#ȁ��vM#�=#q ‫ � ݎ‬$ ��#�xz�&�}#��$�1�}›m��=&�-
R�y ٤1 ‫��=ب‬-k���]‫=�ܚ‬#:�ԿY ‫��ۆ‬D�‫��ێ�ۺ‬R���#ܿ �0�M#�}‫ܣ‬AŖ@�Ұ‫ܝ' ��� ݜ‬#�m=#�=����"�
‫��ޔ‬1#������#]���‫ݭ‬k#���b��o�=u��#�-#‫ם‬#��#�vG��?#P#�#.�##.#�� �m�r��
���p�C@���#�+н #>##0 ߆�I#�����P#�Dp�k##}k�#�к�����L��W��I�� �u"##CU#0�#��#�Եp�#!
�F`#d��'��!ۘ#����G@��=�T�##M�#�2N##���"�Y�#(� K��_^#,�
�߰B#���k##q� #�
e�##���A#D�#y^##~ b�#��#n�&#p؇#�=#V~#��#a#4 ��Q0 鈧#F�#��#�[�/##u�#�~#R�
g��s�#i�&#P��N#[�#w�|�������0����P�՝�{#�###]^#�n�a 왰왰왰 � #��#�~
S����
<�#f]���y##��^ �n##��#x�n#�#�>{^��֗�v�#�n#��
�N0�#���#���w��##���#O�������2#����
�>#L=�#�>#p�j^���l�##�>##��#�SP�#��s��P��@/#?�%o #/#�>� �##P�
A##0����.#BύH�###�RA�FO�?� ./# -� ��@/S��M_#�*=#�~ya�#�x�7##p��}�r0��
�R���p#��##��'�#v#�##�U#�
0#t�##@##��#��B��SA�D���p#�/}#�##��#�TP�g��v@�� �'$�O##��/�?�um#j�#�##�k�
#F��#�# 2O�v!����+#_؄q�/#��#��‫�!׆‬LH����O�7N#�/� ��
��# �#\����
ߏ�D#�ak�/#�O#���QE�_�#���##�##-�8
#�Ie�t>�Q�Z�#��Y���#��pv�5�ѭ���m��q9#;����7[[#�#�#���###�###��

�#)�#� �2+9��:AC�#�
�DQ�6�V�R_�>ag#[�ZY#ii#
�l�w��d��ဟ V#�a##TI��������2���#
���ĻE��у��#�COd ‫���ݩ‬ȓ���9uG��kVO��|H�H*X���x#�#���!�!
�&R�T#`�]#=v�Ȫ#Ɛ��y#yr#H��V*���J��n##
�$OT.}
�#T(QsFk"�8T�#�M_1���I��*O����#�V�Q�~��U�#�e��5vV����¾e�V�#�u����u/��{��
�W��y##�CXq��r#?��X1e��
%˱�7ef��C]#=G��X�9#��:Ng�N_32#;�k�T0߶2[�o��#��O8�#ЊCɝ��$�fz=O+�
�)#��t#��{A��<s�鍃�8�q�q�S��‫���ۺ‬Cj��X��<
�#\纜 z###
|n��
X��$~c��%
`B@#h�8#G��BD�#�C���0##��mD�
���C�2�mE��{��#c��0�l��8�t‫�܋‬#,챒챒챒 r<�
�;#C� �т��##��D�#P�R-##�JP(xR2-�r��/�
@����K/�De#1#ks*3�#��1�{3Oc.@���X(��?�#`��#
�###=�5##n�"#�f=�#��##V˴#E+��Q8E�fҺ:=��#0M՝@�j5�Bm���\#�tS]�!�,^�9#X�#��3?
�)֩�MǺg��։h����m�:L[n}V�o�� K��5��r���twY�]�#} �WX0v�}���W#_Q�W`�;#2T�#.�`J
� #^8#�!�������ba#�G�;
#��
# �#������T��I�#�3���M#`�#X8�%#^�f�lƙ��x�@䟙��
�c^�"�#FFZ��#���(T�Zj�#�#_�:��)`y�.P#��)T���#
�+��m��#Un#�f�c�#�)�##��#�ƃ�O#�@l�###�####2Txv �####rv##�o#,����##���E#��#
(=�@x6��/X�u�#0<�##(�g( ���#$## #ǩ��y+#���#^?�z�����۩O@u#�~�� ##!�##
#-#,####�#�###�#pH,#�Ȥr�l:�ШtJ}>#����-��_�#�*�A�th�@p��|N����~��W###
#^`���bQdf���h%!###~���������T�������c����#����������Q��#���,�P����
#%��������D###��‫�ؾ‬O���� #(#������L##
���‫���ڪ‬
�#������##"�G#�6'��)4��#�7�"J�H�#@�#3b;�$��#B�H���[�0j\ip#ȗ�#Z�w��x#
� �c�s�K��@��#��
�ѣG#
#0��Sy��J�����KH�j��4�ӯ-�N#���խhӖ#@�#82�‫�ط‬H��#(����#TW���#�K‫؛‬
Y�}#+�s�k�ǧ�.�[���###k�<�#SȠ��L�QՑ�S�n��m���F��m#D�ո####�7"�J(Ӧ]�h��G�:��#
�$‡�#q#�u�#>7�#It 鴫 ҼN�#�#�Ӈ��}�#���/7`�z�‫|ݏ‬w?����#�@S�#��7�#! #Þ#0`�##XD�
.#�x#v�Gv#�#�X#��H##z�b# �#��D`h�t(�hc#-��"{3�X�@:���;���e�#�E#H$�0#!
#��5�$�##�d��Q��
:xe��m�d�BL�t���!#���%7k� B|n�G#zrn�f#j� �#)扛�}��g��V)����e�:.�h�
X#�j|R�(��"�#j��%�#�&ji����h�H]`_�r��j�#d#�V#8Fk����� ��j##��z&��R�#
�����#�l��F{l��.k 䵘 B��D�v[-��z���� kn�֦#.��#�뻔뻔뻔 �
+����� #���'��z����B��4�[p�%$�L�
� 4�� ‫�܉‬l��
�J��^�@�ijHZ�#c,h�#�"#o#�|��^V�o�}<@q�#��2�#� ��s&#��s�@_#��|#0��5#�t� ��4###
u�tN�##_�#[w#�‫ח‬j*�#(����h7Z��� t���]��#V�m��ws������w#Y#n�ʄ� ��K����?7~�
‫ڐ‬#A����my��f>Dۜ����_�-�ɥw~:�-�-
�ӭ�^�9�8�N/�S.5��VM�#��;��",����=8��bN7��
� {;��
uJ�7��#�:�%j�
8��#|
=�H�#9��W�=��9����<�k�/:����9��џ�Z?�q�}#$�##H@#��
#�##�@###�#,�#)XA###�#$�#9�A#2#�!$�#IXB#�#�)#��N&#:#Ѕp�a
���%,�###��ZP�#��8�#w#�#*a##HA#�x�#
��6Lbh��ď81 PL�#Mp�###�G�"d���z|# a#�# ��##�#�r@�#5��6z�G��#Ũ##
x��#�H�>�#�4� #)�@�;�###���GB"�E�$%��##e�
���"7#��y��t#�(S�#�iF##pB*��JV����\#(� �Y�@#T$O#���)�җ�#�'�9�b#S��1c#�)�gB�9
�0c#�k#��֡##�##o~S�m��#�iN1B#9  "#;��N_“��l#=�I��#�#q��#��  � 0 �#%(-#��!�A�N`�###B��S�
朢 j�9#�6A�Z�h#=
R��s3�괃 I��R#�#�,m�D�#��a���f+�&Nc�T�#�%Np�#�*��#�)�T�"S1V
‫܃‬S�#U#J#{T�*A�‫��ؗ‬a�H�j�##-
#P��#�P�4#�#a#+Ay�#�j#��‫ܣ‬##�#
#/x�##P#�#��y�+A�J#�f#�GP+�
@�#�3##��##���J��WEKV5�Y#h#_#P�#^�
X�# �)9O+V�j 吝 hm#^�#$�@@#r#=� � ��
A?!\"#�O##�##�#
<�#�E�s�[O#P#)##�Eu�p]"#�#��##P�\�������M�(��
��#�##h[#
��#h�/~�YȢ�7��U%��K`�#��"S��IY},�#�ma�#��
�##
%#o�4��ℿ�#1�C#�#��#'�#�[l�#����0/�e�#�85###i��c#�����p.d��##W>#�p����kf�$0f#��t#�.
###��n�L^#S#� #�3�#�#�###�‫�ޚ‬L^(?#��#���$<{��|
6�~�#e9wSD�#��{��D�����n��x�#�9H#Hs��*m�k�W"��t#�Sfc�YA�.�5}�#3#�ӽq#�e##Kpϲ^p)�K#;�
��)�7%#%�z##�XEЏ0�CЏ�'���#k#��^��ѡi~`�-#���#�k��:��<�:Rm�e/#0
�7�JP�w�ۜ�6��qqn�8`�B@���� � �s� 琲 D
��|���Si�ý��]O���88##�ppo��ѕ�##Z#�c##�#[�_��:�аvE\�
#���-x##Rs�_s��(�Ix��#l[t#вQMn�#��#$� �`�#�##� ��z�[�tY�}�1�/
�q�#�#CgE��n��6#�Eqy#��u#H�
s��5#]#����#H;�E�W�#��#�#‫ޏ‬r�� `/C�#?xf#�‫*�ڊ‬# �~�%X#��<�s1���#�g
#�&�h�~D#E�M�З##����o����#����N���‫��ׇ‬ȇ��i9~�31}ꓷ�x�?��}>t��
䵾'��#�#�#E� ���#�����O�����9d]3� �pp~�G^g�##x� �'�z@�#H^v� ��#�#ȀO�#�\
X#+w##h�>#� #(m#�s��s�� #H"8��
� t~Pl�ȡ�
+XM-��Fm�@z�A�+��8H^)� �##��5(#
�#A�q�W#�#,#Ih##Є#� �P0��aVU�##�����S��{E_��b#o&�#^�i� 7��l�iz
��a#f#�S#tXj:�#�W#,#�|H#�(k�g#h�#ox�}#���hd�#{�#�#�~`#��hmhC��#���S #��fC(S�Q���
#p�]�ex`�|��#�#�-��G`y��Q���##��-#6q���q��� KH�##�t�s��#Ҹ�� #θ`�X#��#�h��
٨�v�rF���H#~8���#uP��A��� �Ȏ���-Ѝ�#���#�h�zU�F`������ �#�U�r#����#�
*��b����#�#��`�#�S#9##�##����##�S
Y##�$#
�x�#u�#�#,�-##
#� �!�##y�#��VU#��#z#�ɷ�BiLP 拜 a�H� ����d���###�#I��$�Q`�7A�Z�
Wȕ�#��#��c)##i����M�!�k�#e�r#pMГ���u� m��)�#E�#t�}p�x�#��{ᗈ� ��0�#�#�#�|
��n�#��� �i�O0�#ᘡ�##��)��G��hq���
#��fY�Fp�[1���###�#�`ٛU����#��#�I�{�x�D#�{����ɕ
# vx#r�#|Y��`�T��#�#N 靜
�#�9�G0�$Q��� Ɖ�K��j!q�� s���V�}A��#��V�#�y#,���###����#ۙ�}���#��#�
�V���r�Eq�#� #��r#�Y�#�##J��Y�Fa':##���‫ם‬h�/� !j��)##:#&z�y��K ‫ڽ‬ɩ#�
�z0�T�~G�#�#��i#�#� �y0�:�1,�#U��{��f�_4�#�
�xP�\���a�h�#9ʕEP��`�o�#���w�Z�w�Xn X$z#|�G�D##‫�ڣ‬
GnI[]j#W ‫ڨ‬t��'##�z#�J�U�\ ��Ѥ�*#J*�C##A��j�#�#�j#,0�~�CP��'�}��
FiD��Z#?��p �0�`��b:#���B�F��KIV
F �Z##z�M�\I#�j#�j�z0�#�z�# �#�*�� �Q �� #bJ���#�

‫ڮ‬L��K�#�*�f������ʪKj�Fh�#�B) �ѭ�j#�9�'p��\�##;���Bi��u��:ɱ}q�#{!
#[�(��*��,۲.�0#�2;�4[�6{�8��:��<۳>�@#�B;�D[�F{�H{5#[#$��#�#P#�R;�T[�V{�X��Z��V�#KK#
M��O˵d[��f{�g�Ikah ۶ n�f��}!�<#�v{�x#�r�#t��y�[�#@�Ea��:#����[�$#��� ��#�;�� #����
���� �k���#9�{�h��7#����mk�>;���d#�=##�[�[+#a;#}���‫ۻ‬WK#�;#Պ�#��;�4l��#$p�Ϋ#��$!
�#����# #�K#�۲#p�ƛ�-@�8a�6K��‫ۻ‬$ #�������{^�*#틤틤틤 �
#������K#�j#���#��i�+###�k)�!�#|
#�+���*+��A�(‫ۼ‬#���+##|#~���\��CP�S��l›[��1TZ�.# �#!<�#\Ô�#��$Q�<���2�Z��%��C��#<#�
��P�K<��¹��%‫ۿ‬S\�F �P� �Ŋ;#GP�[��hJ�b
�>|# <#.��#�Ɖ[(‫ ګګ‬#�K�aL� ��
���
%� h
�nj
�j��x�*�[#ql�sL� ������ |�J�_ � �<�ok�C`ė�
���v��E��7a�I,�w��H0���}�|��,#f�ʸ ı|��m�#��#���#��o#��c��#� �Й g#��#R
Œ �, ����
�h�#�<�vP��|��l#۫�x0#���q�#V,�E��欵��#�#���P���\#�<�Z� y� ϵ��|���#���t��#���\�##
#��T��O��=##�UKSў��#-����#�##��S��H��#�##m�*��#��X��.
‫ݵ‬X��~@�5}�(�#H�#�l���/���P�D=��h�GA� *�I#��L#��#霎
�#�Q+�T#�F�#-]����_}#C��S]#U�##��#P�Z��t��Ya�u��q�#�Hք��;��P��c#�$�Ӏ�\�&N��P�ׄ�#|��
I͋��H�؇M��R�ky ‫�ڨ‬#����=‫�ڨ‬λB�_h
�݊##�I#
�} ‫�}؂‬y(�7�և#�0�'vM�x�#m(2��4��*��LR�Q�ԛ��y#��
‫��ب‬m,*���#��l,t#����Q��##�#)�������Xқ�
‫��ڻ‬u���#���.>#����Q��K2�+X��#���5���=��M��]�.�#�
�My�##�#��#�###�#���)#·##�##t�����D��y���#�$���+"N�+�����#��1��-
�)/#�7��3��5~�=n�9n(!#�7����F���r��##lG#J.�E�&2�^_H6�E�#.�L��N^#��|�i�EP�|�#�5 湉�"#
� �ƽ62�U^��l��p�#S^~�i�C��tl���#�MP�
؇�D��#��� �
d�.#���r�#�Mp��#NWz#0 5 ‫���ݮ‬#�n#Y##>�v#�M�#�#�##�r��##0GB'�J���
n#�>e�.#"�@#�ӧ>#�n���Z;W�T`q�s*�+���#�ߞG#�N#�N7�n#���#�締�1&�r@�Lc�xP���##�� ��#ߎ
4��#�NǪ�#AM]�n#�V2��#�.Ƶ.ʾ�}�#��/
� #���#n�#� ��.��O�^���
�#a#� ��+�{�.\��ִ���i���'5�##�##‫�@ޠ‬#i#��#|���t#� ��G��[���#�#�G�
L�}N���##�#Jo#+#!�H�H: � � on ���##�C��Ǜ�� �Ğ��Pd�N/n�[o#] � Q # #5#}y_ �g##��
j_#$v��@G#�#���p�#r?#��x#vy�?
�{�#}/#��##��Z1��[��~kUo#��������#�&�2��$�]��#6���@����
��tǵ#��#�� #��Ϟ#'�L�o#�5[��#�o�e?
�0/��#��o��uդ��E��p###�#��#���eX��#W@#v#�G��n##��X4#�I��t#)O)�
�.#�W���##�@"1�^#�D�u���n#>���y���7�##�"#����
###�###%�#���03�6&;�####�*=MO� QW;K�.5c� &Xm�#X#G�\o�mU���|
�`e� � #y
� ����#��������5#������

� ��
⢽�
� ߮�
� �����Q#
���������{#O^#Z#O#0�E##�#!
#�##��&#�u`Fq##]\#n��#�D��F.h���Nϴ����#�5��T�2#8���M����ϛE� �L�##=���I#�:E��lG���z�
)##Y#�z2U�V�Ͱ�=e�HW���#z�� �'l�J��U#�#�#�Į#��Y�E#�p��-
###��H�&�#�R��Qc�#8#J@ũ��#7�#��##�###b� fؑR�.�u�Һ�#���!�v���❇S�7�Z���<#r����9x
��#�Er#g]��:#ֿe[�#����w�^����G����{��#(@`�#�##+B�##,b�#M�p##%l��
��##
+�P��><��#C���#�#�D##9�E��^,.��f�F�nT.GkvG#� \D�#]�� ##��#�|#�&#Q#C�|#J�T�J$��2#)!
���)#�l�T�$B�4���L6�##A��4��:��s�"c�#�G�4�?�x *B��3�##Et
#�pԦ,##O�%ʼ�#E�[Sӻ�$������KG#O�O�;#�T�‫ے‬U###�MX�S`�D��#W�
E ]#���,�MLdW�5�fC##ZF��5�c�m��i_Ե�H.��Jj#3��q## �ewD��#,e�#
(�NCEE�
�R^��
���I#8#�#�#�##�]#�&#~�߄m x`##.�`�Y�NJkz#c` ‫ܝ‬XC�]���f.#�F�9r`
‫�ݓ‬#�[�#T�^�my@�#YF�Fq#g�|G�O ‫�ؠ‬# #�#칞#nF�#�Ct:���F�#��:�#���0�%
�##�#{#��#�l`
#Mm��溼�o�zn�#��@��o��#<p������#'��##<����‫�ܐ‬#��m�3�<s #p�s�<���+'�t����W�0э�=v
#H\5�o�P#
���)�{��##�
#�&‫ޏ‬X#��#��]�9b~##��#�4���#���4P?#�H���{#�g#r�N ��4#H#)�#�
�#V ��V##|��H!�#"`?�8�####�
��#P ��K�0#H��E�Q#�`?��rpV#�#�c
##�$�##(#��Y0J�Xa#(@@#vm#
8@�h�#%��##P�#t�C# ###H�#f#D)#�}#8@###>%f��N�a#㤅�TшX��##�###�
O
C#‫ه‬#����ah�#G��####!�##
#-#,####�#�###�#pH,#�Ȥr�l:�ШtJ�##�Ab#9x#���{�l##,��n���|N����<#KI###N S,����###
#Xz���������oY ]#�����cfi��������UY
##�����##
�## �� ��� �#������F�
��������E##������#f##������N###����������
�����#
�� #H�W:}��)�#��Ç#�<�p��‹�"PX#��ǏI�m���$3##@�\9P##�#����@��,s��2�G��@�E##o�ѣ�z�
�T�P�P��#�eӫ�l^�ʵ+�#
b��J��###��];D##�;��#U�(‫ۻ‬Q##�:�o�#)�
V�v$T��#9�;�q�#{�&�l�fZǘ��Ȗ��B#�f#=M@#Ò? �
^\���V#�6VM�@�֯s_"#�1��,#\�M\##���##^��##�I+W�ܹ��6�uO�^��k�so����"#�k#O~��뼯
�g�#�{�##|�����% �|�#��]��u#�W@`#6�z�5�_#�E�U~#ZX���#�5#�y
‫ؠ‬#��#Մ*�h�##�##�2�h�m2�`�-���<z$#r<�hb}A>4b�=#�##2IOzR6 餇 HVi##$#y��Pj9ΐbZ�
%�����#]2y��#<��0#�V�>#2�/#,X%�>¸g+z#
��#�8hR#�y��#��($#���># 礔
#�)�F###��#Ш��BJj##X�j��Ƹj##�J#�N##��l���#�^Y�U###��^#)�R�ʬ#�^Y���#1j��^i&�&�_�ffk�
���c'��^�)�Ɩ#m�ʺۧ�����#Ԓ�,���k��^˯�_nK��##�-��~�/�
k��#?#�#�zn�#�1�#�۱����.�����
�ʫ���
�#3�4�g�;����,�<���,�Я#M#�2}�Ҫ9���P�
&�WKY�gYc��֓u#a�U��#؈�-D
[���--!�}�]�

p�‫ݵ‬pˍ �r
‫��ٽ‬y[�p��#���#.Asm##���)~#�##���k#�Z�#�#��n#�)9#�W(�L��>x#����#�C�nR�##�k;㞴�
����#��1#��I�E�#��‫|_>��}�ގ‬#wK��#�##�#�� # �{�y�l
#=?
�*��;��7�?;^��#���/S��C�]�V>7��#�#��#��a���^:`-#�@�a�+�c##�&�p��
#F�G������ #�'�S�DsC�!T�B�Ee]s���d#�#ְ��;ʮ��Όa# ��#��#���3�� Qģ�`
���3$�N#@tO�"#u�B:T#$���#+q#N#`ka#��2�##��#a�?#@GU`C#9��#-Ȓ>�#�#9@#�8
#��###� Wp:¨��#QR#G��_���
~#��=#��`�P�(#��1[�#�
�‫�ב‬Y#��ЊJ#�`�R�#`�C��
\�"8��e/1�KY��##!R13�#0�K%`�$����#0�!
#T�1Sq#V#�##8#7�#L�#�����0X#��#�4��C�)Jh#���#'%,C���
� �7#b=q
� ʳ# ��q,�΄#���
�/#��#9�7�E#��zHs�##
G�#Ң�s��
# ]�<��#��a��i�oD
S��#uӰi#p
�r�=�&)ͱ�a#U
vDЄ��Ҥ&T##,�!Q�:J�
KA#�6��S�6���#(0��#z�SC\�#R��ϭ#���`k#P4�:#n�te�0�qM���,� #��ʦ���5 [*5�*#�#AS�#��##�nb�
#v��^#NR�#(��l�NP�R 㩂"V\K�Z�fN� i98ʂ ��# ��^ U m �S#J ��# 'f ˕ ��Ԗ��K ^ �P �Շ �# } ��n B 1
����GH�цĎ�j7� ��@�X��>�#�0�y##>)p�F+B�#���Z���0eM#K���㋢
���3�UW��##����####w�f�]��#� 'a#)�/�G�`&�N+�o#/<�
��o��##P##��t%6q#B+�#x� �q`5�
%#�##A#r`s��#O#�J�+����h@9�ter���+c�ŧ8)R���*x��fղ$#�#2�9
gF�U���7�"�r��`7l�S�9�I��$�+#7��#� #tO�'C#z#�VtO���GG"Ғ��#&�h;c:�0�q��:��O�z�h�##Dm
�'H##�������VÁ#
��v�\g[‫ہ‬#��.��t,_��#�&.���##{
�N�(7]&V?[
#�vgq�$�^##�ֶ��D�o�#���UTls�##�6��Pk�#���� �T�#I���#���Y#��#�####S#���
�C##nQj�#�HYu�%#k��UF��x#0#n�˒��q���#o��#�P####�!�.#弫
�m����#/y����7��+##�#&>�A�;�3�7�‫ކ‬#�;�Bϩ����_#�Eg�ѹ�l��!�_#�ӛ
�#��u���Ӯ)#a�;Q9���r�W#�{����@��ៃៃ � � #@n;�퉗#�#�>�#'���#�)�=�G#��W#
‫ڰ‬np$�=���#��'�(�#�2#���#��#@�_��#��WI�9#5�}����^v�W#≏ ���MH:�Ud��gn�D(�G0>}:���� #� �
Ń��NX>��cu�C_ �_���}~�3A��7�܏����>Lw~�W#����W��# ��#�g�
‫�އ‬m�L�#�#�xC�H##"�#~��#��##��nP#�G{F0v"#!�g}�g#����~�n�##���}g}#��:��0�#�w|
�6#��#��q ��g�C��9q�0���ׂC�#�H�#A�{H�{Y(#J�y�ƃ_x#$#~;�w#��e�#+�{�W�m�#�Gy�&#!
�#�7�r�|�F�Gȇ�A��g#^(D�# [(�D@���##�{
Æ#���(#~#o�U�+I��#��{��+ሟ�#��x�f��H#��y##�#J��#�w|�##rX�P
����#����x#�z�#�#Qs��##(##���#��GJ��#�#�Jp���aP�#���L#��WI�h#�#�MP��g\{������#-
�h#�'�H!���#��z#�����r��b��#э�(�#
��ዌ g#��#X��I���##�(���g�QQ�#Y#�Ǒ#�#�w#��}#�#�h��H#-
�+��/��G#���#3i##�#)�Pq�4�#=Ix��EXp�H��J��LٔN�P#�K�AY�Vy�X��Z��\ٕ^�`#�b9�dY�fy��h��j�
�lٖn�p#�r9�t�#
�#x��z��|ٗ~�#��9�|)#*�#�X#@��*�#��#��9��Y��y������#9Y#���#���9��Y��əu�##`��ٚ�I���#�

���y��#�G1���#���Y�&p��I#�y��i�*��)##���#�)��Qqz)�#ҙ��I�PA�W)#�#���##Y#�Ș♞��#��#�Y�
����9��##ĩ��9��y�
@#�HFg��9��i��Y##���i�GA�#��
#��# #��#�I�##�#�M�9##��
�#;�
�y��)��#B�#Q�W��
#�x�#!#2J� ##�#=��#�����:q�U#�B���##'#�#����#D��#a�A)��)S#:##��#���i#D�#Q�
٘٘b��,J��#�)����##�#X:�r��DʣF�#_��a���i�R�� * �"�o�Q����m]*#V:�
� �
#��IKC�#a��#��
�#`#�J#���&#�ѹ�#‫���م‬#�#9 ‫��\ا‬#�����z#�w##H
���I�G`�##��)��٦F�����ɪ��#���*���#H�vR������#�##�‫�ڊ‬:��I�H`�#q��#��4 ‫�ښ‬#��#�:��Z��I
‫ګ‬
�E##�‫ڃ‬I �#�\#��(##�#H#�J#�*��‫���ڰ‬H ��I��j��yMu##���걬 ɭK�\Q����&;�##}^#�#�##�‫ޢ‬#?
*�j����]!##
��7#�����7�;1�HX�H��1�#��#%�z
#����ʷ#N��P����l#4�:q����b�����#�k;�#�#E[�qk��
#�
#_k�p����}G�k��\�#x+��Y���#�*�?˸�ɵM��#A��g��;�T �lѳ#���+�TZ#����X��+�#���з#
‫��ړ‬#�Z#e�##�#��#�J;#*�#�#p���UP�#z�����y�l#bwQ���#�n0�j������+vxqo|##�#���#�{#��t
p���#��#��#��|��_[��`�Y����k#��#�{{�;�)p�r0��*Ὑ#�#l�l����
� �;#k#f##
� �&�; �S;#
�#�#w��#��s2 ��{G�
\�q=w#�@��#�E�°��#��#�r#���&#�;#k##�#@�_���-�#0�#Y#p4��6L##%!
��,��H0�A���&�V�#�#��###z#��)0�t��#�{d���##<#hL/}#�O
Q\J�W��ˬ�о#�~�\��[ aL��7ɥk�y �6h��L�
p 8##�,c���f|J�������� q ‫��"ܨ‬Q;��D�)h�@kĔ0�Gq�o��&�ǒ
̓ ��\���F#��sH�#k��l#��+_L#�\��l
� ��f��\��#*P�D���Jp�D#?#sh��#�##謬 ‫ݼ‬#�l# ͳż2##
JJ
�#m�CPϲ�Ε���###��ű#�
�#M�Z�#��##�/N&###�#-�B@А���f� �#j�(#��*=�p#҂#˾p�#QE2�)#��+��-
��k�ɪ�\#]�e��bB##��9-�#��‫�ݕ‬k%�E#&��H��:��K��w�ϯ#�G��Rr�U]�Wm��
'�U#�#��-�<�p]��J���Ն�Un@Z#
###�~��p
p#�
)�
z#[��#G��q����Ƭ�N�`Y-�#�"���r-�>�#@�]x]#@2(#@ՙ�ٛ��LM@�\^]6t]#$�Ч}‫���ک‬L�\���b�
‫ؾ‬:‫��|ۂ‬#‫��׵‬r��K ��Q���‫�܀‬#X-��M���k} '�#����#��-��#
��W���!"#����#�Kz����#�G���}���#�=���`�{b�����T�#�j"�#>�##��=#�=`��#�}#���#>���
�=#��

.#�m## #����#j ‫ܓ‬#`�


N##��*~�#��2�#0�#3#�#f`#�#��7�����##�0⒰��0#5n�T#�H.�#>##�B@>)$#�U#�9#� #�#1���
����).�a~��#���#v�C]��#�##�#p��*-��)Ҟ}�#�A(9#�^
@����� ߳ ��\�####�.#�n��#-��#�=��m#���y��#��:Φ=h�%��2Q#�f�Өp�#���N�����#
j.#3g#�#�C0#
@## ##���^�#��i����s��#^�#�9��>��~�-�ǹ"�#��#
���#���Z�#���ޮ"�>��‫؂‬#�\�:�~#��#?�#���n#�>##o� ?�d]�Y�#Q�~�Ur�#��Vn����I�?l����
��#O��.#��##/#*�� ��Y‡���$5o�#��Y��c�3?#?#�#/�#�#2?=�$I��#��$�#��#G�#SO�
#���#����(#]��#/�/�#�#�Q��hO�H��#3[�#g#���"����
Bw��z/����?D#�?
�J#�M�#�����@� �WO#�#�O�6����,�����##�#e/#y?��ӗ�k���?�t>(
-#�?��^�jr���a������#6��_�_ȟ����A�.������2��\1��� �֯!‫��؟‬#�����#��,�_���Ē���?
5F���o���6#F��_�##-�X4#�I��t>�ŋ!Z�^��Y��P}�a�\6��i��v�5\�^�?�v���z�### #�$�###��#!#
%�#+-/1##'9;�#
<EG�#3OQS+;#H]_�##`ik�LUsuw� Zm���#��mqy��O!&��a#X��;����##���;#���������!
#�������7��?C����#*cՏ`##�
&D�/`CU�#F�Ba�Ĉ
#f���b�+#�y�QcIB�D�tB`��x$M�d3�e�&#*�##SfO3#��#�$�Po<}&#��h�"#Z:#��Ti�#
�f#r0�VZT��#��#�_æ�s�,�YlI�U#�#\���z�;7#Ǽg#8�;i/�l#H
�+@AW�~
#V�!��##[�,�d�#��2v
zNdΪ0�"m#��:�Og����Ƶ�#m�2n�#��{w!#��?N#2���4Tn����?ϱ��#�B��I�c_3�;i#
�/#�+z��#"�'#~}#��]#�O�~���#;���#�#��<�+p��#��6�#|N#�"��#�#쯐�2
ѵ
9�#+#Q\�D�LL�E�VL��#i�,F�68�F#q#�ƞ.�Q��~,�@
�LQ##=$###�#�J
##‫�ڢ‬#�*� R�/��R###�#�3�#s##tD�M!#�J�]�4��7 ha@��L��;#U"##E�#�##@.�E�4l#
�dTR#�+T�G#�TS#.#�"C#A#�MI�###�#��'#-�U(#��RUK #$_�5�###�#P{ѠU]��B#^}�#X0Xʹ�g
�8V���=##a��V[-#�5�ZĄ`�#����>## �#�#�Fq5` �s��#�##8��HL
��Z �W`Q#�`�##�l�#0�@#�#��##�M �#�-m�#Ѐ ‫܀‬%#y##(68��#H9�%H���5�#`#p#�� ##!�##
#-#,####�#�###�#pH,#�Ȥr�l:�ШtJ�#���VK�j/W@uL.���z�n��p6#�MD#�8##�##z���������Rt
###�O### `��������G###
##�T##
###�������## ��f� ##������##��l�#������h�#��m##������#�߁#
b����#�������M##���#��##z�U@`�#
�#\�Pօ#�#*2#�ċ##]#`-c$�#=�#ifcG��@�\ɲe0�.c��(ӓ��5s##�SV��#�z
#J�L�sE�*]��#��L�J%#@�ԫ [#X ‫�ٵ‬W�##@�J�J���(�C�V�նêK$#]g#����#X
��#��+��aL�#�Zԫ��
8 +�B�v`��#�^�#���c?{3 V��GsM�#@A��
@#���
0�� "x��,#oz��
?#@S�;#����|�� (����##�#H�n��[�#�#/�7yD#^�#X��z8��/4/�M��
��g#�?C��A�z#.TY�U
0#�##�#�M#p#�#E##�F<P#�
9�#�#��aF�(��&�d�#�8Ӈ��"J%#(�f3�##��cK#�F###�(�#�q'��1�H#�L�#%u###eL#��[�W��!
tDv)#�� ��B=H[�h## kS�)T���(�R+�V�Le)#�|##�a{#���zZihN��V 袌
jy ٣���(l�V�ҥ�e��G����#��ۨ�#d�o����µ��<�#'��Ԫ ‫�ܭ‬z�ks��**�| ###�

�M\ )Q{�YE��
�,#f^#ӣ�RAm��h���,� .KSv;�ŷ��r.#�� :ѩ�#��ɻG�+�J-iĽQ 䫯&�#���N�d�g#|�"
#����#��#g&��##OlH�D\�q�0��@�#G��ȝ�<��'�`@�#}�#!
�#��B�\��ϊ��#;G��##��C�p�J�BlF�L�#t#PGpK#S�4#Xgm��]{���#qL#�J�mv#h��6�# �2#p'!
��Q�m��#8-��S��7 ߀!��^#��#j(#�䍟
� 8�^S�Q�iXn#�#�9�^����m�N#�#q:�Q�,�#�#�#;#��#���Tm��C�nO�-
�A���#ջ�Q#�#�o#"�#���o��#J8�#��7�6�'[�
끨 o|4#��#��#��"=�~�#�>��p@#�q
Q#�#�cO�?�#�#���‫أ‬#g#�X
�#@������# l�##�##B#�#�##;�c�Co���;#�#P #!��
YX�#BcB1#!7X##��C#���3v�è#Q###��#H�"�#H��5��Ĩ��##‫؛‬#�#*�#�#L##�84##�#SS�
�!F�#�@#u<�#�8�8^#���#y#p#%~b�|#�#�#�O#�<��#&#�Ț��#~
�#m�##$`C1���*��L&#��x�z##�LP����#
c��U�� ��#,�X�k<##���+s ‫]ٯ‬v��#�.�)L\��|�D�#�!�[���zX�W�s�WF3j# �&"#
l��Mp�!���oF���p�0�#d��6��8-��D��#�<C��B���d�L�)��OZn2
��K#"*�v&4u ˜�3#:�#]�#�\�E/��`�3##��4's#�2a��$��I_A��.�T�Sj$d�
%�4�Q{�'#:O�B�#+5MK��S��##�i9��#��#�t;�� �ˁrŒ�Hi#�I#T�T�A��.�z#�yC�#�#k�䄦
� 5j�sC5�G�"�#;v:�3�j�p�b�o�#��#�#n���)4�W2&A��a�# #�6��?
�#&�>3*�vvh�MDM�J�gJ�=�Єz#�&ֲ-`�{�#[����X�N\� #)����#m #�o�o��!�g���&6�
�5H^gE��6#�z��8�K��z���]�Cv#B�J��<#�#ҋ��#��e!}ϰ^���N��/#�#Z��#M##p#S##�~.k
Vp#{i##��g#�p#-��#�G#��\:X�#,�"�߇�#�#�#�)F�5�#U���B0�1�#�z��#ʱ���c�JU"#v�
‫�ކ‬T#�a�#����B�g$����\e�%�@�#<{��._��36��
ifw��
5��g�T�6�S�O���&�2;G��~;�Bœ".�yhs#�L�|�2##���#[#77�=���f�<YrI���ҕ��#�#=���
���#�ɐe��ZS#H5#[�#e�İ�����h�)�S$x�#�w��_�K�#Y��#M�#N�%�‫�@���ޝ‬###��
� ��k�
��Pv��m�i5�#���r�xE6H�K�jw�.7#‫�=ދ‬#;#�#u�$4#��i#�s���|ֽ#�#|p
�7J������
�j# �[#\�qa�n�{5&;�#6|h�ukH�m �#cY���Y�#��#c�#���H�
%���'��fI"��#�##k�1Bp��#�"�#Qt�##�#�B�#��?
#�[o���Q�]#�#�tF���C]���#�{.#�##�a�G���#�#=�c#G�{ni�7A�#��2&Ľ#�g�q�‫ۼ‬σ�|?
�á��ȃ1�Sp��Ÿt�X#�B�7ԅ�x��~
�F:D��7��)X#���A��#��7�����v ԋ�� I�y�|/i�'���>�#Ky$��#� ��
�?# � ���
�O# ԗ6 �oH?�� #�
ߐ��~�#�M�_�}�#����==Ώ��#}�s�#���C�1H75�'�G�Gpq/�##P~‫��ݠ‬
H#g�rc�~#1o#x#��rz1��Ձ##u#�y�B�#�t##� 适*(#��r�Q�ܰw*�w#G
##�##�HW<=8,>#8H###(##X���q� ��#��chU�#0�#�G���o 汄鐀
� 7y/�9.8#e#�v�qva��p�E�#3�q�1�� ��C�L&#t#8X�:�p�o�#H�#}8##8�D�Nx�#��P��####ᆃ#�#�#
>(���F##�O���#'#‫~ׇ‬#�q#a����#W���#�#�a�#��:v#�h#�=a��‫���ڸ��؍‬#����X��x�蘎긎� ؎���#�
�8��X��x����؏��##�O0�#Y�#y�#�=�(##А#�##�#9�#Y�#y�#I���R�h#+�
#�"9�$Y�&y�(��*i�#)��##+#�29�4Y�+В�`��#�6ٓ>�*���#��W#@y�Hy�B 涁� #I�P)���
�#�N#�X��" #Uɔ���`��#Е^� ay��P9�#1���#h�G�#:��#�##�xٓ!0�� >�#y#�3����<)����!
P�e� W���I�##8#��‫�"���א‬#l٘�����#�#K 陃 p����z�x�葩� � � S��x���� Pw#A���)�#
#^�#`�~
Л�Y#2�t�#ƙ�!#4##����#�# #�yi�
%P���#'R��0��##�#�#0#�i�pp���X‫���ؖ‬oy�C���#�G��#��9#�C�h���93#a��'##��9#�y�#X�#Рh
�B�#�I�Fi�a��D0��`�$��#��#Ȟ��'*��G"�#�-��ș;*�##:�Q�D#�7##�
�X��E��?
Z#2*�P�#��C�țJz��i#Dy�f#�Q��#�#~i�q��Yz�(�#>�j��a
�Dj#F
YHwX��@�#Mj�eНr
�Sz##j�m`�y�5
/~� ##�?ɣG�Z#'��?�#K ��##q
�4)t�W�g#�*�'�xG„�j�c�#�ɩf@��:���#�ZF1���������J#�Y��1#�MХ 耟
� #������i�*#�Z�)�M#��Z##ʬ*I��#�M���j���4��#Ӻ�(��L(�Z#�*�$)�PP��#��Z�{�#}z�G���#��:
�(!�"C��S#��P�#��#;��Y��
� �[�8+!�mª#+���m+���"#�z�" ���##:1�
�+Э#�#�Z-#P�(��]q�#�1#�L�##
8�z� �c#��@q
�>��WQ�§>#�"�#,`����>��^A���M#�H{l-���
´[�#OK#�4�#Q�;T[�p��Yc�M��I@��0h#�M#�E`�Ұ��ҳc�#�z#r�#��5/#� �s�hB�[;�h
��|"��{�{A��a��[�wQ�|�#0��+#��1ZW#�c��}�?�M;#�a�L���۵|y�ṁ�#�##i�+k#��{#t#!
�k�#ɮ�{��c#�z ��#��!�M 뺂 � � ԡ�1K ��{ 0 �# ����" S �k�L�涁� z����#�4�+�##%
{[Ys��*��ᾝ{��###�#�[���##�# \��#��
�#���[q##�#|#�3##`"
�k��#L##
###�#�##�#"\###�#<#'�#6�####)��.|#1��%
#5l�66
�A#;��=<��:���0�Dl�#0##�#I��K
��
#�`�{####S\�#����#Y��[L#?��� P
LbL�e|�8�#:��|��c���ŝ@�Ee#c|Lj�##`��a#|��)��U#��9#*� �6u�ȉ
#h�## #�
ɒL#�|��0�ɜ��y�#{<ʤ�ɓ
��� � �R�ʉ�#�
#
�#�<#
<#�l��{
�+G��˭�#$�*j<����Ɯ�Ի#‫���ݰ‬ʋL#�L��\�Rpp�ħ0��l�v���
�;5��<��\�a*ȱ`Ć�����
�#�<�#���##�#�q<U#�����#�#��#�<��L�#����
�,B���#M�#�#��#�L�&m�Ppо�>�[#���0��#�#
#�&}�(�#*���+
�+#�#��#�L##�#7��J<�:}���Q�# A-��#��##0�J��L�#;}��
~�I�#M�f�##p�W�#%��n��^‫��ݠ‬ g��.��gm�i�#l��~��>‫ܟ‬V�
`#�
��g��k�����
�p �#_#� #�[=���y��K����##�ީ�Ұ�e0���DM#G�‫�؞‬
� �#����,�d�e}‫ڸ‬M�# #]�#
@#Z�‫��ڞ‬K#�?�#��
�#:��۹�#j�## ��]�Z�۰ ‫���ݛ‬-#��ܸ���‫ؽ‬#
�#�m��M�J`�59�5D��z��=�e��E�##�#X������‫����ޡ‬c���=�# #�m#�m�����ę���P�#��#��D��#�#
#� ���#쭒 � � #��#��,n�#�##�#
####�6��#.���#c]9+��@��#@##>
# ##��7��#�GP�&9�>��?#�V.�D#
G�#���^�ߠ��O���`�W~�h-# ҧ�##@#J��r��\���<#�##f��|N�#0�N~##
#*`#]>���M�p�#=#ZvM#/����#�##�#
�#EN##�#�##�#���>ʋ�#P�##�#
��#뭌#���y����a��Al#�#��-��#�T��Ʈ�9#�
#����#��#��\��^�#��O���#�l#���DL��>�ռ�I������#����N���^#*=�
A���������#^�RJ#)##��������n#���#1�#o�ю� ��#O�@��?
v��.�#�##_��~�D����#�#�#/�!/��N�C#ý>s|S�+��-���#�B@��#:c�7��9�����-��˞#��1B?
��^�Fo�H��‫ۮ‬#��P/�R?��^�*��-�#Z����^� �`� �'O#�T�f_�h��ƾ�$I���/O#��>#t��v#�3�#��|�
�~��.#�##�b�?��"o�K��##�O�sO�#�/#�#�?����#��|1�?
������ �/�N�a�������� /�N�a����ɯ�s���Ϗ�/�#O�t���/�ѯ �r��m���o��/�_N�ea����^�^����/�
O�X###��X4#�I��t>�Q�‫���^ز‬l���~�a�\6��i�Yh�q�^���y�#.��#### ��Z�######��#%')
+-/�
579;###CEGI##/QSUW�#<_accAKkmom Xwy{W3e����hq����N}����&6���������M
‫����;���\[���ޠ‬Cu���{5���#�����T��SI�7��!
>�#&$�#`C��#t(8q">�#�yh�c�;#�P#I�"F��DH�e��#aR+y��-f-
q�$#����5��r��h�#=���#��"#E������j��M���#��J�U��;��l�
���8agX�N���7�‫�ۅ‬w##}�wIܹe��#��+_�U�U�%�`��#>�w1�n�1#�+�-��'#g##�0g��?
+l<�5�Ȧ��N��rk��$H��T��u##�#.n#��={�ֆ#�p���#��\y�~ϱ�+-� ��6Uf#�-:w�
���>����ϡO#*C���oN��F��#З���/1��A�>##�#�
$�?#�� �#1�e�i"#fB
�0��
I 涁� :��C#�#a�#�a�#�#�9�ER<#0�#WِFOV��##y,�D#�#$�#3x��'Y�-IB��#8(��e#
f�r�*��Ѯ,�Le����#��##��7�4.M5m#R���##涁� 5SC�I= M�O?���;#-�QT#E# @�#��K��SR#�X�
K1u�H%�4+PEMU�3K��S##TUVT���GSk��YyeeK$S��$#T#��c#ҴCa#B
8d�e��`]�#�h��e�#���YvD���l�U�#4��v###-��_$�V2u��`�q�ͷG����[D� V} �##l�
‫ڲ‬t#�ǿ98��#n�a�1#Gb�#���A#��~G�W###p8��Y�ߤLV##�Y��#$�`�b.�##6p���qYY�+^####&�i�#��h
#;�g�v�Κ###�9��o�##��.�+#��#�Q#�@e��Nk#�1�٪�#�`i#����&�Zj��XQo#�����1c#m#0
�O��####T#�l�9#n#�5�`#
�>�*##0���;o}G#`G;��#9B�#6w� ##!�##
#-#,####�#�###�#pH,#�Ȥr�l:�ШtJ�##�Ab#9x#���{�l##,��n���|N����<#KI###,�u#L�###
#Xz���������o## ]#��#U,#eh���������TY
##���p,##
i�������F##��,��u�f##������N###���z##������##���‫ݐ‬,�#����������#
��#
#�+_�r�.�+D��Çv#d[���;
# j��Q ##�#&d�#Î(S�C#�SÑ�#�SI��0##"P##�b#��6�
M�s��q,~�#ʴ)��#;�tJ��C# ���*-�կ`��#�k5
a�:##@kY�p�J�#��Y�x�>"���]��#ùp�-տ�#+nB�pUċ#Kn! �K���)��##_�a3�[ӹ�πE
ߋ`�u#ԁU��]�@aŲi��##���U{/��4p�##�#L�a��+{�����#�K=�w�#ȶ������_ ��M~が� J�
‫���ݞ‬L/p�]��#�6 ‫�ٶ‬x��#`J�y�_J�##Qx#ζ`J�9�Pr#�7Y#�Y8�##%�7!M#���<##8bM##w�5
Z�bM#��"5)��#�7F�@�#�#�#���K##*�[###���=
9�#�9��#��(%S Xy�#mY�%S#4�###p�L#��#d��\��H�v�I��v�A��}��g�U#���k�g��nP�
䋃:�$�U��(�##�'�I##(��Re@��.�#���Z���*#g�B�Z�f�#�d���8)�B�Y��Vi��##�#k�T�ꩱ��8j��2۬�
�##���ZY�Xb;����#.��µ���y[�nZ�#�.�����꼿:�/��#/U��k�M#L�A#<#�#�pP
s#��'N,1�#�dq�#c�`�#��I��`�#��]:q�,"�.#q�d��\��JƇ�#ύK�t;��-
#1sb#�#t#K��CK�{4`�##u�O7t�#�
V,#[{��@a#�b#�m��#�]�#���%#n{
\�E##�#����E7�4G�:��ñ
:: �g�v9�#a@�C-ZE�>#�G�� ‫ץ‬J���晳
�j%- ��/�#�#SWU���=��Ht�U
1�h�Ra����D�6}�x&|#�C\���)��#�;ŷ#�O�4�'��P�??
��u���A]~��6y��#S#�G#`�=�#�c���U��H�o�F!�л��o ի�#h‫ޣ‬#‫׆‬#�p�%##���#�K #
��� �#�###(�A�8� �C�� q�i8 ##��4�Q�]�##lH
%�B`##�2$#(V#�#�#n#y##���V�#�� ^=�h8�##H���)
@� :�#}#�#�P��0�#c�##��#0�#�MH�C#���#�Q##P##URCk�� �q�#[��:D��U�"5
�#� 䌨`�##�#6�J�q�$B��#LR�#Rĕ'��G#)��w�D#��##�b�N#e5 �
X.!#�d�-�:j�q#��Z.u��S#�#D�E0{5Lbzp#�#�#��K\��v�L##ͱ�j��@ ߙ&#��
ZN���$�##��GNb�S�c0�#�?��D�#<��Oa
�#i�Չ�)�}RA�G�###��@���S�+�8�f#S�##��$�g�Ü�8�B1��##ʑn0�#�Ɋ�����D�'�l��# ‫��ޣ‬H�9�W#��
�Q6�)=#�
�z��#e#G}#S`��#�$�:��,�����H*+�J#��#[�z�J�@Q_����D)��TE��##�S��vM!Xu�w�$##Q?�Lu-
B��jG_�5#u;��~t#��A����Q��>�a�#8=���#‫ؗ‬
ͭͭ��P�
���:ʱ��l$T��8�B(-��"Z؊C��ԕm#�#�##��-
hSX���"�07#�qWW#�RB��[.*�#Y9��}���#��b3,�u�k����ŪD+�o$�k��VL��#W�@T#�7#��S�{ߎ�e���
i٠D�#7;�#0#�ԪB��
#
n+^���#�A�`#o�,L��ƅ��90��#>��#=##q#�'#��#�*�#z#v##�#�1�#�-#
��#��p#«�m��##�ˎ�0c�#Y#M#
��pb����oX2S��#-cy����Y�@�q#��_�#��R_(�Y(kNs#D��2#��r�ߛm�^‫ל‬
9Ϗ��Pl#�+#Z�j�#���C���iI�##�\G?��6!�- #[��Ohs�8�$�E�D�35#M�9�E�-�s�u�
‫���װ‬z��r��#Y#�‫"����׳‬j#TY�V#�U#l4CDճ>�M�}#V'#8��#�A}��P�&��v���##[ܿ �� y��!r7�
‫܍‬f�nԍ�&�Zޮq�@#}�p#�w�#�#l��f�##u�9�g��a�TA�#n#h#C���#�)#�Z�x
#�xi#�E&�\��w@B�r�l\#��u���rp�#@#_�#�}�8 |‫{��~ݜ‬#
��#�#'zt�#�#�\�ѕ####��d�AH�
�#� �?D�B�d,�#���8Ww�S�~�j0�!F�G��#�s�#s��ިr�����z�B·¸��6�X�C�#�#y��"�����sH;A
o�'��#ˠ�s:�#�‫ף‬Zv��IO#��#����Y�#��#�#�<�1 ‫�~�ܯ‬QP|C��y6�#�2�J�|
9�^�B8�C>��"@z(�p�o#��Fd�.��#{s����#y��@��#2��#� 94_
�o���r
��`�{<�#�#�K�~�p#M�~#x3v�|� }8u�v@�p� ��y#�#M1e#X####��t#� � L����
�%#H �4�#]0
�.�#-�Y5X78~9xN;8�##~�P?
Ca�.H��Ѓ>�#�7#h��N�P#�R8�TX�Vx�X��Z��\؅^�`#�b8�dX�fx�h��j�y#�#n�p#�r8�tX�vx�x��t�#k
�##�#�#��8��X��x���������#b�$�#��8��X��x��������h#Ȉ�#��8��h�3#����������#�#��8��
�#bX#�����������#�*`�a���x�Ȉ�#�#�،�#�#p��8��Ȋ#�#Ϙ��X�bX���##‫�ظ‬䨍##�؎��#
0�����#`�D�X�Ԙ###��#�$#�td�#y�
�#�X���_�(#���8##i�##���Ȑ#ɉ#�##���H�^�###��#
#Y��#�_h�"����#&�#�,9��(###�8�#�؅|E�>y#���%)#^�?ɒ�"#B�#Ʌ#y�!
�5#�[#�P)���#Ti�^##Y)�s�]��|ȅ�a��6B�e �D��F��#i#m��M��
)�s9##P�#i�X��z��D#�~��\�
�#�YŒ�Y�;��=��#�AS��x�V�7�#�"������Y�mљ#�Bl#�娅� i��-����Y�����7#�娙
Sș���F`���#�����xJ�9��x�U� ș�5#���oI��#���8�Y��#V�#�
�3��h�`9���#�i��؏SX��I�H���#�{y9�Ӹ_�y����R���֝#J��
��Y�#�##����)����8#�)��x�PH�#ʋ|b�#J�‫���י‬Xe\9��8�.(�(ʋ‫�܆‬,:��郭
#���f5��#����#�٣�X�I(�B ‫ڊ‬L�F
�%�����#$��#�T��V#�X#�7:��٥��f##����m�f����j��#!#�o��^v�s*�?�~q���8c`
‫��ڧ‬J*��Xlij��#��7�����%��J�H
��9��#o|z��#��'��Z�\#����뷩 � � � �V��J���{�‫(�ڪ‬#+#������Ǫ�Z�#�����W��*##
‫�{���*�ب‬z��X]����jy'
��#v����X�ȧ��:�!‫�ח�ڈ‬#��*�����j�cjy9��� ��‫���ٮ‬zW��*#1S��:�#�xI�����- ��
�#`����j��X�\��#[�F�##��zvxJ�#۬bǥ#�###�#�#z�A';�#{##@�##�#бJ#�/�r�Z����7��'+�F��>˲
\�/+��C�>�#8�r#{�#k#�‫ڮ‬$�r&{��w#��#�t#��G#�ʺ�#�rW��-Y#�
�7{s����##�Y#pB��#‫�`س‬##�n�ʶ�&F@�5;��6��˴yp�##�#���;#o�#kp#��]�#w#�y#ln ‫�ڸ‬#�D���#�
a�۸}F#_������v*�;��#�O#���)�#����`��
��K��C#�#K�#f�T+ W
‫�ۮ‬ka�+��##3���a�#���#�;��;b�{���#���(W��j�S���:�9ƾ�*�J����s�d'��j�G��y��U���
�O&�]
��{�#�e�
��#�##l�#�e##�@(#<�#�f#�#�###�l��˅�dv�#<##�lJ#)#���# P#-�#�#%1 ‫�ܣ‬#@�Æ�#
�#+�ÊӪ-\�###2
�@�#�[W#`�V��o#��)�n��X��P
�"���R#V|�X�R���E#�F
�a
�##���#g|�i�@���o��5
�q#�##[D|��Ǻ��e[#�k��#�a�#��-(`Ȗ|�9 ‫�ܥ‬
���N
ɠ�## ���q # �| Ɉ �:] �x ����ȡ# ǃ �,#0# �| ʩ� �#@
˱;#� K jd`
�v##��||
�<#Z���+#F#��##L�^�# p�‫؜‬#�uK
/#��,#
�#��'(P�‫؜‬l�����#��#�#@�'�#v����+�1{
�\��#ϐ<�Ō���묞�V� � ˟,�#�P�$#p�#}ј����ʒ ��#�#�"@�p!#f��(��P��,�����e �!#���!
��8��Y<�U{
��2=ӱ�#S�#���H��b#���ʺ#�B#�#�#��#��I�Н���0#���P#��,#�t
##p�X��Jm8��ї��m#�b-�d�#g��x}�Z����
�K�r=��\�q�y}�:�Ɣ�v#�#-ؐ#DŽ=#��؈�ւ����
#���#�#=�E�##`ʖ}‫��ګد‬r���#�#�٠�#@#�###`Ѩ�‫ژ‬M7r�|#ഞ�‫�\��=ړ‬j�#!`й�‫}ۻ‬Ka�‫٭‬p�/
��=�"�#�݁�����m��];P��#��#I��#�#�#��##P#������%s�!��#i��=�#@ҭ�#(���#�! �

‫�ګد‬#�.#�����‫س‬-���#�#‫��ݾ‬#N n��
��m##�����#>�$.�`Ò#(#^��#��Ý##@��##P#�M�8>�#}�n=
?��-���#* ��@�#`�9��l�u�M�
��A.�#�##�#�| #�#'��L#�MN����)��T.�V�悍� #`�‫ތ‬#!p##.�v��d#�=M#�U��#�#�##��
��S�#]>�W}玎� y^�l\ =L��#�.�#@�:9#!####�>�8��VS��c#S.�j��~�p�#�>�Y�� `�ߘ
67���q���##�L@�ž7
ґ�
7 L}�����N�>#�#�#m�7
7�
?^�����.�Ϯ#�#��l����#��‫�ھ�ݾ‬s��I ���Ů�f.#�x�����#���<�###+>��‫�ﯾ‬G��
���‫ފ‬#�#�Έ#o��F��#O����#�n�#O�n�E��##��i�� ��"���L�D`�'���V��!#�.�C@�5�ө��p�涁� <#�>
/#@# #>##
#
# � ��H��l��-��N� 1#��‫�ڙ‬X�V��X��[_������-��c��\�f��#�3�#�
��b#�B.�s��u�+)� �##�{��.��� ���
�4 �� zA����#����� �D�#�8�Sp �g�ʛ##[�#O��#Ė/����p&�����#
�/�� � N2 ���� #�7"��O��o�Ҏ�#��ˏ�����#�#"�����o�Î����#�����#��!����o����ǡ��?
���
����#��!��o��##+�X4#�I��t>��J�Z�^��Y���~�a�#LH��i��v��q�^��#�V���##���
####���##!#%'���#13575 #?ACE#)MOQS!-�8]_ac�<GkmoA7Twy{{Y�d����Jp����8|
����Ê���##����[���çn��_#8���ku���Sɿ�������#%<�#8�Q=/�#&\#B�?�#� 8�b%=
1f\�!D�#�,�P�$I�]4��G#dK�TJ��)�$#�7��x�sg��?
�]�9T�##<���#����[�Fu��/iՏ#�fU�T�T��#Z#�Q�V���f��O��c�:�y��4�l�6A#��åu#�I�%o�$
#�U�#k`�m#_1<�##
�1�C�s��V(Sf��t7#�;� �#���ү�#D#X5#�xA�������uk���-o�� �>\j�ϻ IL�u9�#.C
�l�t�խ�Թ��2#��� �##�#�� #3�^�%�#K����##�� #�>|FH��#oa�7###p�s�CP�[6�Aq#|��#'���.�'C
����#G#@�#�#�DX�@0#�#E��g\|q##ƣ��P$X�F^r�##�~LR�
�$r=#5#A#%�
ԯ�
��&O)#J>x/# #�,���#�#S�ET#s#-�d"�5�#E##8˾‫�ݴ‬#�:#���<涁� "�
T�E#��7
=T###�T#!#�hOI�� MKAE�#L3U#R3=U�EF-��S�Lu�Y#i�U<ʔTVZyM�##]���]{-
#�F��uKb�m�##83Ia�K��k#Y@�#���5?��V�C6 5Do'�`�q�]D#G#D#/#�m�^D#���x��e#�{##�#x��W�
d
X�O�#)=�q#Bp#��h��X�#J���C#�#i#�8!z�#Y�Q#�#X�L��?W��_V�_�f���Eiyd�7�
e��N�##8���8a��^F##s�
# WN@����i�M�###JH9��Y`l��##�#�f�no�� kh���[p~#�# ��2
‫ە‬#��z��]Z�###w�o####��!�6#‫�ܥ‬#�H�#�o##�\�##�r#H�##ŗP�#Bx ��y����U ##��P�v!'@�#P@�
‫ޡ‬G���]W�u#��@#�?�#�#B@#���o'##!�##
#-#,####�#�###�#pH,#�Ȥr�l:�ШtJ}>#����-��_�##�#�#m#���|N����~_###
#^,ObQ�L`g
###|���������T~��_o���i����������P��#�u��_##
��������D###^|��f##�������F##
ȕϭf�#�����####�
�ܾ,###m�����E��������#
#��>W��##��Ç#�#�#,�4###X�ȱ#D###�#����##Ny\�R�#���
�ܸx�j�K��M��##4k
�%Bʖ8sR�P �L�r,#PP���QTD����fңP��9o)��#�j���H{V�#ȵ��"##��q�‫ٷ‬p�#�"�
@CH��U�6��Đ#/y
��_ɘ3á#�]���C�I02'�####ͺu��#�vM;2 앲 k�v#`�m��w#��e��#$8[#'���]�~�<gj��##p#�����!
#�I�6F��##8##}Ѡ�ӗU.‫����ؽ‬##��Q#��'�#��#]Pd ��#
H�_T,(���#]#��9�#�###��f#j��#�CAi����#i��^����#|.�sbk2r�b��G[�\��c57���CF##�#i�I
s#�F&i#Q���pN6�e��<@#�`�P@�eb2#��u##�if"@o�#W]$�Y���‫ىי‬zJ��~~�#g�y|�'�-
D�h##�I�f�I)##��^��#��O#�!��� *�O�Y"�����##8�-#`�|�Ȫ`��jD�I�*���#q���6z,�-
F),b,4����&+D]�Ι 泐#p+����-d#|[b��Z[�D��b���E�#���;#�i⋬⋬����.���[渂#���##
#�#g�p^
##qv#�5����z1�#������jǏ��Z�e�\��(o�2�/�#j��M �#rЌ!
�r�i.`#@�##8ǡ�x<�#.��m���D�`���<&�� ���Q#�0�:�;#��i���]�qt`T�#��C,��#g
�-��n�]��J�]##{��@#�#^��u"#��I#�XБGNx#�S�o�N8�sTBw���xG�8G}?
�x\Z����T�^��#�##�o5`��O��oY�#��o#><�#.#�#)##�q=����Kq|
TԻd�##ħ#��s#=�M#i=#Lϗ���G�Q���~#�C%���[_�T��yPY##�W?(��4.2�#X�)��o�#�#k�W#
��tRq###(@�m�C#�#��#�P��aO#��#(�D##�BdR###�D�.\`#C�#�$�##��#(��#\#.<�##�r�
��k+*#+��DM#%�r#aNDhE!��{P�#C�q�T�t�X�J�V�##��
#�E#�0�,�#v�D#_��:����##p��#C##P�###F;��%#0d#�؄A�‡#9�#�#�L�r f��&#�#ȱC�#H%�
��#Q�����#�#R�##S�H�p�K,�h+#�d#K��S�#�Ĵ"'��I�\�ј�$j9�[FS��$�4�x##LG#‫ڔ‬D0#2�o�S��p&#
幊 tN��ဦ; ;�8�%Ts

��M@_aOJp�#��'?ÉG�!�#�KEA)��zdR���#�I!��b��#(9Z�QCj4 #�hD-#RK��#��,iF#�IT�t7>�DK-
q�y�Q�3��6#vS>��#‫��)��"˓��ؤ‬vX�LiP��L
�1�###)��u8j&&Y}fU�N=�##`>#yȨU��A�#ӳ6������d�<�##m#�O�zW��!B�L#���WT$5#K
%l4�j��9��###Y[�˪P#��-�V���K-v�}�g4T�
֝ �-��.K+�r�r��f4&#���3�!������#v�##H�%�����՟R�#����涁� � �&p�#�##�U#`mc}��U�.�
:�
��##�(��#�q#�JU�P���#C�#�#�71#�/F���$�j�DȕZ�K���"�#N/~�k�#(#T�Z�u!"�#Gx�#~j# ‫�ދ‬#˖��
#�
�%�� �#�Eqz< �b#��#�#ϡp[##‫�ט‬/�ą��9#���6#�4�L!###�J##�)t�''9ʏsp�le(c�#S�r��J�/�!
�Eq�$�;f����<.K#%q�6g��p 涁� � f;�9�y������;#:�n@�T�#�#Z�xF�##M!�>�����#(M!
�^#Ӈ�4#�8� �~����4�#T�S#�###�##�_
���2���#[&B�#��5#^J� �‫ڮ‬C#�##-#�#��#P�#�#O?
�##��a5$._����v#��o�4���#��cls+t#���c�cjw#3��#�#6{#�Y��u
w��@n��#�VD�����X#�V���'�f��#�#���%A�"ց##W% 6> y!��!#!
�I>�yӦ�)#b�Y>�d##�1���i^r���#9#��yN��#��M�y�#�q�O��o�u#p��#j��C�y#P^�u�a}HHW�һ�<#|}
�Q�#������#.?� ֝� u�#N�o����#���#s�
��pp��`���QQ�p�?M �D�#sq�G;�5�s��k�‫ �ר‬G����y#ml��Z�K_��#a<�K$u"l��=�#?��[^�5
|#Zm��#_AF#B��v�K
^/ߛ��?*'�툧>��o#������L��6���L�'���O!�8{��g�|#�z�w@�<�J�a����_?�u{Ug~��#
ߵv�W��@m#�#��u��Ab�C�}d�m####F~*�v#(oz!�A#�#�k[QA�gx#X�M#~�/#�t#Ȃz�z+!|
#Xu$H�a�#7��l��<�mZ�)�z38�'g#�t���Æ<E�~|
G�P�###�9'{W�WZ�^9#t�‫��ׅ‬1P@�u;G�x0w8�&�'�jx#.8#M��q8mZ!
#��w�(Z�.Z#si؇u#-�Mu�upH�D�#�#�1Dž�H#��#�RyA7��86R1I���Ce!�)gv�H#9##
Q�1w���#{�v��p##�!�#rIH�n`��#!7��qcȋn�}�(#�Gv�H���$��rVȌR�{#Q
�#r�(#1a##�z���S`�#�z�#�U�|#�z�h��J!����#��##�#g��� �#q� ###�#�S���p#�#q#I#�X#
��#��SА:�W�####�x#��L��#���‫ב‬#�#
�#�X�*��,ْ.�0#�29�4Y�6y�8��:��<ٓ>�@#�B9�DY�Fy�H����#)ДN�P#�R9�TY�Vy�X9�#��'�#
#Y#�b9�dI�[y��]I#_Y�lٖn9�g��#��oY�vy�)��#�#t��~�Y��Q�#�Y��)���#9##�#��
�0��n##� ��闒
� Y#����i�*`�)�#b#��ٖ��Y���#��pi�i�#�Y�X�#6)�#�#��ٛTi�{�##›�Y�O��+I�#Q &`�Ι#�ɒ�I#L#��
雫)���B`��i�&@��##r##�雸 9��i#Xr��I�I#�9% � #��Tp#�i�߸���#"��� z##v#1I�)��)#2Y�,!
+#������#)#��#��#���I���#�����#0I�9�.�)����.��`Q#*#�#J�#�###�#�#�#l��8z�$‫�*&ڒ‬F�#?


‫ڒ‬#�#�##G
���#p�-�@)�
�ٟ#�i##���#�+9�###7
��9��X�R�E>��x���#U�pS#
�v)�#I��#执� � ��ȦR�/##�� )��H�#D��z��|Z#o�n)��H�Q�`Fj�v���Ȩ�0�� � ɢo��� `��j�Qj�S�#�u��
‫ږ‬A��Cj#LМ��‫ږ‬#@���#q 礽 ‫�ږ‬J���#w��#��8�#�#�‫�ږ‬J���#�:�XI��h�#1~�J�#��}
(#�z�N,ን�Ɍ�I�O��c��Ҹ�q���J��J���# y��J��ʋ�#�z�#���#���#��#���U9��X�-q�B+#k�# ‫�ۅ‬#|
�##{�#;�#�##�##{�#��#K^S�#+;�#{#� � ֩ 3;�Z ‫�\څ‬#��##��R9��h�o�D#�B+��#���#'kK;��

��j#�Z#�:�O#�d8�+��J#�\‫��۔‬ɂd�vo#�e�%��Q���ӶP ‫ٴ‬C�8!
�K@�e�#U�Pw##�#lK�M#�C#�#��~j�O ١ow#T
#z�#|۷ Ch�p1�JP���##�,xI���#�D'�>W#J�)ව˹Pk#8 뺈[���#?+#A�)���‫׳‬F��M ��‫�۔‬y|#0�Q��E
�Ǜ#oK}�#��ћ#�K}�� y�#��'�FA�隽 My~��#{к���+�9#�R@�����#A�R���˭_g�:��C#��+�_ǿ�;
���-Ks�#<'H �기 � y��#�##Ћ�#@�$�jZ�O��#�z"
#��##K�'<{)l#x###p�e�º#��A�#e� �u:,��������#�+#3f�FL��{##
#��M�}H##�K##��U#~W�##
#꺲]|~_�#����Z��w��#�q0� ������P(j��t��v\#p,#r��{�s���}�
y ‫��ܫ‬##�#��g#�co`����s#�ͺ�M`#+��# i#�#�#��Ȟ��L�ɝ��%#h
P#.#g+a�t�ɭ��K�����#`f�#ˢ,h#�,�
���#��˝
#��bb#�`0�
D<�ǜ#ɬ�#��bk#�e ͽ�Ę`&z�H��‫ڼ‬ʭ�`�
ΰ,έ#Œ�#6���|#�Ϋ
#$�+�#��,Ϫ�S���������
�#
��`2%#�#�
3� 5|�
����#�,s2�#]љ�\��O��F��#��#�ȏ�Y"=�$-H�`������<�#%��Y� 3=�5M O�#���*]#,�����1�#C=�E-
m��h��D��N���#'B=�S]�5##�
�Z=#\���<##�##"�rM�w`�Ԁ�"��B��l��'��###r=�t]##�
%#�z�#|���#!#���U�]‫�<ٱ‬G= +�
‫ګ‬
IM���؎��#��#�#�}‫څ‬##��y��+#‫��ڰ‬##��###p ‫��ڸ{ى‬e=#g���#���ˀM#��ȝ�T`��`�##��#�#P ‫ܡ‬#Q�
}‫�ݺ‬ZѠ?PP ��#��]#��‫�ح‬P@˪0�� �����-#�m���N�ֿ�������߳� #�M�##�#�
�-
8����
##��]0�0�#n�#�#�߮��
���
ԭ#
��4##>� ‫٭‬g��� ߯�� #��'��#qM$>�#.˫p�ѐ���[��>��%��,�LRM�FN�C�‫ۮ‬p�+��j��P��
�#B�#�#�F��H�#0#*��,#�b�#T>�#p�Y���,�\�#��a.�r�#S��#!
Jj�����y�����M.#�=�P>##�#��$###E��#�|nI�L#(#�qN���!@�R�G����\�/k ��N�‫<��י‬#%`#U�
m��>�^�yн��#�}���꾾 �
�#!`#�n \t#"N��#�##b�#L�������Ž##`�w�DM����#��]q#�m��^����#�####Þ�D##

�Ch#��N��>#�##����#��Ŏ#dp�#O��##�~#�n���##�=�GP�#���n�#���#�m��##��L�F`�#��#���#�^�
/�0�#$_#&��6��#��fa�l��1/�3O
7?�#��G@�#�#:��#?�?#�A?#5O�D�T�S#����\��Q/#SO�C�R�]#�M�>��#��!
�n_�]�y��Y��j#�l#�oo�#��-��Ui�w#�y��o�NH�#K#�M?�?�c`���J��.�����^���`��!#�씙 � �
� � � /�<�9�a˥o�Վ�O�)���P�O��O�?�U�b�>##�����c#_8�LPI����Ǐ�7o=��##��ϯ��/�|_J#?
�2��ٟ����� (�7W/##@#�?
��_����a3\q��� #���e�##+�X4#�I��t>��� ֔ Z�R#�,���~�a�\6���U�v��q�^���m#���##����######
��� #%')+��#3579# �
#EGIK�#-SUWY[1;acec?�BMqsuEQ[}����^g����j�nw����z����툑 � � � � 嘡 �
� w����˱���;�����#����W���������#8�L=|##��
�a�(w##�8ыD#1^Y�c�#��D�8r�Ō'#n�#H7"I�#h#eMt,qzt�#�L��h�#
�AN�#w����#C�Z��#�h�}I�,m�#W##Q�N�j��6�V�rU��kX��$T(;���*i��=#��[����#��.#��K#��#�O
=AD<�##Ɨ]A�‫�ܧ‬#��Ak ���##
6�fҹ��Ј<(=;##��q#a��u�#�i#�$�Cn�Bv�V��@_��%#>�:�r 늡 g��rz���{��>�����#�|
�<c�#N��p[��/x>�
�#P!��#�?��2@<##�¶#�:#A�~k��9��( '$��#A��##5\��#
%R0�#�x�D��$CQ�#X�1#�^��D#�#��#�x��#��Gp
x
�%�
ِ #"[��ȁ"p��+�@aH((
r(�
x

�1� 8.�1�K\# ��7��#Mn�\ә0��
3�<FM;#iS�A���OY�#4#< m�#'#��NEI���K[x`�H ��RF#P#�K%#��
�##�#�R#�<�DU�#Wq#fKY��V3T�U�GC�#Z��"�V�ŕOc�@�WA��v
#n�6 i?-##ke‚ M�=�[@#X0\RC�U�s�4`�u�B�b�##�#����)0��]_ �� ##X`^���!
�"`h#���1V�a��8�[ ]N+�M ‫ރ‬AN�Xws,#4y�U9�q�t#�teΙ#bm�c##�V 硯#���l��#��n�
h�0i�ҍ��[@`�)#��#�I#���k�
��j��v���!;{ ###���x����'#Q�#����ެop"#`m�#�B##z���#P���� \��eJ|q�Ao#귽 � |��-#]�<#
(�l�#gK#�W�##
,8#�"M#ǀ�Q�]�I8@A�b?�w
�#��‫����ڌ‬sY���g#w��I ‫ދ‬### ���####*x}#�##�#�ˏ�##,(�#��^�#‡_���!#��#��_��r�#
##�#�##"@#��~#|##�P#�-��#� i8�##���#0����#(0# ###���_###!�##
#-#,####�#�###�#pH,#�Ȥr�l:�ШtJ�.#
�f��x1���@>D#�##@����|N����~/�64###*����
z### #k|���������qY#]#�����cg##��������U��������##
j�������F#
���ʶ��#g##������N
#�����Ϗ�����#$##����ӻ#������������
(����C���[#Ϟ�###J��gA�v
3.�g/#�6#C�#�D�Ɠ�8�s�##ɗ0#N� �#ʛ#####1����fn�I4��##�*]�Jhѧ9�J�J���P��R#rgկ`�h���,
(�#Y�
˶�#���-�#fҶx�2#0��‫� ګټ‬#K|# �ߺ�#+�����ǣ#K�<L#FȘU �
‫�ړ‬
‫ ګ‬g`#4#�lx3�z�S�Z0��kc
kkˮ��k�UY#��;#���m��M�x##���#n�yj�ʣ3g#y�#УK��=��‫ڃ‬O�#`mwٍë#�����C
���#��#��/n=��q#w�'# ��'�s#�$`[�#h`}�E`‫ނ‬S���ܱ��
#�SI@�օ��@g#��
�#B��##�#��(�(�}.�D`� ��Z�5###�#ꘚ{��@�(�j#(h$:'&�c�D>yN##J)c�MZ��#?j9��Uz9
Y���#<`�0#Ԧ��fj��/##8g K# �❮h�g�}#g#��b2#x��y�nE&: #i6#��-#�&��#j)��##
�y,�^�#�#Uz ꥬ#�"�o4 �vg���V#涁� � ####뫞.�k#�#��#�&#��#4��##H+f�3nzm#�j��-
�Jn1r�#�$�#�y�## �����vn��n�##XK*���o��J�m�##l���#�p�##�0��><n�##
��#_�q#n�1�ۣ����L�#�L��+�˽�#sx&sH��
6߬\�#�ll�>/����#]tf@Ç�J/�X��=�m�R�E�uV��u�fm�\��~vVb#G�f�]T�ĭ�o�n�#7or���#t
‫�@���� �ݲ‬q�¬T���B��&�#�ML\
�#>�⋿��g�+���m@��K�y���y#4#P�b#�.
{�Q���zT����������};T�K��#O#��#"##<�P�>�_�#oD��3����C�����U�#d�+##�s�#�_�`�#!7#�
fx��##�5���� #��?�߀�}�{#y�'#� &v#ğ#����)�-�#��z��#�.�#���qpd�#�;�D�#B#Np
#�[ �r��##/�ka#_��#�m�T�a#X�+�
P�;#�#7�$!��#<
#�#�("GR#"S�8�#��T��#����1�#*�##ˆD+##�>�"P�X#�M�E#l��#�#ǘ��'t�C#���0�#}
X#� #,`
h##��@‫@�ށ‬#c!uxH"$�U�l$ #0�<<###H@uX##K�!��X�&
9Ƭa@##(a###�#��*��##46#<Β��#�'�tK <2#���#�x�I@�'�,d2��L#��O �##00 #s#ʃI��m���
‫�ٔح‬#��#q#�##9�#�'�#����#�#�9��ID�|`#�&"� �ҝ�L##@�x � #��#^�#M:#�#�#EgV�T#T"&��1!
�(0�r*�#-GF'Aĉ@@��d�����
J � �##<�S��!�8#�b�I��V�#�eQW#R�L���I�0�Z��#�S��Q/�#��3�
##
J
#W-#Ԃ#5�‫�ڬګ‬k #��!�����=R
���4:t���� #�‫}�ޣ‬u�_�ZW�^��8�=֙X��u.�uZ*֚
~��~�U�e�RV
�t#�U�5�1�Њv��1���ȇ�ԮB 吪 k_#��b#�.*�$l��a�#���-#� ��zI#�|
�#�#T�#����h3"�;#@�h��5<K�fW��� #�{�#�#�}�j����w���@#hE#��!
��Hk5tk����$�5##��##�°�@l�������
�Z## �##�##�#.j ����wE�
#�#�a�#�u���@�#��'��#m##v]��7��#��##0��� ##‫܄‬/�)��##V�L020##
#,��06��#+��#A��Ы+�ye�f�#���;�+?�#�#�C�C;b'���ҍ#u��##���c��Y�L��#p�E#��‫ڿ‬Z
‫ױ‬#x ��* �р# � ��##`��Ht+�#��Fρ���C�)�K�:өn�RD�
R��Ա&ƪ��k'��ְ��/zMZg���Ƶ�aAl^�����m����#�#V�vv�M�*4�#�6#����nc"��}�#�M�m���xAr
%���r�;#��#�)��zۗ �� #l{�#�#���#W�`j, ##<�#O8
#c�I ��#�8|�J�_c��iָ##���D�#���n! �9Dz1�#����r:x�-���
���ׁ�y#z#n�s
�#�>wC����;8��a�@ȓ##6�#�v@6��7��A#
n�#d�u�r��w�9XX��(,��}�9��#e�###D�{Q=@ON##/%�##�ӶϽvM#˵�r³���#m�"�7���ǔ{�� �$�;�|
#���:#>7Ĭ��E�M��~�ag�
��z6"��|�;[b�~�~�|�=#����G��#��#��
�N>#5�|=t~�?�‫_ۥ‬H�W�#��ʊ݀|�P#ߏ���|)D��-<z��#��#�a��/�{�T�
���s{�# �GC�$�:�wI�yR��O#z
H9��W��wu�#C##A#�t#x#�'#��#�����~#( j�##�#Og��##)H

K#j<�x0�#]7��pr�p�L�w98:2ȃ�E#R�q#��F�#>�#�##C#<E؄åx�wES(;Lh�{��0�GP�#X�^H�`#~F0xS؅g
8v��h ۷�#��~L��������vx�`!�D@�
‫�؁‬8 j�#�(#l��`x�C`|?a�‡)#�#�J���ć##��p}L!�-@�#涁� #��!8#J#�f��|��@#�I##(�|
1�u�E�u0��#‫>؂‬#�C �0�# �##��#�g����x��1т/8�#H��#�2��ȍ�`�@1y8��'�S��� �-
`p&X��( �H#x#�#Ȏ�H�>�y�(��8�R����#[(����Et�
h##) �H###��7�#Y#��#ze��'�M��1�f�(}�w�
7#M��&�#��#�(#S�i-��
I#
)�5�QTA"#i~ʸ��D#�#�#�B�#/i�D��#H�Ii##9
�5��#�{@�$#v#(}A��u�0I#CȒ`I#��#�.���g�g�####k9���!\�8�v�#�##'f�#�{##bI#�B{+9�v�!)#V
Y{n��S#�$qQ���P)�o0���KC����0(��)#�H#p�n#(��I#�9###�Ǚ5ɘr)��#i)
҇ � �?)}#�D@ �#�#�� �)���� ��
R��"a�9��ʩ#� ��)##��G��I#�9##�ǚ��#�)#ߙ��#�i�����I#빁 � � � O�#a#C!#
���ٟ���##�#:�#Z�#�#I�
��
‫ڽڠ‬#�##��#:�#Z�#z�#��#��#‫ڡ‬#�
#�":�$Z�&z�(��C@#kТ.�0#�2:�4Z�6z�2z##�#+У>�@#�B:�DZ�Fz�H:�!!
�i�#��P#�R:�T��#Z��p#OJ�\‫^ڥ‬#�#��!��_Z�fz�+#�#Z�c��h�p��j�� i�'#�x��B*�#�#!
�����##�#ᧁ z�pj�|�#����Z��#��8##`#�z�]�#�###�#��Rj�#���Щ�z�Hz##ʦ!
A##���J�sz�u:#�#��#���f�B���‫ڣ‬#��#qQ �#�#���)#nj��*�##�!a/#�� � #ʪ}*#�j��
#ª#…#�
�#ʜ"�#�Z����#�����z��#�Sa��
��J��:#aǣ�z�##��[�#��#�#J�#Adw���j##‫�ڤ‬I#�
��Z#�J#��##�#K���$��#ʰ"#�-`��*�"K#M7#.#�##�}9�Fp�5#��#���W%г���� �"Ap�J�yZ#@{
ET�L#���ņ#S��(���J#�G�Y#��ʠ��#�x�a��Uˠ��#�x�i{�[��]K#�'�q[�cK�e�#�"#y��V##J#��[�F;�
��h{�^��‫!ٯ‬O��_#���##���K�蚹 4�#���Z�Z #�ɳ�#�s#�&�#C��\
���
�豲 K��[���Q���T
��� �X��+��:��#��{�Q�ʋ#]���#��#�m##���#��#�{���‫۽‬Hz��#�Pм�{��{�wP�-@��k���y2�;�H
‫�ھ‬k�Rи�;��‫ۿ‬uЛFP�#\��K�n�B� \�#��pp�G`�#,��[�ġ�#
��K�n#�D9#��+�?##ً##{�@��"| �
�A��;)�/��F �6 ‫ܣ‬
P�#I�0A�T=?�#�##��##��)<�E��G��I�k{�#�����H��+@�#��>��L#�?�##��#�#V�#X,�i��y
M<#/L�88�
: #5L�+����Ƽ��b������a##L�d��f<##L�Sl�+�## �?*ÐHĽ1��|�� H#-
�#�##s��}�L#a��#��l#��Ƀ|��ql#&L�!l�#|#���K��#`��ʸ,�F���!#{��+0���aq�Ҭ#�,|
��##,�Z,���Ȁ���\��g�l���‫�܄‬##�,��\���#ʜ��l��L#�L�� �Ͼ
�P �q#�I�3# �L#�0l�<��K��'��F�Ъp�
���Hљ��y#� ,�^��1q�#
�g(�0���k�o��$A����v��#���+�I���## �$0]�8�;�ro#�*��$6-
�A�<,�#��k(#j��ӹ�����X��^�aR�#Im�V�eX=�4-##�x]�#w�#T ‫ݹ‬a-?c#���i#��i�
#]�nM>q��O�1
���f���J��}����_�x ‫ ת‬Д@Ў���‫��ؖ‬##��Vr#�� ‫��� ؚ‬y #�#���A�}�]20�-#��#��B�=�#+)��m�m#ȼ
�L ‫ۧ=ڈ‬-+�R����#ʙ��L#�##��m#��#�u��#� jL������#��*#F#��#<�
##������4�)�#^�#�� �5����<r'#�#��_�#a� �Sk��}��b&#��(��`����#K�#~���$������p
4�� #!��^#������ ��� `‫��ݭ‬Pޮp�.#�!>�#���^�#��#‫����@ٯ‬/#��###���]mԐc���;��=�亱
+#
� I+�Ci�@�}#�<��=���#�0ޮY#z�W��K������Q�s� ��:�d��#��l�ߧ| j�###
ʍ�p#�X~#{�##pO�&����#���N�#�#N^#p##�l(. �e#n�����##Tު
#涁� I#�������,!�#!#�~�[��z��������#�#�����D��#�������>�p#��Q�n#�~�
������##!�� N#`��`�e-
#:��J�����#0#�.##�#��O�##F.###�����##���###�#�#H�#�N#,~���##�#A��#;Z�K1�m##��##�
��##N�J
`��n� /#�n#_��##�2?�f�##��W###�K#`#)?G+�#�##��q#�3��]#h��<��?
���^##�##��o��J��]#R��#��f��\_�qmFS##-_#/O�do�p#��#fC�#F�o#�f�DA��`��c��z?��m
%76�#��P����^�a�~ #‫[���ܥ‬o&#�Il��DZ��oB\u_#E����I� '���R���+�#��?
���$q�Qz�/��8�#b#����!?
>i�e���?:��#�Q��#_���#�O�.##N��#�#^��#�/�����*���Ka�J\����#H�?#��,����ߣ
4�T###Ū�2#�I�2�r>�Q�Z�^��Y�K]~�a�\6���r@�e+�q��~���f���##��###���#####�#')+-�
357�#9?AC�$/KMO#EUW!
=Y_a9IQikm�bsu�\w}�yo��k���[z���g���S��a���Y�������C���[���
ϯ��[��#������#���������G�
###�_Ab##�I�P�A��#F\rO�:�#1���Q#�z#3���q#E��#�Ti�dEF-�]0���)�
��#�`fM��t"|#�#ϟG�#�7T)6##�F�Ҵ��#T� 8
�k:��#\�:#dW�c�##��\#�o���#`��q#z��j�ZN����w#S�ߞ
�z#�U��#�U���.���Q��#s,���# Ȼ9$hV�M�##�t�Ԡ#�n'�u7ٜ#Խ�#omʻ!%#N�#k��72#
9��Ǒ7/�[z=���U�#\{=#[���#'��|n�o3���z|##���‫�ތ‬#�� H)�#�1#t�###��
%#�0�###���b#D�##"#��#O��##P�###1#)B#=\##�B#�A#�+1�#�FK�####�Ņ��Q#�##�ƍ.
(P�.���Ǔ#�qȩ֫�H�#�`IL���ɠN�ҫ�X���#��2��
��˦��QL�<�+#�t"�#(t�-#h�#� ��#�5e;��>#�s��#%#3Ce4-
QEAc#��"##��$��1:/#.M##3@�:;#N#0��ˁ#l,5�##ή#:tU:<՜��#|�սS��#+#(h�W�#��'�#���
OE�-�
(��# P ��`#��k�� �\9#ɀ#Z#��#�\��##0V];Om�‫�܈‬w^H�##���#:7�} #@[�#r@�t n�##(��
�#� ��
[ 1>�##��Ν##�Xd1��8#u@�@ߑYN��X��怅 Wn�f0#�x[#�q #
��Y�6## �#v#�#�##�桡 V#�##8 �#Yq`�#���kG�>���Dc�8
8 �#����W#�9�##�
5�#��##H#��#�##�# ��#8@��#`q�#g;nR#?
$##;###############################################################################
###################################################################################
##########################################�8K]#�v���## t���#V?P�###2��#��-
l�[�����r#/p���+;��#�ӳ�is�f#h��.�#-b#Gx�h4�e�%Q��#`��Գֵ���#VA#!B�‫إإ‬$(�P�wz#'��o
��F�z��*#�z�y�^�#Y�4�v"#���xʟ#�oo�3��I8:t3��#�Rj�T���$�*##��@#����'l!!�
D#��[�7�L|'�1��ӝ��'(�s�H�1�ş�xV�+l !��(ѕ'�sc����M
#���#9(���ZC*�&#K�#��0��Rf�h�#>� 9�9� w�]�v� #:w(�1�Thl�bT#ʈI�eq#��t#�ы�m##
�Q� �n=�'��#��Xxx��y#hq�C����áF�Q� g�x�8.�
‫\�ݽ‬l�oj��H#lХ9��k�stU��h`#�#7Zb�#�����.B�‫���ܬ‬$�:k?�Z�-
##s��(�8Wq�g�#"�##��H#���,#i
#���
' ϯ}40�@#>#�_P#�)#��S�H#ҩ��%���}�~z1x�Zg�]�S+�#ϑ'
U#N,��)azŸа=�y!#�o#�##�H[#��a!�Z##�####�#=#��ɴ#`}#�5���^�c����f5��#
$�#N8l�^�#��G##@8��*`�?
��/�#� �##Y�^Wq�+S#t \#O #ѴC�U�������#����a#�#(�N�`�h����O �8F�D�
��#�*"��#R�����!�[c�
@�d�;���}#�th��#F���gN#��I[��n��n�+�Z�n#Z�j��#06ao�{2�k8B�&#�7#�=n�p�Z 合� *��!#�_��
#I�+5#I@��L(###�#%$�^�1����dG>#�#*-7�s�#W#��-�SMy����q#����#�(� �݊��
L��:X�#I�f�
U�t68��L�#5
##�J�#"��#,�?�&7#�QpV<#�#U���F))z�U�`z(r��I�>M5�T��N�#�WE8�
@#r�#Ӂ&DM�#w9i�@`���#�3G�BJ�#(�I�S:�������GvK�8cF_�#0%X#p��\B#
�֠ #c��L^?#���x�cr_�e ߝ
O#�
1��<x/Ĥ��М�5á�{\#�k���####0�A�44LF��:��1y����W��"�PvlME��#(��*#��fx,~#��O�#>����#�#
�ˆ���ll�<��>���W�'X��K���Y��#b�A#�C|��H�p�A�ά�P��꒕T2�rK#�"�Y#-T�#��:##,/#M#�`�‫ݎ‬E!
�##��^�T}�ĝ�#W{��[�ҥ5�j��Q��##G�##���5>1$e;�ʣ�##�](�Z�!6B�
‫~ۇ‬,##�iƵ��=>�H�_VK##Y��l�s���)o##�#��#�91�4Mwn??���#��‫���ں‬,�[���
#���~V�##�!‫��_ݺ‬t����›N�#��#X�#b`L�Eh�#s#��##-
��C#�wQ##���`B��ǽ��#\�BH���g*F�k�2���3��g#��Z¼1���qm#s�؋�s�����
��Ѯƻ#��^I��#�#�E�Bi#��_���-I�A��yyZъJ�#�/B21�‫�ڸ‬з/$H##�#�PNG
#
###IHDR### ### #####szz�####sRGB#��#�###�IDATX ŗ=k#Q#�w�bg�
%���NИ�#;���ƀXY[�/�J#[ˀ#�#i#?
#k���#�#���(##��y&�3�w�E#�;��3s�v���z�#&s`6@#�#����Ti�# :#�#�#
�#Ġ
���3�#��S���:�#x#��#� n��U#]##��h;]ů�c�#v�#�PK.Y�&��c��R��` (�Yi+�#��~��D�t�
#H�Z�<��j��v�]�%����.P�o##>p�
ޯ m�{#<#?��Q�#��#c
?�(}b��#���^#{ /#�1d#��5#3��&�i��#��b�#
:#�r2���a,kK_��b3�S��(�
� � ��5։ �S �` ��ի ��r �w T �] �- ��# �b Ѫ �j �I ## ��
�#�#�{�1�#Q^0P���V��Y1��9#)��d��ʠ���|���#�##�ҩ�#�y2g#�#Rf��#�����L�#q�#|
�٬π Ǫ�Ty# �#x �3 ��{ �Ӎ# f �#���;��-�3<D�4#w ˤ�e���%��TW�Λ�����_K?#;�y�4�5�D�!
V�=Mq���>���p���#��� ���
��ʔ�� /i#�?��-#�0z�]��� a0|#i�B��85`�G���8$и!):#5'xuC#��
%S���5]ǧ}��^yK##B�#���B|�~�Qgl���a�#ū>��T\��c�>Lbf$���#?�n3����#9ɟfI�##���2�]#6#�!
�#��{�X^��#���Ӥ#p�#��0��2��##1�Ɵ�#��k�
t#}####IEND�B`�####################################################################
###################################################################################
#####################################################################p��#>�-
������y]�#D�# ��j�n#�-R#��T#�K��~B#�k8� Dg+�#�����
%<�##�]#3�i�V�����E#F��Ť8��#��W�%(����]�#GP�#��K���D#�3/�#I#���,�@‫ۃ‬
3#�ʥ��d�� �R�� ###
���t��#7��:c�h4E^o��#�h��crNI�#A"���
^���L&�ϰR�kl�|�;F�#�E# ����x#'���D#-�#d�#��7(��I�E�yB�|:k�}�##*<�!��X#wj�n��
�]IQ<� ����
1 r2�Czh�W�|
#�(�><�P{G~�e�$��5�h�j�n�>me�up#�ki5#�n'�F����O1�j�)t�/�m�����`�#5 �u��h�U#']w��g�@
���2�#jl#���h�@��
�###��N�#�K�5��#Q�;��‫�ܨ‬i�C#P�
a##{T���]G�fj�#�#�#��{��'�`L�C��(#dQX�gDn��~Tz�Z�Y#o����,��� wQ���#
‫ݘ‬m�v/�5QQ>0a�p}�#�&�a#A�M ‫ܜ‬##黯� |�c�� #�GQ_�I�Z(#�>l 涁� #�3^zOG6���n��#
�n��N���G#�rX�a�‫���؞‬r�t���#����‫ޥ‬S���
��^���#q�4�###�>���w��#*����];���#��n#n��H�A##fz\�u��g�^�P��D%�.䨯
(��#�e�Z���g�#�#ʇ�����#0�J|#�/��:#/#R�>�#c#�A#�N��a� ����M�Gn�,
%#�n)��i��#$u�=�th��ÔW#�##J\�F��
�[�S�E<+W��#��,t,�#���_��a�W3��E#,g����#nx�A�7��R###�c2�s��)��= I9�#��#.H:�r,t(���
�#�1���Xi0��F�X��hn�0�\���r#c���1g
�# �}~�# �|qMj�AW4J<6�NN��
�>��#�ml�J�R�x�-����� ##/�#��,�M�s�[#��L�y?
#h�����#V���Ѱ#Qzw��9�)�‫��ݣ‬V��f����D Ep��SY%#�5(s��,��,�I�##���#�{�bM�GU@\9���
‫ض‬j[#B�#���p#�]3�WH�]���@��r-�bW#,#�˞������*q)rr#�e� ����`K�S�=��e�L��6�`�Y�.#�d��U?
��#��#�
��#��#�@/�`I#�dz\#y�kA
�@#4{5ƒ�� m^��+�O�餎#��#�v
.��|���2J&QM]��2���#_6�oI���,"##T#�'S3�<�ӫ��d�r����f 됫 � #�F@�B��j��z%v�7��# J-
�Q�#��Y�?o�lF�e`yp��������
�‫ܘ‬ 2�Ȗ1��p#aA�#�#g�M�D�m��H1�#�Ե#�u�:9u�%�����
#
=6$��#�_
?�<�5/�Vw&,<ˆ{qqy3.��g#:a#\M}#?a#�q�G�-
#��b#�i3w��#ȧ#Լ#��\��\��&Z���d��8��#��#MDɥ#q2�����f��h�#裑 ‫�ޕ‬o
cD�&#9##��Ё���y���R���u��p��~���-��`�‫ܘ‬涁� `�d��#PZ#��/�k�#��U5^�k����y�.�gwj$}@-
3��E��#~�"��0`*;j#x��^� �/�.��|#��#2��Ƽ#��J��##�T��2�#�##���#�[3J›���R#�|Qu��sƫ
)˶#����Yp��I��#R#�8j���+l�#���{j#���yĒ�#�/K1T�=���p��#�n�jQ
�;���eF��#��#bV�!+����u##�(+�1Md��h�e��=�P��#�##
%�k�X
��g�ԢK#=^�fb�3}�,.q#�+s#��H#�#J�n#��dF#�$#��H�#w1Z�#0�]Y`�R��#aN0�##��н#G�#�'
�b�#K#[##�G}S�ɛ��f#���d��M#�#��&�0�5xQ�z��e�M
�t#��Ŵ�p
��R.���R�8�`�QvȀ�/��#��0vT��H�1��>@�(�롦
#����5�`�('�jG#�0�}n<_��^�R�V��#"�#����#q#���#Z� �#‫ݻ‬
8��B#(;��A�`#�\��#G1�#^�8z�#U^�43�\1��v���#H�(�KgRM#S)[>�羶 Kч�2�u��Hb$9�iI>֜�#��~#$!
�V�BD�.p��R�*��jow�)>Ɨ#V���J���@'�#��ZW#ZXǔ�1t�|
##p}J��ZF�v��###���dx�h��P�#��#Nk_�5bEnw#�='y�v9g�ns#�y#+4$�u#GN��h}]�#‫��آ‬Z#�t�#��
ūK��i��aN#�K�
c
�c#Xb#��uìw��?����߀��Y����f>���Q-����~���##X�!�#��"~�8(r
Cf#Ϙ|#�˾ &��%�-@�#�g#"Ɨ �k��!�[3���ߔ �*�]����# �p�J����#��NLo�\'�dD�%#�"�KL'�#�#N!
j���##j%�pK?\M��P�[��\#$5>
)�p#iio#:�*��n#~��>��e�Oh�F#h#��# ��+4K�Mg#㺂#�[8
#}#��#j�M�!s�α�S�&!$I�!
�"���+\Xo�J$�X*## �FfEYM��s#��J7�I�N"�5o2#9'9�^�T�yd����g#�#�|
C+r�H�l��`H~���5'��*V#a2#&�+b��?jSZ���/����4$�8�^8�%�ߥ^��#��<��d�#z��)���Qw#q�!��
>��0���#����#u�+:��#���v��m�_��<���#Y5\A�wnhF���kr��P&e�
�C��hP(�##Y�,���f)��tq�#g�� e�~J##�|���e�f#Ү�c6/��u�v�w,>#���eb#�#N��g�㳵
B�R��#��O#�#�-�i)R�L$�#^ �i#��#�DJF�>���c�z!�F#qE!+?#G�[�\�x+>P-
�L�`�[}�Y5J��x#�#��Ff�R�#N��"��Kj%�##��_����`z�\#��e.��;���#�8��Ϝ#� � ���
(�#�g0|
�#�������~#[##BÎ##|q g$##D ߒ���#m�D�####V##��#0,�#�##�m�� �v#p�`^�?�# ��?
�S��0^vV#�-�6#�PNG
#
###IHDR### ### #####szz�####sRGB#��#�###8IDATX ŗMH#Q##�$#
##�!��#T�AtJ
�����[#�����U�A#OBE�#M�^#�"#��#EH���������Y]�#?�{���f�}M��M�V�#BNAo#3|
n�#EѺ��#�q��#���*��[�;��

�ex#�#�#�΅��a#�a#.����#>�#clw�����
�!X �#�/t##үiĚc(�"`#�� ^�,�5�Y*BGP#K#�p"�@-##V 莓�
� � ##:��H�APŸ#�#���7 ‫>מ‬s7�h��#��3y]�‫}ۇ‬mˇ�#\6m��8#�##�c�Β��L��a_�-u�1#�q;Tb?#M#�#��
�#O�#�ál>t�##���k#M#�
67�#x##�f�]�#!y��D��::7����J#�C�#�=>�<\��۠���BV6QLAW`#>�}V#�0,f��m|��#P��
‫{܇‬##�W�G�y�6�E#‫��|(�އ‬#ǃ�=�lju�#EP~��
Z�J#�^#��F�p����#[37�;1�#����+�#�Ma�8�y(z�t�\��W��F��#�y�U�#�;�#����#�5�
�#��;#��#N�Vr�#��z&X�e��� w��#��Si�P#��e�#�V#�#�
%�#��#Ί���P�Y#~�F�2T���#6#�*pM_�����dt���������
�\ �{c]# ����a��ap�; }#?
D���Ŀ�02#�$�#Fw�h#�Ք
���8"#�L��}0~Rr#�#5|%K9�7��#} P ‫ں‬#;�]�#�a��H�J#�#���/#�r2�#k��‫��מ‬V
%Љ��p�z�#�V##}J��E�z�i��cx
��i���3ăLq_�<���#����9-5#�%�`*4�C�C;V#�#j���#!
�=#�*��####IEND�B`�################################################################
##################################################################$U�0�f��v
|'�7G;b��d�)yC�Z`��.��NwQN�sl(GX�#��� �#6�D��{2M�/4�:#"�;>Z�k9���]{o?F��x3#�#�
%��#F8h.)�k�F�#QW�2���+#��QV�Cf%�1ϥЩ#>�l�/�6��##|S#���
#���X���4�/��`#��Q���*�Fr��#���Ǯ��d\h~�E#��lP�e&�]����h�N���[����$#kK�ʝO��DZɥ�|)�#v
@�@Z�+�=#�Qz�� �ʐ#ks�U�Y��Ԉq‫ؚ‬H8�G� #�����3#�II#/��β��.J�_>N#�A�#���
���X��Kw��®�#��
�b����8aR�FӮ7cH#NtMS&r�;�L�UM#+E��WkTzu��##�>"��Ȱ�0�K?
8A#�����3��#�"��FL�x�E���#N�]rB#�hZd<�dR��s¿��###�#��##Rcgv�Q�>)y"�%)����#4���
‫ޢ‬i�mԔ���#,���¸
8}�#�
� ��#p#�M#.Q�t�#��.Pw��#;�k���Ňx2��jJW�#��v�RS��X� m3�>%M���\�P|
#@�]�ԃ���3���p��]�#�BT�
"�#�t��Db"Ѥ@�kY�����N4j#B��#����]-��H ‫ڭ‬SM����)��쁫
� TJH1@�m��q�6�k+��#��s�#t##�g��#Kn 墰
&�#:�R�9�{��j2Za������ETK����(Ux<#Z�#]��A�#8��^#��#�k#��EV4�#e�4,#⨃�Y�_�8��e����m#�
h ㅱ##�� �FA##�n ‫ۅ‬##
E �o� �w�E#E
E ��M'�B��
��k��#�#�?�w��#ƞ�#_##�ĕ}GðF�#g 歪� � #�u�O��a8#CKLC�>#s�#c��
��(E#�!Қ�#��##�&F�‫ݲ‬n�}��o���*pHe�N#"�hY*F5�U�t#�3�}&��
#�'#��m
�����p�#EƊ�
N #)�1�Ui��g�;#B��nCc)d�uĂ�1#B#�]�h1"TW#.���}\S�<8���ˆ##@�r��n�##�YU���W�
��
�r�)�#s�}�#]�4#�V/� #�QPZ#�'##:Ӱk#0@ծ��f$��#���/ ‫�ג‬/##C?
v���x��1���#_F�/#Y�����a�)9�Y{��U���fo�s`�z�1��##HZ��0��ꍿ � G ‫�ٽ‬e'{#�
‫��ב‬WS��#�3{8���#�뢐 � q�:��#-8y"v6����¯3Ө�#�5�##���Gq�#�>t��ZY�����]�D#? �
���"�7 ߓ��Bl��C���yu�w#�K^��l��|bQ�#��##2 ‫ץ‬ϰ#�0#r#zpw�*����#�9‫ׇ‬#�7#�$�-{u�#I&��?��Kv
%��#2#�#r��"]\�yhDb 3~~‫�`�آ‬rm#3�:۩_���K��}#K�#��M�W�#r�####‫�ޢ‬O'<O4��>�‫�ڏ‬c`#mnSl�\��
#��#;h'��ȘD�{#Ž���gΏ���-'�[#Hp�#���#�
#Sk#_7#�S�ˬ�n�f�#��N�#�\�7##�3#�#m�-#I�##d�#+@X#߃�/#��d�#8Q�g!
��9�3�2�#y��В��#��v��#X�h��mM��v#�y��##k�D��8��J�ܻ��
#�T\�mC0�¥�#7O�Y�#!OB9P��#wZ[�'|
�㞚 U����~dt�p��Q�#+�#ի�#��eϕ��ׂ� �:����#$��1�##qEh�,<�W
\���V�]=��#�"�^���@�ҦR#-/��h1�)�#PD�T�#�q-�lX�� d=�?��#��p�r�N�`��}(:�j�?
�S�G���N��#�AD#A�#2�Hj�##�p,�s{#z��Ti#D҂�/��l�#>
q����
1#_‫;�ܛ‬
;��l�#��#��P�#�#B#5��#
�#<���#H#���L�
�#z ߗ��� ���&
��CQ�F�fT�#FD�3����,c��#�'!��^�j��#��R�.�#��+YM~���AR@
3�+#A�°�Ger�&,�y�m��#�#����S�i�D�D-��pBx##��r���x#��Y�(p�##�@{ ԝ�c�z�����#?
��O�ʈ�Y�AÐ#��R�#�q��f�?�E�n��{�"�D�n5��j��
(�B�|�VK&��#�9@��g8(�###��V���;*���#Z�4�`�4ƀ���eG##�8vt!
��#�]��,f�� �]�� #�uDI���^�eb6�;
%h##����z��gC��R#�hJ_J����
J W ##�:###8���c�1>��s�
َ ���M"�
#9VΘt�/##���#V����A��#k#�^#Q�uC��f
�v�m#*1#�#�<[##(�?
��^�@�#�t��>�X#t���!/#��m�@�#涁� p)�OGf4#3\��,�p�7���#�vg�Q�1�;#R�SP���#������3�!
v��
#�ɗl��‫ڛ‬#g�d4>�##�ǁ�a��JInvJ����#s#r��V&G�U����#��u��� �����
##<#h �u̦#Ruk
� �}���'#%�ň
z#��9Z#�M�}*�#�H��n�PCh�#�#]�1'#<K��vF�r� �ֶ���� � y���&��%5��N#��#V�+�p}
(�V�@#�3�ʳX��И�D�#�,�K�#@,r�#�a��#��&�=��-
a��u>�9�#�^���uǻoP&��S��'#�4l��/#��jշ##L&��-��}e��#d ‫]��ڧ‬e#
�y���L�l`���n��~:�<�_N~��Ζ#��#>1�m�n��,[g)$��&#���#.#V]�ƹ��}�!
�.U�'[{�#0���/�/�NcE��<��NbB`���#�S�fc���N###D�x#K���#�:76�#�#r��ZxB�#�[
ȫ&\>$�#<L_.��#(C��<�b�c�-��#���F��M��ˊ##~�A���M.��1�#6s�}p�#>�#舭
W�#�>�h���_&#n5*��#
#t##�_#>���#�%v�Z�!�`+u]#[��#���IS&��#T���z�#�g#���#�Cm��4D�flW~
%��5�&*��ST�n�x:�8TԱ������>� !�#��֛��� /�#������*2��J�#*�#zOY��w��
%e��d#��/��`��#��u�o���1g�#�>�HUX#W^��֖��� Q#�PNG
#
###IHDR### ### #####szz�####sRGB#��#�###�IDATX ŗKHUA#�7�� #‫ﹽ‬Ō�� �[�D!
Qd#z
� ���2��Ҷ�
V���#�"#"�����E� [#!F���4�EP�CR���$���_g.�{��9>�#~��|s����
# #-�#IC��
A=|5
#A0���#�#��#]#4���#��j~0[�#B#t1�#��#�ˠ#F�##�#W��#���Ql�K�m'�#>C#�z�
%��1�ꣶ���D@=��U�<�#F�9V�� ��##CD_չ#�a^9"M�F[�#N�I�5
+�:ph��}�x�]�S�&Gxa�Њ��m;��p#n�#��a#�Z��D�E�1�OC9��v���#��F�#�5X=�S�#:}#ʥ�e�xh�N�\�
Ŀ#���S��O0#+m{T�V�D�tI#>B���gu8�ӽ�"v�a�w�#v��#�#4�U#IF���
���1;e��4��y�����#gZ�5#���_��#��#�##./�j�|�^‫�ۆ‬#�#���y��#V#v�#��w#��}#�Kh��#��#��-
�m#��0���?��H#I#I� T�ZD��#�)#�(v�֊��u�#��5��#�""
FU��#�A��h[I���Q�C#
��#.4##ɶ�+�B�E��#n#%�#'a#��
L_R#�5�}<ߠt�f��f@�_��kt�#A##�wp#�кA�����h����WOP
���Q��#�.y�@�A����E9SI�I�w#�{"��U��b�z��'�.�;��ў�?�){HC�C��/�w�Q/-
�;H��Z#q�#��˄ѩ�0�#�#�4���p#N�U�#Z���.|#)
G�q�f#\#�f#p#ґY##��DZ#��^H� t%���}�x�#]�J_�
��F<k�B� �5�<�RB�hg|?T# ��&-v#0w����0#-L}#Z�F�#���ᤑ V1�߀m#ʠ��҉nCm���nO�L�
�Ǹ�u�':���jc���i�#�Y�#��p��P�e#�#4� � � # �oЃ� e�i####IEND�B`�#########################
#####6y�Pw�TN�����Ãc�A~��y�#�#HO�X#s�#N��sϬ #��##�Ȼ��=#�j#Z�#��M7��N��Şϊ�#�.�m��A�K
�\#7`u>��zB-���-7#�09KL
)^/�{.�A}':k]v���#F�}�9�!�u��/#[���q_F���Au�h#J(#�Q#4��Q
#�ȍҿ���#��7�<J��#Cv"#9�!��l�#*{w#�z-��"�#F'�� � #"��'�\�hF.j���s
ͅͅ# ��# q ρ ̞ ���W # (T �#A ɱ՞ �� ��# �# #@ ��K ˅ B' �:0 �A ���a # dAH{ �6& ��B z �/ �
����@�AG##*�#`#��5�
ֶ ��#��=�
%#�,8�#��/wY�o4�t��#��#2�aX�#>�#�jvR#����ǰ#�U��#�N�>�IbM5'��Tp��V��__�0���MO�:~�X��
M�g:c´�� #� �
r?X(#��#�#��#�(�#5h��u=�f�C��y#M"��#~��F#�� 1��=q�hɿ*��Z
�b�$jz�+#@��#Ah�I1j��v#��>###
#����
@ 3L�#��Y��#�
��b9^#���3�f��� ������
�# �J�;Y#PuJ ��v=-##�0#dD��IrW� #Q�թ7�8��#�j�!
(�/�#�##�{#q��{�j�rPS��ߖ�;�vZʎ<�ե�&W8��# ~#1�I����]#v��/���gYN9�C�h��I#du
%�S�{lL_��Cv,#y �yo?���#hHG�>�H�h�豐 Q�[�a����#�k-H#�s�/4c�:�a���#�'
����.6p�_#�9�6�#�t�8���H�xJ ‫�ݠ‬M#��:�#7Uը���x�&a� #ʑ��#kn� s�A�#�ρh�
#�����#�$�K#:�
�EeU#��#*p�#W�v����%#�h#k#�@v�I#�#�⟝$��x��Y�`�����#`
#?#�‫ڽڽ‬$�a ��#‫���ښ‬z��(�#�~Ui3#�_���]<##�zJ�
@=��#\Ê)�#�A��֤ /6��8‫ܭ‬
‫ ܭ‬#�P5��/�
%�H���.��O}��^ǿ�X�px��D;�#>#��U���tC.��W#B�N#�#���o�#e#�9
�i��#�u��‫���ގ‬Xf�#�z��_9#���iq1##Y���.m |��C��#�Ϗ�#���N0݉?#a*�U7���6�CDfC�#-
�#'�y#���l�|2�s#f?
;�#�}w`�sKd����Fm��#s���lb�_'P Y�#��#Xd����l9�]}:сK��wᏉ����r����Z��&�#��:
(8K�$��k"v�K�<@�#�3
�u���HG��=#V`e���)���ɤ�E�����%8��1H���$�F�O�f�.�/�V~#H
��ω|�-�#�g�‫ޏ‬d*������"C�ytB/�S5#���#�#Ɏ 9��I�A�#G#�f�#/�$Y��h������� �+u� �� �~P
 �*�|
F��z#m#‫���ݒ‬P��K�1#��-#�^����O���pv����d2 :�Q�#����jJ��T ‫ܔ‬ ‫� ܔ‬P>o}�@����#�P%��8���0Hȉ
U�BF�"w{.���
f_�羠 ��x�Jg��p�‫�܍‬P��#]G/JU���R� �ٞf##7��#�N#�U�xχ�‫& ��ڑ‬d�
ߩ�F��/a�,���e'#�P#�#+�n#�#�_���N��!a��#��SGDζ.�;�,��#�<�|
6>�f�pgo]cjOpS��#���#ƤhJ�"�#W�\��Gs�c�#\e��6�c�f��#�*S�
ȳ#N��kU�4gvV���C��l1�#Ҹc�,�ibn���%-W�#�C��gMY���q��2#�##9�u#vv��V�^
%^��#j�~I#�#��#XQи#4c�������R�%*�c5!r��4q#^v�#a��VD[�_�Zγ�5I>I3#�㕅
� #AIk���#@�#�(ǣR 尚� � � X�-�Gjk�#��#�0��Ҽ#�^�X@������;����q\eEg�|
��_����
�lg#14# �# �KD;"�v��X��#u<��m����W;�##7.�u�8��\#
^:
��� #�%d�X\�%O�+4J��#�p&NӮe~�>�t#�u��\���#�3�ӡb ��ۚt��#D���,
s#5�R��#1�E#���#w�q$�G5#i#TO�<�##‫ح‬W
�֠ y����ZS��==�d#��#c��r&��5c
�o-� ��#M�‫��ש‬沌�
� NS��^�h#U��#]�ȸz#Y��#�� ## �$x�p �s~V#�ʌ�7��v�>#g�#S+4�h��� K�a�}=ր�~#���#&#$�3A��w
�#op
�1��| Sg��#�(�� +��S�@�s{�|]�e��K#�ꋇ##sl�-�#��`a�#��R2x��; �#{��(c$�3��1���
��+�#J����%�#�/�#�r$�#Rg�Ԋ�g\DVM?,#zI&���ܻ���K�/o#�����gP#3k�‫�@܍‬cXy�N�p�#
���S�*#!#����T��Lk�_\�_���:z#�#�n*2#�]0��%i"�b�
%�#f0��6�

��9eʸ1��h#e]���D�J�?�c�sh#�-^#q�^>d��4�)�q�~G
$��Gm3C�$��r#C�zW�y##C��mb�
%�#q�#�.�eyy 퉜�U���Ga#�����‫�י‬w�e=�#��0#<�ZW<
%y�
:#G~�SY�#p#9o�r�^<� �#;:�^��n\ҔN��+�#Ջ�9�#88�`�+��+^#Ff�e�R#�z��#I�{#
�"�)��#١?7����
����&[9�##����w��&�#���#<q\�5���{'2.K��‫ג‬U��
|ar#���#�M�!��7�T��
�T#�/�]�(�#w���xe��`�b�#��Yk%#��Iw���
�#�#h@^�ͱ�9�‫�� ح‬A#�|����|l��o9,��2�#�z1#Z4y#b�-L3ؐ!#��#n#
k## (B8@ #���llG#�:ι�CҾ�ҧg�m�i�#�_CAf?�m!
��q~�uz'�#����À#Q�O�#��q�1]�;�a�##�����
_#�>�#F#L�#��R#��ie$S�)�~��xB�;��n� #�E�
˶
#��.��*֟��##�#��!#~�#��*u�#��q9�7��u������###|=G#'�1Ɍ�#�L�#�#���4�Q#�6p C#:��5
#/#T#�?�ƑV��v�.�##B�`#!#�@��PNG
#
###IHDR### ### #####szz�####sRGB#��#�###9IDATX ŗMK#Q#ǽB#m#M")B��E)ZP��j�٢]-��M}#W~�
\F#�lU#�Z�I�$jSA�B�m#-�n��83#�#�^�#�;�y ‫ޝ‬s�s�it�I�f�#�c�?�#>�Xl4#+
�R��!
I�##���A�#6/f#~#<#w(f�g�D�#0#V�,�#v�ET��h���=e�r#G�#0##*�#J}R_c�DL�E8�#�l�U=�1�#�R�
CC �r�aD��$"�X�9F�v�#�4�@I�a
�ܹ#�n�9�##�'v.�N#d#`#H��V��P�lʃ�#�)�vd�@F�0#69����_���-#�b#�f���
ŷ#�#��*�vd#�I���
0#�� ‫�܆‬#Z#t��#q�Kb��##�#co�#�h��
x#��]P�#B�*�#���
CB���2�#�as#���*��#��p#����#��x##ߢm�P#�Q0_�J#�@Fo#��z�r#�#�#�ͺ�A7#F���#|6p
���Zj#�|
���#���}�#U��ˬ�#�V]�C���7�#�L��@2���#����a##1�s��K�g���V�T#��#��,�����oe�7o#��S
�#�u]#7/`#�ANd;�n�h�4W2=u�o�p���Q�pK##�#H�G�@�q8��(L��gO�C>��ż�йqc�x%^
�� ��;##��#�8]��_@����T��#r;�MJ��'-7[�#��
���7���^Ǚ�v=�S����t ����#IZ�#�T�B;���΅�{v�r� ���m.$f6#�5#[ma>,/=�1#���#%R#�
߇IV#Ex0�O�q֥#S#Ц�Y�d���'#�#��"8#�8�#ɮq���ծjc��qZ�#��D1�,#�Lhb�B,����XO�
%ԁAp####IEND�B`�###################################################################
###############################################################‫��ڣ‬#S:�##=��Cg��eR
��#:#�� #X�"#�v��yvQf)#!h�(յ��*5�|#p��o^��y�[��|�#��}\��AT�#�¿1�M((�v�H��
‫ٸ‬#O#I�6JM�#|�ǜ�Y#���|k#�#�#�#&�X��5�#v<#��~O!K��‫�ڇ‬#p�
�10��#"�9��o�,�+/$GU&�aa�
�#F#���+��sZ{'�Z,�!q�s�:#��8"���c��t#�Q#Iy�#/#4�_^`R�#�FIL��~���云
o2/ғ0 �# ��# �\ �z fn �C ���f { o �# b �F �M �[ �& H ���M Ŷ ^ ԟ ���# 3 \ �Z #'( ��8 ] ��' ħ �
�����yJ�#��o�"aj�\������t�#����T}����##��_5�#[�c��M��W��6euß 涁�r!
‫��ڑ‬w�U�#�'��5��m�v 뎧 l�p���r�-��##����P�
�,#_d[�Pi�/h���~��I#7*��Ge�e��L
Q�{#��4�^8g#h�8�x�:%�#`##1��x�6�#�
�b�d#R#�#��C�Tbi��#�g 涁�ΏXu���&��
����N 殴 c�#� #�
�ٟ(����½|#�}�‫ץ‬I#�*D�ަ#[�##S�#�>��h�y�*#�#��G�pB�f
%�m9�}��#�h;#��#E��:r��
d��#�(E6#i@|� �x���&�O�_�##.���#��##I�#�n� G#�#�ˊ�-4#��oSq�=�P�;S��b���Ζ��?
u���>"�8Ā�-j�D�� C#�G�#���px)#�
*�A��|�#ʃ|##�P3�#�0#�l#�#9�|��
->�fzAQ�Osu19�#
�|�8r��;z��#�#X;��<�#/#�sx#&��2�v�Z#60�!2�2ĉ;#k���LF�Q���;�S"#7��
%�fg#�%#�1�Xa�#������!�#��nQEM�b@nnT�#p>#Y\��L?j#�. Ē�[��#�
p�S>�kK�2gNgҠ�#�K�;�c�#s��#C��h�4�f�-v����
_#X�##�V#�����y�T��
~k#�v/j#_g�#$�m���f9�<W#lRd#B�#��;by&#�S�7����#cL(�NcT�R0�h8##<�|��WA�p 曪
#�k(*�#*b��B_##q���#��#a #�Bz�{��B�Y�� �ަ2W+���_R~��#|
#.#�yW`a�q#b���#M�#��n��V�߫7�m�¶y�z#�#���xp�Y�3+R##��#������ �δJ#[ � #�\os����-
�"�SU�����A>'s�#a֕�:� ���� YS���@
#�y�k�K�#‫ڹ‬O��#d 䧱#cD��\_�J�|E��X#�h�k�� "30+#;4�A�#�|@�hФ���#�#���c��@D�|坉;�x#
��#��qN��[#ZF����#��3f�#v7@sE�u{��## �oN^#)�#7��h�#�X�7��<$���.��#B�Ѱ?j�[�S^M:-
�>(}��`�l���Ӫ�,��#zT��\�6���fD`O�S��LZ��#���ǹ�W�Ԑ�##�*.E�Z�:#\#'�#MpaE ‫ݟ‬S#�u7h3�D+q
�#���jm�t##��n
���Eh7��LE�~d��߹_#�:Ӻ%2~)v#�c�‫��ۻ‬T##�g�{N]71K`h###�##6?
h�*�S�#�nS��<�#�Aow���z�[��jN��؄j4�#g��ɖ,�,u�#�.�p���(#����#�/�#J�����%
go$#Re8�K#0�|/��#�O�ħ�涁�Jvh��X���ၪၪe# 䞫 v1t#\#p�C�V
�_��f��<�#ү��oO�#�;� �9, �*��jB�##��*#",;#.�w��#v�#�K#(�}#{�c$_��=���z�
3������
�`�����>;‫�;�ܫ‬KP�(�q�x�#��ϒgXe�SNs#"��f��h�zN�#�E�C(LU�֣����� ɧ#���I��r

s�c�E<c�>#���$�7�n�\�A#�l��##�I÷�4#�ÏF#�y��;#
�ϼ
_Ey�V7
�Nn1�ep5^����{q�����fE���4#���9ƌ#uR5%�j� Y�ND�93�r��`~���#�p�1� I~���e��
��r���c�'� 2�LG�B��^m#��H���H�d%˯�h��� ��#F��� v$‫���ݲ‬B�#���0'�f�����s##
��o ‫�ܞ‬P!i���H��#?�A�&*ɟGp�,��ԃg^8��#N�#C �*##�����C�� �k��#6ⅰ
f�C�;�Ɠ��~U#�#��Uc�@H#�䂰/�q*#p�|��f� �##<ϧ>�5�+�##Ԇ$��WA�6�#|
�FW�Q��#L#��O��#���Wl1#���-�[#>��J6�����##[`fPZ�Z�###��Ij�c��\}�1���Ƹ<�m� �|
+��yV,#T{I�MK���_��#-gd�#Y���`s0�'���L��� r##=�#X^����#3�_��|�6�5n�+^#���#X
?:���Ia��h?##��������#)��!n�8.��|‫ܙ‬o#��W�0L�0#n^!
�#��6�#��#�~U�(v1v#`��+�J�Q#��@0�O�<
g�#'�#$���,����j;�.#0%O^�yN†#u+^�⡅�#7#^h�4f�FI���N'_�5�d��#y�i���‫�ޝ‬Y�?
���#J&#��##�M.����+뎋/#ߜP�y��#�B|��\�S#�q�#v��/�ӫ����#x�'籪#
�,�C=#[�/�zoi�e�+۹�=~s#���m�#:�c'�q���8#�#�ą#�G��#A�2#r ‫ܤ‬T###
2 �$��U6Y5D>2 n#2��
# E�wP@#
�^�=5F�h#���
#�sL1��P#5V��F#S~�O�A�#A2,����Cg#R��n�E���Rd"a�"u�:��&����j�D)%Q##Q�#��Z�+�#��#
G��]����#��SN�9Q#Ȣk�fW�E�)r�KJϾ ‫ۂ‬
U��T���#I ‫�ڠ‬Qq‫ج‬1#�=�E�
�#6�����@Ʌ#W#��
G
o1phͻ # ��n5 �we �# T �~ �+ Ѯ ��j ���; ��6 C �U ŌD �} p �:#=#" ��& I �^ �k �@ ���C * B �# } �b bc �b ��'
���9t#��� �#�#>�x��m�O�kj��#‫�?�י‬f�a#�;5�J^�‫�ە‬B!����_N�w 퀧>5FR#��仭��
Mdm#�����x0
�r?a�"#pFilters{position:absolute;left:50%;z-index:10;display:block;margin:0 0 0
-500px;padding:0;width:1000px}#pFiltersContainer input{margin:0 14px 10px
0;padding:0 5px;height:24px;width:138px}#pFiltersContainer #ddlAgents
input{padding-right:25px;white-space:nowrap;-moz-text-overflow:ellipsis;-ms-text-
overflow:ellipsis;-o-text-overflow:ellipsis;text-
overflow:ellipsis}#pFiltersContainer{background-
color:#fff;margin:0}#pFiltersContainer
div{float:left;width:163px}#pFiltersContainer div.top>div{float:left;margin:0
2px;width:auto}#pFiltersContainer div.top{width:100%;display:block;margin-
right:0;padding-bottom:10px;margin-bottom:15px;border-bottom:1px dotted
#dadada}#pFiltersContainer div.last{width:80px;height:320px;padding-
left:23px;border-left:1px dotted #dadada}#pFilters>a{display:block;margin:0
auto;width:75px;height:15px;border-top:1px solid #9d9d9d;border-bottom:1px solid
#494949;-ms-border-bottom-right-radius:3px;border-bottom-right-radius:3px;-ms-
border-bottom-left-radius:3px;border-bottom-left-radius:3px;background:#333 no-
repeat center center url(../img/pantalla_int/pest.png)}ul.jDaySelectList li{line-
height:15px}#pFilters .jDayAutocomplete,#pFilters .jDaySelect{margin:0 22px 10px
0}#pFilters .jDayAutocomplete,#pFilters .jDaySelect,#pFilters .jDayAutocomplete
input[type="text"],#pFilters .jDaySelect input[type="text"]
{height:24px;width:138px}#pFilters .jDayAutocomplete ul,#pFilters .jDaySelect
ul{margin-top:24px}#pFilters .jDaySelect a{right:6px;top:9px}#pFilters
.jDayAutocomplete input,#pFilters .jDaySelect input{padding-
right:25px}span.plus,span.id,span.phone{display:inline-block;vertical-
align:middle;margin:0;padding:0}span.plus,span.phone{width:14px;height:14px}span.id
{text-align:center;cursor:pointer;color:#4aa8c1;font-
weight:bold}span.phone{background:url(../img/pantalla_int/offline.png) center
center no-repeat;float:right}.SummaryBox *{font-size:12px;line-
height:30px}.sB2{width:388px;margin-left:15px;height:192px}.SummaryBox
p{margin:0;padding-bottom:7px;border-bottom:dotted 1px #dadada;font-
weight:bold;font-size:14px}.SummaryBox span{float:right;text-align:right;margin-
left:15px}.SummaryBox ul{list-style:none}.SummaryBox table span:last-of-
type{border:none}.SummaryBox table span{border:none;display:inline-block;padding-
left:15px;cursor:pointer}.SummaryBox table{width:97%;margin-left:6px}.SummaryBox
table,.SummaryBox table tr,.SummaryBox table td{border:none;background:#f6f6f6;-
webkit-box-shadow:none;-ms-box-shadow:none;box-shadow:none}#pnlAmountSummary{-moz-
min-width:300px;-ms-min-width:300px;-o-min-width:300px;-webkit-min-width:300px;min-
width:300px;width:auto;height:192px}#serviceDetail #edit{color:#fff}#serviceDetail
#tblServicesRefresh{margin:0 15px 0 0}#serviceDetailPopUp{border:0
none;height:100%;left:0;padding:4px;position:fixed;top:0;width:100%;z-
index:101}#serviceDetailPopUp iframe{border:0 none;height:calc(100% -
5px);width:calc(100% - 5px)}#lblMaxReached{margin:-12px auto 10px auto;text-
align:center;font-
size:14pt;display:block;background:#ebebeb;padding:10px;width:97%;-ms-border-
radius:3px;border-radius:3px;border:1px solid
#c1c1c1}###########################################################################
###################################################################################
###################################################################################
###################################################################################
###################################################################################
#################################################################�\��

#��d�9�#���#C###��f���E#w�jB�#��z#Gh#���&��#�{&#iY��nU;UC��ZO�*Ś:�EA#>f�����67�ε�#0
v#��#��
�#t##}����}#!��|cC�#U�?`�`�#%�7kp#T���#'#�q7ҨnL�3;-
����q2�FN�#��pN\#�.q*{��]�n�s##1�#f#n���Y�҃�n�C#�#���6�Ѷ�>�NQD�G�$��*
f�[��#�C �#m�#M#�>#O��#����X�#���#w3#�PR
���W��1Y�Y��Q�fB##]"��I�b#�@���2#�p##�U�##J��=��G��zF!�‫�ݍ‬##$f���K��u##�z!?
d���.��s9c�կ��#�A�#wU#O)#�6#a#)##`:/C������T#s�Z�W�h����RK-!�%�#�c-
#7Y#�����KM�Q�#�cSKb�I�d}#a;�eǬcW������#�z�nR]P�<1�!�#�#L�Fsl��7#'I1�0�ŏ#�:var
bookingsGlobal={Js:ec.Bo.C,loadItineraryServices:function(n){try{if($
("#serviceDetail #guestName").html(n.GuestName),$("#serviceDetail
#reservationNumber").html(n.ReservationNumber),n.reservationNumber<=0)throw
settings.Dictionaries.Warnings.ReservationNumber;$
("#tblServices").jDayGrid("empty");var
t={ReservationNumber:n.ReservationNumber};execAjax.get({Url:settings.Urls.Bookings.
Itinerary.Services,Request:bGlobal.getIRequestJson(t,
[settings.Request.GetBaseRequest(n.Client)]),Callback:function(t){try{(t==null||
t.Table==null)&&(t={Table:[]});$("#tblServices").data("bookingData",n);$
("#tblServices").jDayGrid("loadRows",{items:t.Table});t.Table.length>0&&($.each($
("#tblServices .list"),function(){$(this).hide().next().hide()}),$("#tblServices
.menu").each(function(n,t){try{var r=$
(this).parent().find('[name^="serviceType"]'),i=$.parseJSON(r.attr("dataservice")),
u=bAGlobal.getMenuItems({ReservationNumber:cVF.setNumericOrDefault(i.ReservationNum
ber),ServiceNumber:cVF.setNumericOrDefault(i.ServiceNumber),ItineraryService:
{Confirmation:{Number:i.Confirmation.Number,DateTime:null},Cancellation:
{Id:0,Name:"",OtherReason:"",Policy:{Id:i.Cancellation!=null?
cVF.setNumericOrDefault(i.Cancellation.PolicyId):0,Name:""}},ContractNotificationTy
pe:"",Booking:
{Book:i.Booking.Book,Payment:i.Booking.Payment}},ServiceType:i.ServiceType,Section:
bAGlobal.SettingsSection.ItineraryServices,User:settings.Request.BaseAuthorization.
Authorization.User,Actions:{ItineraryServicesRefresh:function(){try{$
("#serviceDetail .refresh").click()}catch(n)
{bGlobal.eventHandler({Code:bookingsGlobal.Js.Code+101,Exception:n})}}}});$
(t).jDayMenuPopup({UseIcon:!0,Items:u})}catch(f)
{bGlobal.eventHandler({Code:bookingsGlobal.Js.Code+102,Exception:f})}}));$
("#serviceDetail").show();bGlobal.setToolTips()}catch(i)
{bGlobal.eventHandler({Code:bookingsGlobal.Js.Code+103,Exception:i})}}})}catch(i)
{bGlobal.eventHandler({Code:bookingsGlobal.Js.Code+1,Exception:i})}},jDayGridScroll
Zero:function(){try{$("#tblItineraries").find(".top .right").css({left:0});$
("#tblItineraries").find(".bottom .left table").css({top:0})}catch(n)
{bGlobal.eventHandler({Code:bookingsGlobal.Js.Code+2,Exception:n})}},parseDataBook:
function(n)
{return{ReservationNumber:n.ReservationId,GuestName:n.GuestName,Currency:n.Currency
,AsciiType:bGlobal.getQueryString("AsciiType"),Client:n.Client}}},filtersGlobal;$
(document).ready(function(){try{$("#serviceDetailPopUp").hide();$
("body").on("click","#tblServices a.edit",function(){bGlobal.showAjaxLoader(!
0);try{var i=$
(this).parent().find('[name^="serviceType"]'),n=$.parseJSON(i.attr("dataservice")),
r=$(this).closest("[id=tblServices]").data("bookingData"),u=$.extend(!0,
{},settings.Request.GetBaseRequest(null,r.Client)),t={ReservationNumber:n.Reservati
onNumber,ServiceNumber:n.ServiceNumber,AsciiType:detailsGlobal.AsciiType,BaseReques
t:u,onLoad:function(){bGlobal.showAjaxLoader(!1)}};switch(n.ServiceType){case
settings.Enums.ServiceTypes.Activity.Id:itinerary.Activity.show(t);break;case
settings.Enums.ServiceTypes.Shuttle.Id:itinerary.Shuttle.show(t);break;case
settings.Enums.ServiceTypes.Car.Id:itinerary.Car.show(t);break;default:bAGlobal.loa
dItineraryService({ReservationNumber:n.ReservationNumber,ServiceNumber:n.ServiceNum
ber,ServiceType:n.ServiceType,AsciiType:bGlobal.getQueryString("AsciiType")})}}catc
h(f)
{bGlobal.eventHandler({Code:bookingsGlobal.Js.Code+301,Exception:f})}bGlobal.showAj
axLoader(!1)});$(document.body).on("click",".list",function(){try{var t=$
(this).parent().find('[name^="book"]'),n=$.parseJSON(t.attr("databook"));bookingsGl
obal.loadItineraryServices(bookingsGlobal.parseDataBook(n));$("#serviceDetail
#tblServicesRefresh").unbind("click").click(function()
{try{bookingsGlobal.loadItineraryServices(bookingsGlobal.parseDataBook(n))}catch(t)
{bGlobal.eventHandler({Code:bookingsGlobal.Js.Code+30201,Exception:t})}})}catch(i)
{bGlobal.eventHandler({Code:bookingsGlobal.Js.Code+302,Exception:i})}});$
(document.body).on("click","#tblItineraries .edit",function(){try{var t=$
(this).parent().find('[name^="book"]'),n=$.parseJSON(t.attr("databook"));bGlobal.ed
itReservation(n.ReservationId,n.AsciiTab,!1,n.Currency);$
("#serviceDetail").hide()}catch(i)
{bGlobal.eventHandler({Code:bookingsGlobal.Js.Code+303,Exception:i})}});$
("#serviceDetail #edit").click(function(){try{bGlobal.editReservation($
("#serviceDetail #reservationNumber").html(),63,!1);$
("#serviceDetail").hide()}catch(n)
{bGlobal.eventHandler({Code:bookingsGlobal.Js.Code+304,Exception:n})}})}catch(n)
{bGlobal.eventHandler({Code:bookingsGlobal.Js.Code+3,Exception:n})}});$
(window).load(function()
{try{permissionControlsGlobal.applyPermissions([{Selector:"#pnlAmountSummary",Permi
ssion:1}])}catch(n)
{bGlobal.eventHandler({Code:bookingsGlobal.Js.Code+4,Exception:n})}});filtersGlobal
={Js:ec.Bo.F};$(document).ready(function(){function u(){try{$
("#ddlChannelsGroup").jDaySelect({LoadCallback:function(){var n=$.extend(!0,
{},settings.Request.GetBaseRequest());$
(this).jDaySelect("load",bGlobal.getJDaySelectData({Url:settings.Urls.Catalogs.Chan
nelsGroups,Request:n}))},FixedWidth:300});$
("#ddlChannels").jDaySelect({LoadCallback:function(){var n=$.extend(!0,
{},settings.Request.GetBaseRequest());$
(this).jDaySelect("load",bGlobal.getJDaySelectData({Url:settings.Urls.Catalogs.Chan
nels,Request:n}))},FixedWidth:300});$
("#acAffiliates").jDayAutocomplete({LoadCallback:function(n){var t={Filters:
{Affiliate:{Id:null,Name:n}},AuthorizedAffiliates:null};$.extend(!
0,t,settings.Request.GetBaseRequest());bGlobal.getJDayAutocompleteData.apply(this,
[{Url:settings.Urls.Catalogs.Affiliates,Request:t}])},Chars:settings.SearchAjax.Cha
rs,FixedWidth:380,EmptyText:settings.Dictionaries.Warnings.NotFoundResults});$
("#ddlAgents").jDaySelect({LoadCallback:function(){var n=$.extend(!0,
{},settings.Request.GetBaseRequest());$
(this).jDaySelect("load",bGlobal.getJDaySelectData({Url:settings.Urls.Catalogs.Agen
ts,Request:n}))},FixedWidth:300});$
("#ddlIsOnline").jDaySelect({LoadCallback:function(){return[{Value:!
0,Text:settings.Dictionaries.OnLine},{Value:!
1,Text:settings.Dictionaries.OffLine}]},FixedWidth:130});$
("#ddlPaymentStatus").jDaySelect({LoadCallback:function(){var t=$.extend(!0,
{},settings.Request.GetBaseRequest()),n=execAjax.getSync({Url:settings.Urls.Catalog
s.PaymentStatus,Request:bGlobal.getIRequestJson(t)});n!
=null&&(n.Options.push({Selected:!1,Text:"&lt;&gt; Pagado",Value:"68"}),$
(this).jDaySelect("load",n.Options))},FixedWidth:130});$
("#ddlCountries").jDaySelect({LoadCallback:function(){var n=$.extend(!0,
{},settings.Request.GetBaseRequest());$
(this).jDaySelect("load",bGlobal.getJDaySelectData({Url:settings.Urls.Catalogs.Coun
tries,Request:n}))},FixedWidth:300});$
("#ddlServicesTypes").jDaySelect({LoadCallback:function(){var n=$.extend(!0,
{},settings.Request.GetBaseRequest());$
(this).jDaySelect("load",bGlobal.getJDaySelectData({Url:settings.Urls.Catalogs.Serv
icesTypes,Request:n}))},FixedWidth:130});$
("#ddlAvailabilityStatusService").jDaySelect({LoadCallback:function(){var
n=$.extend(!0,{},settings.Request.GetBaseRequest());$
(this).jDaySelect("load",bGlobal.getJDaySelectData({Url:settings.Urls.Catalogs.Inte
rnetStatus,Request:n}))},FixedWidth:130});$
("#ddlPaymentStatusService").jDaySelect({LoadCallback:function(){var i=$.extend(!0,
{},settings.Request.GetBaseRequest()),t=execAjax.getSync({Url:settings.Urls.Catalog
s.PaymentStatus,Request:bGlobal.getIRequestJson(i)}),n;t!=null&&(n=[],
$.each(t.Options,function(t,i){i.Value!=65&&n.push(i)}),n.push({Selected:!
1,Text:"<> Pagado",Value:"68"}),$(this).jDaySelect("load",n))},FixedWidth:130});$
("#ddlProviderStatusService").jDaySelect({LoadCallback:function(){var t=$.extend(!
0,
{},settings.Request.GetBaseRequest()),n=execAjax.getSync({Url:settings.Urls.Catalog
s.BookingStatus,Request:bGlobal.getIRequestJson(t)});n!
=null&&(n.Options.push({Selected:!1,Text:"<> Cancelada",Value:"68"}),$
(this).jDaySelect("load",n.Options))},FixedWidth:130});$
("#ddlProcessStatusService").jDaySelect({LoadCallback:function(){var n=$.extend(!0,
{},settings.Request.GetBaseRequest());$
(this).jDaySelect("load",bGlobal.getJDaySelectData({Url:settings.Urls.Catalogs.Proc
essStatus,Request:n}))},FixedWidth:130});$
("#acDestinations").jDayAutocomplete({LoadCallback:function(n){var t={Filters:
{Destination:{Id:0,Name:n}}};$.extend(!
0,t,settings.Request.GetBaseRequest());bGlobal.getJDayAutocompleteData.apply(this,
[{Url:settings.Urls.Catalogs.Destinations,Request:t}])},Chars:settings.SearchAjax.C
hars,FixedWidth:380,EmptyText:settings.Dictionaries.Warnings.NotFoundResults});$
("#ddlNotificationType").jDaySelect({LoadCallback:function(){var t=$.extend(!0,
{},settings.Request.GetBaseRequest()),n=execAjax.postSync({Url:settings.Urls.Catalo
gs.NotificationsTypesHotel,Request:t});n!=null&&$
(this).jDaySelect("load",n.Options)},FixedWidth:130});var n=null;
$.grep(settings.Request.BaseAuthorization.Authorization.User.Roles,function(n)
{return n.Id==70}).length>0&&(n=$("#ddlAgents"));n!
=null&&n.jDaySelect("setSelected",
{Value:settings.Request.BaseAuthorization.Authorization.User.Id,Text:settings.Reque
st.BaseAuthorization.Authorization.User.Name})}catch(t)
{bGlobal.eventHandler({Code:filtersGlobal.Js.Code+3,Exception:t})}}function i()
{try{$("#pFiltersContainer").hide()}catch(n)
{bGlobal.eventHandler({Code:filtersGlobal.Js.Code+4,Exception:n})}}function t()
{try{$("#pFiltersContainer").show()}catch(n)
{bGlobal.eventHandler({Code:filtersGlobal.Js.Code+5,Exception:n})}}function f(){var
f,h,c,g,u,l,a,v,y;try{if(f=bGlobal.getCompany(),!bGlobal.isValidCompany(f))return!
1;var v=!1,y="",n,r=$("#ddlChannels").jDaySelect("value"),p=$
("#ddlCountries").jDaySelect("value");s();n={Filters:{SaleDate:
{From:cVF.date2Ticks($("#dtSaleFrom").datepicker("getDate")),To:cVF.date2Ticks($
("#dtSaleTo").datepicker("getDate").addDays(
1))}}};bGlobal.renderFrames("navBarGlobal",function(t)
{n.Filters.Companies=t.getCompaniesAllowed().map(function(n){return n.Value})});
(cVF.isDate($("#dtArrivalDateFrom").datepicker("getDate"))||cVF.isDate($
("#dtArrivalDateTo").datepicker("getDate")))&&(n.Filters.TravelDate={},cVF.isDate($
("#dtArrivalDateFrom").datepicker("getDate"))&&(n.Filters.TravelDate.From=cVF.date2
Ticks($("#dtArrivalDateFrom").datepicker("getDate"))),cVF.isDate($
("#dtArrivalDateTo").datepicker("getDate"))&&(n.Filters.TravelDate.To=cVF.date2Tick
s($("#dtArrivalDateTo").datepicker("getDate"))));cVF.isBlank($
("#ddlChannelsGroup").jDaySelect("value"))||(n.Filters.ChannelsGroups=[$
("#ddlChannelsGroup").jDaySelect("value")]);cVF.isBlank(r)||
(n.Filters.Channels=[r]);cVF.isBlank($
("#acAffiliates").jDayAutocomplete("value"))||(n.Filters.Affiliates=[$
("#acAffiliates").jDayAutocomplete("value")]);cVF.isBlank($
("#ddlAgents").jDaySelect("value"))||(n.Filters.Agents=[$
("#ddlAgents").jDaySelect("value")]);cVF.isBlank($
("#ddlIsOnline").jDaySelect("value"))||(n.Filters.Media=$
("#ddlIsOnline").jDaySelect("value")==="true"?2:1);h=cVF.setNumericOrDefault($
("#ddlPaymentStatus").jDaySelect("value"));h>0&&(n.Filters.PaymentStatus=[h]);cVF.i
sBlank($("#ddlCountries").jDaySelect("value"))||(n.Filters.GuestCountry=$
("#ddlCountries").jDaySelect("value"));n.Filters.ActivityFilters={};n.Filters.Adjus
tmentFilters={};n.Filters.AdministrativeChargeFilters={};n.Filters.BusFilters={};n.
Filters.CarFilters={};n.Filters.EmissionFilters={};n.Filters.FlightFilters={};n.Fil
ters.HotelFilters={};n.Filters.InsuranceFilters={};n.Filters.OthersFilters={};n.Fil
ters.ShuttleFilters={};n.Filters.Services=[];c=$
("#ddlServicesTypes").jDaySelect("value");cVF.isBlank(c)||
(n.Filters.Services=[cVF.setNumericOrDefault(c)]);var w=cVF.setNumericOrDefault($
("#ddlAvailabilityStatusService").jDaySelect("value")),b=cVF.setNumericOrDefault($
("#ddlPaymentStatusService").jDaySelect("value")),k=cVF.setNumericOrDefault($
("#ddlProviderStatusService").jDaySelect("value")),d=cVF.setNumericOrDefault($
("#ddlProcessStatusService").jDaySelect("value"));if(n.Filters.Services.length>0?
(g=n.Filters.Services[0],u={InternetStatus:w,PaymentStatus:b,BookingStatus:k,Proces
sStatus:d},e(n,g,u)):
(u={InternetStatus:w,PaymentStatus:b,BookingStatus:k,ProcessStatus:d},o(n,u)),cVF.i
sBlank($("#tbServiceName").val())||(n.Filters.ServiceName=$
("#tbServiceName").val()),cVF.isBlank($("#tbGuestName").val())||
(n.Filters.GuestName=$("#tbGuestName").val()),cVF.isBlank($
("#tbConfirmationNumber").val())&&cVF.isBlank($("#tbProviderConfirmation").val())||
(n.Filters.HotelFilters.Confirmations=[],cVF.isBlank($
("#tbConfirmationNumber").val())||n.Filters.HotelFilters.Confirmations.push($
("#tbConfirmationNumber").val()),cVF.isBlank($("#tbProviderConfirmation").val())||
n.Filters.HotelFilters.Confirmations.push($
("#tbProviderConfirmation").val())),l=cVF.setNumericOrDefault($
("#acDestinations").jDayAutocomplete("value")),l>0&&(n.Filters.Destination=l),cVF.i
sBlank($("#tbReservationNumberHdo").val())||(n.Filters.HDOConfirmation=$
("#tbReservationNumberHdo").val()),cVF.isBlank($("#tbGuestEmail").val())||
(n.Filters.GuestEmail=$("#tbGuestEmail").val()),cVF.isBlank($
("#tbGuestPhone").val())||(n.Filters.GuestTelephone=$
("#tbGuestPhone").val()),cVF.isBlank($
("#ddlNotificationType").jDaySelect("value"))||(n.Filters.NotificationType=$
("#ddlNotificationType").jDaySelect("value")),cVF.isDate($
("#dtCancellationDate").datepicker("getDate"))&&(n.Filters.CancellationDate=cVF.dat
e2Ticks($
("#dtCancellationDate").datepicker("getDate"))),a=cVF.setNumericOrDefault($
("#tbReservationNumber").val()),a>0&&(n.Reservations=[a]),v=!1,y="",v)return
bGlobal.showNotify({Title:"Lista de reservaciones.",Message:"<br /><br />¡Lo
sentimos los siguientes filtros no estan implementados:
"+y,Mode:settings.ErrorType.Warning,TimeOut:7}),!1;$.extend(!
0,n,settings.Request.GetBaseRequest());delete
n.Client.IsOffline;n.Client.Company=f;cVF.isBlank(r)||
(n.Client.Channel=r);cVF.isBlank(p)||
(n.Client.Country=p);n=bGlobal.removeAllBlankOrNullJson(n);execAjax.get({Url:settin
gs.Urls.Bookings.Itineraries,Request:bGlobal.getIRequestJson(n),Callback:function(n
){try{if((n==null||n.Table==null)&&(n={Table:[]}),$
("#tblItineraries").jDayGrid("loadRows",
{items:n.Table}),n.Table.length>0&&n.Summary!=null){if(i(),$
("#lblMaxReached").html(n.Status.Message),$
("#countReservations").html(n.Summary.Bookings),$
("#countPrebooking").html(n.TotalPrebooking),$
("#countServices").html(n.Summary.Services),$
("#countAdults").html(n.Summary.Paxes.Adults),$
("#countChildren").html(n.Summary.Paxes.Children),$("#countStInternet").empty(),
$.each(n.Summary.BookingStatus.Availabilities,function(n,t){t.From>0&&$
("#countStInternet").append($('<span tooltip="'+t.Name+":
"+t.From+'">'+cVF.ascii2String(t.Id)+":
<i>"+t.From+"<\/i><\/span>").jDayToolTip())}),$("#countStPayment").empty(),
$.each(n.Summary.BookingStatus.Payments,function(n,t){t.From>0&&$
("#countStPayment").append($('<span tooltip="'+t.Name+":
"+t.From+'">'+cVF.ascii2String(t.Id)+":
<i>"+t.From+"<\/i><\/span>").jDayToolTip())}),$("#countStSupplier").empty(),
$.each(n.Summary.BookingStatus.Bookings,function(n,t){t.From>0&&$
("#countStSupplier").append($('<span tooltip="'+t.Name+":
"+t.From+'">'+cVF.ascii2String(t.Id)+":
<i>"+t.From+"<\/i><\/span>").jDayToolTip())}),$("#countStProcessed").empty(),
$.each(n.Summary.BookingStatus.Processed,function(n,t){t.From>0&&$
("#countStProcessed").append($('<span tooltip="'+t.Name+":
"+t.From+'">'+cVF.ascii2String(t.Id)+":
<i>"+t.From+"<\/i><\/span>").jDayToolTip())}),n.Summary.Sales.Total!=null){var
r=cVF.isBlank(n.Summary.Sales.Total.Amount)?
0:n.Summary.Sales.Total.Amount,u=cVF.isBlank(n.Summary.Charges.Total.Amount)?
0:n.Summary.Charges.Total.Amount;$
("#localTotalSales").html(decF.getCurrencyText(decF.float2FDecimal(r),settings.Site
.Currency));$
("#localTotalCharged").html(decF.getCurrencyText(decF.float2FDecimal(u),settings.Si
te.Currency))}}else cVF.isBlank(n.Status)||cVF.isBlank(n.Status.Message)||
n.Status.Handle!==!1||$
("#lblMaxReached").html(n.Status.Message),t();bGlobal.setToolTips()}catch(f)
{bGlobal.eventHandler({Code:filtersGlobal.Js.Code+601,Exception:f});t()}}})}catch(n
t){bGlobal.eventHandler({Code:filtersGlobal.Js.Code+6,Exception:nt})}return!
0}function e(n,t,i){switch(t){case
settings.Enums.ServiceTypes.Activity.AscII:i.InternetStatus>0&&(n.Filters.ActivityF
ilters.InternetStatus=[i.InternetStatus]);i.PaymentStatus>0&&(n.Filters.ActivityFil
ters.PaymentStatus=[i.PaymentStatus]);i.BookingStatus>0&&(n.Filters.ActivityFilters
.BookingStatus=[i.BookingStatus]);i.ProcessStatus>0&&(n.Filters.ActivityFilters.Pro
cessStatus=[i.ProcessStatus]);break;case
settings.Enums.ServiceTypes.Adjustment.AscII:i.InternetStatus>0&&(n.Filters.Adjustm
entFilters.InternetStatus=[i.InternetStatus]);i.PaymentStatus>0&&(n.Filters.Adjustm
entFilters.PaymentStatus=[i.PaymentStatus]);i.BookingStatus>0&&(n.Filters.Adjustmen
tFilters.BookingStatus=[i.BookingStatus]);i.ProcessStatus>0&&(n.Filters.AdjustmentF
ilters.ProcessStatus=[i.ProcessStatus]);break;case
settings.Enums.ServiceTypes.AdminCharge.AscII:i.InternetStatus>0&&(n.Filters.Admini
strativeChargeFilters.InternetStatus=[i.InternetStatus]);i.PaymentStatus>0&&(n.Filt
ers.AdministrativeChargeFilters.PaymentStatus=[i.PaymentStatus]);i.BookingStatus>0&
&(n.Filters.AdministrativeChargeFilters.BookingStatus=[i.BookingStatus]);i.ProcessS
tatus>0&&(n.Filters.AdministrativeChargeFilters.ProcessStatus=[i.ProcessStatus]);br
eak;case
settings.Enums.ServiceTypes.Bus.AscII:i.InternetStatus>0&&(n.Filters.BusFilters.Int
ernetStatus=[i.InternetStatus]);i.PaymentStatus>0&&(n.Filters.BusFilters.PaymentSta
tus=[i.PaymentStatus]);i.BookingStatus>0&&(n.Filters.BusFilters.BookingStatus=[i.Bo
okingStatus]);i.ProcessStatus>0&&(n.Filters.BusFilters.ProcessStatus=[i.ProcessStat
us]);break;case
settings.Enums.ServiceTypes.Car.AscII:i.InternetStatus>0&&(n.Filters.CarFilters.Int
ernetStatus=[i.InternetStatus]);i.PaymentStatus>0&&(n.Filters.CarFilters.PaymentSta
tus=[i.PaymentStatus]);i.BookingStatus>0&&(n.Filters.CarFilters.BookingStatus=[i.Bo
okingStatus]);i.ProcessStatus>0&&(n.Filters.CarFilters.ProcessStatus=[i.ProcessStat
us]);break;case
settings.Enums.ServiceTypes.Emission.AscII:i.InternetStatus>0&&(n.Filters.EmissionF
ilters.InternetStatus=[i.InternetStatus]);i.PaymentStatus>0&&(n.Filters.EmissionFil
ters.PaymentStatus=[i.PaymentStatus]);i.BookingStatus>0&&(n.Filters.EmissionFilters
.BookingStatus=[i.BookingStatus]);i.ProcessStatus>0&&(n.Filters.EmissionFilters.Pro
cessStatus=[i.ProcessStatus]);break;case
settings.Enums.ServiceTypes.Flight.AscII:i.InternetStatus>0&&(n.Filters.FlightFilte
rs.InternetStatus=[i.InternetStatus]);i.PaymentStatus>0&&(n.Filters.FlightFilters.P
aymentStatus=[i.PaymentStatus]);i.BookingStatus>0&&(n.Filters.FlightFilters.Booking
Status=[i.BookingStatus]);i.ProcessStatus>0&&(n.Filters.FlightFilters.ProcessStatus
=[i.ProcessStatus]);break;case
settings.Enums.ServiceTypes.Hotel.AscII:i.InternetStatus>0&&(n.Filters.HotelFilters
.AvailabilityStatus=[i.InternetStatus],n.Filters.HotelFilters.InternetStatus=[i.Int
ernetStatus]);i.PaymentStatus>0&&(n.Filters.HotelFilters.PaymentStatus=[i.PaymentSt
atus]);i.BookingStatus>0&&(n.Filters.HotelFilters.BookingStatus=[i.BookingStatus]);
i.ProcessStatus>0&&(n.Filters.HotelFilters.ProcessStatus=[i.ProcessStatus]);break;c
ase
settings.Enums.ServiceTypes.Insurance.AscII:i.InternetStatus>0&&(n.Filters.Insuranc
eFilters.InternetStatus=[i.InternetStatus]);i.PaymentStatus>0&&(n.Filters.Insurance
Filters.PaymentStatus=[i.PaymentStatus]);i.BookingStatus>0&&(n.Filters.InsuranceFil
ters.BookingStatus=[i.BookingStatus]);i.ProcessStatus>0&&(n.Filters.InsuranceFilter
s.ProcessStatus=[i.ProcessStatus]);break;case
settings.Enums.ServiceTypes.Other.AscII:i.InternetStatus>0&&(n.Filters.OthersFilter
s.InternetStatus=[i.InternetStatus]);i.PaymentStatus>0&&(n.Filters.OthersFilters.Pa
ymentStatus=[i.PaymentStatus]);i.BookingStatus>0&&(n.Filters.OthersFilters.BookingS
tatus=[i.BookingStatus]);i.ProcessStatus>0&&(n.Filters.OthersFilters.
ProcessStatus=[i.ProcessStatus]);break;case
settings.Enums.ServiceTypes.Shuttle.AscII:i.InternetStatus>0&&(n.Filters.ShuttleFil
ters.InternetStatus=[i.InternetStatus]);i.PaymentStatus>0&&(n.Filters.ShuttleFilter
s.PaymentStatus=[i.PaymentStatus]);i.BookingStatus>0&&(n.Filters.ShuttleFilters.Boo
kingStatus=[i.BookingStatus]);i.ProcessStatus>0&&(n.Filters.ShuttleFilters.ProcessS
tatus=[i.ProcessStatus])}}function o(n,t)
{t.InternetStatus>0&&(n.Filters.ActivityFilters.InternetStatus=[t.InternetStatus],n
.Filters.AdjustmentFilters.InternetStatus=[t.InternetStatus],n.Filters.Administrati
veChargeFilters.InternetStatus=[t.InternetStatus],n.Filters.BusFilters.InternetStat
us=[t.InternetStatus],n.Filters.CarFilters.InternetStatus=[t.InternetStatus],n.Filt
ers.EmissionFilters.InternetStatus=[t.InternetStatus],n.Filters.FlightFilters.Inter
netStatus=[t.InternetStatus],n.Filters.HotelFilters.InternetStatus=[t.InternetStatu
s],n.Filters.InsuranceFilters.InternetStatus=[t.InternetStatus],n.Filters.OthersFil
ters.InternetStatus=[t.InternetStatus],n.Filters.ShuttleFilters.InternetStatus=[t.I
nternetStatus]);t.PaymentStatus>0&&(n.Filters.ActivityFilters.PaymentStatus=[t.Paym
entStatus],n.Filters.AdjustmentFilters.PaymentStatus=[t.PaymentStatus],n.Filters.Ad
ministrativeChargeFilters.PaymentStatus=[t.PaymentStatus],n.Filters.BusFilters.Paym
entStatus=[t.PaymentStatus],n.Filters.CarFilters.PaymentStatus=[t.PaymentStatus],n.
Filters.EmissionFilters.PaymentStatus=[t.PaymentStatus],n.Filters.FlightFilters.Pay
mentStatus=[t.PaymentStatus],n.Filters.HotelFilters.PaymentStatus=[t.PaymentStatus]
,n.Filters.InsuranceFilters.PaymentStatus=[t.PaymentStatus],n.Filters.OthersFilters
.PaymentStatus=[t.PaymentStatus],n.Filters.ShuttleFilters.PaymentStatus=[t.PaymentS
tatus]);t.BookingStatus>0&&(n.Filters.ActivityFilters.BookingStatus=[t.BookingStatu
s],n.Filters.AdjustmentFilters.BookingStatus=[t.BookingStatus],n.Filters.Administra
tiveChargeFilters.BookingStatus=[t.BookingStatus],n.Filters.BusFilters.BookingStatu
s=[t.BookingStatus],n.Filters.CarFilters.BookingStatus=[t.BookingStatus],n.Filters.
EmissionFilters.BookingStatus=[t.BookingStatus],n.Filters.FlightFilters.BookingStat
us=[t.BookingStatus],n.Filters.HotelFilters.BookingStatus=[t.BookingStatus],n.Filte
rs.InsuranceFilters.BookingStatus=[t.BookingStatus],n.Filters.OthersFilters.Booking
Status=[t.BookingStatus],n.Filters.ShuttleFilters.BookingStatus=[t.BookingStatus]);
t.ProcessStatus>0&&(n.Filters.ActivityFilters.ProcessStatus=[t.ProcessStatus],n.Fil
ters.AdjustmentFilters.ProcessStatus=[t.ProcessStatus],n.Filters.AdministrativeChar
geFilters.ProcessStatus=[t.ProcessStatus],n.Filters.BusFilters.ProcessStatus=[t.Pro
cessStatus],n.Filters.CarFilters.ProcessStatus=[t.ProcessStatus],n.Filters.Emission
Filters.ProcessStatus=[t.ProcessStatus],n.Filters.FlightFilters.ProcessStatus=[t.Pr
ocessStatus],n.Filters.HotelFilters.ProcessStatus=[t.ProcessStatus],n.Filters.Insur
anceFilters.ProcessStatus=[t.ProcessStatus],n.Filters.OthersFilters.ProcessStatus=[
t.ProcessStatus],n.Filters.ShuttleFilters.ProcessStatus=[t.ProcessStatus])}function
s(){try{$("#lblMaxReached").html("");$("#countReservations").html(0);$
("#countServices").html(0);$("#countAdults").html(0);$("#countChildren").html(0);$
("#countStInternet").empty().html("0");$("#countStPayment").empty().html("0");$
("#countStSupplier").empty().html("0");$("#countStProcessed").empty().html("0");$
("#baseTotalSales").html(decF.getCurrencyText(decF.float2FDecimal(0),"USD"));$
("#baseTotalCharged").html(decF.getCurrencyText(decF.float2FDecimal(0),"USD"));$
("#localTotalSales").html(decF.getCurrencyText(decF.float2FDecimal(0),settings.Site
.CurrencyIso));$
("#localTotalCharged").html(decF.getCurrencyText(decF.float2FDecimal(0),settings.Si
te.CurrencyIso))}catch(n)
{bGlobal.eventHandler({Code:filtersGlobal.Js.Code+7,Exception:n})}}try{var n=new
Date;n.setHours(0,0,0,0);$("#dtSaleFrom").datepicker({maxDate:n,onSelect:function()
{var i=new Date($("#dtSaleFrom").datepicker("getDate")),t=new
Date(i);t.addDays(300);t=new Date(n);$("#dtSaleTo").datepicker("option",
{minDate:i,maxDate:t});$("#dtSaleTo").datepicker("getDate")>t?$
("#dtSaleTo").datepicker("setDate",t):$("#dtSaleTo").datepicker("getDate")<i&&$
("#dtSaleTo").datepicker("setDate",i)},showMonthAfterYear:!
0}).datepicker("setDate",n);$
("#dtSaleTo").datepicker({minDate:n,maxDate:n,showMonthAfterYear:!
0}).datepicker("setDate",n);$
("#dtArrivalDateFrom").datepicker({onSelect:function(n){$
("#dtArrivalDateTo").datepicker("option",{minDate:n})},showMonthAfterYear:!0});$
("#dtArrivalDateTo").datepicker();$
("#dtCancellationDate").datepicker({maxDate:n,showMonthAfterYear:!0});$("#ui-
datepicker-div").click(function(n){return n.stopPropagation(),!1});$
("#localCurrencySymbolSales,
#localCurrencySymbolCharged").html(settings.Site.CurrencyIso);$
("#btnFlange").click(function(){try{$("#pFiltersContainer").is(":visible")?
i():t()}catch(n)
{bGlobal.eventHandler({Code:filtersGlobal.Js.Code+201,Exception:n})}});$
("#btnDoFilter").click(function(){try{f()}catch(n)
{bGlobal.eventHandler({Code:filtersGlobal.Js.Code+202,Exception:n})}});$
("#btnResetFilters").click(function(){try{$
("#pFiltersContainer").jDayClearForm({none:!0,idStarts:["tb","ddl","ac"]});$
("#dtArrivalDateTo").datepicker("setDate",null);$
("#dtArrivalDateFrom").datepicker("setDate",null);$
("#dtCancellationDate").datepicker("setDate",null)}catch(n)
{bGlobal.eventHandler({Code:filtersGlobal.Js.Code+203,Exception:n})}});$
(document).click(function(){try{$
("#pFiltersContainer").is(":visible")&&i()}catch(n)
{bGlobal.eventHandler({Code:filtersGlobal.Js.Code+204,Exception:n})}});$
("#pFilters").click(function(n){try{n.stopPropagation()}catch(t)
{bGlobal.eventHandler({Code:filtersGlobal.Js.Code+205,Exception:t})}});t();u()}catc
h(r){bGlobal.eventHandler({Code:filtersGlobal.Js.Code+2,Exception:r})}});$
(window).load(function()
{try{permissionControlsGlobal.applyPermissions([{Selector:"#ddlAgents",Permission:2
},])}catch(n)
{bGlobal.eventHandler({Code:filtersGlobal.Js.Code+8,Exception:n})}})###############
###################################################################################
###################################################################################
###################################################################################
###################################################################################
##########################################�1'��r#��Y��`n�²�o��##.�##X#�@�## #��D!
��������#$[P�
�#�S#o�kJk���TD�\##��L���a��J�� ��#?
zB�W�#��i�#�t��9�<K�#7�#��YB4�x�{�Z�VT�L��_ma�]�8�?J_��@�:ཀྵ#6�;�D�
�q�@�0��Zu���R#р^�
Y���#�
=�
��g��C&wz 佪#vd<��든든뻔��
z�t�|
w�9@�$��S�V��j�F�Qp�#�&�V��F�#�1#���� ���‫\�� ה‬
�e#��O.��:gj#��#�_�#�2<��#�����:�F#)�#զ0�c��Z�7#c��s�#��'jD����{�Z�}"P���B�#�#-
�iܽX i# i�G��#��T;�'7�#�WA��
�[�n�4�%#�w#�#�p���n��y�ɾ��Y�
�Wf�J#վ#F;�PE4bh���n��<#�ʕ��*wB��
�֮ #� In����I{���Q&�h��#.�‫��ؖ‬#'##��#K�:�G��<X#>㸎 2
:��#rL� �2�#xʿ&�Æ#��
%�����#aF^�7(�y�`##��W�Wi��5�h#���k2����#���#�=��8
!�#p.�O�a"]#�S�r�!#l~*�e#p2��jr�S��#��V#�j#��m��H_z��
ψ.#7#��a!��\##^��Q8�C���YoѠ�ԏPe#?p�pc#ߏ�##�)K��#p.#I�#���%?
q[..t#�#Ȓ�2��uq���#�3c:&�#�#��#�!
��E}�#����#_#��#'��q��#��o�y>�@bCT##��&�3�wQ�(�ɴvq7,�C7\#��*n#F���Z9#�#/�‫�ڨ‬#��J
�`��^@�q#;�������4�#�#�d ‫ؼ‬#d�к��z2��V�u��##��#?
#���`#�ǻW1#0���GS��>�2�vd#�K7DX�Ʉ5#�##"X6�4#�+. � _��#��0'<����(���XJ��db��#��9�9�#
�=��V�#G8��t#952�i�B##��U`�<E��6?>�FxQ#V�#k"SS%�Eu���_�@9�U�5�(�)�2'�o#���/j�
�T2#��[�3�1��a{�S�B����#����n#nU;Fu{{��q�!7�|c## #�KT#( �c�x#��
#�#�C�$c��E��:��3��K�#��-(6w��‫ح‬B��oP'_�O�#�#A###�#��#c�#��#� ��A�#6�I_�3��'#��'�
߃#tʅ ���se���4%�VL#�~��hԖ�R�7)\��#;i�#�&?#��x���#�Ѱ���n|.�/#X#Jìm�#x#.A��.�r[#
‫��ؿ‬b��S`#�<yH�#PY#�`�g ‫ޚ‬Wu�e��������sT�
%<�#k��^p�p��n##�[D#0���L1��VC#e�Gjx��_#��#��}�t�>����u�#�K3,��6Kx�dw�Vb~�W#4`
�I6�� G�L��"�EF#G���< �#�5�d)�#�5�M��
&~q�[#³
�� N#v����#��~�}�yK}!���5#�\V#��5V#�#�-զ�/!4�� `��a#z�
%��#�Åh�#jΎ��ԠN�p�lF�mZk@��"�#�)�d�dI�Q�a#b�9Z�Y�#+�"�w���rV�1#�#�#H#pp7X��V�t��2�
6����j|OA�U:��� ����շ
�(# �Mm#J�4�� ���#�m##�#$���� [uҵ&#��R� i�x�#[#b�u�gn�a�æЩ��
#m�*A��,*Z�榓#�(�m\YJ5xR��2�#�/�j�/��c��u�#UO#T?‫��ڛ‬G]�#P�X��#�q`���`#��#럂
c#}�j ‫�����ټ‬
^-�#���#C�d�� ��pW�G�Q�H9�*�Y�
I�J�ĉ=�
�kkR��!�.#d�7D�E$�O(r?#.S=Tΐ4u���=���##1�#Gsl#���^�#��+>�����T�z�#��1ɩ�
‫ڳ‬#Bj��#`١p#������###l��3#���$���Y,�зk#K�~G8W��ߔ#�u9��#1Y�"��U���_rV|/E��1e�K��f##7�
�#cJ�?�x�W�7W8�#�㖎��� H�|U��_dK��+#���%#c�ı�uǨ��#y��-#z?���K�-
Y����J�b�Zk�U��#mV������Q ‫�ܭ‬mO#ч,Zb�?g\���w�#}���#b�8�5�V �Ƴ�##5�]�#e\$�\��u���#A
�#�#1b���6��#��
�###w 6�# �‫���ފ‬H*i�#2��έ�*�y�=G�z�U�x�!F�%#����n��[u�u�a��#?l�!�gi�
ޯ �#
��_,971ZG�T#�#��#E|�8�n4��U �NB��z�o�K����
�‫ޞ‬Ph��z��#_-��&A��#�t��V$�N�7$#In
�ϚC��4��.T�s#~��߄��
#I�W�k�-E#�7��#�#_‫�܅‬#�#9#2H�a�,�0Sz#�;��=S#�i9S5�z#�`##�m��>0<V�"S����F�v� U^##|
B�S�#�f�L@��<�m)���C#�G.#�u 腛#g����?#Pf�Ԍ;m�U�=#n�-��U�M:*ώ##��^##�A���j 䢄
�$)L�F“���}=ZTtVnR��� �f_)���o
�#�J'���� �#�I/*#############################################*\
Tabs de Reservaciones
\*#############################################*/

/*div.tabs > ul > li > a.close


{

background: url("img/pant_cliente/close.png") no-repeat scroll center center


rgba(0, 0, 0, 0);
float: right;
height: 26px;
margin-right: 9px;
}*/

#quoteTabs
{
/*width: 100%;
margin: 0;*/
/*padding-top: 5px;
background-color: #2a2a2a;*/
/*float: left;
height: 41px;*/
}

#quoteTabs .master
{
/*padding: 0;
border: none;*/
/*height: calc(100vh - 80px);*/
}

#quoteFrameContainer
{
width: 100%;
border: none;
/*height: calc(100vh - 80px);*/
background: #FFF;
}

#quoteFrameContainer iframe
{
width: 100%;
height: calc(100vh - 80px);
position: fixed;
left: 0;
border: none;
}

/*Databag*/
.databagContent
{
width: 100%;
height: 69vh;
overflow-y: auto;
border-bottom: 1px solid #c1c1c1;
margin-bottom: 15px;
}

.currencyPrice {
color: #0c96c8;
font-size: 18px;
}

.currencyPrice.oneLine {
font-size: 15px !important;
text-decoration: line-through;
}

#pnlContentPayment .jDayCheck {
margin: 0;
}
###################################################################################
###################################################################################
########################################################�ߎW#n�3��KP#���#�О ‫�ز‬mdR
�ҡ
�3_m � ޫ {##�RO7���5#6ˡ�^��D5^~K��6#6��G�P���Q�#�dU��i�����:�g##��p�6X
6�#<��7eN�#��<�7Z�
�#�z&K#p�k#��`h���#�d�ž� �#�����s��M#�Y�#�S�#X��>2�I#ϴ#
^pq##��I���|:#��#��}B�#���#P ‫!�`�ڒ‬nu��# #���N���WA�#���#u
‫���ݵ‬P,Tt�B��:��t�N�M#+><n&aT#��H:8�b��8#�#��1�N#�)��-���n��#E�1�%#FՉ��m��
~�X��##v( �#M<��i��';�#� GA�r� 5r`Y1m���е
�H#e�ps�#G�#:�o‚�'�)�#�һd'��#g�`�&#�����Ʒ�#�0$ga�‫���� �ת‬+.T�����_#��^�}�#�`�>o��
�~(���bG�}��W#n�&�:�#d�B�Ta�=##�b*o���R�z����#��#' ���vi���&�H�}
{#�#'9#&�hv�O�#3/7����l��d����R�#zu�+��EA#���p�@愘�� @8.#��:�P�o#�eD�#0�
‫׀‬ɾ#������Y#�� <x��ć$>##�d
�jm�EGj�Y�J#?��ɵU�S�>� #�#�|���/��Q�ˀ#<#��#6�YY��+)H?Vwg#�#z��]��
#ZH=�xm�;"��#'/��+Pі��&[Z����CYy�‫��ۏ‬ˠ���Z�#�7#Žt�!�N����&E?�H�#�#�#%g}##�
�#���L�'�D)���Q�+#�h�h##�"�G����&�� �f|Ϯ#�N��v�c�#J]�g��d�%�t#D#}O‚#X���!U�}�#
̵,҈nd�#��#���m#Il?V�w1#6�#��
8 ^*�����D��>#�pMl�-o#�`4 涁�GC�@�#�/��`�-�#���#�����#=
(Q:�v�b��T;,7��rV0#�'i�\�k��Ur��0#<�L���Vz�^e#�n��W%�v~#no�#�dMi#�bt�\�ƞ@l
D ‫��פ‬Z_�4�:%#Y#�#2##��~��{�L�\���b[j�
��M#����T#���U��#�d!:+o���-1�#}�#�}�Y�#U!�XO�����œ���z�s�F��@Ձˑ���랕랕랕 �
�Z��#oXxЄ'C#���'!��V#0��?Y�#��#����CK�#�#'#P����h�tV�/L#�V� �###V���\<;#
��� ## �
�uҎ��}ƣ�J##�#��d�8g<!.�2� #:2 ԫ0v
���x� � ‫��ݑ‬$�#����#� #�"�#o�ѿ��#i�/
e��a�F^!RǍ�bI~<�!��#��s~##;��F��xJ'����#�e_�e|#��#��#
�2�j��k-�u,�#�TE��՚T� �n�����#�6j"�c���!1A
�-�)������V� K�
#��#���B��#ec��P�#�A#�+�E)�v�X�`;
%�~##���8&��M���9n��#K�~�7R����s#�_[�>���7.�#�3�#�g7u���#\����?��CD��#
K��#ռs�=Hz��x�t��#�8�� L+p2#�k(�+6��zb}�l_>#�/##�YcW�,%#���/�#��}!
K`Q�##�6��,R�7�KB�Xe\& ‫׀‬,��T�&��mA���
����X�N���#��
s��fb##E��#upZ�z_���
C"#@nƄA���D���{�# ������#çՅ�:_� L�ohSȐ
%�#8d��C��;�a��a8#�#�&�(����Ĩ�x�=>`�n����r`��##���/^#�AhG?�n�# �O�h
˟y�^_�;��#L���#��#D_K� #�B�Z��#�MNc���b|��#�T�l.
#;#�o# #��#X��D�>�#oa���\�#�(�+��G���##�Ň^7�0)���v�v���?!#-+
�?�g�#���#Q\M&�Eq*4#�BP*L#`�7��i�q�x^�i���#�ɾ8�<��KUB#9Vi��#����2�!�B#���~�m#G‫־‬
�:S�����88�ߧʪ\�?G�#W�4�z��#a#!
#+/w��CY/6J��Z##M[3u�M;i�o
�ZH �M �5u�=��#�C��m��Hi��(#��#~V�:�[P&39c#�~������#�xi�hS�|Ŵ2R��##�`x 韰
#�#�{.����
{#V(�� �
(
��j��4|=�L###�#�WtG#��,�m�+�=A4#r�T�:D#�Y�#��E��A 8��7��*�
M*��#�:�#pʷ��\��+Hrü#l±��s�8##���d.>K�##C1�F��
��~2��(�Рn#��##���� #��<i�_���B��u4�I�m�Vl#]f�#o#�k�#�‫���ދ‬Q“��{��#���##�Rv���&L�
�##X�8#���k��##n�K�+#B���,h���Fr+7����!�t#�0ҿ�x�rj�#c#�C#�#��#2�#��#m{�� y�#j|
Y'#�N����H?�a��6#ʋ�h���FfW#�L#�a��S#b�Xf�� ΂ n>b;l �2 �
Ob�##����#�##En#�#�A��#q�#���0�[�// ########################## //
// File:
// Quotes/quotesPanel.js
// Depends:
// All Dependences
// ########################## //
// ReSharper disable DuplicatingLocalDeclaration

// ############# Global NameSpace ############# //


// Important !!! Only for Necesary Interoperation on Master/Parents
var qPanelGlobal = {
// ############# Global Variables ############# //
Code: ec._Qu.qp,
PageCounter: 0,
// ############# Global Functions ############# //
openQuotesTab: function (quoteType, quoteInfo) {
try {
//Para inicializar el contador de cotizadores
if ($('#quoteTabs').find('*[pageCounter]').length == 0) {
qPanelGlobal.PageCounter = 0;
}

qPanelGlobal.PageCounter++;

var quoteNumber = '0000000' + qPanelGlobal.PageCounter;


var quoteConsec = '0000000' + qPanelGlobal.PageCounter + '_' +
qPanelGlobal.PageCounter;

if (quoteInfo != null
&& quoteInfo.Itinerary != null
&& quoteInfo.Itinerary.ReservationNumber != null) {
quoteNumber = quoteInfo.Itinerary.ReservationNumber;
quoteConsec = quoteInfo.Itinerary.ReservationNumber + '_' +
(cVF.isBlank(quoteInfo.Itinerary.OpenNewTab) ? '0' :
quoteInfo.Itinerary.ServiceNumberId);

if ($('#quoteTabs ul li[pageCounter="' + quoteNumber + '"]').length


> 0) {
if ($('#quoteTabs ul li[quoteConsec="' + quoteConsec +
'"]').length > 0) {
qPanelGlobal.activateTab($('#quoteTabs ul li[quoteConsec="'
+ quoteConsec + '"]').attr('quote'));
return;
}
}
}
if ($('#quoteTabs ul ').find('[quote="' + qPanelGlobal.PageCounter +
'"]').length == 0) {
$('#quoteFrameContainer').append('<iframe id="framequote_' +
qPanelGlobal.PageCounter + '" src="' + settings.Wmv.AbsolutePath + 'Quotes/Quote?
pageCounter=' + qPanelGlobal.PageCounter + '&AsciiType=' + quoteNumber + '"
scrolling="no" ></iframe>');
$('#quoteTabs ul li.new').before('<li quote="' +
qPanelGlobal.PageCounter + '" quoteConsec="' + quoteConsec + '" pageCounter="' +
quoteNumber + '"><a class="text">' + cVF.ascii2String(quoteType) + ': ' +
quoteNumber + '<a class="close"></a></li>');
$('#framequote_' + qPanelGlobal.PageCounter).load(function () {
try {
if (quoteInfo != null) {
$('#framequote_' + qPanelGlobal.PageCounter)
[0].contentWindow.quotesGlobal.sendToQuotes(quoteInfo);
}
} catch (ex) {
bGlobal.eventHandler({
Code: qPanelGlobal.Code + 1,
Exception: ex
});
}
});
}
qPanelGlobal.activateTab(qPanelGlobal.PageCounter);
} catch (ex) {
bGlobal.eventHandler({
Code: qPanelGlobal.Code + 2,
Exception: ex
});
}
},

sendToActiveQuote: function(quoteInfo) {
try {
var activeQuote = $('#quoteTabs ul li.active');
if (activeQuote.length > 0) {
var quote = $(activeQuote).attr('quote');
$('#framequote_' + quote)
[0].contentWindow.quotesGlobal.sendToQuotes(quoteInfo);
}
} catch(ex) {
bGlobal.eventHandler({
Code: qPanelGlobal.Code + 3,
Exception: ex
});
}
},

activateTab: function (index) {


try {
$('#quoteTabs ul').children().removeClass('active');
$('#quoteTabs ul').find('[quote="' + index + '"]').addClass('active');
$('#quoteFrameContainer').children('iFrame').hide();
$('#quoteFrameContainer').find('#framequote_' + index).show();
} catch (ex) {
bGlobal.eventHandler({
Code: qPanelGlobal.Code + 4,
Exception: ex
});
}
},

removeTab: function (index, data) {


try {
var status = {Code : 0, Message : ''},
close = function() {
if ($.isFunction($('#framequote_' + index)
[0].contentWindow.quotesDataBagGlobal.close)) {
$('#framequote_' + index)
[0].contentWindow.quotesDataBagGlobal.close();
}

setTimeout(function() {
$('#quoteTabs ul').find('[quote="' + index +
'"]').remove();
$('#quoteFrameContainer').find('#framequote_' +
index).remove();

if ($('#quoteTabs ul li').first().length > 0) {


qPanelGlobal.activateTab($('#quoteTabs ul
li').first().attr('quote'));
}
}, 250);
};

if ($('#framequote_' + index).length > 0 && $('#framequote_' + index)


[0].contentWindow.quotesDataBagGlobal != null) {
if ($.isFunction($('#framequote_' + index)
[0].contentWindow.quotesDataBagGlobal.beforeClose)) {
status = $('#framequote_' + index)
[0].contentWindow.quotesDataBagGlobal.beforeClose();
}

if (status.Code == 0) {
close();
} else {
$.fn.jDayDialog({
Icon: 'wrn',
MinWidth: 350,
MinHeight: 150,
Title: '&nbsp; ' + data,
Close: true,
Content: status.Message,
Buttons: [
{
Text: settings.Dictionaries.Actions.Yes,
Class: 'Last',
Action: function () {
close();
$(this).jDayDialog('close');
}
},
{ Text: settings.Dictionaries.Actions.No, Class: 'gray'
}
]
});

return;
}
}

} catch (ex) {
bGlobal.eventHandler({
Code: qPanelGlobal.Code + 5,
Exception: ex
});
}
},
onParentClick: function () {
try {
if ($('#quoteTabs ul > li').length <= 1) {
$('#quoteTabs ul li.new a').click();
}
} catch (ex) {
bGlobal.eventHandler({
Code: qPanelGlobal.Code + 6,
Exception: ex
});
}
}

};

// ############# Document Ready ############# //


$(document).ready(function () {

try {
// ############# Local Variables ############# //
// All variables used into "page" scope

// ############# DOM Base Init ############# //


// All plugin and Elements value initialization

// ############# DOM Base Actions ############# //


$('#quoteTabs ul li.new a').click(function () {
try {
qPanelGlobal.openQuotesTab(67); //82 = R , 81 = Q, 67 = C
} catch (ex) {
bGlobal.eventHandler({
Code: qPanelGlobal.Code + 7,
Exception: ex
});
}
});

$("body").on("click", '#quoteTabs ul li a.text', function () {


try {
qPanelGlobal.activateTab($(this).closest('li').attr('quote'));
} catch (ex) {
bGlobal.eventHandler({
Code: qPanelGlobal.Code + 8,
Exception: ex
});
}
});

$("body").on("click", '#quoteTabs ul li a.close', function () {


try {

qPanelGlobal.removeTab($(this).closest('li').attr('quote'), $
(this).closest('li').attr('pagecounter'));

} catch (ex) {
bGlobal.eventHandler({
Code: qPanelGlobal.Code + 9,
Exception: ex
});
}
});

// ############# Methods Startup Calls ############# //


// All calls to methods used on starup

} catch (ex) {
bGlobal.eventHandler({
Code: qPanelGlobal.Code + 10,
Exception: ex
});
}

// ############# Local Functions ############# //


// All local functions used into "page" scope
$('#quoteTabs ul li.new a').click();

});

// ############# Window Load, Permissions application ############# //


// Called inside "$(window).load" to ensure that all DOM is
loaded#######################################��#yG#q#&##!=�EW����#D�# ���,
+;_t^T�##V##2؋# ��S��|ԿM��VP<p%�mfm�#ֹ7��#�m����)J��ac%#&�@'(#������‫ݯ‬
���
2#G��#[��d;#��<�X=�Q���+9aC#�^��W##�#�#鮦
A�#��J�#0#�R˧ik��uμ�\#�*}]�ӥ##���j#�Z�EB�ܻ��� H���I�BA ��l�##�+s ����e���t#��
�AǙ&Lŗŗ��eIM�f<#�
����/�l,�#p��#G��Um5����;#��qu�#
ؒ٘
� � U�;����##�q{v#ur#�e�S*S�2����/�8b���2]��d�#�k#�aw�+b~T�.�
�{{�=���T#gb���E
�T�#��#�d���K�w#�
0#C0##�C$��T#1�A�sW}��e�Ǚ��#{�
�4�8)Y�#�&�d`�Y��I���8qd���W����_G=��V#{�#g�c�I@i��7��@�#�d �#�[�g��@{����!
�z#b��7�0�#d��#�^#W#⋻#8#��[��0��Q#*d��#{‫ݽ‬##-F#-#
Z�d�v#�2x�ai@m��@]��#�#�#�R�!/�^�"y3###��Ÿ�0à�~�#�W�!�Q#)��#�X���1R\#_##�"?
��T���U�n�#]ń�v�a/"# ��i��ۣK04u��0���*e!^##��nb�.]� �ĸ�#5#�lH�.l��d;8#/b3�-
�w����UW#�x�];L!�f����� y�|#�r���Rbɲ�m#�dD�$������#�t*�
%gM#�#Z����2�iA����v3#�#�#�#�1=@#�`��#�EXd 0 ‫ޛ‬iT�E�mM�6"R�xg�*H�U#��kpm?uʴ]
�/N~ɢ�De�^��j‫؟‬сϋ��ܳ#��NlL#�3##���Ϩ ߐ�/��v��X��##9m�I����c�#�#^��V1��#���q��l
‫ނ‬#}�"b��BE�{\��e�{)����‫�ܓ‬%�DC##�B�mb����������zJ}�#"��|��`#>���*x#�a��4\��#
c�1M�i�4#�L�O��pz�$z�##��@!V#�Ƿ��t����ck# >��#�6#{v����z��#�ց#���?��?55##A��a�##��
ۗ �H�Kpf*k^x=#�y[� �bK�����v:��j�ooa7o#k
=}��N��凿`���#o_.H#>�#{����%�
�#��<�0��g�#��###��e���Iʵ%�Z ����*{�R#�� ##b�g�d�n�J��#��_K�bD�c)I���&�9 ‫�ؤ‬##�.;]�
W#L<�
VWt�?KY���J�s��.zE�!#�*��#
*]���B�@�#####������C�)�u��5"(8i# `8~�S�#Ѹ#�Ctk�y��p��#&m��L�BJ#
%J�,����N��wwp��� �`i��#�#�5d��#gD]���#"#�w#��ϖ#A3�#^�
��֪2!xZeJ�`)j
�#�F#д�[��l�o[���Yscѯ��#�q�tBjS3#bs�BSB#��R]�H#-r@ф��#��/�skED�!
��}c�9X#��V�A#��#Ja0AZ]��R�&#�2�v#ˬ��!#�g��#
*e���#� ####�B'�/2 ߓIoP�&�`+`�#����#A�7V�V��=Y�#��
a#���_�H_o�'�N�#�6���#�WLnY�##`#3��=�##MJ�m;i�5�#�S��џ9�##�h�Y���#�Ŕ�3�-
�#��#�@##φ�h#�#���Ǧ��=#{/왣
(b73dҍ#=�X�0�6##b���bY����D�##��#�3�#�r�3��aW���$���S�Qj���,)P#��###{A��E#,g��Н�#��
0#{�xN�/��d�[�#O`��ҥ�;�$��gZ#B�!jL�*驎�#�Y�#�Wv��d�!�����V�=��#��‫?ܩ‬
�rĭ��=���5nvY:�^τ�ϑ|�O�Vc��o>�# r#)��#
f��(��`�zz �ÉÆ� =^�7H2Y�#u�
‫�<(��ޛ‬Pm��Zr#�*��)UZw#~�W��'��o�gv�0�<��a#V"SBn#�
����X##q#�k#I�-PwW����##�#�#�q�G��f�M#��5?c��.JQ��o��m#��#�#

6#}�0#S/���R�#8(���#���Y@����D#7�#rLx��#EbV��#�,��G�#&6 6��
3F�+��#�v"�����#������t����
d2#�!���N�}�U#�d�l����g�h��3���N##T��[FqO@�Y)�of�*���f�#���5#��At�@k$�U�#�R��4M�c
E�5�#��ae�<\�#A�}�D>$�FV9]#Ńe���+� Nw���~��g��#�#��jq#ylI�]����U�>���8?#|###k�
CB��eq#Elub�##��g5|�-5�[#�‫ڼ‬##���ӂ�_��#�x
�&#��>�@8�y^�� �#wg���ͱe#z�����C�#��E��ߚX��"��#�B�#Ŗ�f3���-7#�] �G8,�pQu#c�G
‫[ڐ‬#f����<.hO�s���'}N(�#q�ԵŖ��N#9��#"����&�#�Ł�H��z,���Ğ߯�� @#��s#7�Co71s;��_DV:#���
��
�3c##�#ð}�X�{�$�!Z�D_!� ��EH#�>���
´9���3tW�j�#��##�#A�n���ziF;�#�Z9J#Oμx*�~�H#N��z�ܼ�������##$�
2����#b#`‫��پ‬##?�Eet(�����z���٘��
<�##�5##�(����
�hOtO �# ��P�Jq##�� |y#�LǺ~�#|
#��M���Y�GG�#
#�q�##�"�7�����;��75e#}AB���>�z|~4+�P#\��N��y�/#:*��/`�##<z�`�� j��D��)\�m##�#
4����� #�#�#��‫ږ‬t#���‫�آ‬#Z�`G##�-]�v��"�:(]�+�~#1�Z�P���
e����G#����@HQtA���E#��H� �3G�mh]0�Ω�O�ʲ�#n^�f�\�x��%�'#�?
�[��(x�.Z8#�&#���#��#��d��‫�>ז‬R�#ll#!gN��F����L*�'[#��J[#U!��`�p#�Б1�[�2�N3�t!
Lb4"�G##d]�r�,�]�#�1�#.searchServices,
.searchServices iframe {
width: 100%;
height: 100%;
border: none;
}

.lock {
width: 100%;
height: 110vh;
background-color: #ffffff;
display: block;
position: fixed;
z-index: 100;
top: -10px;
line-height: 100%;
color: #959595;
font-size: 25px;
text-align: center;
padding-top: 30%;
}

/*#############################################*\
Tabs Fixes
\*#############################################*/

div.tabsQuotes {
display: block;
position: relative;
margin: 10px auto 0 auto;
width: 97%;
-moz-min-width: 1191px;
-ms-min-width: 1191px;
-o-min-width: 1191px;
-webkit-min-width: 1191px;
min-width: 1191px;
}

/*#############################################*\
Quote Panel
\*#############################################*/
.quoteConfig {
height: 35px;
display: block;
position: absolute;
right: 0;
top: -3px;
margin: 0;
padding: 2px 0;
}

.quoteConfig > * {
display: inline-block;
margin: 0 3px;
height: 32px;
line-height: 32px;
}

.quoteConfig .icon {
width: 31px;
height: 31px;
display: inline-block;
background: center center no-repeat;
cursor: pointer;
}

/*Nombre del Cliente*/


.quoteConfig .guest {
max-width: 280px;
white-space: nowrap;
overflow: hidden;
-moz-text-overflow: ellipsis;
-ms-text-overflow: ellipsis;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
}

/*Afiliado*/
div#acAffiliates.jDayAutocomplete {
width: 200px;
border: none;
}

div#acAffiliates.jDayAutocomplete.highlight {
-webkit-box-shadow: 0 0 5px #51cbee;
-ms-box-shadow: 0 0 5px #51cbee;
box-shadow: 0 0 5px #51cbee;
border: 1px solid #51cbee;
z-index: 200;
}

.quoteConfig .whoPaysIcon,
.quoteConfig .siteIcon {
width: 30px;
height: 30px;
}

.quoteConfig .whoPaysIcon[disabled]{
cursor: not-allowed;
background-color: #d3d3d3
}

/*Moneda*/
.quoteConfig .currencyIcon {
width: 80px;
height: 30px;
}

/*jDaySelect Currency Fix*/


#ddlSitesSelectList,
#ddlWhoPaysSelectList {
margin: 25px 0 0 5px;
}

#ddlCurrenciesSelectList,
#ddlClientCountriesSelectList {
margin: 30px 0 0 30px;
}

/*** Fix to hide ddl control ***/


#ddlSites,
#ddlSites input,
#ddlSites a,
#ddlWhoPays,
#ddlWhoPays input,
#ddlWhoPays a,
#ddlCurrencies,
#ddlCurrencies input,
#ddlCurrencies a,
#ddlClientCountries,
#ddlClientCountries input,
#ddlClientCountries a {
width: 0;
height: 0;
border: none;
}

/*Boton de DataBag*/
.quoteConfig #btnClientBag, .quoteConfig .quoteMenu {
height: 31px;
width: 31px;
display: inline-block;
}

.quoteConfig #btnClientBag {
background: url(img/basket32x32.png) 1px -1px no-repeat;
}

.quoteConfig .quoteMenu {
background: url(img/quotes/quoteMenu.png) no-repeat;
}

.quoteConfig .quoteServicesCount {
background: none repeat scroll 0 0 #FF0000;
-ms-border-radius: 50%;
border-radius: 50%;
color: #FFFFFF;
display: none;
font-size: 8pt;
top: 7px;
left: -5px;
padding: 1px 4px;
position: relative;
}

/*#############################################*\
Service Added Notification
\*#############################################*/

#jDayNotifyAdded {
position: absolute;
top: 35px;
right: 0;
width: 1px;
z-index: 999999999999;
}

.jDayNotifyAdded {
background: url(img/dataAdd48x48.png) center center no-repeat;
position: relative;
display: block;
float: right;
clear: both;
margin: 3px 0;
width: 64px;
height: 64px;
}

/*#############################################*\
Ajax Overlay
\*#############################################*/

.ajax {
top: 0;
left: 0;
width: 100%;
height: 100%;
display: none;
z-index: 1;
opacity: 0.7;
position: absolute;
filter: alpha(opacity=70);
background-color: #FFFFFF;
}

.loading {
top: calc(50% - 32px);
left: calc(50% - 32px);
margin: 0;
width: 100px;
height: 100px;
color: #666666;
font-size: 14px;
z-index: 2;
text-align: center;
position: relative;
background-repeat: no-repeat;
background-image: url(img/LoadingEightBall65x65.gif);
}

/* ############################################# *\
* Panel Data Bag
\* ############################################# */
.databagContent {
width: 725px;
height: 466px;
overflow-y: scroll;
padding-left: 5px;
padding-right: 10px;
}

.databagContent .panel {
margin-bottom: 5px;
}

.databagContent .panel,
.databagContent .box {
padding: 5px;
}

.databagContent input[type="text"],
.databagContent input[type="password"],
.databagContent textarea {
margin-bottom: 10px;
}

.totalDatabag {
height: 41px;
border-bottom: 1px dotted #c1c1c1;
padding-top: 5px;
}

.jDayDialogQuotes .content {
padding-bottom: 0;
}

#pnlDataBag .jDayDialogQuotes .content {


overflow: hidden;
}

#pnlDataBag #btnBook {
margin-right: -15px;
}

#paymentTabs div.tabs > ul {


margin-left: 8px;
}

#paymentTabs .text {
width: 58px;
margin-left: 5px;
}

#paymentTabs [payment] > [active="false"] {


display: block;
}

#paymentTabs [payment] > [active="true"] {


display: none;
}

#paymentTabs [payment] > [active] {


top: 1px;
left: 1px;
z-index: 2;
opacity: 0.65;
background: white;
position: absolute;
width: calc(100% - 1px);
height: calc(100% - 1px);
}
#pnlDataBag .outsideThreshold span, #pnlDataBag .betweenThreshold span {
font-size: 15pt;
}

#pnlDataBag .outsideThreshold span {


color: red;
}

#pnlDataBag .betweenThreshold span {


color: green;
}

#pnlContentPayment .tabs {
width: 100%;
}

/*#pnlChangePayment .tabs {
margin: 10px 0 0 auto;
}

#pnlChangePayment .master {
margin-bottom: 20px;
height: auto;
padding: 15px 15px 65px 15px;
margin-top: 1px;
}

#pnlChangePayment .tabs li {
padding-top: 1px;
}

#sectionPaymentsB2C .Last {
margin-right: 0;
margin-top: 5px;
}*/

#pnlDataBag .priceTag {
font-size: 15pt;
font-weight: normal;
}

#pnlDataBag .priceCoupon {
color: #e82;
}

#pnlDataBag .priceCoupon {
color: #e82;
}

.switchBooking a {
color: #666;
background: no-repeat url(img/ico16x16/iconOK-g.png);
padding-left: 20px;
height: 16px;
}

.switchBooking a.pre {
background: no-repeat url(img/ico16x16/iconClock-g.png);
}
.switchBooking a.active {
background: no-repeat url(img/ico16x16/iconOK-b.png) !important;
color: #0c96c8 !important;
}

.switchBooking a.pre.active {
background: no-repeat url(img/ico16x16/iconClock-b.png) !important;
color: #0c96c8 !important;
}

.switchBooking {
margin: 5px 10px 10px 0;
}

.switchBooking.fR {
margin: 10px 10px 15px 10px;
}

.serviceSubHeader {
margin: 10px 0px 10px 0px;
}
/* ############################################# *\
* Service Data Bag
\* ############################################# */
#pnlServices .panel {
padding: 4px 8px;
margin-bottom: 5px;
}

#pnlServices .header {
margin-top: 0;
margin-bottom: 2px;
}

#pnlServices .header [name="pnlActionButtons"] {


position: relative;
z-index: 2;
}

#pnlServices .header .button {


cursor: pointer;
vertical-align: middle;
display: inline-block;
}

#pnlServices .header .button span,


#pnlServices .header .button label {
top: 0;
left: 0;
float: left;
}

#pnlServices .header .button span {


width: 26px;
height: 26px;
content: ' ';
background-color: #636363;
}
#pnlServices .header .button label {
font-size: 20px;
padding: 4px 2px;
margin-left: 0;
}

#pnlServices [active] {
top: 1px;
left: 1px;
z-index: 1;
opacity: 0.65;
display: none;
background: white;
position: absolute;
width: calc(100% - 2px);
height: calc(100% - 2px);
}

#pnlServices [active="false"] {
display: block;
}

/* ############################################# *\
* Other Class
\* ############################################# */

div[status="0"] {
border: 1px solid #ff0000;
}

div[status="1"] {
border: 1px solid #6EE247;
}

div[status="2"] {
border: 1px solid #ffd700;
}

.delete {
background: url(img/Close16x16.png) center center no-repeat;
}

.enable {
background: url(img/Plus16x16.png) center center no-repeat;
}

.disable {
background: url(img/Less16x16.png) center center no-repeat;
}

.accepted {
background: url(img/accepted.png) center center no-repeat;
}

.denied {
background: url(img/denied.png) center center no-repeat;
}
.progress {
background: url(img/progress.png) center center no-repeat;
}

.servicesDesc {
padding-right: 10px;
line-height: 18px;
height: 200%;
float: left;
width: 68.5%;
}

.totalDesc {
border-left: 1px dotted #c1c1c1;
width: 219px;
float: left;
padding: 15px 10px 0;
margin-top: -14px;
margin-bottom: -14px;
}

/* ############################################# *\
* CLASS PAINT BUS
\* ############################################# */

#pnlServiceBusPackages [id^="popup"] div.content,


#pnlServiceBuses [id^="popup"] div.content {
min-height: 125px;
min-width: 155px;
}

#pnlServiceBusPackages [id^="popup"] div.content .ajax,


#pnlServiceBuses [id^="popup"] div.content .ajax {
display: block;
top: 38px;
height: calc(100% - 38px);
}

#pnlServiceBusPackages [id^="popup"] div.content button.refresh,


#pnlServiceBuses [id^="popup"] div.content button.refresh {
display: none;
margin: 35px auto;
}

.buses {
padding: 0;
width: 100%;
height: 270px;
overflow-y: scroll;
}

.bus {
width: 100%;
margin: 5px auto;
}

.bus > h6 {
text-align: center;
color: #0c96c8;
}

.rear,
.body,
.front {
height: 246px;
display: inline-block;
float: left;
background: center center repeat-x;
}

.rear {
background-image: url(img/Bus/bus-rear.png);
width: 36px;
}

.body {
background-image: url(img/Bus/bus-body.png);
}

.front {
background-image: url(img/Bus/bus-front.png);
width: 108px;
}

.row {
margin-top: 14px;
display: inline-block;
float: left;
}

.hallway,
.seat,
.seat_tv,
.wardrobe,
.kitchen,
.bathroom,
.bathroom_men,
.bathroom_women {
width: 50px;
height: 35px;
margin: 7px 0;
}

.seat {
background-image: url(img/Bus/emptySeat.png);
cursor: pointer;
}

.seat_tv {
background-image: url(img/Bus/tvSeat.png);
cursor: pointer;
}

.seat span,
.seat_tv span {
line-height: 35px;
display: block;
width: 22px;
text-align: center;
margin-left: 19px;
font-weight: bold;
color: #000;
}

.seat.taken {
background-image: url(img/Bus/takenSeat-02.png);
}

.seat_tv.taken {
background-image: url(img/Bus/tvTakenSeat-02.png);
}

.seat.occupied {
background-image: url(img/Bus/occupiedSeat.png);
cursor: not-allowed;
}

.seat_tv.occupied {
background-image: url(img/Bus/tvOccupiedSeat.png);
cursor: not-allowed;
}

.wardrobe {
margin-left: 5px;
background-image: url(img/Bus/busWardrobe.png);
}

.kitchen {
margin-left: 5px;
background-image: url(img/Bus/busKitchen.png);
}

.bathroom, .bathroom_men, .bathroom_women {


margin-left: 5px;
background-image: url(img/Bus/busBathroom.png);
}

.seat.occupied span,
.seat_tv.occupied span {
/*display: none;*/
color: #FFF;
}

.seat.taken span,
.seat_tv.taken span {
/*display: none;*/
color: #000;
}

.seatsBus .panel {
padding: 2px 0 0;
}

.seatsBus .panel .seat,


.seatsBus .panel .seat_tv,
.seatsBus .panel .wardrobe,
.seatsBus .panel .kitchen,
.seatsBus .panel .bathroom,
.seatsBus .panel .bathroom_men,
.seatsBus .panel .bathroom_women {
margin: 2px 0 0;
height: 35px;
width: 50px;
margin-left: auto;
margin-right: auto;
cursor: help;
}

.seatsBus [name="passengers"] [name="passenger"] input {


margin-bottom: 0;
}

.seatsBus [name="passengers"] [name="passenger"] label {


padding-top: 5px;
font-size: 18px;
}

[id^="popup"] [passenger] label {


cursor: pointer;
}

[id^="popup"] [passenger] {
padding: 5px;
}

[id^="popup"] [passenger].selected {
border: 1px solid #0c96c8;
}

div.tabsQuotes > ul li {
padding-top: 0;
}

div.tabsQuotes > ul li > .ico24 {


width: 40px;
height: 35px;
}

/* AUTORIZACIONES DE PAGOS DATABAG */


/* ReSharper disable once Html.AttributeNotResolved */
#paymentTabs div[status] .authorization {
top: -12px;
z-index: 2;
width: 28px;
height: 28px;
display: none;
position: absolute;
border-radius: 18px;
-ms-border-radius: 18px;
left: calc(94.5% - 15px);
border: 1px solid #B7B7B7;
background-color: #F6F6F6;
}
#paymentTabs div[status] .authorization.authUpRight {
left: calc(99.5% - 10px);
}

/* ReSharper disable once Html.AttributeNotResolved */


#paymentTabs div[status] .authorization > .iconAuth {
margin: 1px;
width: 24px;
height: 24px;
cursor: pointer;
display: block;
}

/* ReSharper disable Html.AttributeNotResolved */


#paymentTabs div[status="2"],
#paymentTabs div[status="2"] .authorization {
border: 1px solid #ffd700;
}

#paymentTabs div[status="2"] .authorization > .iconAuth {


background: url(img/progress.png) no-repeat center center;
}

#paymentTabs div[status="1"],
#paymentTabs div[status="1"] .authorization {
border: 1px solid #6EE247;
}

#paymentTabs div[status="1"] .authorization > .iconAuth {


background: url(img/accepted.png) no-repeat center center;
}

#paymentTabs div[status="0"],
#paymentTabs div[status="0"] .authorization {
border: 1px solid #ff0000;
}

#paymentTabs div[status="0"] .authorization > .iconAuth {


background: url(img/denied.png) no-repeat center center;
}

#paymentTabs div[status="0"] .authorization,


#paymentTabs div[status="1"] .authorization,
#paymentTabs div[status="2"] .authorization {
display: block;
}

/*.quoteEmailMenu span{
display: inline-block;
width: 33%;
}*/

/*.quoteEmailMenu span a {
display: block;
margin: 0 auto;
width: 24px;
height: 24px;
background: no-repeat center center;
}*/
/*.quoteEmailMenu span a[data-lang=ESP] {
background-image: url(img/flags/24/MX.png);
}

.quoteEmailMenu span a[data-lang=ING] {


background-image: url(img/flags/24/US.png);
}

.quoteEmailMenu span a[data-lang=POR] {


background-image: url(img/flags/24/BR.png);
}*/

[id^="pnlService"] > h1 > span {


cursor: pointer;
}

div.tabs > div.master {


margin-bottom: 10px;
}
###################################################################################
###################################################################################
###################################################################################
#####pnlCtiNotes {
position: fixed;
bottom: 0;
border: 1px solid #666;
}

#pnlCtiNotes .flange {
width: 50px;
height: 25px;
display: block;
margin: -25px auto 0;
background: #666 url(img/notes24x24.png) center center no-repeat;
-ms-border-top-left-radius: 3px;
border-top-left-radius: 3px;
-ms-border-top-right-radius: 3px;
border-top-right-radius: 3px;
cursor: pointer;
}

#pnlCtiNotes > .notes > textarea {


margin: 5px;
width: calc(100% - 10px);
height: 100px;
}
###################################################################################
###################################################################################
###################################################################################
###################################################################################
##############################################################################�,a�m
T�r#P�g�]ZD'?ѐr�5F#3#C#(#�(#C###M���q;�#���#�7F#Ky
B�}n� �9)���V#P������~����3�Ӣ##�&�2W��mg�z��� �
MmE �#W�##msR
���}M�k#lQ�(�]݅ �� ##!�)-�:�q��Y#�u�t�Dx�# ��#�#�B� �0dd�����ɚGG�ex�v##9:�#�Ơ>>g
#�,��q4�<"�-���F�‫��ؤ‬#���##�##N�:EГ/�����N�摨��
�^��s)�W#�n�#�#ֹ1&���pM�г�#��#Q"K#�#pP�x1#���Vj#�G�Q��4�Ts#��s�#�J�Q�������
�‫ݯ‬
1E#2�22�#H6J���y6�Hȝ~�.-9�*���N�Q5�‫ؼ‬T{��R�!Dr�+�B8�����^hH��a#�#=�5e�#�!���slD�
wL�)�~�����P�s)�qoT�:pV;�rF�{E���#z#�>+##u�#Ӕ����:#���l�B�#V��
�1IN[��l###H&Q����#S#�##�ga�T[�@�\DWWqF�‫>إ‬#��U:#h���O�/h~�_��?
�#��#{�n��#�X�H#��#�.Զʇ�Ȥw#;���E��#"�D�[^�4�Z��J��_��U��� '5�-
9#�#�Ys#�Ar#��mL�.���#�V/���n��s�L#mo� ���R�L,"�n�K���\�ɬ�Ճ^�l�����뗅 ‫ڕ‬HbN
‫�ݿ‬G#��\#��#g##D#��u3`�#O�
�#�iZ�h##>�uQl�&��7#��ƣs�{"�2�#�0�Q#�#a�#�LS AMv����Nbf��P�p#��&ӑ�2GSr##H���L-G��ߎ
1z�N�Vs�E#�n�*{���|�#�(����###
y�#��#�#Q�~�#�d��F#�m:(�#�XW�d##|xsV#��<#Q#J���O@/��9#�#��y�-#�?��‫ۈ‬#�=�+�H#?
#V�Y�x###K|�w
�#�1Eo"N��#��[�#
(��d#���?
r�[Vh##�PTaT�&##;��#d��J����G�t�1�#���#���#�TG��#�D4���9�#���]�����}S`��0;W#�$�N1�
���xk=�"7r4��'ϩ��^#|#
d
+�#�T���7���5# ‫<מ‬L�H�(3;8�¾–e7��#3�#��#��##��‫`ڬګ‬$
">W�ay�#LE��#��#�/�S��#딸#.#Y4@��KY#�‫�؀‬P���#�>#�x�5�瘂'"}"S�a�##f</��>d����## �#
�R�D����9�#�#f-)�#�'0`c�
��J<Y���6�‫��ڝ‬#�R#�Q�}���:��i��d��;;�8��‫�܄‬#�##�ȯ##��‫��ؙ‬ q!
�q{��� ���
�N �/" �Δ�#b##V�<��n�l�?y�Ӗ�sx}�Qq�e����N�l#�##;�#�e��B�_Yόn�e�'���I
�$���K�k�##_?���#��_#%�/�:�(t�P�k�#4a�� ��B����#���#�p#�_�#�
%#6�Ձ��K#*��##�#�Cm#�8kM�M�##Tit�#�l0��h�#��)r��3#Ԅ[�N���l��h��#��F���P�#f �!��r�?
�## �C���Z�#;�#�=�#�MB^�*��Ah#$��'�9#ȸh.��
ۣ٘��c#If<#�..~#�I�o��#�(Aa
�##e�����Y[����a##�}�#�s#�"�#'��G�j�!/�#�\#��J���Z3�;�]�#LD��[,##Cư�!
5S��#4��g�@##�f�]e��cȸ�S#S=���#�q��'�[�]�#�TU���k��#�JkJ#���oS�#�##)�#P�g��H#�;)##�
�^�I���-4k�am#��Z�7��3��#{m6#A#��k�}�s=3&��`J#M6#��S��U��N0+�ͽDb71Ǐ�����hP���#�-
����g##e�#Oa��^>I�#RN{�%-��@I~�###�w �
t#�#r#j��A��]tdx~O��2�#�q1�#P(5~:��P#��]饔�:%Q##.vq�y�#��kF�(� �8#��C�Na��L�$�
#�*ыr##����:#W_|#bn�Ei58�)��#�|#�#����#�-�d���
‫"ޜ‬x^���#�#Zʆ#Y��#���P��##��S��W�g��#�m��^�0��vC�/� �#��#%�ӟ#1#7HD�='�#�� �
�(u#MmE!
�?p30#|��L�yv9:1m
y ��/�#Zq�#�%#��l%��
:�##l�r#��V˚֙�#k#���Y3k�#�u#W#���X��#��w�eBN#`⋚b�UJZ��[j_}���Y�d�I��#|
��#����ƳK�y'�;l��4�^�;��sVix���K���Z�‫��و‬#|#nD�V�w�Q%�j�0>#X�@#�#@��
����#�(l���#O�c##+�\<CwF
Vg#�^��#����R{�Y�4��W�#���+#PL��o��DU�vp��ۖu�?����/b�t�� ɹ�
�ld&^ �&@�P_$k#### �#��
(E�00����JB#��+aŬ�c�$H�NW#���#�
��6#+�d���A�Uq�#��m"A,�?����C�#k�p�9��‫�ܧ‬a
o�컼뻔컼���n/��Z��#8�##Bq#~L]��##zV���r�.v_#D���3#�Z��Сk�.�<bx�B#�#6����
�=Ӕ�we#<&AP�#/��?g/‫�ڪ‬p��# #���0�#"��]���ߜ{b#$F#�#�g����
���~�{w%:m#/M�T�##H|
��X##�###:#�+:0##+#�k<L��/#�DJ��#����Ȉ��W�LR��1�G�KŋWn��b�g�#���}�
���#��`��#�q�#T�#z@�7#j�e�#����#˶�4C�9�#*kC��Ȏ^{#���g!
�_��P6�)0�#~#�L��3v)P������&$#�#��pI�+C�����Z;�H�S�f?M## �R��|�mh�@�G�~�O>�
�"#T#@#&}�/#����iY&�62��Vb��# ��ả��E�K�c�#�u#y�-���#I#�O��<#2���#�nf?�#�
3ۢ ��I��[�*#�#ղ ‫ڝ‬N��}?/�-Ċ"‫س‬o֊6��#�e�#�[��##X���v}���K� �� a2]�
�A���� U �V �4v�#�#Էg#(###�d�d/*Exclusive Deals*/
���
.hotdeal {
position: absolute;
padding: 0 0.5em;
font-size: 1.200em;
margin: 0 0 0 0;
line-height: 1.875em;
color: #e6e2c8;
border-radius: 0 0.156em 0.156em 0;
background: #F76D08;
box-shadow: -1px 2px 3px rgba(0,0,0,0.5);
left: 0px;
}

.hotdeal:before, .hotdeal:after {
position: absolute;
content: '';
display: block;
}

.hotdeal:before {
width: 0.469em;
height: 100%;
padding: 0 0 0.438em;
top: 0;
left: -0.469em;
background: inherit;
border-radius: 0.313em 0 0 0.313em;
}

.hotdeal:after {
width: 0.313em;
height: 0.313em;
background: rgba(0,0,0,0.35);
bottom: -0.313em;
left: -0.313em;
border-radius: 0.313em 0 0 0.313em;
box-shadow: inset -1px 2px 2px rgba(0,0,0,0.3);
}
/***************************************************************/

/*************************
██████╗ ██╗██████╗ ██████╗ ██████╗ ███╗ ██╗
██╔══██╗██║██╔══██╗██╔══██╗██╔═══██╗████╗ ██║
██████╔╝██║██████╔╝██████╔╝██║ ██║██╔██╗ ██║
██╔══██╗██║██╔══██╗██╔══██╗██║ ██║██║╚██╗██║
██║ ██║██║██████╔╝██████╔╝╚██████╔╝██║ ╚████║
╚═╝ ╚═╝╚═╝╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝
***************************/
.ribbon {
position: absolute;
font-size: 12px;
font-weight: bold;
padding: 3px 20px;
margin: -2px -20px 11px -20px;
color: #F0F0F0;
background-color: #e82;
-webkit-box-shadow: 0 2px 4px #999;
-moz-box-shadow: 0 2px 4px #999;
box-shadow: 0 2px 4px #999;
}

.ribbon:after,
.ribbon:before {
width: 0;
height: 0;
top: 100%;
content: ' ';
position: absolute;
display: block;
}

.ribbon:after {
left: 0;
border-width: 5px 6px;
border-style: solid;
border-color: #666 #666 transparent transparent;
}

/* ------------------------------------------ */
.bookMark {
position: relative;
top: 2px;
right: 8px;
width: 10px;
float: left;
}

.bookMark:before {
content: '';
background: none;
border: 5px solid transparent;
border-bottom-color: #eee;
position: relative;
height: 10px;
bottom: 0;
}

/* ------------------------------------------ */
.bookMarkLabel {
color: #e82;
border:1px dotted #e82;
background-color: transparent;
height: 20px;
position: relative;
display: inline-block;
font-size: 12px;
font-weight: bold;
padding: 2px;
margin-right: 4px;
margin-left: 2px;
}

/* ------------------------------------------ */
.corner-ribbon {
display: none;
width: 150px;
background: #e82;
position: absolute;
top: 15px;
left: -40px;
text-align: center;
line-height: 30px;
letter-spacing: 1px;
color: #f0f0f0;
font-family: Arial,sans-serif;
font-weight: bold;
transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
}

/* Custom styles */
.corner-ribbon.sticky {
position: fixed;
}

.corner-ribbon.shadow {
box-shadow: 0 0 3px rgba(0,0,0,.5);
}

/* Different positions */
.corner-ribbon.top {
top: 15px;
}

.corner-ribbon.top.left {
left: -40px;
transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
}

.corner-ribbon.top.right {
right: -40px;
left: auto;
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
}

.corner-ribbon.bottom {
bottom: 15px;
}

.corner-ribbon.bottom.left {
top: auto;
left: -40px;
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
}
.corner-ribbon.bottom.right {
top: auto;
right: -40px;
left: auto;
transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
}

/* ************************
COLORS
** ***********************/
.ribbon.white, .ribbon.white, .corner-ribbon.white {
background: #f0f0f0;
color: #555;
}

.ribbon.black, .corner-ribbon.black {
background: #333;
}

.ribbon.grey, .corner-ribbon.grey {
background: #999;
}

.ribbon.blue, .corner-ribbon.blue {
background: #39d;
}

.ribbon.green, .corner-ribbon.green {
background: #2c7;
}

.ribbon.turquoise, .corner-ribbon.turquoise {
background: #1b9;
}

.ribbon.purple, .corner-ribbon.purple {
background: #95b;
}

.ribbon.red, .corner-ribbon.red {
background: #e43;
}

.ribbon.orange, .corner-ribbon.orange {
background: #e82;
}

.ribbon.yellow, .corner-ribbon.yellow {
background: #ec0;
}

/*************************
██████╗ ██████╗ ██╗ ██╗██████╗ ██████╗ ███╗ ██╗
██╔════╝██╔═══██╗██║ ██║██╔══██╗██╔═══██╗████╗ ██║
██║ ██║ ██║██║ ██║██████╔╝██║ ██║██╔██╗ ██║
██║ ██║ ██║██║ ██║██╔═══╝ ██║ ██║██║╚██╗██║
╚██████╗╚██████╔╝╚██████╔╝██║ ╚██████╔╝██║ ╚████║
╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝
***************************/
.coupon {
border-width: 1px;
border-color: #e82;
border-radius: 3px;
border-style: dotted;
padding: 2px 3px;
}

[coupon] > .coupon {


margin: 2px 0;
border-width: 1px;
}

[coupon] > .ribbon,


[coupon] > .corner-ribbon {
display: block;
}

[coupon] > .bookMark:before {


background: #e82;
}

[coupon] > .ribbon a {


color: #FFF;
}

[coupon^="hidden"] {
overflow: hidden;
}

#pnlServices [coupon] > .infoContainer {


position: relative;
}

#pnlServices [coupon] > .corner-ribbon {


z-index: 1;
}

#pnlServices [coupon] > .corner-ribbon.top.left {


top: auto;
left: -50px;
}
###################################################################################
###################################################################################
###################################################################################
###################################################################################
###################################################################################
#############################################################################�.�L�
%��=�ifv��:�o��m|t�� ֨ #`9W�L��#��#e��f�hp��!}F�N��y�\���\�z�%��E?##��D[M�%�}]�t�
�\XI�###$/#6L#��#/L&�+�#�߂���A�ny�����1|9#�#o��U#�J��<,##�m��)��sN`,#�E��t�!
�#��Ҵ�j�O���ś�v.##�S���"�#Itw�mr�#�ad
�z8�`#g!�Bu���#L��SQ;��#tcI�r�V8� Z�.�#
F#ʿʿG�}U[�'�h�����r##���#R�u�RW#�#g�J��$��9�}#
#xƱ�+#��K6##�m�˃=_x�d�|�BY�'��#��)���/#T)#�F �*�5GI#�{��<R��o#�{bY�V#d��'�#�#�
�###D##x����J�d�F^#o�k����#��pj 뫕뫕뫕��i�ѽ��_�Շ`_�C7��u�##�e#O#W#��ɔ#���T$�X�
‫ז‬I:zl��z��#� tW֝�#xđ��N�/��d#1_�#WCg_�M�#)�//##########################//
//File:
// Bookings/servicesmaster.js
//Depends:
// All Dependences
//##########################//
// ReSharper disable DuplicatingLocalDeclaration

//############# Global NameSpace #############//


//Important !!! Only for Necesary Interoperation on Master/Parents
var servicesMasterGlobal = {
//############# Global Variables #############//
Code: 'servicesMasterGlobal-',
Js: ec.Bo.K,
DefaultConfirmation: { Number: '', DateTime: '1900-01-01T00:00:00',
ReferenceNumber: null },
DefaultPaxes: { Adults: 0, Children: 0, ChildrenAges: [] },
DefaultBase: { Id: '', Name: '' },
DefaultCancellation: {
PenaltyNights: 0,
PenaltyStartDate: '1900-01-01T00:00:00',
PolicyId: 0, //Id de politica de cancelacion
OtherReason: '',
Amount: 0,
Id: '', //Id Motivo de Cancelacion "Catalogo"
Name: '', //Nombre Motivo de Cancelacion "Catalogo"
Description: ''
},
DefaultUser: { Id: '', Name: 'Sin Usuario', DateTime: '1900-01-01T00:00:00' },
DefaultAccounting: {
ExchangeRate: 0,
PerceptionPercent: 0,
Utility: 0,
Agency: {
Public: 0
},
Amounts: {
Sale: { Rate: 0, Total: 0, Paid: 0, Receivable: 0 },
Provider: { Rate: 0, Total: 0, Paid: 0, Receivable: 0 },
},
Commissions: {
Agent: { Percent: 0, Amount: 0 },
CreditCard: { Percent: 0, Amount: 0 },
Affiliate: { Percent: 0, Amount: 0 },
Agency: { Percent: 0, Amount: 0, IsResign: false }
},
Taxes: {
Duty: { Percent: 0, Amount: 0 },
Sale: { Percent: 0, Amount: 0 },
Provider: { Percent: 0, Amount: 0 },
Lodge: {
Sale: { Amount: 0, Percent: 0 },
Provider: { Amount: 0, Percent: 0 }
},
}
},
DefaultAddress: {
Country: { Id: '', Name: 'Sin País' },
State: { Id: '', Name: 'Sin Estado' },
City: { Id: '', Name: 'Sin Ciudad' },
Street: '',
Neighborhood: '',
ZipCode: ''
},
DefaultNotes: {
Client: '', Provider: '', Accounting: ''
},
DefaultGuest: { Name: '', LastName: '', Email: '', Billing: { Address: {} } },
DefaultBooking: { Availability: 0, Book: 0, Payment: 0, Process: 0, Effective:
0 },
//A:66.- No Disponible, B:78.- No Confirmada, P:78.- No Pagada, PR:78.- No
Procesada, E:78.-No Efectiva
DefaultBookingNew: { Availability: 66, Book: 78, Payment: 78, Process: 78,
Effective: 78},
DefaultTax: { Amount: 0, Percent: 0 },

//############# Global Functions #############//


loadTableItineraryUsers: function (params) {
try {
$('#tblItineraryUsers').jDayGrid({
message: settings.Dictionaries.Warnings.NotFoundUsers,
frozen: true,
height: 250,
dateColumns: [],
moneyColumns: [],
onLoad: function (data) {
try {
//Contador
$('#lblItineraryUsersCount').html(data.Count);
} catch (ex) {
bGlobal.eventHandler({
Code: servicesMasterGlobal.Js.Code + 101,
Exception: ex
});
}

},
columnModels: [
{
Width: 0,
Frozen: true,
Caption: params[0]
},
{
Width: 120,
Frozen: true,
Caption: params[1]
},
{
Width: 200,
Caption: params[2]
},
{
Width: 350,
Caption: params[3]
}
]
});
} catch (ex) {
bGlobal.eventHandler({
Code: servicesMasterGlobal.Js.Code + 1,
Exception: ex
});
}
},

//Set Default Values: Itinerary, Itinerary Services


setDefaultValue: function (rp) {
var $rp = {};
try {
$rp = $.extend(true, {}, rp);
$rp.Accounting = $.extend(true, {},
servicesMasterGlobal.DefaultAccounting, rp.Accounting);
if (cVF.isBlank($rp.Accounting.Commissions.Affiliate)) {
$rp.Accounting.Commissions.Affiliate = $.extend(true, {},
servicesMasterGlobal.DefaultAccounting.Commissions.Affiliate);;
}
if (cVF.isBlank($rp.Accounting.Commissions.Agency)) {
$rp.Accounting.Commissions.Agency = $.extend(true, {},
servicesMasterGlobal.DefaultAccounting.Commissions.Agency);;
}
$rp.Notes = $.extend(true, {}, servicesMasterGlobal.DefaultNotes,
rp.Notes);
$rp.Confirmation = $.extend(true, {},
servicesMasterGlobal.DefaultConfirmation, rp.Confirmation);
$rp.Cancellation = $.extend(true, {},
servicesMasterGlobal.DefaultCancellation, rp.Cancellation);
$rp.Paxes = $.extend(true, {}, servicesMasterGlobal.DefaultPaxes,
rp.Paxes);
$rp.Agents.Saler = $.extend(true, {}, servicesMasterGlobal.DefaultBase,
rp.Agents.Saler);
$rp.Agents.Collector = $.extend(true, {},
servicesMasterGlobal.DefaultBase, rp.Agents.Collector);
$rp.Agents.Commiter = $.extend(true, {},
servicesMasterGlobal.DefaultBase, rp.Agents.Commiter);
$rp.Provider = $.extend(true, {}, servicesMasterGlobal.DefaultBase,
rp.Provider);
$rp.AgencyRevokeCommission = $.extend(true, false,
rp.AgencyRevokeCommission);
$rp.Users.Modify = $.extend(true, {}, servicesMasterGlobal.DefaultUser,
rp.Users.Modify);
$rp.Users.Add = $.extend(true, {}, servicesMasterGlobal.DefaultUser,
rp.Users.Add);
$rp.Users.Cancel = $.extend(true, {}, servicesMasterGlobal.DefaultUser,
rp.Users.Cancel);
$rp.Guest = $.extend(true, {}, servicesMasterGlobal.DefaultGuest,
rp.Guest);
$rp.Booking = $.extend(true, {}, servicesMasterGlobal.DefaultBooking,
rp.Booking);
$rp.Tax = $.extend(true, {}, servicesMasterGlobal.DefaultTax, rp.Tax);
if (!cVF.isBlank(rp.Users.Modify)) {
$rp.Users.Modify.Id =
rp.Users.Modify.Id.replace(String.fromCharCode(92), '/'); // remplaza "\" por "/"
}
if (!cVF.isBlank(rp.Users.Add)) {
$rp.Users.Add.Id = rp.Users.Add.Id.replace(String.fromCharCode(92),
'/'); // remplaza "\" por "/"
}
if (!cVF.isBlank(rp.Users.Cancel)) {
$rp.Users.Cancel.Id =
rp.Users.Cancel.Id.replace(String.fromCharCode(92), '/'); // remplaza "\" por "/"
}
if (!cVF.isBlank(rp.Guest) && !cVF.isBlank(rp.Guest.Billing) && !
cVF.isBlank(rp.Guest.Billing.Address)) {
if (cVF.isBlank(rp.Guest.Billing.Address.City.Name) && !
cVF.isBlank(rp.Guest.Billing.Address.City.Id) ) {
$rp.Guest.Billing.Address.City.Name =
rp.Guest.Billing.Address.City.Id;
}
}
} catch (ex) {
bGlobal.eventHandler({
Code: servicesMasterGlobal.Js.Code + 3,
Exception: ex
});
}
return $rp;
},
//Verifico si el servicio de itinerario contiene pagos aplicados
getServiceHasPaymentsApplied: function (dt) {
try {
var request = {
ReservationNumber: dt.ReservationNumber,
ServiceNumber: dt.ServiceNumber,
ServiceType: dt.ServiceType,
};
$.extend(true, request, settings.Request.GetBaseRequest());
var response = execAjax['getSync']({
Url:
settings.Urls.Bookings.Itinerary.Payments.ServiceHasPaymentsApplied,
Request: bGlobal.getIRequestJson(request),
GlobalLoader: false
});
if (response != null) {
return response.HasPayments;
}
} catch (ex) {
bGlobal.eventHandler({
Code: servicesMasterGlobal.Js.Code + 4,
Exception: ex
});
}
return false;
},
//Verifico si el pago tiene servicios aplicados
getPaymentHasServicesApplied: function (dt) {
var data = {
HasPayments: false,
AmountApplied: 0
};
try {
var request = {
ReservationNumber: dt.ReservationNumber,
PaymentNumber: dt.PaymentNumber,
ServiceNumber: 0,
ServiceType: 0,
};
$.extend(true, request, settings.Request.GetBaseRequest());
var response = execAjax['getSync']({
Url:
settings.Urls.Bookings.Itinerary.Payments.PaymentHasServicesApplied,
Request: bGlobal.getIRequestJson(request),
GlobalLoader: false
});
if (!cVF.isBlank(response)) {
delete response['Status'];
$.extend(true, data, response);
}
} catch (ex) {
bGlobal.eventHandler({
Code: servicesMasterGlobal.Js.Code + 4,
Exception: ex
});
}
return data;
},
getUtility: function (localNetRate, localChargeAmount, localPerceptionAmount) {
var localNetRate = cVF.setDecimalOrDefault(localNetRate);
var localChargeAmount = cVF.setDecimalOrDefault(localChargeAmount);
var localPerceptionAmount = cVF.setDecimalOrDefault(localPerceptionAmount);

var residuo = (localChargeAmount - localPerceptionAmount);


var utilityPercent = 0;
if (residuo > 0) {
utilityPercent = (1 - (localNetRate / residuo));
}
return utilityPercent;
},
getDutyPercent: function(dutyAmount, netRate) {
var dutyPercent = 0;
var dutyAmount = decF.fDecimal2Float(dutyAmount);
var netRate = decF.fDecimal2Float(netRate);
if (netRate > 0) {
dutyPercent = (dutyAmount / netRate);
}
return dutyPercent;
},
//Iva Imp Proveedor
getLocalProviderTaxAmount: function (tbLocalNetRate, providerTaxPercent,
providerTaxLognePercent) {
var localNetRate = cVF.setDecimalOrDefault(tbLocalNetRate);
var providerTaxPercent = cVF.setDecimalOrDefault(providerTaxPercent);
var providerTaxLognePercent =
cVF.setDecimalOrDefault(providerTaxLognePercent);
return ((localNetRate / (1 + (providerTaxPercent +
providerTaxLognePercent))) * providerTaxPercent);
},
//Hospedaje
getLocalProviderTaxLogneAmount: function (tbLocalNetRate,
lblProviderTaxPercent, lblProviderTaxLognePercent) {
var lblProviderTaxLognePercent =
cVF.setDecimalOrDefault(lblProviderTaxLognePercent);
return ((cVF.setDecimalOrDefault(tbLocalNetRate) / (1 +
(cVF.setDecimalOrDefault(lblProviderTaxPercent) + lblProviderTaxLognePercent))) *
lblProviderTaxLognePercent);
},

//Agrega numero de Autorizacion para ciertos eventos que requieren autorizacion


de un supervisor.
setAuthorization: function (parentToEvent, auth, callback) {
try {
//Contenedor principal de Autorizaciones
var $parentContainer = $(parentToEvent);
//If not set profile can autorize, get default.
auth.Authorization.canAuthorize = typeof
auth.Authorization.canAuthorize !== 'undefined' ? auth.Authorization.canAuthorize :
permissionControlsGlobal.hasPermission(6);
//1.- Elimino la autorizacion generada previamente
bAGlobal.Authorization.cancel($parentContainer);
//2.- Genero una nueva autorizacion
if (auth.Authorization.IsRequired) {
auth.Authorization.AuthorizationStatus = 2;
//auth.Authorization.Request.Type.Id = 1;
$parentContainer.attr('status',
auth.Authorization.AuthorizationStatus);
$parentContainer.find('.iconAuth').attr('tooltip',
auth.Authorization.Request.Detail);

if (!cVF.isBlank(auth.Authorization.AuthorizationRequestId)) {
$parentContainer.attr('authorizationRequestId',
auth.Authorization.AuthorizationRequestId);
$parentContainer.attr('grouperId',
auth.Authorization.GrouperId);
} else {
bAGlobal.Authorization.add($parentContainer,
auth.Authorization);
}

if (auth.Authorization.AuthorizationStatus == 2) {
$parentContainer.find('.iconAuth').unbind().click(function () {
//Verifica si ya fue autorizado.
bAGlobal.Authorization.check($parentContainer,
auth.Authorization.GrouperId, auth.Authorization.Message, function () {
//Si no esta autorizado intenta autorizarlo.
var settings = $parentContainer.attr('status');
if (cVF.isBlank(settings) || settings === '2') {
//Si tiene permisos para autorizar, se aplica
if (auth.Authorization.canAuthorize) {

dialogs.Services.Common.Authorizations.show({ Authorization: auth.Authorization,


Container: $parentContainer, CallBack: callback});
}
} else {
if ($.isFunction(callback)) {
callback(settings);
}
}
});
});
}

} //IsRequired
}catch(ex){
bGlobal.eventHandler({
Code: servicesMasterGlobal.Js.Code + 7,
Exception: ex
});
}
},

//Valida formulario de itinerario de servicio


validateForm: function (parent) {
try {
var $container = $(parent);
var sourcePanel = $container.attr('sourcePanel');
var auth = { Pending: { Count: 0, Ids: [] }, Denied: { Count: 0, Ids:
[] } };
var process = true;

//Valida datos obligatorios


if (!$container.jDayValidate({
NotifyTimeOut: 5
})) {
return false;
}

var serviceId = null;


if (cVF.isBlank(sourcePanel)) {
serviceId = $('#tbServiceNumber').val(); //Pagos y otros
}
else {
serviceId = $container.attr('serviceNumber'); //Cancelación
servicio liquidado
}

//Valida Servicios Pendientes y No autorizados


if ($container.attr('status') == '2') {
auth.Pending.Count += 1;
auth.Pending.Ids.push(serviceId); //Pagos Pendientes
process = false;
}
if ($container.attr('status') == '0') {
auth.Denied.Count += 1;
auth.Denied.Ids.push(serviceId); //Pagos No Autorizados
process = false;
}
var pendingIds = (auth.Pending.Ids.length > 0) ?
auth.Pending.Ids.join(', ') : '';
var deniedIds = (auth.Denied.Ids.length > 0) ? auth.Denied.Ids.join(',
') : '';

//Personalizando mensajes
var pendingTitle = null,
pendingMessage = null,
deniedTitle = null,
deniedMessage = null;
if (!cVF.isBlank(sourcePanel)) {
pendingTitle = 'Cancelación(s) pendiente de Autorización';
pendingMessage = 'Cancelación(s) pendiente de autorización [' +
pendingIds + ']. Por favor verifique la información con el supervisor.';
deniedTitle = 'Cancelación(s) No Autorizada(s)';
deniedMessage = 'Cancelación(s) no autorizada(s) [' + deniedIds +
']. Por favor verifique la información con el supervisor.';
}
else {
pendingTitle = 'Servicio(s) Pendiente de Autorización';
pendingMessage = 'Servicio(s) pendiente de autorización [' +
pendingIds + '], por favor verifique la información con el supervisor.';
deniedTitle = 'Pago(s) No Autorizado(s)';
deniedMessage = 'Pago(s) no autorizado(s) [' + deniedIds + '].
Deberá ser eliminado ó cambiar la forma de pago.';
}

//Pagos Pendientes de Autorizacion


if (auth.Pending.Count > 0) {
bGlobal.showNotify({
Title: pendingTitle,
Message: pendingMessage,
Mode: 'warning',
TimeOut: 5
});
process = false;
}
//Pagos No Autorizados / Denegados
if (auth.Denied.Count) {
bGlobal.showNotify({
Title: deniedTitle,
Message: deniedMessage,
Mode: 'warning',
TimeOut: 5
});
process = false;
}
if (!process) {
return false;
}
} catch (ex) {
bGlobal.eventHandler({
Code: servicesMasterGlobal.Js.Code + 8,
Exception: ex
});
return false;
}
return true;
},

//Servicio tiene liquidacion de proveedor


loadServicePaid: function (params, dataHead) {
try {
$('#tblServicePaid').jDayGrid({
message: settings.Dictionaries.Warnings.PaidProviderNotfound,
frozen: true,
height: 300,
dateColumns: [10],
moneyColumns: [8, 11],
acumulateColumns: [11],
//zoomColumns: [8],
onLoad: function (data) {
try {
var currencyId = dataHead.Client.Currency;
//Contador de Pagos
$('#lblServicePaidCount').html(data.Count);
//Mda. Iso Local
$
('#lblServicePaidLocalCurrencyIso').html(bGlobal.getCurrencyIso(currencyId));
//Montos Pagado
$
('#lblServicePaidAmount').html(decF.getCurrencyText(decF.float2FDecimal(data.Acumul
ators[0]), currencyId));
} catch (ex) {
bGlobal.eventHandler({
Code: servicesMasterGlobal.Js.Code + 901,
Exception: ex
});
}
},
columnModels: [
//1.- Provider ID
{ Width: 60, Frozen: true, Caption: params[0] },
//2.- Provider Name
{ Width: 160, Frozen: true, Caption: params[1] },
//3.- Numero de pago/liq
{ Width: 80, Caption: params[2] },
//4.- Tipo de Persona
{ Width: 90, Caption: params[3] },
//5.- Compania Vta
{ Width: 90, Caption: params[4] },
//6.-Provider Compania ID
{ Width: 90, Caption: params[5] },
//7.- Moneda
{ Width: 90, Caption: params[6] },
//8.- Tipo de Cambio $
{ Width: 90, Caption: params[7] },
//9.- Notas
{ Width: 130, Caption: params[8] },
//10.- Fecha de pago
{ Width: 200, Caption: params[9] },
//11.- Monto del Pago $
{ Width: 100, Caption: params[10] }
]
});

} catch (ex) {
bGlobal.eventHandler({
Code: servicesMasterGlobal.Js.Code + 9,
Exception: ex
});
}
},

//Liquidacion a Proveedor
showPaidProvider: function (request, callBack) {
try {
execAjax['get']({
Url: settings.Urls.Bookings.Itinerary.ServicePaid,
Request: bGlobal.getIRequestJson(request, []),
Callback: function (response) {
if (response == null || response.Table == null) {
response = { Table: [] };
}
callBack(response);
}
});
} catch (ex) {
bGlobal.eventHandler({
Code: servicesMasterGlobal.Js.Code + 24,
Exception: ex
});
}
},

//Obtener Liquidacion a Proveedor


getPaidProvider: function (request) {
try {
var response = execAjax['getSync']({
Url: settings.Urls.Bookings.Itinerary.ServicePaid,
Request: bGlobal.getIRequestJson(request, [])
});
if (response == null || response.Table == null) {
response = { Table: [] };
}
} catch (ex) {
bGlobal.eventHandler({
Code: servicesMasterGlobal.Js.Code + 24,
Exception: ex
});
}
return response;
},

//Para cambios en Tarifas NETA y A COBRAR


ChangeRate: {

//Tipos de Tarifa que se van a modificar


ModifyRateType: {
BaseNetRateIAN: { Type: 'Base', Name: "NetRateIAN" },
LocalNetRateIAN: { Type: 'Local', Name: "NetRateIAN" },
BaseNetRate: { Type: 'Base', Name: "NetRate" },
LocalNetRate: { Type: 'Local', Name: "NetRate" },
BaseTotalRate: { Type: 'Base', Name: "TotalRate" },
LocalTotalRate: { Type: 'Local', Name: "TotalRate" },
Currency: { Type: null, Exchange: 0 }
},

//Estatus del cambio


ModifyRateStatus: {
IsPaidProvider: false, //Almacena si el servicio está liquidado
RateModified: null, //Almacena el nombre del campo modificado
CurrencyExchangeSaleDate: null, //Almacena el tipo de cambio de la
fecha de venta
IsHaveSupport: false, //En un servicio liquidado, cuenta con soporte
DAF
ExistChangedNetRate: false //Almacena si hubo cambio en Tarifa Neta
},

//Verificar que el nuevo monto de Tarifas Neta y A Cobrar estén dentro del
rango
validateChangeRate: function (controlType, controlName, newAmount,
currencyTC, controlSource, controlReference) {
try {
//Estableciendo el valor original
var originalAmount = controlSource.data('dataControl').lastValue;

//Obteniendo el tipo de tarifa a modificar


var rateType = controlName.substring(controlType.length);

switch (rateType) {
case 'NetRate':
//Verificando que el monto de la Tarifa Neta ingresada no
sea mayor al monto de la Tarifa a Cobrar
if (decF.fDecimal2Float(newAmount) >
decF.fDecimal2Float(controlReference.val())) {
bGlobal.showNotify({
Title: 'Monto superado',
Message: 'El monto de la Tarifa Neta no debe ser
mayor al monto de la Tarifa a Cobrar.',
Mode: settings.ErrorType.Warning,
TimeOut: 5
});
return false;
}
break;
case 'TotalRate':
//Verificando que el monto de la Tarifa a Cobrar ingresada
no sea menor al monto de la Tarifa Neta
if (decF.fDecimal2Float(newAmount) <
decF.fDecimal2Float(controlReference.val())) {
bGlobal.showNotify({
Title: 'Monto no superado',
Message: 'El monto de la Tarifa a Cobrar no debe
ser menor al monto de la Tarifa Neta.',
Mode: settings.ErrorType.Warning,
TimeOut: 5
});
return false;
}
break;
}

//Estableciendo el control que se modifica


servicesMasterGlobal.ChangeRate.ModifyRateStatus.RateModified =
controlName;

//Estableciendo el tipo de moneda de cobro en fecha de venta


servicesMasterGlobal.ChangeRate.ModifyRateType.Currency.Type =
controlType;
servicesMasterGlobal.ChangeRate.ModifyRateType.Currency.Exchange =
currencyTC;

//Si el servicio está liquidado con el Proveedor, presentar diálogo


if
(servicesMasterGlobal.ChangeRate.ModifyRateStatus.IsPaidProvider) {
var $panelChange = $('#pnlChangeRate');
$panelChange.show();
}

return true;
} catch (ex) {
bGlobal.eventHandler({
Code: servicesMasterGlobal.Js.Code + '-validateChangeRate',
Exception: ex
});
}
},

//Obteniendo ID's de controles modificados


getControlName: function () {
var controlSource = null,
controlDestination = null;

switch (servicesMasterGlobal.ChangeRate.ModifyRateStatus.RateModified)
{
case
servicesMasterGlobal.ChangeRate.ModifyRateType.BaseNetRate.Type +
servicesMasterGlobal.ChangeRate.ModifyRateType.BaseNetRate.Name:
controlSource = '#tb' +
servicesMasterGlobal.ChangeRate.ModifyRateType.BaseNetRate.Type +
servicesMasterGlobal.ChangeRate.ModifyRateType.BaseNetRate.Name;
controlDestination = '#tb' +
servicesMasterGlobal.ChangeRate.ModifyRateType.LocalNetRate.Type +
servicesMasterGlobal.ChangeRate.ModifyRateType.LocalNetRate.Name;
break;
case
servicesMasterGlobal.ChangeRate.ModifyRateType.LocalNetRate.Type +
servicesMasterGlobal.ChangeRate.ModifyRateType.LocalNetRate.Name:
controlSource = '#tb' +
servicesMasterGlobal.ChangeRate.ModifyRateType.LocalNetRate.Type +
servicesMasterGlobal.ChangeRate.ModifyRateType.LocalNetRate.Name;
controlDestination = '#tb' +
servicesMasterGlobal.ChangeRate.ModifyRateType.BaseNetRate.Type +
servicesMasterGlobal.ChangeRate.ModifyRateType.BaseNetRate.Name;
break;
case
servicesMasterGlobal.ChangeRate.ModifyRateType.BaseTotalRate.Type +
servicesMasterGlobal.ChangeRate.ModifyRateType.BaseTotalRate.Name:
controlSource = '#tb' +
servicesMasterGlobal.ChangeRate.ModifyRateType.BaseTotalRate.Type +
servicesMasterGlobal.ChangeRate.ModifyRateType.BaseTotalRate.Name;
controlDestination = '#tb' +
servicesMasterGlobal.ChangeRate.ModifyRateType.LocalTotalRate.Type +
servicesMasterGlobal.ChangeRate.ModifyRateType.LocalTotalRate.Name;
break;
case
servicesMasterGlobal.ChangeRate.ModifyRateType.LocalTotalRate.Type +
servicesMasterGlobal.ChangeRate.ModifyRateType.LocalTotalRate.Name:
controlSource = '#tb' +
servicesMasterGlobal.ChangeRate.ModifyRateType.LocalTotalRate.Type +
servicesMasterGlobal.ChangeRate.ModifyRateType.LocalTotalRate.Name;
controlDestination = '#tb' +
servicesMasterGlobal.ChangeRate.ModifyRateType.BaseTotalRate.Type +
servicesMasterGlobal.ChangeRate.ModifyRateType.BaseTotalRate.Name;
break;
}

return { Source: controlSource, Destination: controlDestination };


}, //getControlName

//Calculando el nuevo valor de la Tarifa de acuerdo el tipo de cambio.


getNewRate: function (amount) {
var amountForDestination = 0;
try {
switch
(servicesMasterGlobal.ChangeRate.ModifyRateType.Currency.Type) {
case 'Base':
//amountForDestination = newAmount /
currency.Base.Exchange;
amountForDestination = amount *
servicesMasterGlobal.ChangeRate.ModifyRateType.Currency.Exchange;
break;
case 'Local':
//amountForDestination = newAmount *
currency.Base.Exchange;
amountForDestination = amount /
servicesMasterGlobal.ChangeRate.ModifyRateType.Currency.Exchange;
break;
}
} catch (ex) {
bGlobal.eventHandler({
Code: servicesMasterGlobal.Js.Code + '-getNewRate',
Exception: ex
});
}

return amountForDestination;
}

}, //ChangeRate

serviceIsLiquidated: function (reservationNumber, serviceNumber, client,


callBack) {
try {
var request = $.extend(true, {}, settings.Request.GetBaseRequest(), {
ReservationNumber: reservationNumber,
ServiceNumber: serviceNumber,
Client: client
});

execAjax['get']({
Url: settings.Urls.Bookings.Itinerary.ServicePaid,
Request: bGlobal.getIRequestJson(request, []),
Handle: false,
Callback: function (response) {
var isLiquidated = false;

if (response != null &&


(
response.TableFromLiquidated != null &&
response.TableFromLiquidated.length > 0
|| response.TableFromFolios != null &&
response.TableFromFolios.length > 0
)
){
isLiquidated = true;
}

if ($.isFunction(callBack)) {
callBack(isLiquidated)
}
}
});
} catch (ex) {
bGlobal.eventHandler({
Code: servicesMasterGlobal + 'serviceIsLiquidated',
Exception: ex
});
}
}
};

#########################�#�##�h#�¢�v��XYtP`�V2�nr��5����
�݊DU-�g�`|�?�f����^�aȨ�c#��ƥRi�#��###�!l�#-� �#?B�`�7�@Q#�#�T`���/
��n�#�G#==#��5#�/�
R#��+��#�4#��#['��#��I�Z#Q�Y��#��kT�P�3��#�L�+Ps���'�##�W%#2��싢싢싢�pc
ߡ�G5��l�J@�:Y�OQZ������#���y��#j��\���1�&#F�?Ba>� �V3(#�
q�F^F�"�V,\‫��ױ‬,��,dnIJȟB��؅R������m��Й!G�J�##ӆb?�� pՍʕ ‫ڈ‬
�#k��TD#��#�G�p�7�����#��M�m���_‫�؞‬c��
%c�@B�#i�]�G�H�0b��^k�S\�^���aSw��#�#����ѵ��#����n##� �#0#j���#��3�e=�8#y��`��9#��##�
h���"�
}�#`#{��<���z+q�Y1�O�C/�#3‫ �־‬/h�H��:i;�<�����#�Л��##V#-Eu�>��l!
����I��#���JV$y#�#�#��o�z#R#謇 Ξ�w�>##/u�u#�#��‫ح‬#�J��]F6%?�<#!
##rM#r�<.l#�w�T8}#�:SB$�ր����l��O)E�E[1�#�u�[VfE<j;11�۪��
9լ_#D�#�}Q���3�|#�Ȇ!
�_��2��W�L#���#����,#O��#����xև�Au�#�#��#�g�2Q�v�#�ӌ��s3#��c#�[##��u#��� fYt�v
�,��#����"|����qTb�:�a#�B��!�77Oxc��s#?;�A�k�=���@p��4?
1~#�&a�#��`���[#�Tg��j���½#,K&��e9�f��#��Cz����#��|�q��#Се9#��@\^���as�#�5#P�M��7
�4�U%#��p�<I3Y��v�#��Z��Z�x��##�M#5��R3��ԍ�Yɣ#�嚴'�B��2�t��eB#]�#�
��{W"*�7�@�����:7`�1mU�ry�Y��Ll�����hD�*�����#G�##��OA�؆��L��-Do]7�=LO�C1#��4
��#�<i�s��2p�w3#tdʁt#�%�£#��#�+��#�#���#0�#7�ɂvE�_�v9� 友���#�>�#k*b?�;
@ɷd#S#p�)�#5�p#���P���dN,S��i#��#<��������Ņ�-��Kvb#�36���La~�r��&�r
�#�8�x#7�W���r�k�L#���X�@�)�W�4#��/�t7#q����Hr���9q�#�?
��Ɩ�#�~j�S�[� #�]Ƨ��#P(n²#'#��#|iN���;�� � ��ɽ���
������El 撹
a#)�3�#A��#�#��dvPC�В}�����#u�s�T��vpLv#��-�#}�T,#��e���6�1t<##�����|]]*�&
‫�ܟ‬y##��]#KW�5p��[���#��rU�'hſ(�##����#"r�g#����C��tN��@�8�W#`#l�_,Mկ4=t�kY�uH�t�o�
�&3��;Ϟo##��@#��ˏ�?��#��P$s�L�K�:�8#�q &���// ########################## //
// File:
// Matrix/Authorization.js
// Depends:
// jquery
// errorCode.js
// ########################## //
// ReSharper disable DuplicatingLocalDeclaration

// ############# Global NameSpace ############# //


// Important !!! Only for Necesary Interoperation on Master/Parents
var AuthorizationGlobal = {
// ############# Global Variables ############# //
Code: ec.a,
Authorization: {
AuthorizationRequestId: 0,
AuthorizationCode: "",
ReservationId: 0,
GrouperId: "",
Applied: false,
ValidToDate: null,
AuthorizationStatus: 0,
Service: {
Id: 0,
Name: "",
Description: "",
Number: 0,
Type: "HT"
},
Assigned: {
User: {
Id: "",
Name: "",
Alias: ""
},
Date: null,
Detail: ""
},
Apply: {
User: {
Id: "",
Name: "",
Alias: ""
},
Date: null,
Detail: ""
},
Request: {
User: {
Id: "",
Name: "",
Alias: ""
},
Date: null,
Detail: "",
Type: {
Id: 0,
Name: "",
Description: ""
}
},
Authorize: {
User: {
Id: "",
Name: "",
Alias: ""
},
Date: null,
Detail: ""
}
},
Types: {
MarkUpChange: 1,
PaymentAuth: 2
},
// ############# Global Functions ############# //
// All functions used into Global namespace scope
requestAddAuthorization: function (authorization, callback, beforeCallback,
afterCallback) {
try {
var request = {
CheckAuthorization: authorization
};

if (beforeCallback != null && $.isFunction(beforeCallback)) {


beforeCallback.apply(this, []);
}

execAjax['get']({
Url: settings.Urls.CheckAuthorizations.Add,
Request: bGlobal.getIRequestJson(request,
[settings.Request.GetBaseRequest()]),
Callback: function (r) {
if (callback != null && $.isFunction(callback)) {
callback.apply(this, [r]);
}
}
});

if (afterCallback != null && $.isFunction(afterCallback)) {


afterCallback.apply(this, []);
}

} catch (ex) {
bGlobal.eventHandler({
Code: AuthorizationGlobal.Code + 2,
Exception: ex
});
}
},
requestCheckAuthorization: function (authorization, callback) {
try {
var request = {
CheckAuthorization: authorization
};

execAjax['get']({
Url: settings.Urls.CheckAuthorizations.GetStatus,
Request: bGlobal.getIRequestJson(request,
[settings.Request.GetBaseRequest()]),
Callback: callback
});

} catch (ex) {
bGlobal.eventHandler({
Code: AuthorizationGlobal.Code + 3,
Exception: ex
});
}
},
requestCancelAuthorization: function (authorization) {
try {
var request = {
CheckAuthorization: authorization
};

execAjax['getSync']({
Url: settings.Urls.CheckAuthorizations.Cancel,
Request: bGlobal.getIRequestJson(request,
[settings.Request.GetBaseRequest()])
});

} catch (ex) {
bGlobal.eventHandler({
Code: AuthorizationGlobal.Code + 4,
Exception: ex
});
}
},
requestUpdateAuthorization: function (authorization) {
try {
var request = {
CheckAuthorization: authorization
};

execAjax['getSync']({
Url: settings.Urls.CheckAuthorizations.Update,
Request: bGlobal.getIRequestJson(request,
[settings.Request.GetBaseRequest()])
});

} catch (ex) {
bGlobal.eventHandler({
Code: AuthorizationGlobal.Code + 5,
Exception: ex
});
}
}

};#################################################################################
###################################################################################
###################################################################################
###################################################################################
############################################�6�S"�$fzP�qf ‫ܮ‬F
%��9r`����@��pw�/�E#�#�P�8+[� ,^�P� ��/ѧ 9(�‫ڋ‬u���
ߡ#R�#^�N�1��#�yw�#������I�##E���o���jD��.-��h/�z���7#���#o�Aa���m � X�X#�����e7Z
ִ ͋<�Ѐ���#IMi't_e
#%F�#�K�#�w�d�����6N��#�Ȱ��Q�o���8�$�]Ƹ"�#;
[үT=�c$��x��(��3#�d##3�,�A�c�R�l� �v+q�q�u##�~��R�� ���D\v|
��#9#7�ա���5β`��#�8�iѕ#��UK&#4��x�����Efu�?#.vÞ#�H#j|
�tPe��+�##�XI�fh�����$�e]#X�7D�C�#�V=
��n�eq�?�h 夽#u&��tK##[-Xo'�� �Xl#�w�2�~b�Ah?�r�4#�=�Tu�#Dz���)#��6�@��� @#�#b��
��L.�Sx�,7��#KʇJ�8/#{�Hȯ��y# t##?xY7k->�*#��*�#�)�l�c�#��ՁЪi٪J4��##6�ƗK��}M?
��#M�#V���a��#��y�Ƚ��u�1�_�~�WHi ‫ف‬A0�#b��%��&6�i�+�ӜJ�k�#$�Sr��'s�!F�#��R~�e#
�xX�O#��#�-
8,�HD��##�(6pG#A#��4���/�7�/�V{�'R ᢂ�#�S�#=r�2��####p��g���#^"��a�j|�#�
��'��o#��4�#�t��Z�.�'}���A-
z��]g��ɼ���8��x�>�$9��#�b����g�R�I�@@��#i�1�eR�s���)���#;�p���� ;U�:~X�aƓ���!�o$�6
#3��� #���2��‫�|�� ב‬o>ኻ���#��ԙ#_�tG&�c�Xȋ�d�2)�Ew��22��#5Th�Es��_���t�>A
3v2��c�"C��U�%#6.Pd�4�"�O�帲��-&#p��$-#_H�#n}2�~
ߚx#�#�#HV#�� �l"$8{�u �Q�s#E��kN�C�ӫ����Ar#��$2�s�H#�L:�� �6##c:h/#A
�B-#��ǒ~##:&#n#[#l�VV�l_#�!��aP��5��В�#�Q�#�w�|
�#> �##B �>Xj!Sn+#�9���##�◼�d�Ϣ�ԤK�����e�3�.�|
#&���<z�#��dK�;NR�5��H���RJzo�n@�#�� ��
D�iy�5ʓ�*��7Da�����Z �����
�] �}*3�4.V#N ���##Y�#_2��|#���s�‫ؠ‬
1#����a�To�L�� VR�#��U^#�#��hfF#��\��I7�#ES##m��B#��]���^Jc I�'�� 3@
��2��H#�Pm/#��mb#`�%�@Qz���ꓪ���
l#&UU�#M��-���!�M�،e(eQ�o�s�#�%!�#
��‫��ݐ‬%V#�:=�s|dz���I]wL'���#%����##6##�/?,#-��#]�uI�#��Ή�s�#���r,��!
��#��#�u:�w#/���#�##��TN���0{hl�.L��#njzO##��T���ˋrn��S��#��Ҹ��"��#���@
ͭ
3�;�}��[#D�##�#+�#yY2J## �jR��<�#+�F#)��q۪�uMN�?�Q��l2��(Y�#�#0��'�nZ�^9�� "�!
�#��
]��j�i�G��IJ3��EQ�ÿRƝ�8Ւw�#]�q#x
�"�J�un7�$�#v`9e
��rH$���T�%%AU�+A� �k��"�tVPna� ‫ۈ‬G#��f�#T��#�S}��ES+�d�##>�3�o2�@‫�ס‬s�*;9��pY�q�#��|�
*6##�#mDy���)�J5_�#q#�=�#NR#���##<Q#�P8� �+��#
�A� ��
e��##h���#"W��w�'����HLO�M�#FP�#vj#��J#�3#�##�#T�a��L���#�Zp��� j�ǬFFV�-f�_�s{8��
‫�ڽڽ‬#Y��p����#Wl�&�Ϸ�cU��j<2} �,� ʫ~�Z��t���Y�#���0#
#���Rֲ��:=+c�K�#�'dV�^�%� h��z<�����O� >[V ‫��ص‬A#!�������###Ax��6Qb�fy{F�†#
�ƋhKrJ�Th*Ko�!##<u#�x�r##�ĎOJ{#�`ʩ8���#v#(b�0e]Z��g�
L#욼 5"��s#!�NJ��4�ٗ57#9�#=‫������ א‬#�U 컼랕캊�n*䅨 nh�y��WB��0���#~ 7#Ғ��#
‫ڝ‬Z�hF�Fx)�\�1#6ս2˙#<�� |]�WU�<��5#��V�<##��=5X##�s���=e#�+B#َ85n�S��?a�'�k�r�##<
�?�Qӯ�H6�#|##�#�#�$#��?'�0@��#-E#�SE�#�F��6������
�‫ݮ‬ǹ��eQ�&k���2������Եq#wT�I�#v��0��
�����#O�#�x #�y�S�>�#�#�@HS�ŋ�������#b� AK�#���#B��|
�s6Ӛ�#X,g�t�#y&z����+�Y#��##����#@/�#�a��##v#��b�fۙ ��dOD�]L��4iK����?
�Xgρρ���[��#f�o�|�fm|5�|X^�l�(a��#@#t&�!�^��J7��#�#�y
�Pmf#�vI��"6��k�K�M���V�0Ǻ##`��N�7�0s@c�W5l��#����_-
mG��/��T�3;#4O#���Oû?._�#��#��c�#u`�`���6�;�x�3�##vu�@��=�@("
K�g#�#��6#).`P~ϓ�v#�;�т�2*Y8�A*߈�Cy0 ‫�����ه‬vDSL�#�2.�\�F�KXb�Mwv�#1#�r#W#Bϛ#�#<#Z��2
#b" Ԙ��@ �^ L ��4 ��Y N Z: �#Q �#! 恠###��#�#�`\�Ӑ�m;#*h)�#'Y��t#թ�H}1�g�##�e"?
pyvf�x{;�##{Ale��*��#R*ȫ*�rm,��\!�?s����!p�#���K�#x`Ko#�$#ȥ#��H�YW#����2 �i!
���,#3�tp#�
]� .�ߙ#<�����]Ki�n�#/�hp�P�?E#�#Eq=�2u5I�>#�7�� 8#�‫ڵ‬#n
R�f�#٘��.����}�F�Iw)���/�0�*mT�Ǿ+];��$>�:7�
#7����\�%�)�#Y)`&\$0#��z#��!����%0��U//##########################//
//File:
// Quotes/quoteDataBag.js
//Depends:
// jquery
// jquery.effects.core.js
// quotes.js
// quotesCti.js
//##########################//

//############# Global NameSpace #############//


var quotesDataBagGlobal = {
//############# Global Variables #############//
Code: "quotesDataBag",
Canceled: true,
PayOnArrival: false,
ThereServices: false,
LastEditingStatus: true,
LastRequest: null,
DataBag: new Array(),
ReservationId: "00000000",
GrouperId: '',
Repricing: 0,
ChangeAmount: false,
AddPaymentsToBinnacle: false,
isPrebooking: true,
factorPremier: 0,
puntosPremier: 0,
isGranPlan: false,
hasPackage: function () {
return
(quotesDataBagGlobal.Services[settings.Enums.ServiceTypes.Package.Id] > 0);
},
Rewards: {
GranPlan: {
FactorPremier: 0.0,
PremierEnabled: false,
PremierValidator: function () {
return (quotesDataBagGlobal.hasPackage() &&
quotesDataBagGlobal.Rewards.GranPlan.PremierEnabled);
}
}
},
Currency: {
Id: null,
Name: "",
Exchange: 1
},
BlackListDataBag: [],
InsuranceVRC: "VRC",

SetPrebookingButtons: function () {
if (quotesDataBagGlobal.isPrebooking) {
//Si es addbooking y tiene datos del cliente invalidos, se bloquea la
opcion de reservacion.
if (quotesDataBagGlobal.isAddBooking && !
quotesDataBagGlobal.isValidGuest) {
$('a[name=setBooking]').unbind().prev().show();
} else {
$('a[name=setBooking]').unbind().click(function () {
$(this).unbind().addClass('active');
$('a[name=setPrebooking]').removeClass('active').unbind();
quotesDataBagGlobal.Draw.Prebooking(false);
});
}
} else {
$('a[name=setPrebooking]').unbind().click(function () {
//Si tiene servicios se le pregunta al asesor si desea cambiarse a
Pre-reserva ya que puede perder su datos capturados.
if (quotesDataBagGlobal.Services.Count > 0) {
var $prebookingButton = $(this);
$.fn.jDayDialog({
Icon: 'wrn',
MinWidth: 350,
MinHeight: 150,
Title: settings.Dictionaries.Warnings.Title,
Close: true,
Content:
'¡Al seleccionar Pre-Reserva perderá los datos
personales capturados de los servicios! ¿Desea continuar?',
Buttons: [
{
Text: settings.Dictionaries.Actions.Yes,
Class: 'Last',
Action: function() {

$prebookingButton.unbind().addClass('active');
$
('a[name=setBooking]').removeClass('active').unbind();

quotesDataBagGlobal.Draw.Prebooking(true);
$(this).jDayDialog('close');
}
},
{ Text: settings.Dictionaries.Actions.No, Class: 'gray'
}
]
});
} else {
$(this).unbind().addClass('active');
$('a[name=setBooking]').removeClass('active').unbind();

quotesDataBagGlobal.Draw.Prebooking(true);
}
});
}

},

IsQuoteSameFlight : function() {
if (cVF.propDeepExists(quotesDataBagGlobal,
'DataMDB.AV.passengers.Passengers') &&
!cVF.isBlank(quotesDataBagGlobal.DataMDB.AV.passengers.Passengers)) {
return true;
}
return false;
},
//############# Global Functions #############//
isValid: function (serviceType, service) {
try {
var value = (service.PayOnArrival == null ? false :
service.PayOnArrival);

if (quotesDataBagGlobal.Services.Count === 0) {
quotesDataBagGlobal.PayOnArrival = value;
quotesPaymentsTabGlobal.PayOnArrival = value;
}

if (quotesDataBagGlobal.PayOnArrival) {
$('#lblGenericMessage').show();
}

var valid = (quotesDataBagGlobal.PayOnArrival === value);

if (!valid) {
bGlobal.showNotify({
Title: "Mega Data Bag",
Message: "No se puede agregar el servicio ya que se espera que
" + (!quotesDataBagGlobal.PayOnArrival ? "no" : "") + " sea 'Pago en destino'.",
Mode: "error",
TimeOut: 0
});
} else {
if (service.Coupon != null) {
if (quotesDataBagGlobal.Coupon == null) {
service.Coupon.ChangeAmount = false;

quotesDataBagGlobal.Coupon = $.extend(true, {},


service.Coupon);
quotesPaymentsTabGlobal.Coupon = $.extend(true, {},
service.Coupon);
} else {
valid = false;

bGlobal.showNotify({
Title: "Mega Data Bag",
Message: "No se puede agregar el servicio ya que existe
un cupon agregado a la cotización.",
Mode: "error",
TimeOut: 0
});
}
}
}

return valid;
} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 0,
Exception: ex
});
}
return false;
},
drawAffiliatetData: function () {
try {

$('#tbClientMail').val(quotesGlobal.AffiliateConfiguration.Email);
$
('#tbClientStreet').val(quotesGlobal.AffiliateConfiguration.Address.Street);
$('#tbCity').val(quotesGlobal.AffiliateConfiguration.Address.City.Id);
$
('#tbClientZipCode').val(quotesGlobal.AffiliateConfiguration.Address.ZipCode);

if (!cVF.isBlank(quotesGlobal.AffiliateConfiguration.Telephones)) {
$.each(quotesGlobal.AffiliateConfiguration.Telephones, function (i,
item) {
if (item.Type == 1) {
$('#tbClientTelephone').val($.trim(item.Number));
} else {
$('#tbClientMobile').val($.trim(item.Number));
}
});
}
if (!cVF.isBlank(quotesGlobal.AffiliateConfiguration.Address)
&& !
cVF.isBlank(quotesGlobal.AffiliateConfiguration.Address.State.Id)) {
$('#ddlClientStates').jDaySelect('setDefault', {
Value: quotesGlobal.AffiliateConfiguration.Address.State.Id,
Text: quotesGlobal.AffiliateConfiguration.Address.State.Name,
Set: true,
RaiseEvent: false
});
}
} catch (ex) {
bGlobal.eventHandler({
Code: ctiGlobal.Code + 12,
Exception: ex
});
}
},
checkAddPayment: function () {

try {
var servicesCount = quotesDataBagGlobal.Services.Count -
quotesDataBagGlobal.Services.SE;
//Si esta en modalidad prebooking, no agrega el pago
if (!quotesDataBagGlobal.isPrebooking &&
servicesCount > 0 &&
(!quotesPaymentsTabGlobal.Active || quotesPaymentsTabGlobal.Count
<= 0)) {

$('#chkAddPayment').jDayCheck('checked', { Checked: true,


RaiseEvent: true });
} else {
quotesDataBagGlobal.SetPrebookingButtons();
}
} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + "-checkAddPayment",
Exception: ex
});
}

},
add: function (serviceType, service, newUuId) {
try {
if (!quotesDataBagGlobal.isValid(serviceType, service)) {
return false;
}
//En caso de que la moneda sea diferente
if (quotesGlobal.AffiliateConfiguration.Currency.Id !=
quotesGlobal.Currency.Id) {
quotesDataBagGlobal.Currency.Id = "US";
quotesDataBagGlobal.Currency.Name = "Dolares Americanos.";
quotesDataBagGlobal.Currency.Exchange = bGlobal.getExchange({
Company: quotesGlobal.AffiliateConfiguration.Company.Id,
Affiliate: quotesGlobal.AffiliateConfiguration.Id,
Currency: {
From: "US",
To: quotesGlobal.Currency.Id
},
Date: null
}).Exchange;

//Se le avisa al usuario del cambio.


bGlobal.showNotify({
Title: 'Aviso',
Message: 'La moneda es diferente a la moneda del asociado. Se
recalcula el servicio en Dolares.',
Mode: 'info',
TimeOut: 8
});
} else {
quotesDataBagGlobal.Currency.Id = quotesGlobal.Currency.Id;
quotesDataBagGlobal.Currency.Name = quotesGlobal.Currency.Name;
quotesDataBagGlobal.Currency.Exchange = 1;
}

//Si es Brasil y las aerolíneas de Voxel (Azul y Gol), no incluye


impuestos
if (serviceType == settings.Enums.ServiceTypes.Flight.Id) {
if (service.Itinerary.InterfaceInfo.Type == 5 &&
(service.Itinerary.Going.ValidatingAirline.Id == 'AD' ||
service.Itinerary.Going.ValidatingAirline.Id == 'G3')) //ID_Voxel = 5 (Azul y Gol)
{
//Formando la petición para el servicio
var request = $.extend(true, {},
settings.Request.GetBaseRequest(), {
ExcludeOtherServices: false, //Incluya en el total el monto
de emision
Cache: { 'QuoteId': service.QuoteId, 'RateKey':
service.Itinerary.RateKey },
PromoCode: ''
});

//Agregando el nodo Client


$.extend(true, request, settings.Request.GetBaseRequest());
request.Client.Affiliate = quotesGlobal.Affiliate.Id;
request.Client.Country = quotesGlobal.Country.Id;
request.Client.Currency = quotesGlobal.Currency.Id; //Aplica la
moneda de databag no la de cotizacion.

//Ejecutando llamado al service para traer los nuevos impuestos


var response = execAjax['getSync']({
Url: settings.Urls.Flights.Quote,
Request: bGlobal.getIRequestJson(request)
});

//Reasignando el total que incluye los nuevos impuestos.


(TotalRate - Emission.Amount) / PaxQuantity
service.Receivable = response.ItineraryOption.TotalRate;

//Mostrando mensaje de notificación


bGlobal.showNotify({
Title: 'Aviso',
Message: 'Se han agregado y actualizado los impuestos del
vuelo.',
Mode: 'info',
TimeOut: 8
});
}
}

//Ajusta el importe a la moneda de databag.


if (serviceType != settings.Enums.ServiceTypes.Insurance.Id) {
service.Receivable = service.Receivable /
quotesDataBagGlobal.Currency.Exchange;
}

if (quotesDataBagGlobal.Services.Count < 1) {
quotesPaymentsTabGlobal.set();
quotesPaymentsTabGlobal.Settings.Currency =
quotesDataBagGlobal.Currency.Id;

//ARTURO: Si el asociado es mayorista, rellena los campos con los


datos del asociado.
if (quotesGlobal.AffiliateConfiguration.IsWholesaler) {
quotesDataBagGlobal.drawAffiliatetData();
}
}

if (quotesDataBagGlobal.DataBag[serviceType] == null) {
quotesDataBagGlobal.DataBag[serviceType] = new Array();
}

var uuid = (newUuId == null ? bGlobal.getGuid() : newUuId);

$.extend(true, service, { DataBag: { UUId: uuid, Available: true } });

if (!cVF.isBlank(service.Authorization) &&
service.Authorization.IsRequired) {
$.extend(true, service.Authorization, {
ServiceType: serviceType,
AuthorizationStatus: 2,
AuthorizationRequestId: "",
GrouperId: quotesDataBagGlobal.GrouperId,
ReservationId: quotesGlobal.ReservationNumber,
Authorize: {
Detail: null
}
});
}

//Agregando el servicio al DataBag


quotesDataBagGlobal.DataBag[serviceType][uuid] = service;

//Actualizando contadores
quotesDataBagGlobal.Services[serviceType] += 1;
quotesDataBagGlobal.Services.Count += 1;
quotesDataBagGlobal.Services.Available += 1;
//Actualizando monto
quotesDataBagGlobal.Services.Receivable += service.Receivable;

switch (serviceType) {
case settings.Enums.ServiceTypes.AdminCharge.Id:
//Actualizando el Interes Financiero
quotesDataBagGlobal.Services.MonthlyInterestAmount +=
service.Receivable;
break;
case settings.Enums.ServiceTypes.Hotel.Id:
//Recotizando el servicio
quotesDataBagGlobal.Request.Hotel.rateRule(serviceType, uuid,
null);
break;
}

//Si hay cupón


if (service.Coupon != null) {
quotesDataBagGlobal.Services.Coupon += 1;
quotesDataBagGlobal.Services.AvailableWithCoupon += 1;

if (service.Coupon.Payments == null) {
quotesDataBagGlobal.Services.CouponAmount +=
service.Coupon.Amount;
}
}

if (serviceType !== settings.Enums.ServiceTypes.Insurance.Id &&


serviceType !== settings.Enums.ServiceTypes.AdminCharge.Id) {
quotesDataBagGlobal.Draw[serviceType](service);
//Si no es pago en destino y el servicio no es Traslado
if (!quotesDataBagGlobal.PayOnArrival && serviceType !==
settings.Enums.ServiceTypes.Shuttle.Id) {
quotesDataBagGlobal.Request.Insurance.push(serviceType,
service);
}
}

//if (quotesDataBagGlobal.Services.Count === 1 && (!


quotesPaymentsTabGlobal.Active || quotesPaymentsTabGlobal.Count <= 0)) {
// $('#chkAddPayment').jDayCheck('checked', { Checked: true,
RaiseEvent: true });
//}

quotesDataBagGlobal.checkAddPayment();
quotesDataBagGlobal.checklist();

if (serviceType === settings.Enums.ServiceTypes.AdminCharge.Id) {


quotesDataBagGlobal.Draw.Accountant.amount(); //Actualizando montos
del footer
} else {
quotesDataBagGlobal.Draw.Services(); //Actualizando la sección de
Servicios
}

quotesCtiInteviewGlobal.onInsertService(serviceType, service);
return true;
} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 1,
Exception: ex
});
}
return false;
},

remove: function (serviceType, dataBagId) {


try {
var se = quotesDataBagGlobal.list(serviceType, dataBagId);

if (se == null || se.length === 0) {


return false;
}

quotesCtiInteviewGlobal.onRemoveService(serviceType, dataBagId);

//Si no es un seguro y/o traslado y no es pago en hotel


if (serviceType !== settings.Enums.ServiceTypes.Insurance.Id && !
quotesDataBagGlobal.PayOnArrival &&
serviceType !== settings.Enums.ServiceTypes.Shuttle.Id) {
quotesDataBagGlobal.Request.Insurance.remove(serviceType,
quotesDataBagGlobal.DataBag[serviceType][dataBagId]);
}

quotesDataBagGlobal.Services[serviceType] -= 1;
quotesDataBagGlobal.Services.Count -= 1;

if (!se.DataBag.Available) {
quotesDataBagGlobal.Services.NotAvailable -= 1;

if (se.Coupon != null) {
quotesDataBagGlobal.Services.Coupon -= 1;
quotesDataBagGlobal.Services.NotAvailableWithCoupon -= 1;

//Revisar logica para multi cupones.


quotesDataBagGlobal.Services.CouponAmount = 0;
}
} else {
quotesDataBagGlobal.Services.Available -= 1;

if (serviceType === settings.Enums.ServiceTypes.AdminCharge.Id) {


if (quotesDataBagGlobal.Services.AD > 0) {
quotesDataBagGlobal.Services.NotAvailableAdministrativeFee
-= 1;
} else {
quotesDataBagGlobal.Services.NotAvailableAdministrativeFee
= 0;
}
}

if (se.Coupon != null) {
quotesDataBagGlobal.Services.Coupon -= 1;
quotesDataBagGlobal.Services.AvailableWithCoupon -= 1;

//Revisar logica para multi cupones.


quotesDataBagGlobal.Services.CouponAmount = 0;
}

if (quotesDataBagGlobal.Services.Available > 0) {
quotesDataBagGlobal.Services.Receivable -= se.Receivable;
} else {
quotesDataBagGlobal.Services.Receivable = 0;
}
}

if (serviceType === settings.Enums.ServiceTypes.AdminCharge.Id) {


if (quotesDataBagGlobal.Services[serviceType] <= 0) {
quotesDataBagGlobal.Services.MonthlyInterestAmount = 0;
} else {
quotesDataBagGlobal.Services.MonthlyInterestAmount -=
se.Receivable;
}
}

if (quotesDataBagGlobal.Services.Coupon < 1) {
quotesDataBagGlobal.Coupon = null;
quotesPaymentsTabGlobal.Coupon = null;
}

if (!cVF.isBlank(se.Authorization) && se.Authorization.IsRequired) {


quotesDataBagGlobal.Request.Auth.Available -= 1;
if (se.Authorization.AuthorizationStatus === 1) {
quotesDataBagGlobal.Request.Auth.Authorized -= 1;
} else {
if (se.Authorization.AuthorizationStatus === 0) {
quotesDataBagGlobal.Request.Auth.Denied -= 1;
} else {

quotesDataBagGlobal.Request.Auth.cancel(quotesDataBagGlobal.grouperId,
se.Authorization.AuthorizationRequestId);
}
}
}

if (quotesDataBagGlobal.Services.Count === 0) {
$('#chkAddPayment').jDayCheck('checked', { Checked: false,
RaiseEvent: true });
//Si no hay pagos y es prebooking, se inhabilita la posibilidad de
agregar más pagos
if (quotesDataBagGlobal.isPrebooking) {
$('#chkAddPayment').jDayCheck('enabled', false);
}
}

//Obteniendo el BuildType del Servicio


if (serviceType != settings.Enums.ServiceTypes.Insurance.Id) {
var serviceBuildType = null;
switch (serviceType) {
case settings.Enums.ServiceTypes.Package.Id:
if (cVF.propDeepExists(se.Hotel.Hotel, 'BuildType')) {
serviceBuildType = se.Hotel.Hotel.BuildType;
}
break;
case settings.Enums.ServiceTypes.Hotel.Id:
if (cVF.propDeepExists(se, 'BuildType')) {
serviceBuildType = se.BuildType;
}
break;
}

//Verificando si es Renta Vacacional


var buildTypes = [
settings.Enums.BuildTypes.Apartment.Id,
settings.Enums.BuildTypes.Bungalow.Id,
settings.Enums.BuildTypes.Cabin.Id,
settings.Enums.BuildTypes.House.Id
];
if (!cVF.isBlank(serviceBuildType) &&
buildTypes.indexOf(serviceBuildType.Id) > -1) {
//Eliminando el seguro incrustado en el servicio de Renta
Vacacional
var insuranceID = $('#pnlDataBag').find("[id='" + dataBagId +
"']").attr('insuranceId');
var insurance =
quotesDataBagGlobal.DataBag[settings.Enums.ServiceTypes.Insurance.Id][insuranceID];
if (!cVF.isBlank(insurance)) {

quotesDataBagGlobal.Request.Insurance.removeVacationRentalInsurance(settings.Enums.
ServiceTypes.Insurance.Id, insurance, insuranceID);
}
}
}
delete quotesDataBagGlobal.DataBag[serviceType][dataBagId];

quotesDataBagGlobal.checklist();

if (serviceType === settings.Enums.ServiceTypes.AdminCharge.Id) {


quotesDataBagGlobal.Draw.Accountant.amount();
} else {
quotesDataBagGlobal.Draw.Services();
}

return true;
} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + '-remove',
Exception: ex
});
}
return false;
},
enable: function (serviceType, dataBagId) {
try {
var available = true,
se = quotesDataBagGlobal.list(serviceType, dataBagId);

if (se == null || se.length === 0) {


return;
}

if (se.DataBag.Available != null) {
available = (se.DataBag.Available !== true);
}

quotesDataBagGlobal.DataBag[serviceType][dataBagId].DataBag.Available =
available;

quotesDataBagGlobal.Services.Available -= (available === true ? -1 :


1);
quotesDataBagGlobal.Services.NotAvailable -= (available === true ? 1 :
-1);

if (available) {
quotesDataBagGlobal.Services.Receivable += se.Receivable;
} else {
if (quotesDataBagGlobal.Services.Available <= 0) {
quotesDataBagGlobal.Services.Receivable = 0;
} else {
quotesDataBagGlobal.Services.Receivable -= se.Receivable;
}
}

if (serviceType === settings.Enums.ServiceTypes.AdminCharge.Id) {


quotesDataBagGlobal.Services.NotAvailableAdministrativeFee -=
(available === true ? 1 : -1);
quotesDataBagGlobal.Services.MonthlyInterestAmount -= (available
=== true ? -se.Receivable : se.Receivable);
}

if (se.Coupon != null) {
quotesDataBagGlobal.Services.AvailableWithCoupon -= (available ===
true ? -1 : 1);
quotesDataBagGlobal.Services.NotAvailableWithCoupon -= (available
=== true ? 1 : -1);

if (se.Coupon.Payments == null) {
if (available) {
quotesDataBagGlobal.Services.CouponAmount +=
se.Coupon.Amount;
} else {
quotesDataBagGlobal.Services.CouponAmount = 0;
//quotesDataBagGlobal.Services.CouponAmount -=
se.Coupon.Amount;
}
} else {
if (quotesDataBagGlobal.PaymentCoupon != null) {
if (available) {
quotesDataBagGlobal.Services.CouponAmount +=
quotesDataBagGlobal.PaymentCoupon.Amount;
} else {
quotesDataBagGlobal.Services.CouponAmount = 0;
//quotesDataBagGlobal.Services.CouponAmount -=
se.Coupon.Amount;
}
}
}
}

var strClass = (available === true ? "disable" : "enable");

$("#" + dataBagId).find("div[active]").attr("active", available);


$("#" + dataBagId).find("[name='btnEnable']
span").removeClass().addClass(strClass);

if (serviceType === settings.Enums.ServiceTypes.AdminCharge.Id) {


quotesDataBagGlobal.Draw.Accountant.amount();
} else {
quotesDataBagGlobal.Draw.Services();
}
} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 3,
Exception: ex
});
}
},
update: function (serviceType, dataBagId, receivable) {
try {
quotesDataBagGlobal.Services.Receivable -=
quotesDataBagGlobal.DataBag[serviceType][dataBagId].Receivable;
if (serviceType === settings.Enums.ServiceTypes.AdminCharge.Id) {
quotesDataBagGlobal.Services.MonthlyInterestAmount -=
quotesDataBagGlobal.DataBag[serviceType][dataBagId].Receivable;
}

quotesDataBagGlobal.DataBag[serviceType][dataBagId].Receivable =
receivable;
quotesDataBagGlobal.Services.Receivable +=
quotesDataBagGlobal.DataBag[serviceType][dataBagId].Receivable;

//Interes Financiero
if (serviceType === settings.Enums.ServiceTypes.AdminCharge.Id) {
quotesDataBagGlobal.Services.MonthlyInterestAmount +=
quotesDataBagGlobal.DataBag[serviceType][dataBagId].Receivable;

quotesDataBagGlobal.Draw.Accountant.amount();
} else {
quotesDataBagGlobal.Draw.Services();
}

return true;
} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 'update',
Exception: ex
});
}
return false;
},
list: function (serviceType, dataBagId) {
try {
if (serviceType != null && quotesDataBagGlobal.DataBag[serviceType] !=
null) {
if (dataBagId != null && quotesDataBagGlobal.DataBag[serviceType]
[dataBagId] != null) {
return quotesDataBagGlobal.DataBag[serviceType][dataBagId];
} else {
return quotesDataBagGlobal.DataBag[serviceType];
}
}
} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 'list',
Exception: ex
});
}
return null;
},
beforeClose: function () {
try {
/* 0 = None, 1 = Error, 2 = Es CTI, 3 = Existe busqueda previa. */
if (quotesDataBagGlobal.Canceled) {
if (quotesGlobal.IsCTI)
return { Code: 2, Message: "Se perdera información de CTI,
Seguro que desea salir?" };

if (!cVF.isBlank(quotesDataBagGlobal.LastRequest))
return { Code: 3, Message: "Se perdera la información actual,
Seguro que desea salir?" };
}

return { Code: 0 };
} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 5,
Exception: ex
});
}
return { Code: 1, Message: "Ocurrio un error" };
},
close: function () {
try {
if (quotesDataBagGlobal.Canceled &&
quotesDataBagGlobal.Request.Auth.Request) {

quotesDataBagGlobal.Request.Auth.cancel(quotesDataBagGlobal.GrouperId);
}

//Si tenemos VDN, es CTI, creamos encuesta


if ((quotesGlobal != null && quotesGlobal.IsCTI) || !
cVF.isBlank(quotesDataBagGlobal.LastRequest)) {
quotesDataBagGlobal.updateCtiInterview();
}

} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 6,
Exception: ex
});
}
},
checklist: function () {
try {
var $ddlSites = $("#ddlSites"),
$acAffiliates = $("#acAffiliates"),
$ddlCurrencies = $("#ddlCurrencies"),
$ddlClientCountries = $("#ddlClientCountries");

quotesDataBagGlobal.ThereServices = (quotesDataBagGlobal.Services.Count
> 0);

if (!quotesDataBagGlobal.ThereServices) {
quotesDataBagGlobal.PayOnArrival = false;
$('#lblGenericMessage').hide();
}

var enabled = false;


if (quotesGlobal.IsReservation || quotesDataBagGlobal.ThereServices) {
quotesGlobal.CanChangeTheQuoteConfiguration = false;
} else {
enabled = true;
quotesGlobal.CanChangeTheQuoteConfiguration = true;
}

if (enabled !== quotesDataBagGlobal.LastEditingStatus) {


quotesDataBagGlobal.LastEditingStatus = enabled;

$ddlSites.jDaySelect("enabled", enabled);
$ddlCurrencies.jDaySelect("enabled", enabled);
$ddlClientCountries.jDaySelect("enabled", enabled);
$acAffiliates.jDayAutocomplete("enabled", enabled);
}
} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 7,
Exception: ex
});
}
},
setLastRequest: function (dt) {
try {
quotesDataBagGlobal.LastRequest = dt;

$(".tabsQuotes iframe").each(function (i, element) {


try {
if ($(element).length > 0 &&
$(element)[0].contentWindow != null &&
$(element)[0].contentWindow.bQuote != null &&
$.isFunction($(element)
[0].contentWindow.bQuote.setRequest)) {

$(element)[0].contentWindow.bQuote.setRequest(dt);
}
} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 8,
Exception: ex
});
}
});
} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 9,
Exception: ex
});
}
},
updateCtiInterview: function () {
var services = [];
$.each(quotesCtiInteviewGlobal.interviewServices, function (type, items) {
$.each(items, function (index, data) {
services.push($.extend(true, { Type: type }, data));
});
});

var request = {
Affiliate: {
Id: $("#acAffiliates").jDayAutocomplete("value")
},
Notes: $("#tbInterviewNotes").val(),
ReservationId: quotesDataBagGlobal.ReservationId,
ClientName: $("#tbClientName").val() + " " + $
("#tbClientLastName").val(),
Telephone: $("#tbClientTelephone").val(),
Services: services
};

// If there's no an InterviewId, then Add as new interview


if (cVF.isBlank(quotesGlobal.Guest.InterviewId)) {
request.VDN = "Sin_CTI";
bGlobal.addCtiInterview(request);
} else {
request.InterviewId = quotesGlobal.Guest.InterviewId;
bGlobal.updateCtiInterview(request);
}
},
refresh: function () {
try {
var receivable = 0,
couponAmount = 0,
monthlyInterestAmount = 0,
grossTotal = 0;

bGlobal.forEach(quotesDataBagGlobal.DataBag[settings.Enums.ServiceTypes.Hotel.Id],
function (index, hotel) {
if (hotel.DataBag.Available) {
receivable += hotel.Receivable;

if (hotel.Coupon != null &&


(hotel.Coupon.Payments == null ||
quotesDataBagGlobal.PaymentCoupon != null)) {
couponAmount += hotel.Coupon.Amount;
}
}
});

bGlobal.forEach(quotesDataBagGlobal.DataBag[settings.Enums.ServiceTypes.Flight.Id],
function (index, flight) {
if (flight.DataBag.Available) {
receivable += flight.Receivable;
}
});

bGlobal.forEach(quotesDataBagGlobal.DataBag[settings.Enums.ServiceTypes.Package.Id]
, function (index, hotelFlight) {
if (hotelFlight.DataBag.Available) {
receivable += hotelFlight.Receivable;
grossTotal += (hotelFlight.GrossTotal -
hotelFlight.Flight.GrossTotal)
}
});

bGlobal.forEach(quotesDataBagGlobal.DataBag[settings.Enums.ServiceTypes.Activity.Id
], function (index, activity) {
if (activity.DataBag.Available) {
receivable += activity.Receivable;
grossTotal += activity.GrossTotal;
}
});

bGlobal.forEach(quotesDataBagGlobal.DataBag[settings.Enums.ServiceTypes.Shuttle.Id]
, function (index, shuttle) {
receivable += shuttle.Receivable;
grossTotal += shuttle.GrossTotal;
});

bGlobal.forEach(quotesDataBagGlobal.DataBag[settings.Enums.ServiceTypes.Car.Id],
function (index, car) {
if (car.DataBag.Available) {
receivable += car.Receivable;
grossTotal += car.GrossTotal;
}
});

bGlobal.forEach(quotesDataBagGlobal.DataBag[settings.Enums.ServiceTypes.Bus.Id],
function (index, bus) {
if (bus.DataBag.Available) {
receivable += bus.Receivable;
}
});

bGlobal.forEach(quotesDataBagGlobal.DataBag[settings.Enums.ServiceTypes.BusHotel.Id
], function (index, busHotel) {
if (busHotel.DataBag.Available) {
receivable += busHotel.Receivable;
}
});

bGlobal.forEach(quotesDataBagGlobal.DataBag[settings.Enums.ServiceTypes.Insurance.I
d], function (index, insurance) {
if (insurance.DataBag.Available) {
receivable += insurance.Receivable;
grossTotal += insurance.GrossTotal;
}
});

bGlobal.forEach(quotesDataBagGlobal.DataBag[settings.Enums.ServiceTypes.AdminCharge
.Id], function (index, adminCharge) {
if (adminCharge.DataBag.Available) {
receivable += adminCharge.Receivable;
monthlyInterestAmount += adminCharge.Receivable;
}
});

quotesDataBagGlobal.Services.Receivable = receivable;
quotesDataBagGlobal.Services.CouponAmount = couponAmount;
quotesDataBagGlobal.Services.MonthlyInterestAmount =
monthlyInterestAmount;
quotesDataBagGlobal.Services.GrossTotal = grossTotal;

quotesDataBagGlobal.Draw.Services();
return true;
} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 92,
Exception: ex
});
}
return false;
},
defaultValues: {
refresh: function (isPrebooking) {
if (isPrebooking) {
var value = $("#tbClientName").val();
quotesDataBagGlobal.defaultValues.setClientName(value);
value = $("#tbClientLastName").val();
quotesDataBagGlobal.defaultValues.setClientLastName(value);

} else {
quotesDataBagGlobal.defaultValues.setClientName("");
quotesDataBagGlobal.defaultValues.setClientLastName("");
}
return true;
},
fillOutClientData: function (inputName, value) {
var setDefaults = function (selector, value) {
$(selector).each(function (i, o) {
$(o).val(value);
});
}
var $pnlServices = $('div#pnlServices');

//Datos para paquetes Hotel + Vuelo


setDefaults($pnlServices.find('#pnlServicePackages input[name="' +
inputName + '"]'), value);
//Datos para el hotel, tour, traslado y autos
setDefaults($pnlServices.find('#pnlServiceHotels input[name="' +
inputName + '"]'), value);
setDefaults($pnlServices.find('#pnlServiceActivities input[name="' +
inputName + '"]'), value);
setDefaults($pnlServices.find('#pnlServiceShuttles input[name="' +
inputName + '"]'), value);
setDefaults($pnlServices.find('#pnlServiceCars input[name="' +
inputName + '"]'), value);
if (!quotesDataBagGlobal.IsQuoteSameFlight()) {
setDefaults($pnlServices.find('#pnlServiceFlights input[name="' +
inputName + '"]'), value);
}

//Datos para paquetes Hotel + Autobus


//para evitar el error de datos repetidos, se le agrega una letra 's' a
cada nombre
$('div#pnlServiceBusPackages input[name="' + inputName +
'"]').each(function (i, o) {
var c = '';
if (!cVF.isBlank(value)) {
for (var x = 0; x <= i; x++) {
c += 's';
}
}
$(o).val(value + c);
});

//Datos para Autobus


//para evitar el error de datos repetidos, se le agrega una letra 's' a
cada nombre
$('div#pnlServiceBuses input[name="' + inputName + '"]').each(function
(i, o) {
var c = '';
if (!cVF.isBlank(value)) {
for (var x = 0; x <= i; x++) {
c += 's';
}
}
$(o).val(value + c);
});

return true;
},
setClientName: function (value) {
quotesDataBagGlobal.defaultValues.fillOutClientData("tbName", value);
},
setClientLastName: function (value) {
quotesDataBagGlobal.defaultValues.fillOutClientData("tbLastName",
value);
}
},
//###############################################################################
//Revisar para el esquema de multiples cupones.
Coupon: null,
PaymentCoupon: null,

updateCoupon: function (coupon) {


try {

quotesDataBagGlobal.PaymentCoupon = $.extend(true, {},


quotesDataBagGlobal.PaymentCoupon, coupon);
if (!quotesDataBagGlobal.PaymentCoupon.Apply) {
quotesDataBagGlobal.Services.CouponAmount =
quotesDataBagGlobal.PaymentCoupon.Amount;
if (quotesDataBagGlobal.PaymentCoupon.Amount <= 0) {
quotesDataBagGlobal.PaymentCoupon = null;
}
quotesDataBagGlobal.Draw.Services();
}

return true;
} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 'CouponAmount',
Exception: ex
});
}
return false;
},

//###############################################################################

Services: {
Code: "99999999",

HT: 0,
AV: 0,
PQ: 0,
TO: 0,
TR: 0,
CA: 0,
BU: 0,
BH: 0,
SE: 0,
AD: 0,

Count: 0,
Coupon: 0,
Available: 0,
ToPay: 0,
NotAvailable: 0,
AvailableWithCoupon: 0,
NotAvailableWithCoupon: 0,
Receivable: 0,
GrossTotal:0,
CouponAmount: 0,
NotAvailableAdministrativeFee: 0,
MonthlyInterestAmount: 0
},
Draw: {
Code: "99999999",

HT: function (hotelService) {


try {
var totalRoom = 0, totalAdults = 0, totalChildren = 0;
$(hotelService.Traveler.Rooms).each(function (iR, r) {
totalRoom += 1;
totalAdults += r.Adults;
totalChildren += r.Children;
});
var total = 0,
roomNumber = 0,
htmlRateDetails = "",
PenaltyStartDate = "",
psd =
hotelService.Room.MealPlans[0].RateDetails[0].CancellationPolicy.PenaltyStartDate;

if (!helperCancellation.doPenaltyStartDateHasExpired(psd)) {
PenaltyStartDate = cVF.formatString("<b>{0}</b>",
helperCancellation.getPenaltyDateStartMessage(psd));
}
else {
PenaltyStartDate = '<b>No admite cancelaciones.</b>';
}

$(hotelService.Room.MealPlans[0].RateDetails).each(function (id,
rateDetail) {
total += rateDetail.Total;

for (var i = 1; i <= rateDetail.RoomsCount; i++) {


roomNumber += 1;

htmlRateDetails += cVF.formatString(
$("#pnlBasePersonInformationPerRoom").html(),
roomNumber,
(roomNumber < totalRoom ? "separator" : ""),
cVF.formatString($("#pnlCopyTraveler").html(),
"[roomindex]")
);
}
});

var strTotal = "",


strChangeAmount = "",
strCouponAmount = "",
strCouponPayment = "",
existsCoupon = (hotelService.Coupon != null &&
quotesDataBagGlobal.Coupon != null && hotelService.Coupon.Code ===
quotesDataBagGlobal.Coupon.Code);

var paymentAtDestination = "";

if (!existsCoupon) {
if (hotelService.PayOnArrival) {
paymentAtDestination = cVF.formatString(' <b class="green
pagoDestino">({0}) <img src="{1}Quotes/payArrival.png" tooltip="{2}" /></b>',
settings.Dictionaries.Payments.ArrivalPayment,
settings.Images.AbsolutePath,

settings.Dictionaries.Informations.ArrivalPaymentMessage
);
}

strTotal =
decF.getCurrencyText(decF.float2FDecimal(hotelService.Receivable),
quotesGlobal.Currency.Id);
if (hotelService.ChangeAmount) {
var amountBeforeChange = total;
//en B2B si paga cliente, se muestra la pública agencia
como monto original.
if (quotesGlobal.IsPublicRate) {
amountBeforeChange = hotelService.AgencyPublic;
}
strChangeAmount = "<b>Total antes del descuento: </b><span
class='currencyPrice oneLine'>" +
decF.getCurrencyText(decF.float2FDecimal(amountBeforeChange),
quotesGlobal.Currency.Id) + "</span><br />";
}
} else {
var strCouponTag = "",
coupon = quotesDataBagGlobal.Coupon,
couponPayment = (coupon.Payments != null);

if (coupon.DiscountType === bCoupon.DiscountType.Percent) {


strCouponTag = "<div class='bookMarkLabel'>%" +
coupon.Percent + "</div>";
} else {
strCouponTag = "<div class='bookMarkLabel'>Cupón</div>";
}

if (couponPayment) {
strTotal = decF.getCurrencyText(decF.float2FDecimal(total),
quotesGlobal.Currency.Id);
strCouponPayment = $("#pnlBaseInfoCouponPayment").html();
} else {
strCouponAmount = strCouponTag + "<span
class='currencyPrice oneLine'>" + decF.getCurrencyText(decF.float2FDecimal(total),
quotesGlobal.Currency.Id) + "</span><br />";
strTotal = decF.getCurrencyText(decF.float2FDecimal(total -
coupon.Amount), quotesGlobal.Currency.Id);
}
}

var $ses = $("#pnlServiceHotels > div");

//Verificando si es Renta Vacacional


var vacationRental = '';
var buildTypes = [
settings.Enums.BuildTypes.Apartment.Id,
settings.Enums.BuildTypes.Bungalow.Id,
settings.Enums.BuildTypes.Cabin.Id,
settings.Enums.BuildTypes.House.Id
];
if ($.inArray(hotelService.BuildType.Id, buildTypes) > -1) {
vacationRental = hotelService.Addons.Rates[1].Amount;
}
$ses.append(
cVF.formatString(
$("#pnlBaseHotel").html(),
hotelService.DataBag.UUId, //0- DataBag Id
"", //1-
hotelService.Name, //2- Hotel Name
totalRoom, //3- Total Room
hotelService.Room.Name, //4- Room Name
hotelService.Room.MealPlans[0].Name, //5- Meal Plan Name
totalAdults, //6- Total Adults
totalChildren, //7- Total Children
dF.date2String(hotelService.Traveler.CheckIn, 204), //8-
Check In
dF.date2String(hotelService.Traveler.CheckOut, 204), //9-
Check Out
hotelService.DataBag.Available, //10 - Active Service
Math.floor((Date.parse(hotelService.Traveler.CheckOut) -
Date.parse(hotelService.Traveler.CheckIn)) / 86400000), //11 - Total Nights
paymentAtDestination, //Tag of payment at destination //12
- Leyenda de que el servicio es "Pago en el Hotel"
htmlRateDetails, //13 - Form request information room
strChangeAmount, //14 - Tarifa normal --Total
strCouponAmount, //15 - Tarifa Total Receivables
strTotal, //16 -
strCouponPayment, //17 - Tarifa Total.
hotelService.BuildType.Name, //18 - Tipo de Propiedad
PenaltyStartDate, //19 - Tipo de fecha limite de pago
vacationRental //20 Seguro Renta Vacional
)
);

var $se = $ses.find("#" + hotelService.DataBag.UUId);

if (hotelService.Authorization.IsRequired) {

quotesDataBagGlobal.Draw.authorization(settings.Enums.ServiceTypes.Hotel.Id,
hotelService.DataBag.UUId, hotelService.Authorization);
}

if (existsCoupon) {

quotesDataBagGlobal.Draw.coupon(settings.Enums.ServiceTypes.Hotel.Id,
hotelService.DataBag.UUId, hotelService.Coupon.Code);
}

$se.find("[name='chkRoom']").jDayCheck({});

$("#pnlServiceHotels").show();

} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 10,
Exception: ex
});
}
},

AV: function (d) {


try {
var roundTrip = (d.Traveler.Itinerary.Type === 8284),
sc = {
Departure: {
Count: 0,
Text: ""
},
Arrival: {
Count: 0,
Text: ""
}
},
totalAdults = d.Traveler.Itinerary.Routes[0].Paxes.Adults,
totalChildren = d.Traveler.Itinerary.Routes[0].Paxes.Children,
childrenAges =
d.Traveler.Itinerary.Routes[0].Paxes.ChildrenAges;

var strTemplate = "<b>{0}</b> con tiempo de espera de <b>{1}</b>";

if (cVF.propDeepExists(d, 'Itinerary.Going.Layovers.Airports')) {
$(d.Itinerary.Going.Layovers.Airports).each(function (iA, a) {
sc.Departure.Count += 1;
sc.Departure.Text += (cVF.isBlank(sc.Departure.Text) ? "en
" : ", ");

sc.Departure.Text += cVF.formatString(strTemplate,
a.Airport.FullName,
a.Duration
);
});
}

var $ses = $("#pnlServiceFlights > div");


if (roundTrip) {
if (cVF.propDeepExists(d,
'Itinerary.Return.Layovers.Airports')) {
$(d.Itinerary.Return.Layovers.Airports).each(function (iA,
a) {
sc.Arrival.Count += 1;
sc.Arrival.Text += (cVF.isBlank(sc.Arrival.Text) ? "en
" : ", ");

sc.Arrival.Text += cVF.formatString(strTemplate,
a.Airport.FullName,
a.Duration
);
});
}

$ses.append(cVF.formatString(
$("#pnlBaseFlightRoundTrip").html(),
d.DataBag.UUId,
"",
totalAdults,
totalChildren,
dF.date2String(d.Traveler.Itinerary.Routes[0].DateTime,
204),
d.Itinerary.Going.Departure.Airport.Name + ", " +
d.Itinerary.Going.Departure.Airport.Address.City.Name,
d.Itinerary.Going.ValidatingAirline.Name,
d.Itinerary.Going.Segments[0].FlightNumber,
d.Itinerary.Going.Departure.FormatTime,

dF.date2String(dF.string2Date(d.Itinerary.Going.Arrival.DateTime, 126), 208),


d.Itinerary.Going.Arrival.Airport.Name + ", " +
d.Itinerary.Going.Arrival.Airport.Address.City.Name,
sc.Departure.Count,
sc.Departure.Text,
dF.date2String(d.Traveler.Itinerary.Routes[1].DateTime,
204),
d.Itinerary.Return.Departure.Airport.Name + ", " +
d.Itinerary.Return.Departure.Airport.Address.City.Name,
d.Itinerary.Return.ValidatingAirline.Name,
d.Itinerary.Return.Segments[0].FlightNumber,
d.Itinerary.Return.Departure.FormatTime,

dF.date2String(dF.string2Date(d.Itinerary.Return.Arrival.DateTime, 126), 208),


d.Itinerary.Return.Arrival.Airport.Name + ", " +
d.Itinerary.Return.Arrival.Airport.Address.City.Name,
sc.Arrival.Count,
sc.Arrival.Text,
decF.getCurrencyText(decF.float2FDecimal(d.Receivable),
quotesGlobal.Currency.Id),
d.DataBag.Available
));

} else {
$ses.append(cVF.formatString(
$("#pnlBaseFlightBasicFlight").html(),
d.DataBag.UUId,
"",
totalAdults,
totalChildren,
dF.date2String(d.Traveler.Itinerary.Routes[0].DateTime,
204),
d.Itinerary.Going.Departure.Airport.Name + ", " +
d.Itinerary.Going.Departure.Airport.Address.City.Name,
d.Itinerary.Going.ValidatingAirline.Name,
d.Itinerary.Going.Segments[0].FlightNumber,
d.Itinerary.Going.Departure.FormatTime,

dF.date2String(dF.string2Date(d.Itinerary.Going.Arrival.DateTime, 126), 208),


d.Itinerary.Going.Arrival.Airport.Name + ", " +
d.Itinerary.Going.Arrival.Airport.Address.City.Name,
sc.Departure.Count,
sc.Departure.Text,
decF.getCurrencyText(decF.float2FDecimal(d.Receivable),
quotesGlobal.Currency.Id),
d.DataBag.Available
));
}

quotesDataBagGlobal.Draw.informationOfSeatForFlight(d.DataBag.UUId,
d.Itinerary, roundTrip, { Adults: totalAdults, Children: totalChildren,
ChildrenAges: childrenAges });

if (d.Authorization.IsRequired) {
quotesDataBagGlobal.Draw.authorization(settings.Enums.ServiceTypes.Flight.Id,
d.DataBag.UUId, d.Authorization);
}

$("#pnlServiceFlights").show();

} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 11,
Exception: ex
});
}
},

PQ: function (packageService) {


try {
var paymentAtDestination = "";
var sc = {
Departure: {
Count: 0,
Text: ""
},
Arrival: {
Count: 0,
Text: ""
}
},
totalAdults = 0,
totalChildren = 0,
childrenAges = [],
totalRoom = packageService.Hotel.Traveler.Rooms.length;

$(packageService.Hotel.Traveler.Rooms).each(function (iR, r) {
totalAdults += r.Adults;
totalChildren += r.Children;

$.each(r.ChildrenAges, function (iCa, ca) {


childrenAges.push(parseInt(ca));
});
});

var strTemplate = "<b>{0}</b> con tiempo de espera de <b>{1}</b>";

if (cVF.propDeepExists(packageService,
'Flight.Going.Layovers.Airports')) {
$(packageService.Flight.Going.Layovers.Airports).each(function
(iA, a) {
sc.Departure.Count += 1;
sc.Departure.Text += (cVF.isBlank(sc.Departure.Text) ? "en
" : ", ");

sc.Departure.Text += cVF.formatString(strTemplate,
a.Airport.FullName,
a.Duration
);
});
}

if (cVF.propDeepExists(packageService,
'Flight.Return.Layovers.Airports')) {
$(packageService.Flight.Return.Layovers.Airports).each(function
(iA, a) {
sc.Arrival.Count += 1;
sc.Arrival.Text += (cVF.isBlank(sc.Arrival.Text) ? "en " :
", ");

sc.Arrival.Text += cVF.formatString(strTemplate,
a.Airport.FullName,
a.Duration
);
});
}

if (packageService.PayOnArrival) {
paymentAtDestination = cVF.formatString(' <b class="green
pagoDestino">({0}) <img src="{1}Quotes/payArrival.png" tooltip="{2}" /></b>',
settings.Dictionaries.Payments.ArrivalPayment,
settings.Images.AbsolutePath,
settings.Dictionaries.Informations.ArrivalPaymentMessage
);
}

var strChangeAmount = '';


if (packageService.ChangeAmount) {
strChangeAmount = "<b>Total antes del descuento: </b><span
class='currencyPrice oneLine'>" +
decF.getCurrencyText(decF.float2FDecimal(packageService.Total),
quotesGlobal.Currency.Id) + "</span><br />";
}

var $ses = $("#pnlServicePackages > div");

var totalNights = 0;
if (cVF.propDeepExists(packageService, 'Hotel.Room.MealPlans') &&
packageService.Hotel.Room.MealPlans.length > 0 &&
packageService.Hotel.Room.MealPlans[0].NightsDetail != null) {

totalNights =
packageService.Hotel.Room.MealPlans[0].NightsDetail.length
} else {
totalNights =
Math.floor((Date.parse(packageService.Flight.Traveler.Itinerary.Routes[1].DateTime)
- Date.parse(packageService.Flight.Traveler.Itinerary.Routes[0].DateTime)) /
86400000)
}

var vacationRental = '';


var buildTypes = [
settings.Enums.BuildTypes.Apartment.Id,
settings.Enums.BuildTypes.Bungalow.Id,
settings.Enums.BuildTypes.Cabin.Id,
settings.Enums.BuildTypes.House.Id
];
if ($.inArray(packageService.Hotel.Hotel.BuildType.Id, buildTypes)
> -1) {
vacationRental =
packageService.Hotel.Hotel.Addons.Rates[1].Amount;
}

$ses.append(cVF.formatString(
$("#pnlBasePackage").html(),
packageService.DataBag.UUId,
"",
packageService.Hotel.Hotel.Name,
totalRoom,
packageService.Hotel.Room.Name,
packageService.Hotel.Room.MealPlans[0].Name,
totalAdults,
totalChildren,

dF.date2String(packageService.Flight.Traveler.Itinerary.Routes[0].DateTime, 204),
packageService.Flight.Going.Departure.Airport.Name + ", " +
packageService.Flight.Going.Departure.Airport.Address.City.Name,
packageService.Flight.Going.ValidatingAirline.Name,
packageService.Flight.Going.Segments[0].FlightNumber,
packageService.Flight.Going.Departure.FormatTime,

dF.date2String(dF.string2Date(packageService.Flight.Going.Arrival.DateTime, 126),
208),
packageService.Flight.Going.Arrival.Airport.Name + ", " +
packageService.Flight.Going.Arrival.Airport.Address.City.Name,
sc.Departure.Count,
sc.Departure.Text,

dF.date2String(packageService.Flight.Traveler.Itinerary.Routes[1].DateTime, 204),
packageService.Flight.Return.Departure.Airport.Name + ", " +
packageService.Flight.Return.Departure.Airport.Address.City.Name,
packageService.Flight.Return.ValidatingAirline.Name,
packageService.Flight.Return.Segments[0].FlightNumber,
packageService.Flight.Return.Departure.FormatTime,

dF.date2String(dF.string2Date(packageService.Flight.Return.Arrival.DateTime, 126),
208),
packageService.Flight.Return.Arrival.Airport.Name + ", " +
packageService.Flight.Return.Arrival.Airport.Address.City.Name,
sc.Arrival.Count,
sc.Arrival.Text,

decF.getCurrencyText(decF.float2FDecimal(packageService.Receivable),
quotesGlobal.Currency.Id),
strChangeAmount,
packageService.DataBag.Available,
totalNights,
paymentAtDestination, //Leyenda de Pago en el Hotel
packageService.Hotel.Hotel.BuildType.Name, //31 - Tipo de
Propiedad
vacationRental //20 Seguro Renta Vacional
));

var $se = $ses.find("#" + packageService.DataBag.UUId);

for (var i = 1; i <= totalRoom; i++) {


$se.find("[name='pnlDataHotel']").append(cVF.formatString(
$("#pnlBasePersonInformationPerRoom").html(),
i,
(i < totalRoom ? "separator" : ""),
cVF.formatString($("#pnlCopyTraveler").html(),
"[roomindex]")
));
}

//Recotizando hotel pra obtener el nodo del seguro de Rentas


Vacacionales

quotesDataBagGlobal.Request.Hotel.rateRule(settings.Enums.ServiceTypes.Package.Id,
packageService.DataBag.UUId, null);

quotesDataBagGlobal.Draw.informationOfSeatForFlight(packageService.DataBag.UUId,
packageService.Flight, true, { Adults: totalAdults, Children: totalChildren,
ChildrenAges: childrenAges });

if (packageService.Authorization.IsRequired) {

quotesDataBagGlobal.Draw.authorization(settings.Enums.ServiceTypes.Package.Id,
packageService.DataBag.UUId, packageService.Authorization);
}

$("#pnlServicePackages").show();

} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 12,
Exception: ex
});
}
},

CA: function (carService) {


try {
// div que contiene los servicios de autos en el MegaDataBag
var $ses = $("#pnlServiceCars > div");

//Agrega la informacion de los servicio adicionales


var aditionalServices = "";
if (carService.Car.OptionalServices != null) {
for (var i = 0; i < carService.Car.OptionalServices.length; i+
+) {
if (carService.Car.OptionalServices[i].Selected) {
aditionalServices +=
carService.Car.OptionalServices[i].Name + ": " +
decF.getCurrencyText(decF.float2FDecimal(carService.Car.OptionalServices[i].Rate.To
tal), quotesGlobal.Currency.Id) + "<br />";
}
}
}

var strChangeAmount = '';


if (carService.ChangeAmount) {
var amountBeforeChange = carService.Car.Rate.Total;
//en B2B si paga cliente, se muestra la pública agencia como
monto original.
if (quotesGlobal.IsPublicRate) {
amountBeforeChange = carService.AgencyPublic;
}
strChangeAmount = "<b>Total antes del descuento: </b><span
class='currencyPrice oneLine'>" +
decF.getCurrencyText(decF.float2FDecimal(amountBeforeChange),
quotesGlobal.Currency.Id) + "</span><br />";
}

var strBaseService = cVF.formatString($


("#pnlBaseDataServices").html(), 'auto');

$ses.append(cVF.formatString(
$("#pnlBaseCar").html(),
carService.DataBag.UUId,
carService.Car.Branch.Operator.Name,
carService.Car.Type.Name,
carService.Car.Name,
carService.Car.Properties.Passengers,
carService.Car.Properties.Doors,
((carService.Car.Properties.Transmission === "Manual" ||
carService.Car.Properties.Transmission === "M") ? settings.Dictionaries.CarManual :
settings.Dictionaries.CarAutomatic),
(carService.Car.Properties.AirConditioning) ?
settings.Dictionaries.Actions.Yes : settings.Dictionaries.Actions.No,
cVF.isBlank(carService.Car.Properties.Suitcases) ? "NA" :
carService.Car.Properties.Suitcases,
carService.Car.Branch.Name,

dF.date2String(dF.string2Date(carService.Traveler.PickUp.DateTime, 203), 206),

dF.date2String(dF.string2Date(carService.Traveler.DropOff.DateTime, 203), 206),


aditionalServices,

decF.getCurrencyText(decF.float2FDecimal(carService.Receivable),
quotesGlobal.Currency.Id),
carService.DataBag.Available,
strBaseService,
strChangeAmount,
carService.Car.Branch.DropOff.Name
));

//Si requiere autorización, marcamos el servicio


if (carService.Authorization.IsRequired) {

quotesDataBagGlobal.Draw.authorization(settings.Enums.ServiceTypes.Car.Id,
carService.DataBag.UUId, carService.Authorization);
}

$("#pnlServiceCars").show();
} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 13,
Exception: ex
});
}
},

TR: function (shuttleService) {


try {
var shuttleType = shuttleService.Filters.ShuttleType;
var $ses = $("#pnlServiceShuttles > div");
var strChangeAmount = '';
if (shuttleService.ChangeAmount) {
var amountBeforeChange = shuttleService.Total;
//en B2B si paga cliente, se muestra la pública agencia como
monto original.
if (quotesGlobal.IsPublicRate) {
amountBeforeChange = shuttleService.AgencyPublic;
}
strChangeAmount = "<b>Total antes del descuento: </b><span
class='currencyPrice oneLine'>" +
decF.getCurrencyText(decF.float2FDecimal(amountBeforeChange),
quotesGlobal.Currency.Id) + "</span><br />";
}

var strBaseService = cVF.formatString($


("#pnlBaseDataServices").html(), 'traslado');

switch (shuttleType) {
case 76:
$ses.append(cVF.formatString(
$("#pnlBaseShuttleOnlyOne").html(),
shuttleService.DataBag.UUId,
"",
shuttleService.Operator.Shuttle.Name,

dF.date2String(dF.string2Date(shuttleService.Traveler.DateFrom, 203), 204),


shuttleService.Operator.Name,
shuttleService.Traveler.Adults,
shuttleService.Traveler.Children,
shuttleService.Hotel.Name,

decF.getCurrencyText(decF.float2FDecimal(shuttleService.Receivable),
quotesGlobal.Currency.Id),
shuttleService.DataBag.Available,
strBaseService,
strChangeAmount
));

break;
case 82:
$ses.append(cVF.formatString(
$("#pnlBaseShuttleRountrip").html(),
shuttleService.DataBag.UUId,
"",
shuttleService.Operator.Shuttle.Name,

dF.date2String(dF.string2Date(shuttleService.Traveler.DateFrom, 203), 204),

dF.date2String(dF.string2Date(shuttleService.Traveler.DateTo, 203), 204),


shuttleService.Operator.Name,
shuttleService.Traveler.Adults,
shuttleService.Traveler.Children,
shuttleService.Hotel.Name,

decF.getCurrencyText(decF.float2FDecimal(shuttleService.Receivable),
quotesGlobal.Currency.Id),
shuttleService.DataBag.Available,
strBaseService,
strChangeAmount
));

break;
case 83:
$ses.append(cVF.formatString(
$("#pnlBaseShuttleOnlyReturn").html(),
shuttleService.DataBag.UUId,
"",
shuttleService.Operator.Shuttle.Name,

dF.date2String(dF.string2Date(shuttleService.Traveler.DateTo, 203), 204),


shuttleService.Operator.Name,
shuttleService.Traveler.Adults,
shuttleService.Traveler.Children,
shuttleService.Hotel.Name,

decF.getCurrencyText(decF.float2FDecimal(shuttleService.Receivable),
quotesGlobal.Currency.Id),
shuttleService.DataBag.Available,
strBaseService,
strChangeAmount
));

break;
}

var $se = $ses.find("#" + shuttleService.DataBag.UUId);

$se.find("[name='ddlHours']").jDaySelect({
ShowReset: false,
Caption: "hh",
AutoSort: false,
Items: quotesDataBagGlobal.Draw.times("hh")
});

$se.find("[name='ddlMinutes']").jDaySelect({
ShowReset: false,
Caption: "mm",
AutoSort: false,
Items: quotesDataBagGlobal.Draw.times("mm")
});

$se.find("[name='acAirline']").jDayAutocomplete({
LoadCallback: function (text) {
//No esta filtrando por nombre
var request = {
Filters: {
Airline: {
Name: text
}
}
};
$.extend(true, request, settings.Request.GetBaseRequest());
bGlobal.getJDayAutocompleteData.apply(this, [
{
Url: settings.Urls.Catalogs.Airlines,
Request: request
}
]);

},
InputMode: true,
FixedWidth: 500
});

if (shuttleService.Authorization.IsRequired) {

quotesDataBagGlobal.Draw.authorization(settings.Enums.ServiceTypes.Shuttle.Id,
shuttleService.DataBag.UUId, shuttleService.Authorization);
}

$("#pnlServiceShuttles").show();
} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 14,
Exception: ex
});
}
},

TO: function (activityService) {


try {
var $ses = $("#pnlServiceActivities > div");

var strChangeAmount = '';


if (activityService.ChangeAmount) {
var amountBeforeChange = activityService.Total;
//en B2B si paga cliente, se muestra la pública agencia como
monto original.
if (quotesGlobal.IsPublicRate) {
amountBeforeChange = activityService.AgencyPublic;
}
strChangeAmount = "<b>Total antes del descuento: </b><span
class='currencyPrice oneLine'>" +
decF.getCurrencyText(decF.float2FDecimal(amountBeforeChange),
quotesGlobal.Currency.Id) + "</span><br />";
}

var strBaseService = cVF.formatString($


("#pnlBaseDataServices").html(), 'tour');

$ses.append(
cVF.formatString(
$("#pnlBaseTour").html(),
activityService.DataBag.UUId,
"",
activityService.Name,
activityService.Destination.Name,
dF.date2String(activityService.Date, 113),
activityService.Service.Name,
activityService.Adults,
activityService.Children,

decF.getCurrencyText(decF.float2FDecimal(activityService.Receivable),
quotesGlobal.Currency.Id),
activityService.DataBag.Available,
strBaseService,
strChangeAmount
)
);

var $se = $ses.find("#" + activityService.DataBag.UUId);

if (!activityService.Service.Transport) {
$se.find("[name='pnlDataTour']").remove();
} else {
$se.find("[name='acHotel']").jDayAutocomplete({
Chars: settings.SearchAjax.Chars,
EmptyText: settings.Dictionaries.Warnings.NotFoundResults,
LoadCallback: function (text) {
try {
var request = {
Filters: {
Search: text,
Rows: ["H:10"],
Types: []
}
};

$.extend(true, request,
settings.Request.GetBaseRequest());
request.Client.Affiliate =
quotesGlobal.Affiliate.Id;
request.Client.Country = quotesGlobal.Country.Id;
request.Client.Currency = quotesGlobal.Currency.Id;

bGlobal.getJDayAutocompleteData.apply(this, [
{
Url: settings.Urls.Others.Search,
Request: request
}
]);

} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 15,
Exception: ex
});
}
}
});
}

if (activityService.Authorization.IsRequired) {

quotesDataBagGlobal.Draw.authorization(settings.Enums.ServiceTypes.Activity.Id,
activityService.DataBag.UUId, activityService.Authorization);
}

$("#pnlServiceActivities").show();

} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 16,
Exception: ex
});
}
},

BU: function (d) {


try {
var totalAdults = d.Traveler.Itinerary.Routes[0].Paxes.Adults,
totalChildren = d.Traveler.Itinerary.Routes[0].Paxes.Children;

var $ses = $("#pnlServiceBuses > div");

if (d.RoundTrip) {
$ses.append(cVF.formatString(
$("#pnlBaseBusRoundTrip").html(),
d.DataBag.UUId,
d.DataBag.Available,
totalAdults,
totalChildren,

dF.date2String(dF.string2Date(d.Traveler.Itinerary.Routes[0].DateTime, 126), 204),


d.From.Departure.Terminal.Name + ", " +
d.From.Departure.Terminal.Address.City.Name,
d.From.Image.Name,
d.From.Departure.FormatTime,
dF.date2String(dF.string2Date(d.From.Arrival.DateTime,
126), 208),
d.From.Arrival.Terminal.Name + ", " +
d.From.Arrival.Terminal.Address.City.Name,
cVF.isBlank(d.From.Layovers) ? 0 : d.From.Layovers.Count,

dF.date2String(dF.string2Date(d.Traveler.Itinerary.Routes[1].DateTime, 126), 206),


d.To.Departure.Terminal.Name + ", " +
d.To.Departure.Terminal.Address.City.Name,
d.To.Image.Name,
d.To.Departure.FormatTime,
dF.date2String(dF.string2Date(d.To.Arrival.DateTime, 126),
208),
d.To.Arrival.Terminal.Name + ", " +
d.To.Arrival.Terminal.Address.City.Name,
cVF.isBlank(d.To.Layovers) ? 0 : d.To.Layovers.Count,
decF.getCurrencyText(decF.float2FDecimal(d.Receivable),
quotesGlobal.Currency.Id),
d.From.RateKey,
d.From.Departure.Terminal.Address.City.Name,
d.From.Arrival.Terminal.Address.City.Name,
dF.date2String(dF.string2Date(d.From.Departure.DateTime,
126), 206),
dF.date2String(dF.string2Date(d.From.Arrival.DateTime,
126), 206),
d.To.RateKey,
d.To.Departure.Terminal.Address.City.Name,
d.To.Arrival.Terminal.Address.City.Name,
dF.date2String(dF.string2Date(d.To.Departure.DateTime,
126), 206),
dF.date2String(dF.string2Date(d.To.Arrival.DateTime, 126),
206)
));

} else {
$ses.append(cVF.formatString(
$("#pnlBaseBusBasicOneWay").html(),
d.DataBag.UUId,
d.DataBag.Available, totalAdults,
totalChildren,

dF.date2String(dF.string2Date(d.Traveler.Itinerary.Routes[0].DateTime, 126), 204),


d.From.Departure.Terminal.Name + ", " +
d.From.Departure.Terminal.Address.City.Name,
d.From.Image.Name,
d.From.Departure.FormatTime,
dF.date2String(dF.string2Date(d.From.Arrival.DateTime,
126), 208),
d.From.Arrival.Terminal.Name + ", " +
d.From.Arrival.Terminal.Address.City.Name,
cVF.isBlank(d.From.Layovers) ? 0 : d.From.Layovers.Count,
decF.getCurrencyText(decF.float2FDecimal(d.Receivable),
quotesGlobal.Currency.Id),
d.From.RateKey,
d.From.Departure.Terminal.Address.City.Name,
d.From.Arrival.Terminal.Address.City.Name,
dF.date2String(dF.string2Date(d.From.Departure.DateTime,
126), 202),
dF.date2String(dF.string2Date(d.From.Arrival.DateTime,
126), 206)
));
}

quotesDataBagGlobal.Draw.informationPerBusSeat(d.DataBag.UUId, d);

if (d.Authorization.IsRequired) {

quotesDataBagGlobal.Draw.authorization(settings.Enums.ServiceTypes.Bus.Id,
d.DataBag.UUId, d.Authorization);
}

var $se = $("#" + d.DataBag.UUId);

$se.find("button[name='btnSeatsBus']").click(function () {
$("#popup" + d.DataBag.UUId).show();
});

$("#pnlServiceBuses").show();

} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 17,
Exception: ex
});
}
},

BH: function (d) {


try {
var paymentAtDestination = "";
var totalAdults = 0,
totalChildren = 0,
childrenAges = [],
totalRoom = d.Hotel.Traveler.Rooms.length;
$(d.Hotel.Traveler.Rooms).each(function (iR, r) {
totalAdults += r.Adults;
totalChildren += r.Children;

$.each(r.ChildrenAges, function (iCa, ca) {


childrenAges.push(parseInt(ca));
});
});

var $ses = $("#pnlServiceBusPackages > div");

$ses.append(cVF.formatString(
$("#pnlBaseBusPackage").html(),
d.DataBag.UUId,
"",
d.Hotel.Hotel.Name,
totalRoom,
d.Hotel.Room.Name,
d.Hotel.Room.MealPlans[0].Name,
totalAdults,
totalChildren,
Math.floor((Date.parse(d.Hotel.Traveler.CheckOut) -
Date.parse(d.Hotel.Traveler.CheckIn)) / 86400000),
paymentAtDestination, //Leyenda de Pago en el Hotel
dF.date2String(dF.string2Date(d.Bus.From.Departure.DateTime,
126), 204),
d.Bus.From.Departure.Terminal.Name + ", " +
d.Bus.From.Departure.Terminal.Address.City.Name,
d.Bus.From.Image.Name,
d.Bus.From.Departure.FormatTime,
dF.date2String(dF.string2Date(d.Bus.From.Arrival.DateTime,
126), 208),
d.Bus.From.Arrival.Terminal.Name + ", " +
d.Bus.From.Arrival.Terminal.Address.City.Name,
cVF.isBlank(d.Bus.From.Layovers) ? 0 :
d.Bus.From.Layovers.Count,
dF.date2String(dF.string2Date(d.Bus.To.Departure.DateTime,
126), 204),
d.Bus.To.Departure.Terminal.Name + ", " +
d.Bus.To.Departure.Terminal.Address.City.Name,
d.Bus.To.Image.Name,
d.Bus.To.Departure.FormatTime,
dF.date2String(dF.string2Date(d.Bus.To.Arrival.DateTime, 126),
208),
d.Bus.To.Arrival.Terminal.Name + ", " +
d.Bus.To.Arrival.Terminal.Address.City.Name,
cVF.isBlank(d.Bus.To.Layovers) ? 0 : d.Bus.To.Layovers.Count,
d.Bus.From.RateKey,
d.Bus.From.Departure.Terminal.Address.City.Name,
d.Bus.From.Arrival.Terminal.Address.City.Name,
dF.date2String(dF.string2Date(d.Bus.From.Departure.DateTime,
126), 206),
dF.date2String(dF.string2Date(d.Bus.From.Arrival.DateTime,
126), 206),
d.Bus.To.RateKey,
d.Bus.To.Departure.Terminal.Address.City.Name,
d.Bus.To.Arrival.Terminal.Address.City.Name,
dF.date2String(dF.string2Date(d.Bus.To.Departure.DateTime,
126), 206),
dF.date2String(dF.string2Date(d.Bus.To.Arrival.DateTime, 126),
206),
d.DataBag.Available,
decF.getCurrencyText(decF.float2FDecimal(d.Total),
quotesGlobal.Currency.Id),
decF.getCurrencyText(decF.float2FDecimal(d.Receivable),
quotesGlobal.Currency.Id)
));

var $se = $ses.find("#" + d.DataBag.UUId);

for (var i = 1; i <= totalRoom; i++) {


$se.find("[name='pnlDataHotel']").append(cVF.formatString(
$("#pnlBasePersonInformationPerRoom").html(),
i,
(i < totalRoom ? "separator" : ""),
cVF.formatString($("#pnlCopyTraveler").html(),
"[roomindex]")
));
}

quotesDataBagGlobal.Draw.informationPerBusSeat(d.DataBag.UUId,
d.Bus);

if (d.Authorization.IsRequired) {

quotesDataBagGlobal.Draw.authorization(settings.Enums.ServiceTypes.BusHotel.Id,
d.DataBag.UUId, d.Authorization);
}

$se.find("button[name='btnSeatsBus']").click(function () {
$("#popup" + d.DataBag.UUId).show();
});

$("#pnlServiceBusPackages").show();

} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 18,
Exception: ex
});
}
},

Accountant: {
//Actualizando montos del footer
amount: function () {
try {
//Total Servicios --> se usa en quotesPaymentTab
quotesDataBagGlobal.Services.ToPay =
quotesDataBagGlobal.Services.Receivable -
quotesDataBagGlobal.Services.CouponAmount;
//Monto Servicios
$("#lblTotalServicesAmount").text(decF.getCurrencyText(
decF.float2FDecimal(quotesDataBagGlobal.Services.Receivable
- quotesDataBagGlobal.Services.MonthlyInterestAmount), quotesGlobal.Currency.Id));

//Int Financiero
$
("#lblMonthlyInterestAmount").text(decF.getCurrencyText(decF.float2FDecimal(quotesD
ataBagGlobal.Services.MonthlyInterestAmount), quotesGlobal.Currency.Id));
$
("#lblTotalCouponAmount").text(decF.getCurrencyText(decF.float2FDecimal(quotesDataB
agGlobal.Services.CouponAmount), quotesGlobal.Currency.Id));

$
("#lblTotalServices").text(decF.getCurrencyText(decF.float2FDecimal(quotesDataBagGl
obal.Services.ToPay), quotesGlobal.Currency.Id));
if (quotesDataBagGlobal.Rewards.GranPlan.PremierEnabled) {
if (quotesDataBagGlobal.hasPackage()) {
quotesDataBagGlobal.Services.GrossTotal =
quotesDataBagGlobal.getGrossTotalForAllServiceInDataBag();

$('#puntos')
.show()
.html('<h6>Puntos a acumular</h6><h4
id="lblTotalPointsPremier" class="priceTag">' +
(decF.float2FDecimal(Math.round(quotesDataBagGlobal.Services.GrossTotal *
quotesDataBagGlobal.Rewards.GranPlan.FactorPremier))) + '</h4>');
} else {
$('#puntos').hide();
}
}

return true;
} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 'Accountant.amount',
Exception: ex
});
}
return false;
}
},

informationOfSeatForFlight: function (uuid, flight, roundTrip, pax) {


try {
var flag = false,
paxes = [],
countries = [];

countries.push(flight.Going.Departure.Airport.Address.Country.Id);
countries.push(flight.Going.Arrival.Airport.Address.Country.Id);

if (cVF.propDeepExists(flight, 'Going.Layovers.Airports')) {
for (var a = 0; a < flight.Going.Layovers.Airports.length; a++)
{

countries.push(flight.Going.Layovers.Airports[a].Airport.Address.Country.Id);
}
}

if (roundTrip) {

countries.push(flight.Return.Departure.Airport.Address.Country.Id);

countries.push(flight.Return.Arrival.Airport.Address.Country.Id);
if (cVF.propDeepExists(flight, 'Return.Layovers.Airports')) {
for (var a = 0; a < flight.Return.Layovers.Airports.length;
a++) {

countries.push(flight.Return.Layovers.Airports[a].Airport.Address.Country.Id);
}
}
}

for (var i = 0; i < countries.length; i++) {


if (countries[i] != "MX") {
flag = true;
break;
}
}

[].sort.call(pax.ChildrenAges, function (a, b) {


if (a < b) {
return 1;
} else if (a > b) {
return -1;
} else {
return 0;
}
});

var totalInfant = 0,
totalPax = (pax.Adults + pax.Children);

for (var j = 1; j <= totalPax; j++) {


var p = {
MaxDate: "-216m",
MinDate: "",
Last: (j === totalPax),
Title: "Adulto",
Index: j,
Type: 65, // Adult = 65 | Child = 67 | Infant = 73
Age: 25,
Id: j
};

if (j > pax.Adults) {
p.Age = pax.ChildrenAges[(j - pax.Adults) - 1];

var flightMonth = new


Date(flight.Going.Departure.DateTime).getMonth(),
flightDay = new
Date(flight.Going.Departure.DateTime).getDate(),
currentMonth = new Date().getMonth(),
currentDay = new Date().getDate(),
months = (new
Date(flight.Going.Departure.DateTime).getFullYear() - new Date().getFullYear() +
parseInt(p.Age) - 1) * 12,
yearsDiff = new
Date(flight.Going.Departure.DateTime).getFullYear() - new Date().getFullYear();

var yearsFix = 0;
if (yearsDiff == 0)
yearsFix = 1;
else
yearsFix = 0;

var minMonths = ((parseInt(p.Age) + 1 + yearsFix) * 12) -


1,
maxMonths = ((parseInt(p.Age) + 0 + yearsFix) * 12) -
1;

if (p.Age == 0){

//la fecha minima debe ser hoy - 12 meses ( eso es 2


años, este y el anterior)
//dos años tienen 24 meses, que se deben restar a esta
fecha, pero los meses van de 0 a 11 por lo que el año no es de 1 a 12, es de 0 a 11
//por lo que se le quita 1.

minMonths = 23; //24 meses -1


//la fecha maxima debe ser hoy
maxMonths = 11; //12 meses -1
}

var strMinDate = "-" + minMonths + "M" + "+12M" + "-" +


currentMonth + "M" + "+" + (flightMonth - 1) + "M" + "-" + currentDay + "D" + "+" +
flightDay + "D" + "+1D",
strMaxDate = "-" + maxMonths + "M" + "+12M" + "-" +
currentMonth + "M" + "+" + (flightMonth - 1) + "M" + "-" + currentDay + "D" + "+" +
flightDay + "D" + "-1D";

if (p.Age == 0 && yearsDiff == 0) //si el niño tiene 0 años


se agrega el dia de la reservacion
strMaxDate = strMaxDate + " +1D";

p.MaxDate = strMaxDate;
p.MinDate = strMinDate;

if (p.Age < 2) {
totalInfant += 1;

//p.MaxDate = "0d";
////p.MinDate = "-24m+1d";
//p.MinDate = "-364";
p.Index = totalInfant;
p.Title = "Infante";
p.Type = 73;

}
else {

p.Index = ((j - pax.Adults) - totalInfant);


p.Title = "Niño";
p.Type = 67;
}
}

paxes.push(p);
}

var $se = $("#" + uuid);


var htmlContact = $("#pnlPersonInformationPerSeatData").html();
var adults = [];
var child = [];
if (cVF.propDeepExists(quotesDataBagGlobal, 'DataMDB.AV')) {
adults =
quotesDataBagGlobal.DataMDB.AV.passengers.Passengers.filter(function (passengers) {
passengers.Assign = false;
return passengers.Type === 65; //Adults
});

child =
quotesDataBagGlobal.DataMDB.AV.passengers.Passengers.filter(function (passengers) {
passengers.Assign = false;
return passengers.Type === 67; //Children
});
}

var indexA = 0, indexC = 0;


for (var i = 0; i < paxes.length; i++) {
var p = paxes[i];

var $div = $(cVF.formatString("<div class='fullN'


personindex='{0}' persontype='{1}' personYears='{2}'></div>", p.Id, p.Type,
p.Age));

var ifvalidBirthday = "";

if (cVF.propDeepExists(quotesDataBagGlobal, 'DataMDB.AV')) {
var birthday = null;
var birthdayString = null;

switch(p.Type){
case 65:
{
if (indexA < adults.length) {
birthday =
cVF.isBlank(adults[indexA].Birthday) ? null : adults[indexA].Birthday;
birthdayString = cVF.isBlank(birthday) ?
null : (new Date(birthday.Year, (birthday.Month - 1), birthday.Day, 0, 0, 0));

if (cVF.isDate(birthdayString)) {
ifvalidBirthday = "" + birthday.Day +
"/" + (birthday.Month) + "/" + birthday.Year;
}
}
break;
}
case 67: {
//var indexChild = child.findIndex(i => (i.Assign !
== true && i.Age === parseInt(p.Age)));
var indexChild = -1;
for (var paxindex = 0; paxindex < child.length;
paxindex++) {
if (child[paxindex].Assign !== true &&
child[paxindex].Age === parseInt(p.Age)){
indexChild = paxindex;
break;
}
}
if (indexChild !== -1) {
birthday =
cVF.isBlank(child[indexChild].Birthday) ? null : child[indexChild].Birthday;
birthdayString = cVF.isBlank(birthday) ? null :
(new Date(birthday.Year, (birthday.Month - 1), birthday.Day, 0, 0, 0));

if (cVF.isDate(birthdayString)) {
ifvalidBirthday = "" + birthday.Day + "/" +
(birthday.Month) + "/" + birthday.Year;
}

}
break;
}
default: break;
}
}

$div.append(cVF.formatString(
$("#pnlBasePersonInformationPerSeat").html(),
p.Index,
p.Title,
(!p.Last ? "separator" : ""),
"", //seccion donde iban los datos del contacto de
emergencia
(i === 0 ? cVF.formatString($("#pnlCopyTraveler").html(),
"[personindex]") : ""),
(p.Type === 65 ? "" : "<b>" + p.Age + " Año(s)</b>"),
ifvalidBirthday
));
$se.find("[name='pnlDataFlight']").append($div);

if (!flag && p.Type != 73) {


$se.find("[personindex='" + p.Id + "']
[name='calDateBirth']").removeAttr("validate");
}

$se.find("[personindex='" + p.Id + "']


[name='calDateBirth']").datepicker({
changeMonth: true,
changeYear: true,
yearRange: "-100:+0",
minDate: p.MinDate,
maxDate: p.MaxDate,
showMonthAfterYear: true,
defaultDate: p.MinDate // + "m+364d"
});

$se.find("[personindex='" + p.Id + "']


[name='ddlGender']").jDaySelect({
ShowReset: false,
AutoSort: false,
Items: [
{
Text: "Masculino",
Value: "m"
},
{
Text: "Femenino",
Value: "f"
}
]
});

//Descripción: Se agrega el siguiente código el cual permite


llenar los valores de los pasajeros siempre y cuando venga de una cotización ya
existente.
//Fecha de creación: 29/11/2017
//Autor: JMLL
//Adultos.

var ddlDocument = -1;


var tbDocument = "";
if (cVF.propDeepExists(quotesDataBagGlobal, 'DataMDB.AV')) {
switch (p.Type) {
case 65: {
if (indexA < adults.length) {
var inputTbNameA = $se.find("[personindex='" +
p.Id + "'] input[name='tbName']");
var inputTbLastNameA =
$se.find("[personindex='" + p.Id + "'] input[name='tbLastName']");

if
(cVF.propDeepExists(adults[indexA].NaturalPerson, 'Document.Type')) {
ddlDocument =
cVF.isBlank(adults[indexA].NaturalPerson.Document.Type) ? -1 :
adults[indexA].NaturalPerson.Document.Type;
tbDocument =
cVF.isBlank(adults[indexA].NaturalPerson.Document.Number) ? "" :
adults[indexA].NaturalPerson.Document.Number;
}

inputTbNameA[0].value = adults[indexA].Name;
inputTbLastNameA[0].value =
adults[indexA].LastName;

$se.find("[personindex='" + p.Id + "']


[name='ddlGender']").jDaySelect('setDefault', {
Value: adults[indexA].Gender.toLowerCase(),
RaisEvent: true,
Set: true
});
indexA++;
}
break;
}
case 67: {
//var index = child.findIndex(i => (i.Assign !==
true && i.Age === parseInt(p.Age)));
var index = -1;
for (var paxindex = 0; paxindex < child.length;
paxindex++) {
if (child[paxindex].Assign !== true &&
child[paxindex].Age === parseInt(p.Age)){
index = paxindex;
break;
}
}
if (index !== -1) {
child[index].Assign = true;
var inputTbNameC = $se.find("[personindex='" +
p.Id + "'] input[name='tbName']");
var inputTbLastNameC =
$se.find("[personindex='" + p.Id + "'] input[name='tbLastName']");

if
(cVF.propDeepExists(child[index].NaturalPerson, 'Document.Type')) {
ddlDocument =
cVF.isBlank(child[index].NaturalPerson.Document.Type) ? -1 :
child[index].NaturalPerson.Document.Type;
tbDocument =
cVF.isBlank(child[index].NaturalPerson.Document.Number) ? "" :
child[index].NaturalPerson.Document.Number;
}

inputTbNameC[0].value = child[index].Name;
inputTbLastNameC[0].value =
child[index].LastName;

$se.find("[personindex='" + p.Id + "']


[name='ddlGender']").jDaySelect('setDefault', {
Value: child[index].Gender.toLowerCase(),
RaisEvent: true,
Set: true
});
}
break;
}
default: break;
}
}

var inputTbDocument = $se.find("[personindex='" + p.Id + "']


input[name='tbDocument']");
inputTbDocument.removeAttr("validate");
inputTbDocument[0].value = tbDocument;

$se.find("[personindex='" + p.Id + "']


[name='ddlDocumentType']").removeAttr("validate");

$se.find("[personindex='" + p.Id + "']


[name='ddlDocumentType']").jDaySelect({
LoadCallback: function () {
try {
var request = {
Filters: {
Country: $
("#ddlClientCountries").jDaySelect("value"),
IdentificationDocumentType: 0
}
};

$.extend(true, request,
settings.Request.GetBaseRequest());
$(this).jDaySelect("load",
bGlobal.getJDaySelectData({
Url: settings.Urls.Catalogs.TaxDocuments,
Request: request
}));

} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 20,
Exception: ex
});
}
},
OnChange: function (val) {
try {
var $input = $
(this).closest("div[persontype]").find("input[name='tbDocument']");

if (cVF.isBlank(val)) {
$input.removeAttr("validate");
$input.removeClass("invalid");
} else {
$input.attr("validate", '{"Name":"Sexo",
"AlertMode": 0}');
}
} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 21,
Exception: ex
});
}
},
LoadOnFirstUse: (ddlDocument !== -1 ? false : true)

});

if (ddlDocument !== -1) {


$se.find("[personindex='" + p.Id + "']
[name='ddlDocumentType']").jDaySelect('setSelected', {
Value: ddlDocument,
RaisEvent: false
});
}

//Fin del nuevo código 29/11/2017


}
if (quotesDataBagGlobal.Rewards.GranPlan.PremierValidator()) {
$
('[name="pnlDataFlight"]').find('[name="PersonInformationPerSeatData"]').not("div:f
irst").hide();
$('#moreInfoFrequent').parent().next('div').show();
$(".frequentflyerprogram").text('Programa de Lealtad');
$(".frequentflyernumber").text('No. Cuenta Club Premier');
$("#moreInfoFrequent").text('Club Premier');
$('[name="tbTravelerNumber"]').attr('validate', '{ "Required":
0, "Name": "Numero de viajero", "AlertMode": 2, "Validate":"premier"}');
$('[name="tbTravelerNumber"]').attr('onkeydown',
'javascript:return validateFormat(event)');
}

$se.find("[name='ddlTraveler']").jDaySelect({
LoadCallback: function () {
try {
var request = {
Airline: flight.Going.ValidatingAirline.Id
};

$.extend(true, request,
settings.Request.GetBaseRequest());
request.Client.Affiliate = quotesGlobal.Affiliate.Id;
request.Client.Country = quotesGlobal.Country.Id;
request.Client.Currency = quotesGlobal.Currency.Id;

if
(quotesDataBagGlobal.Rewards.GranPlan.PremierValidator()) {
var optionArray = new Array();
var option = { "Value": "AM", "Text": "Aeromexico
Club Premier", "Selected": true };
optionArray.push(option);
$(this).jDaySelect("load",optionArray );

} else {

$(this).jDaySelect("load",
bGlobal.getJDaySelectData({
Url: settings.Urls.Catalogs.ProgramsFlyer,
Request: request
}));

} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 22,
Exception: ex
});
}
}
});

} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 23,
Exception: ex
});
}
},
informationPerBusSeat: function (uuid, bus) {
try {
var pax = bus.Traveler.Itinerary.Routes[0].Paxes;
var passengers = [];
var roundTrip = bus.RoundTrip;

[].sort.call(pax.ChildrenAges, function (a, b) {


if (a < b) {
return 1;
} else if (a > b) {
return -1;
} else {
return 0;
}
});

var totalInfant = 0,
totalPax = (pax.Adults + pax.Children);

var paxRatesGoing = [],


paxRatesReturn = [];

for (var p = 0; p < bus.From.PaxRates.length; p++) {


var paxRate = bus.From.PaxRates[p];

paxRatesGoing.push({
InUse: false,
Type: paxRate.Type,
IdPaxRate: paxRate.IdPaxRate,
PassengerType: paxRate.PassengerType,
requestPanssenger: paxRate.requestPanssenger
});
}

if (roundTrip) {
for (var p = 0; p < bus.To.PaxRates.length; p++) {
var paxRate = bus.To.PaxRates[p];

paxRatesReturn.push({
InUse: false,
Type: paxRate.Type,
IdPaxRate: paxRate.IdPaxRate,
PassengerType: paxRate.PassengerType,
requestPanssenger: paxRate.requestPanssenger
});
}
}

for (var j = 1; j <= totalPax; j++) {


var p = {
Last: (j === totalPax),
Title: "Adulto",
Index: j,
Type: 65, // Adult = 65 | Child = 67 | Infant = 73
Age: 0,
Id: j
};

if (j > pax.Adults) {
p.Age = pax.ChildrenAges[(j - pax.Adults) - 1];

if (p.Age < 2) {
totalInfant += 1;

p.Index = totalInfant;
p.Title = "Infante";
p.Type = 73;
} else {
p.Index = ((j - pax.Adults) - totalInfant);
p.Title = "Niño";
p.Type = 67;
}
}

passengers.push(p);
}

var $se = $("#" + uuid),


$sePopup = $se.find("#popup" + uuid);
var htmlPersonInformation = $
("#pnlBasePersonInformationPerBusSeat").html(),
htmlPersonSeatBus = (roundTrip ? $
("#pnlBaseDrawBusPersonRoundTrip").html() : $
("#pnlBaseDrawBusPersonOneWay").html());

for (var iP = 0; iP < passengers.length; iP++) {


var p = passengers[iP];
var $div = $(cVF.formatString("<div class='fullN'
personindex='{0}' persontype='{1}'></div>", p.Id, p.Type));

var arrival, departure;

if (p.Type !== 73) {

for (var i = 0; i < paxRatesGoing.length; i++) {


var item = paxRatesGoing[i];

if (item.PassengerType === p.Type && !item.InUse) {


arrival = { IdPaxRate: item.IdPaxRate,
PassengerType: item.PassengerType };
paxRatesGoing[i].InUse = true;
break;
}
}

if (roundTrip) {
for (var i = 0; i < paxRatesReturn.length; i++) {
var item = paxRatesReturn[i];

if (item.PassengerType === p.Type && !item.InUse) {


departure = { IdPaxRate: item.IdPaxRate,
PassengerType: item.PassengerType };
paxRatesReturn[i].InUse = true;
break;
}
}
}
}

$div.append(cVF.formatString(htmlPersonInformation,
p.Index,
p.Title,
(!p.Last ? "separator" : ""),
(iP === 0 ? cVF.formatString($("#pnlCopyTraveler").html(),
"[personindex]") : ""),
(arrival == null ? "" : arrival.PassengerType),
(arrival == null ? "" : arrival.IdPaxRate),
(departure == null ? "" : departure.PassengerType),
(departure == null ? "" : departure.IdPaxRate),
(p.Last && p.Type === 73 ? $
("#pnlNoticeBusSeatInfant").html() : "")
));

if (p.Type === 73) {


$div.find("[name='pnlSeatNumberToGo']").remove();

$div.find("[name='tbName']").removeAttr("validate");
$div.find("[name='tbLastName']").removeAttr("validate");
$div.find("[name='ddlGender']").removeAttr("validate");
}

if (p.Type === 73 || !roundTrip) {


$div.find("[name='pnlSeatNumberReturn']").remove();
}

$se.find("[name='pnlDataTrip']").append($div);

if (p.Type !== 73) {

$sePopup.find("[name='passengerList']").append(cVF.formatString(htmlPersonSeatBus,
p.Id,
p.Title,
bus.From.RateKey,
(roundTrip ? bus.To.RateKey : ""),
p.Index
));

$sePopup.find("label[name='tbPassenger']").click(function
() {
var $pax = $(this).closest("[passenger]");
if (!$pax.hasClass("selected")) {

$pax.closest("[name='passengerList']").find("[passenger]").removeClass("selected");
$pax.addClass("selected");
}
});
}
}

quotesDataBagGlobal.Draw.seats(uuid, bus);

$sePopup.find('[name="passengerList"]
div[passenger]:first').addClass("selected");

$se.find('input[name="tbName"],
input[name="tbLastName"]').jDayControl({
OnChange: function () {
var $person = $(this).closest('[personindex]');
var $passenger = $('#' + uuid + ' [name="passengerList"]
[passenger="' + $person.attr('personindex') + '"]');

var fullName = ($(this).attr('name') === "tbName" ?


$(this).val() + " " +
$person.find('[name="tbLastName"]').val() :
$person.find('[name="tbName"]').val() + ' ' + $
(this).val());
if ($.trim(fullName).length <= 0) {
fullName = $person.find('label[tag]').html();
}

$passenger.find('label[name="tbPassenger"]').jDayControl('set', { Type: 'label',


Value: fullName, Text: fullName, RaiseEvent: true });
}
});

$se.find('[name="ddlGender"]').jDaySelect({
ShowReset: false,
AutoSort: false,
Items: [
{
Text: 'Masculino',
Value: 'm'
},
{
Text: 'Femenino',
Value: 'f'
}
]
});

$se.find('input[name="tbGoing"],
input[name="tbReturn"]').jDayControl({
OnlyFocusOut: true,
OnChange: function (val, user, oldValue) {
var $this = $(this);

try {
if (cVF.setNumericOrDefault(val) <= 0) {
return false;
}

var $seat = $('#popup' + uuid + ' div.text


div[ratekey="' + $this.attr('ratekey') + '"] div[seat="' + val + '"]');
if ($seat.length < 1 || $seat.hasClass('occupied') ||
$seat.hasClass('taken')) {
return false;
}

quotesDataBagGlobal.Draw.setSelectedSeat({
UUId: uuid,
NewValue: val,
OldValue: oldValue,
From: ($this.attr("name") === "tbGoing"),
RateKey: $this.attr("ratekey"),
Passenger:
$this.closest("[passenger]").attr("passenger"),
Name:
$this.closest("[passenger]").find("label[name='tbPassenger']").html()
});

return true;
} catch (exe) {
return false;
}
}
});

$se.find('label[name="tbPassenger"]').jDayControl({
OnlyFocusOut: true,
OnChange: function (val) {
var $this = $(this);
var $passenger = $this.closest('[passenger]');

var $gRk = $passenger.find('input[name="tbGoing"]');


$('#popup' + uuid + ' div.text div[ratekey="' +
$gRk.attr('ratekey') + '"]').find('div[seat="' + $gRk.val() + '"]').attr('tooltip',
val);

if (roundTrip) {
var $rRk = $passenger.find('input[name="tbReturn"]');
$('#popup' + uuid + ' div.text div[ratekey="' +
$rRk.attr('ratekey') + '"]').find('div[seat="' + $rRk.val() + '"]').attr('tooltip',
val);
}
}
});

} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 24,
Exception: ex
});
}
},
seats: function (uuid, bus) {

try {
var $popup = $("#popup" + uuid);
$popup.find("div.ajax").show();
var request = {
Cache: {
QuoteId: bus.QuoteId,
RatesKey: [bus.From.RateKey]
}
};

if (bus.RoundTrip) {
request.Cache.RatesKey.push(bus.To.RateKey);
}

$.extend(true, request, settings.Request.GetBaseRequest());

var qS = quotesGlobal.getSettings();

request.Client.Site = qS.Site;
request.Client.Country = qS.Country;
request.Client.Currency = qS.Currency;
request.Client.Affiliate = qS.Affiliate;

execAjax["get"]({
GlobalLoader: false,
IgnoredCodes: [1, 2, 4, 8, 16],
Url: settings.Urls.Buses.Seats,
Request: bGlobal.getIRequestJson(request, []),
Callback: function (response) {
try {
var flag = false;

if (!cVF.isBlank(response) &&
response.Status.SeverityType === settings.SeverityTypes.Success && !
cVF.isBlank(response.Buses)) {

for (var b = 0; b < response.Buses.length; b++) {


var item = response.Buses[b];
var $buses = $popup.find("[ratekey='" +
item.RateKey + "'] .buses");

if ($buses.length <= 0) continue;

$buses.empty();

for (var l = 0; l < item.Levels.length; l++) {


var level = item.Levels[l];
var $bus = $("<div class='bus'></div>");
var $body = $("<div class='body'></div>");

if (item.Levels.length > 1) {
$bus.append($("<h6
class='levelTitle'>Nivel " + (l + 1) + "</h6>"));
}

$bus.append($("<div
class='front'></div>"));
$bus.append($body);
$bus.append($("<div class='rear'></div>"));
$bus.append($("<hr />"));

for (var r = 0; r < level.Rows.length; r++)


{
var row = level.Rows[r];
var $newRow = $("<div
class='row'></div>");

for (var s = 0; s < row.Seats.length;


s++) {
var seat = row.Seats[s];

if (row.Seats.length >= 6 && (s ===


1 || s === 5)) {
continue;
}

var $newSeat = $("<div></div>");


$newSeat.addClass(seat.TypeId);

if (seat.Number != null) {
$newSeat.attr("seat",
seat.Number);
$newSeat.append("<span>" +
seat.Number + "</span>");
}
if (seat.Occupied) {
$newSeat.addClass("occupied");
}

$newRow.prepend($newSeat);
}
$body.append($newRow);
flag = true;
}
$buses.append($bus);
}

$buses.find(".bus > .body > .row >


[seat]").click(function () {
var $this = $(this);

var $passenger =
$popup.find("div[passenger].selected:first");

if ($this.hasClass("occupied") ||
$this.hasClass("taken") || $passenger.length < 1) {
return;
}

var rateKey =
$this.closest("[ratekey]").attr("ratekey");
var $input =
$passenger.find("input[ratekey='" + rateKey + "']");
$input.jDayControl("set", { Value:
$this.attr("seat"), RaiseEvent: true });
});
}
}

var $btnRefresh = $popup.find("div.content


button[name='btnRefreshSeatsBus']");
if (!flag) {
$btnRefresh.unbind("click");
$btnRefresh.click(function () {
$btnRefresh.hide();
quotesDataBagGlobal.Draw.seats(uuid, bus);
});
$btnRefresh.show();
} else {
$popup.find("div.content div.text").show();
$btnRefresh.remove();
}

} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 25,
Exception: ex
});
}
$popup.find("div.ajax").hide();

return true;
}
});
} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 26,
Exception: ex
});
}
},
setSelectedSeat: function (d) {
try {
var $popup = $("#popup" + d.UUId);
var $bus = $popup.find("div.text div[ratekey='" + d.RateKey +
"']");

$bus.find("div[seat='" + d.OldValue +
"']").removeClass("taken").jDayToolTip("destroy");

var $seat = $bus.find("div[seat='" + d.NewValue + "']");


$seat.addClass("taken").attr("tooltip", d.Name);

var $personIndex = $("#" + d.UUId + " [personIndex='" + d.Passenger


+ "']");
$personIndex.find("[name='" + (d.From ? "tbSeatNumberToGo" :
"tbSeatNumberReturn") + "']").val(d.NewValue);

var $list = $popup.find("[name='passengerList']"),


$item = $list.find("div[passenger].selected");

$item.removeClass("selected");
var nItem = $item.next();

if ($(nItem).length > 0) {
$(nItem).addClass("selected");
} else {
$list.children().first().addClass("selected");
}

$bus.find("[tooltip]").jDayToolTip();
} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 27,
Exception: ex
});
}
},
authorization: function (sT, uuid, auth) {
try {
var $se = $('#' + uuid);

$se.attr('status', auth.AuthorizationStatus);
$se.prepend('<div class="ajax"><div class="loading"></div></div>');
$se.find('.header [name="pnlActionButtons"]').prepend('<div
name="btnAuth" class="button"><span class="progress" tooltip="' +
auth.Request.Detail + '"></span></div>');

quotesDataBagGlobal.Request.Auth.add(sT, uuid);

} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 28,
Exception: ex
});
}
},
coupon: function (sT, uuid, code) {
try {
var $se = $("#" + uuid);

$se.prepend('<div class="ribbon top left shadow"><a


class="lnkCoupon" code="' + code + '" >Cupon !!</a></div>');
$se.attr("coupon", "");

} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 29,
Exception: ex
});
}
},
Services: function () {
try {
var $qS = $(".quoteConfig .quoteServicesCount");

quotesDataBagGlobal.Draw.Accountant.amount();

quotesPaymentsTabGlobal.setFirstPayment(quotesDataBagGlobal.Services.Receivable -
quotesDataBagGlobal.Services.MonthlyInterestAmount -
quotesDataBagGlobal.Services.CouponAmount);

var countServices = (quotesDataBagGlobal.Services.Available -


(quotesDataBagGlobal.Services.AD -
quotesDataBagGlobal.Services.NotAvailableAdministrativeFee));

if (countServices <= 0) {
$qS.hide();
} else {
$qS.text(countServices);
$qS.show();
}

} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 'Draw.Services',
Exception: ex
});
}
},
times: function (mode) {
try {
var items = [],
limit = 0;

switch (mode) {
case 'hh':
limit = 24;
break;
case 'mm':
case 'ss':
limit = 60;
break;
}

for (var i = 0; i < limit; i++) {


items.push({
Text: i < 10 ? '0' + i : i,
Value: i
});
}

return items;
} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 31,
Exception: ex
});
}
return [];
},
textGeneralButton: function (type) {
try {
var text = 'Guardar Cotización'; //Guardar Reserva Sin Pago

if (quotesDataBagGlobal.isPrebooking) {
text = 'Guardar Pre Reservación';
} else {
switch (type) {
case 0:
//Generar Reserva con Pago y cargo a tarjeta.
text = 'Reservar';
break;
case 1:
//Generar Reserva con Pago
text = 'Guardar con Pagos';
}
}

$('#btnBook').html(text);

} catch (ex) {
bGlobal.eventHandler({
Code: quotesDataBagGlobal.Code + 32,
Exception: ex
});
}
},
Prebooking: function (enable) {
var toggleDataServices = function (enable) {
var effectOptions = {
mode: enable ? 'hide' : 'show',
direction: 'vertical'
};

var $pnlServices = $('#pnlServices');


var effectTime = 300;

//Todo lo que este visible se oculta caso contrario se muestra


$('#pnlPersonalAddress[visible=' + enable + ']')
.effect('blind', effectOptions, effectTime)
.attr('visible', !enable);
$pnlServices.find('button[name="btnSeatsBus"][visible=' + enable
+']')
.effect('blind', effectOptions, effectTime)
.attr('visible', !enable);
$pnlServices.find('div[name="pnlDataFlight"][visible=' + enable
+']')
.effect('blind', effectOptions, effectTime)
.attr('visible', !enable);
$pnlServices.find('div[name="pnlDataHotel"][visible=' + enable
+']')
.effect('blind', effectOptions, effectTime)
.attr('visible', !enable);
$pnlServices.find('div[name="pnlDataService"][visible=' + enable
+']')
.effect('blind', effectOptions, effectTime)
.attr('visible', !enable);
$pnlServices.find('div[name="pnlDataShuttle"][visible=' + enable
+']')
.effect('blind', effectOptions, effectTime)
.attr('visible', !enable);
$pnlServices.find('div[name="pnlDataTour"][visible=' + enable +']')
.effect('blind', effectOptions, effectTime)
.attr('visible', !enable);
$pnlServices.find('div[name="pnlDataTrip"][visible=' + enable +']')
.effect('blind', effectOptions, effectTime)
.attr('visible', !enable);
return true;
};

quotesDataBagGlobal.isPrebooking = enable;
//toggleValidateServices(enable);
toggleDataServices(enable);

quotesDataBagGlobal.defaultValues.refresh(enable);

//Si hay pagos lo remueve


if (enable) {

if (quotesPaymentsTabGlobal.Count > 0) {
//quotesPaymentsTabGlobal.deleteAllPayments();
$('#chkAddPayment').jDayCheck('checked', { Checked: false,
RaiseEvent: true }).jDayCheck('enabled', false);
} else {
quotesDataBagGlobal.SetPrebookingButtons();
}

$('#btnBook').html('Guardar Pre Reservación');


//Inhabilita la posibilidad de agregar pago por regla de negocio
$('#chkAddPayment').jDayCheck('enabled', false);
} else {
quotesDataBagGlobal.checkAddPayment();

},
Request: {
Code: "99991",

Auth: {
Code: "99991",
Request: false,

Available: 0,
Denied: 0,
Authorized: 0,

add: function (sT, uuid) {


try {
var auth = quotesDataBagGlobal.DataBag[sT][uuid].Authorization;

AuthorizationGlobal.requestAddAuthorization(
auth,
function (r) {
try {
if (cVF.isBlank(r) || r.Status.SeverityType !==
settings.SeverityTypes.Success) return;

var authId =
r.CheckAuthorizations[0].AuthorizationRequestId;

quotesDataBagGlobal.DataBag[sT]
[uuid].Authorization.AuthorizationRequestId = authId;
quotesDataBagGlobal.Request.Auth.Available += 1;

var $se = $('#' + uuid);

$se.find('.header [name="btnAuth"]').click(function
() {
//Verifica si ya esta autorizado, sino ejecuta
el callback
quotesDataBagGlobal.Request.Auth.check(sT,
uuid, function () {
//Si tiene permisos para autorizar, se
lanza popup
if
(permissionControlsGlobal.hasPermission(6)) {
var auth =
quotesDataBagGlobal.DataBag[sT][uuid].Authorization;
var status, $se = $('#' + uuid);

var callBack = function (qStatus) {

//quotesDataBagGlobal.Request.Auth.check(sT, uuid);

quotesDataBagGlobal.Request.Auth.checkDataBag(uuid, qStatus);
};

dialogs.Services.Common.Authorizations.show({ Authorization: auth, Container: $se,


CallBack: callBack });
}
else {
bGlobal.showNotify({

Potrebbero piacerti anche