<commit_before>(function (mw, $) {
	"use strict";

	mw.PluginManager.add('share', mw.KBaseScreen.extend({

		defaultConfig: {
			parent: "topBarContainer",
			order: 5,
			align: "right",
			tooltip:  gM( 'mwe-embedplayer-share' ),
			showTooltip: true,
			displayImportance: 'medium',
			templatePath: 'components/share/share.tmpl.html',

			usePreviewPlayer: false,
			previewPlayerEnabled: false,

			socialShareEnabled: true,
			embedEnabled: true,
			allowTimeOffset: true,
			allowSecuredEmbed: true,
			emailEnabled: true,

			socialShareURL: 'smart', // 'parent' or 'http://custom.url/entry/{mediaProxy.entry.id}'
			socialNetworks: 'facebook,twitter,googleplus,email,linkedin,sms',
			shareUiconfID: null,
			shareConfig: {
				"facebook": {
					"name": "Facebook",
					"icon": "",
					"cssClass": "icon-share-facebook",
					"template": "https://www.facebook.com/sharer/sharer.php?u={share.shareURL}",
					"redirectUrl": 'fb://feed/'
				},
				"twitter": {
					"name": "Twitter",
					"icon": "",
					"cssClass": "icon-share-twitter",
					"template": "https://twitter.com/share?url={share.shareURL}",
					"redirectUrl": 'https://twitter.com/intent/tweet/complete?,https://twitter.com/intent/tweet/update'
				},
				"googleplus": {
					"name": "Google+",
					"icon": "",
					"cssClass": "icon-share-google",
					"template": "https://plus.google.com/share?url={share.shareURL}",
					"redirectUrl": 'https://plus.google.com/app/basic/stream'
				},
				"email": {
					"name": "Email",
					"icon": "",
					"cssClass": "icon-share-email",
					"template": "mailto:?subject=Check out {mediaProxy.entry.name}&body=Check out {mediaProxy.entry.name}: {share.shareURL}",
					"redirectUrl": ''
				},
				"linkedin": {
					"name": "LinkedIn",
					"icon": "",
					"cssClass": "icon-share-linkedin",
					"template": "http://www.linkedin.com/shareArticle?mini=true&url={share.shareURL}",
					"redirectUrl": ''
				},
				"sms": {
					"name": "SMS",
					"icon": "",
					"cssClass": "icon-share-sms",
					"template": "Check out {mediaProxy.entry.name}: {share.shareURL}",
					"redirectUrl": ''
				}
			},
			embedCodeTemplate: '<iframe src="//cdnapi.kaltura.com/p/{mediaProxy.entry.partnerId}/sp/{mediaProxy.entry.partnerId}00/embedIframeJs/uiconf_id/{configProxy.kw.uiConfId}/partner_id/{mediaProxy.entry.partnerId}?iframeembed=true&playerId={configProxy.targetId}&entry_id={mediaProxy.entry.id}&flashvars[streamerType]=auto" width="560" height="395" allowfullscreen webkitallowfullscreen mozAllowFullScreen frameborder="0"></iframe>',
			embedOptions: {
				"streamerType": "auto",
				"uiconfID": null,
				"width": 560,
				"height": 395,
				"borderWidth": 0
			}
		},

		iconBtnClass: "icon-share",
		locale:{
			startTimeLbl: gM( 'mwe-share-startTimeLbl' ),
			secureEmbedLbl: gM( 'mwe-share-secureEmbedLbl' ),
			copyLbl: gM( 'mwe-share-copyLbl' ),
			errDuration: gM( 'mwe-share-errDuration' ),
			errFormat: gM( 'mwe-share-errFormat' )
		},
		shareScreenOpened: false,

		setup: function () {
			this.setupPlayerURL();
			this.addBindings();
<commit_msg>FEC-417 #comment change SMS name for usage in native app<commit_after>(function (mw, $) {
	"use strict";

	mw.PluginManager.add('share', mw.KBaseScreen.extend({

		defaultConfig: {
			parent: "topBarContainer",
			order: 5,
			align: "right",
			tooltip:  gM( 'mwe-embedplayer-share' ),
			showTooltip: true,
			displayImportance: 'medium',
			templatePath: 'components/share/share.tmpl.html',

			usePreviewPlayer: false,
			previewPlayerEnabled: false,

			socialShareEnabled: true,
			embedEnabled: true,
			allowTimeOffset: true,
			allowSecuredEmbed: true,
			emailEnabled: true,

			socialShareURL: 'smart', // 'parent' or 'http://custom.url/entry/{mediaProxy.entry.id}'
			socialNetworks: 'facebook,twitter,googleplus,email,linkedin,sms',
			shareUiconfID: null,
			shareConfig: {
				"facebook": {
					"name": "Facebook",
					"icon": "",
					"cssClass": "icon-share-facebook",
					"template": "https://www.facebook.com/sharer/sharer.php?u={share.shareURL}",
					"redirectUrl": 'fb://feed/'
				},
				"twitter": {
					"name": "Twitter",
					"icon": "",
					"cssClass": "icon-share-twitter",
					"template": "https://twitter.com/share?url={share.shareURL}",
					"redirectUrl": 'https://twitter.com/intent/tweet/complete?,https://twitter.com/intent/tweet/update'
				},
				"googleplus": {
					"name": "Google+",
					"icon": "",
					"cssClass": "icon-share-google",
					"template": "https://plus.google.com/share?url={share.shareURL}",
					"redirectUrl": 'https://plus.google.com/app/basic/stream'
				},
				"email": {
					"name": "Email",
					"icon": "",
					"cssClass": "icon-share-email",
					"template": "mailto:?subject=Check out {mediaProxy.entry.name}&body=Check out {mediaProxy.entry.name}: {share.shareURL}",
					"redirectUrl": ''
				},
				"linkedin": {
					"name": "LinkedIn",
					"icon": "",
					"cssClass": "icon-share-linkedin",
					"template": "http://www.linkedin.com/shareArticle?mini=true&url={share.shareURL}",
					"redirectUrl": ''
				},
				"sms": {
					"name": "Message",
					"icon": "",
					"cssClass": "icon-share-sms",
					"template": "Check out {mediaProxy.entry.name}: {share.shareURL}",
					"redirectUrl": ''
				}
			},
			embedCodeTemplate: '<iframe src="//cdnapi.kaltura.com/p/{mediaProxy.entry.partnerId}/sp/{mediaProxy.entry.partnerId}00/embedIframeJs/uiconf_id/{configProxy.kw.uiConfId}/partner_id/{mediaProxy.entry.partnerId}?iframeembed=true&playerId={configProxy.targetId}&entry_id={mediaProxy.entry.id}&flashvars[streamerType]=auto" width="560" height="395" allowfullscreen webkitallowfullscreen mozAllowFullScreen frameborder="0"></iframe>',
			embedOptions: {
				"streamerType": "auto",
				"uiconfID": null,
				"width": 560,
				"height": 395,
				"borderWidth": 0
			}
		},

		iconBtnClass: "icon-share",
		locale:{
			startTimeLbl: gM( 'mwe-share-startTimeLbl' ),
			secureEmbedLbl: gM( 'mwe-share-secureEmbedLbl' ),
			copyLbl: gM( 'mwe-share-copyLbl' ),
			errDuration: gM( 'mwe-share-errDuration' ),
			errFormat: gM( 'mwe-share-errFormat' )
		},
		shareScreenOpened: false,

		setup: function () {
			this.setupPlayerURL();
			this.addBindings();

{'fraction_non_alphanumeric': 0.18736943596336172, 'fraction_numerical': 0.005945685360758477, 'mean_word_length': 3.7693486590038314, 'pattern_counts': {'":': 82, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 12, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5004875', 'n_tokens_mistral': 2688, 'n_tokens_neox': 2144, 'n_words': 319}