{%- set is_wlm = variant in ('wlm8', 'wlm14', 'wlm16') -%}
{%- set is_wlm14_up = variant in ('wlm14', 'wlm16') -%}
{%- set search_url = 'https://searx.ugnet.xyz/searxng/search?q=$QUERY$' -%}
{%- set trusted_domains = ('hiden.cc', 'ugnet.xyz', 'crosstalk.im', 'ctsrv.xyz') -%}
{%- set error_login_msn = [
('0x80072EE7', 3), ('0x81000306', 3), ('0x80072EFD', 3), ('0x81000362', 3),
('0x8100030E', 3), ('0x80072745', 3), ('0x800701F7', 3), ('0x80072EFF', 3),
('0x81000363', 3), ('0x81000395', 3), ('0x800B0001', 3), ('0x81000323', 3),
('0x80072F19', 3), ('0x800701F8', 3), ('0x80072746', 3), ('0x800701F6', 3),
('0x81000377', 3), ('0x81000314', 3), ('0x81000378', 3), ('0x80072EFF', 3),
('0x80070190', 3), ('0x80070197', 3), ('0x80048820', 3), ('0x80048829', 3),
('0x80048834', 3), ('0x80048852', 3), ('0x8004886a', 3), ('0x8004886b', 3),
] -%}
{%- set error_login_wlm14 = [
('0x80004002', 3), ('0x80004004', 3), ('0x80004005', 3), ('0x8000402A', 3),
('0x8000FFFF', 3), ('0x8001012E', 3), ('0x80040200', 3), ('0x80048051', 3),
('0x80048820', 3), ('0x80048823', 3), ('0x80070002', 3), ('0x80070005', 3),
('0x8007000E', 3), ('0x80070057', 3), ('0x8007007E', 3), ('0x800702E4', 3),
('0x800706BA', 3), ('0x800706BE', 3), ('0x80071392', 3), ('0x80072745', 3),
('0x80072746', 3), ('0x80072EE2', 3), ('0x80072EF3', 3), ('0x80072EFD', 3),
('0x80072EFF', 3), ('0x80072F06', 3), ('0x80072F7D', 3), ('0x800C013E', 3),
('0x80191002', 3), ('0x81000306', 3), ('0x8100030D', 3), ('0x81000314', 3),
('0x81000362', 3), ('0x81000378', 3), ('0x81000395', 3), ('0x85AE000B', 3),
('0x85AE000F', 3), ('0x85AE001D', 3), ('0x85AE0022', 3), ('0x85AE0024', 3),
('0x85AE0027', 3), ('0x85AE003C', 3), ('0x85AE0053', 3), ('0x8E5E0152', 3),
('0x8E5E0158', 3), ('0x8E5E0211', 3), ('0x8E5E0220', 3), ('0x8E5E0226', 3),
('0x8E5E03FE', 3), ('0x8E5E0408', 3), ('0x8E5E05F6', 3), ('0x8E5E0710', 3),
('0x8E5E0713', 3),
] -%}
{%- set error_login_wlm16 = [
('*', 3), ('0x81000605', 3), ('0x80048849', 5), ('0x8004882A', 5),
('0x80048800', 5), ('0x8004889C', 5), ('0x80048831', 5), ('0x81000306', 5),
('0x80048862', 5), ('0x800488EB', 5), ('0x80048848', 5), ('0x80004002', 3),
('0x80004004', 3), ('0x80004005', 3), ('0x8000402A', 3), ('0x8000FFFF', 3),
('0x8001012E', 3), ('0x80040200', 3), ('0x80048051', 3), ('0x80048820', 5),
('0x80048823', 3), ('0x80070002', 3), ('0x80070005', 3), ('0x8007000E', 3),
('0x80070057', 3), ('0x8007007E', 3), ('0x800702E4', 3), ('0x800706BA', 3),
('0x800706BE', 3), ('0x80071392', 3), ('0x80072745', 3), ('0x80072746', 3),
('0x80072EE2', 3), ('0x80072EF3', 3), ('0x80072EFD', 3), ('0x80072EFF', 3),
('0x80072F06', 3), ('0x80072F7D', 3), ('0x800C013E', 3), ('0x80191002', 3),
('0x8100030D', 3), ('0x81000314', 3), ('0x81000362', 3), ('0x81000378', 3),
('0x81000395', 3), ('0x85AE000B', 3), ('0x85AE000F', 3), ('0x85AE001D', 3),
('0x85AE0022', 3), ('0x85AE0024', 3), ('0x85AE0027', 3), ('0x85AE003C', 3),
('0x85AE0053', 3), ('0x8E5E0152', 3), ('0x8E5E0158', 3), ('0x8E5E0211', 3),
('0x8E5E0220', 3), ('0x8E5E0226', 3), ('0x8E5E03FE', 3), ('0x8E5E0408', 3),
('0x8E5E05F6', 3), ('0x8E5E0710', 3), ('0x8E5E0713', 3),
] -%}
{%- set error_login = {'msn': error_login_msn, 'wlm8': error_login_msn, 'wlm14': error_login_wlm14, 'wlm16': error_login_wlm16} -%}
{%- set error_mapfile_msn = [
('0x810003F0', 3), ('0x810003F1', 3), ('0x810003F2', 3), ('0x810003F3', 3),
('0x810003F4', 3), ('0x810003F5', 3), ('0x810003F6', 3), ('0x810003F7', 3),
] -%}
{%- set error_mapfile_wlm14 = [
('0x810003F1', 3), ('0x810003F6', 3),
] -%}
{%- set error_mapfile = {'msn': error_mapfile_msn, 'wlm8': error_mapfile_msn, 'wlm14': error_mapfile_wlm14, 'wlm16': error_mapfile_wlm14} -%}
{%- set error_p2p_wlm8 = [
('0x82000012', 3), ('0x82000013', 3), ('0x82000016', 3), ('0x82000017', 3),
('0x82000018', 3), ('0x82000019', 3),
] -%}
{%- set error_p2p_wlm14 = [
('0x82000016', 3), ('0x82000017', 3), ('0x82000019', 3), ('0x8200001b', 3),
('0x8200001d', 3), ('0x8200001e', 3), ('0x82000024', 3), ('0x82000026', 3),
] -%}
{%- set error_p2p = {'wlm8': error_p2p_wlm8, 'wlm14': error_p2p_wlm14, 'wlm16': error_p2p_wlm14} -%}
{%- macro msgr_config() -%}
{%- if variant == 'wlm16' %}
{%- endif %}
{{ 2 if variant == 'wlm16' else 0 }}
{%- if is_wlm14_up %}
1
{%- endif %}
{{ 0 if variant == 'wlm8' else 1 }}
{%- if is_wlm %}
false
{%- endif %}
http://ms.msgrsvcs.ctsrv.xyz/locate.sxml
1
http://ms.msgrsvcs.ctsrv.xyz/locate.sxml
{%- if variant == 'msn' %}
{%- else %}
{%- endif %}
{%- if variant == 'wlm16' %}
http://rad.msn.com/ADSAdClient31.dll?GetAd?PG=
http://b.scorecardresearch.com/p?c1=7&c2=3000001&c3=%1!d!&cj=1
1
0
4.68.251.254
avrelay.msn.com
7000
{%- else %}
0
0
{%- endif %}
{%- if variant == 'wlm14' %}
{%- elif variant == 'wlm16' %}
{%- endif %}
{%- if variant == 'wlm16' %}
{%- endif %}
{%- for domain in trusted_domains %}
{%- endfor %}
{%- for hr, action in error_login[variant] %}
{%- endfor %}
{%- for hr, action in error_mapfile[variant] %}
{%- endfor %}
{%- if variant in error_p2p %}
{%- for hr, action in error_p2p[variant] %}
{%- endfor %}
{%- endif %}
{%- if variant == 'wlm16' %}
{%- endif %}
{%- if variant == 'wlm14' %}
{%- elif variant == 'wlm16' %}
{%- endif %}
{%- if is_wlm14_up %}
{%- endif %}
{%- if variant == 'wlm16' %}
5
10
http://ro-test.exp.glbdns.microsoft.com/
1
http://mail.live.com/?rru=%1
inbox
compose
?to=%1
getmsg
?msg=%1
{%- endif %}
{%- if variant in ('msn', 'wlm8') %}
{% include 'msn:svcs/svcs_tabs.xml' %}
{%- endif %}
https://{{ settings.ADDRESSBOOK_HOST }}/abservice.asmx
{%- if variant == 'wlm16' %}
120
http://{{ settings.AD_HOST }}/ads/banner
http://{{ settings.AD_HOST }}/ads/banner
{%- endif %}
{%- if variant == 'wlm16' %}
http://{{ settings.AD_HOST }}/ads/banner
http://{{ settings.AD_HOST }}/ads/banner-lg
http://{{ settings.AD_HOST }}/ads/banner
{%- else %}
http://{{ settings.AD_HOST }}/ads/banner
{%- endif %}
{%- if is_wlm %}
{%- endif %}
{%- if is_wlm14_up %}
420
{%- endif %}
1
{{ 'https' if variant == 'wlm16' else 'http' }}://{{ settings.AD_HOST }}/ads/txt
{%- if variant == 'wlm16' %}
{%- endif %}
{%- set appdir = ('https' if variant == 'wlm16' else 'http') ~ '://' ~ settings.APPDIR_HOST ~ '/AppDirectory' %}
{{ appdir }}/Directory.aspx?L=en-us
{{ appdir }}/AppDirectory.asmx
{{ appdir }}/GetAppdirVersion.aspx
{%- if variant == 'wlm16' %}
{%- endif %}
{%- if variant == 'wlm8' %}
http://{{ settings.SOCIAL_HOST }}/PendingRequests.aspx?mkt=en-us&partner=Messenger
73625
672
808
http://{{ settings.SOCIAL_HOST }}/NetworkExplorer.aspx?mkt=en-us&partner=Messenger&cid=%1
73625
674
808
http://{{ settings.SOCIAL_HOST }}/profile.aspx?action=edit&mode=activecontacts&mkt=en-us&partner=Messenger
73625
http://{{ settings.SOCIAL_HOST }}/profile.aspx?action=edit&partner=Messenger&mkt=en-us
73625
http://{{ settings.SOCIAL_HOST }}/Profile.aspx?partner=Messenger&mkt=en-us&mem=%ls
http://{{ settings.SOCIAL_HOST }}/Profile.aspx?partner=Messenger&mkt=en-us&cid=%ls
73625
http://{{ settings.SOCIAL_HOST }}/NetworkSetup.aspx?mkt=en-us&partner=Messenger
73625
674
808
false
{%- elif variant == 'wlm14' %}
73625
672
true
808
http://cid-%1!16.16I64X!.profile.live.com/invites?partner=Messenger
http://{{ settings.SOCIAL_HOST }}/profile.aspx?action=edit&mode=activecontacts&mkt=en-us&partner=Messenger
73625
http://profile.live.com/details
73625
http://cid-%1!16.16I64X!.profile.live.com/connect/?partner=Messenger
73625
http://cid-%1.profile.live.com/connect/send.aspx?email=%2
http://cid-%1.profile.live.com/connect/send.aspx?cid=%2
73625
http://{{ settings.SOCIAL_HOST }}/Profile.aspx?partner=Messenger&mkt=en-us&mem=%ls
http://{{ settings.SOCIAL_HOST }}/Profile.aspx?partner=Messenger&mkt=en-us&cid=%ls
http://cid-%1!16.16I64X!.profile.live.com
73625
http://cid-%1.profile.live.com/connect/Messenger.aspx?Email=%2
http://cid-%1.profile.live.com/connect/Messenger.aspx?cid=0x%2
73625
true
{%- elif variant == 'wlm16' %}
73625
672
true
808
http://profile.live.com/invites
http://alerts.live.com/Alerts/MyAlerts.aspx
http://profile.live.com/details/edit
73625
http://profile.live.com/details
73625
http://profile.live.com/details/edit/name
73625
http://profile.live.com/privacy
73625
http://cid-%1!16.16I64X!.profile.live.com/options/notifications
73625
http://cid-%1!16.16I64X!.profile.live.com/details/Edit
73625
http://cid-%1!16.16I64X!.profile.live.com/details/Edit/?ContactId=%2
73625
http://mail.live.com/?rru=options?subsection=26
73625
http://cid-%1!16.16I64X!.profile.live.com/connect
73625
http://expo.live.com/BuddyProfile.aspx?cid=
67227
https://profile.live.com/%1/connect/send?email=%2
https://profile.live.com/%1/connect/send?cid=%2
73625
http://cid-%1!16.16I64X!.profile.live.com/friends/common/
73625
http://home.live.com/search
73625
https://profile.live.com/cid-%1!16.16I64X!
https://profile.live.com/cid-%1!16.16I64X!
http://cid-%1!16.16I64X!.profile.live.com
73625
http://explore.live.com/windows-live-privacy-limited-access-ui
73625
http://cid-%1!16.16I64X!.profile.live.com/SecurityCheck/?oid=12&usercid=%3&QRCode=SocialNetworkInvites
73625
http://cid-%1.profile.live.com/connect/Messenger.aspx?Email=%2
http://cid-%1.profile.live.com/connect/Messenger.aspx?cid=0x%2
73625
http://cid-%1!16.16I64X!.photos.live.com
73625
true
{%- endif %}
{%- if variant in ('wlm8', 'wlm14') %}
45930
http://{{ settings.SOCIAL_HOST }}/?addblogentry=true&mkt=nl-nl
false
45930
http://{{ settings.SOCIAL_HOST }}/signup.aspx?mkt=nl-nl
{%- if variant == 'wlm8' %}
http://storage.msn.com/storageservice/schematizedstore.asmx
http://services.{{ settings.SOCIAL_HOST }}/contactcard/contactcardservice.asmx
{%- else %}
http://ctas.storage.ugnet.xyz/storageservice/schematizedstore.asmx
http://{{ settings.SOCIAL_HOST }}/contactcard/contactcardservice.asmx
{%- endif %}
45930
http://{{ settings.SOCIAL_HOST }}/homepage.aspx
45930
http://{{ settings.SOCIAL_HOST }}
true
{%- elif variant == 'wlm16' %}
73625
http://{{ settings.SOCIAL_HOST }}/?addblogentry=true&mkt=en-us
false
73625
http://{{ settings.SOCIAL_HOST }}
http://storage.msn.com/storageservice/schematizedstore.asmx
http://cc.services.{{ settings.SOCIAL_HOST }}/contactcard/contactcardservice.asmx
http://cc.services.{{ settings.SOCIAL_HOST }}/contactcard/contactcardservice.asmx
http://cid-%1!16.16I64X!.cc.services.{{ settings.SOCIAL_HOST }}/contactcard/contactcardservice.asmx
73625
http://{{ settings.SOCIAL_HOST }}
73625
http://{{ settings.SOCIAL_HOST }}
true
http://www.msn.com/infopane/messenger.armx
{%- endif %}
{%- if is_wlm %}
http://{{ settings.STORAGE_HOST }}/crosstalk-dist/client/all/tools/flashplayer_10_3r183_48_winax.exe
{%- endif %}
{%- if variant == 'wlm16' %}
71659
https://fss.live.com/krl/AddContact.aspx
{%- endif %}
{%- if is_wlm %}
{%- endif %}
{%- if variant == 'wlm16' %}
http://c.imp.live.com/content/dam/imp/surfaces/highlights/skype/en/wave3.html
1
7
http://c.imp.live.com/content/dam/imp/surfaces/highlights/skype/en/wave3.html
http://c.imp.live.com/content/dam/imp/surfaces/highlights/skype/en/wave4.html
http://c.imp.live.com/content/dam/imp/surfaces/highlights/skype/en/wave4.html
{%- endif %}
{%- if is_wlm14_up %}
{%- endif %}
{%- if variant == 'wlm16' %}
{%- endif %}
{%- if is_wlm %}
https://{{ settings.WEBSITE_HOST }}/blog
{%- endif %}
{%- if variant == 'wlm16' %}
{%- endif %}
{%- if variant != 'wlm8' %}
{{ search_url }}&ia=web
{%- endif %}
{{ search_url }}&ia=images
{%- if variant != 'wlm8' %}
{{ search_url }}&ia=web
{%- endif %}
{{ search_url }}+news&ia=news
{%- if is_wlm14_up %}
http://home.live.com/search?query=$QUERY$
73625
{%- endif %}
{%- if variant != 'wlm8' %}
{{ search_url }}&ia=web
{%- endif %}
{{ search_url }}&ia=web
{{ search_url }}&ia=web
{{ search_url }}&ia=web
{%- if variant == 'msn' %}
http://{{ settings.TODAY_HOST }}/start?msn=1
{%- else %}
6528
{%- if variant == 'wlm16' %}
https://{{ settings.TODAY_HOST }}/start?windowslive=1
{%- else %}
http://{{ settings.TODAY_HOST }}/start?wlm=1
{%- endif %}
2
{%- endif %}
{%- if variant in ('wlm8', 'wlm14') %}
{%- endif %}
{%- if variant == 'wlm16' %}
{%- endif %}
{%- if variant == 'wlm14' %}
{%- elif variant == 'wlm16' %}
{%- endif %}
{%- if is_wlm14_up %}
{%- endif %}
{%- if is_wlm %}
{%- endif %}
{%- if variant == 'wlm16' %}
http://support.live.com/default.aspx?productkey=wlmessengerabuse
https://home.live.com/handlers/ReportAbuse.mvc
{{ settings.SOCIAL_HOST }}
{%- elif is_wlm %}
https://{{ settings.WEBSITE_HOST }}/report
{%- endif %}
{%- if is_wlm14_up %}
http://g.msn.com/5meen_us/106?%1&Plcid=%2!hs!&%3&Country=%4!hs!&BrandID=%5&passport=%6
{%- else %}
https://{{ settings.WEBSITE_HOST }}/account/settings
{%- endif %}
{%- if is_wlm %}
{%- endif %}
{%- if variant == 'wlm16' %}
http://cid-%1!16.16I64X!.profile.live.com/Services/
73625
http://cid-%1!16.16I64X!.profile.live.com/Services/?view=manage
73625
http://cid-%1!16.16I64X!.profile.live.com/Services/Add.aspx?appid=%2
73625
http://cid-%1!16.16I64X!.profile.live.com/whatsnewsettings
73625
http://cid-%1!16.16I64X!.events.live.com
73625
http://cid-%1!16.16I64X!.groups.live.com
73625
http://home.live.com/whatsnew.aspx
73625
http://profile.live.com/whatsnewsettings/
73625
http://cid-%1.profile.live.com/WhatsNew/HideUpdates?cid=%2&name=%3
http://cid-%1.profile.live.com/WhatsNew/HideUpdates?cid=%2&name=%3
73625
http://cid-%1.profile.live.com/WhatsNew/HideUpdates?externalSourceId=%2&externalObjectId=%3&name=%4
http://cid-%1.profile.live.com/WhatsNew/HideUpdates?externalSourceId=%2&externalObjectId=%3&name=%4
73625
http://cid-%1.profile.live.com/WhatsNew/HideUpdates?email=%2&name=%3
http://cid-%1.profile.live.com/WhatsNew/HideUpdates?email=%2&name=%3
73625
http://cid-%1.profile.live.com/WhatsNew/HideUpdates?appid=%2
http://cid-%1.profile.live.com/WhatsNew/HideUpdates?appid=%2
73625
http://cid-%1!16.16I64X!.profile.live.com
73625
windowslivemail.com
{%- endif %}
{%- if is_wlm14_up %}
1
{%- for tab in tabs %}
https://{{ settings.AD_HOST }}/svcs/tab={{ tab.id }}
{%- endfor %}
{%- endif %}
956
https://{{ settings.WEBSITE_HOST }}/tos
{%- if variant == 'wlm16' %}
{%- endif %}
{%- if is_wlm %}
0
0
0
0
0
{%- if variant == 'wlm16' %}
{%- endif %}
{%- endif %}
{%- endmacro -%}
{%- if soap -%}
{%- else -%}
{{ msgr_config() }}
{%- endif -%}