ravenjs-gem 1.0.7.0 → 1.1.14

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ravenjs-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7.0
5
- prerelease:
4
+ version: 1.1.14
6
5
  platform: ruby
7
6
  authors:
8
7
  - Christian Vuerings
@@ -11,12 +10,11 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2013-04-04 00:00:00.000000000 Z
13
+ date: 2014-04-25 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: railties
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
19
  - - ! '>='
22
20
  - !ruby/object:Gem::Version
@@ -24,7 +22,6 @@ dependencies:
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
26
  - - ! '>='
30
27
  - !ruby/object:Gem::Version
@@ -32,7 +29,6 @@ dependencies:
32
29
  - !ruby/object:Gem::Dependency
33
30
  name: bundler
34
31
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
32
  requirements:
37
33
  - - ! '>='
38
34
  - !ruby/object:Gem::Version
@@ -40,7 +36,6 @@ dependencies:
40
36
  type: :development
41
37
  prerelease: false
42
38
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
39
  requirements:
45
40
  - - ! '>='
46
41
  - !ruby/object:Gem::Version
@@ -53,48 +48,40 @@ executables: []
53
48
  extensions: []
54
49
  extra_rdoc_files: []
55
50
  files:
56
- - lib/ravenjs-gem/version.rb
51
+ - MIT-LICENSE
52
+ - README.md
53
+ - Rakefile
57
54
  - lib/ravenjs-gem.rb
55
+ - lib/ravenjs-gem/version.rb
58
56
  - vendor/assets/javascripts/1.0.6/raven.js
59
57
  - vendor/assets/javascripts/1.0.6/raven.min.js
60
58
  - vendor/assets/javascripts/1.0.6/raven.min.map
61
59
  - vendor/assets/javascripts/1.0.7/raven.js
62
60
  - vendor/assets/javascripts/1.0.7/raven.min.js
63
61
  - vendor/assets/javascripts/1.0.7/raven.min.map
62
+ - vendor/assets/javascripts/1.1.14/raven.js
64
63
  - vendor/assets/javascripts/raven.js
65
- - vendor/assets/javascripts/raven.min.js
66
- - vendor/assets/javascripts/raven.min.map
67
- - MIT-LICENSE
68
- - Rakefile
69
- - README.md
70
64
  homepage: http://github.com/ets-berkeley-edu/ravenjs-gem
71
65
  licenses: []
66
+ metadata: {}
72
67
  post_install_message:
73
68
  rdoc_options: []
74
69
  require_paths:
75
70
  - lib
76
71
  required_ruby_version: !ruby/object:Gem::Requirement
77
- none: false
78
72
  requirements:
79
73
  - - ! '>='
80
74
  - !ruby/object:Gem::Version
81
75
  version: '0'
82
- segments:
83
- - 0
84
- hash: 1081377169045474896
85
76
  required_rubygems_version: !ruby/object:Gem::Requirement
86
- none: false
87
77
  requirements:
88
78
  - - ! '>='
89
79
  - !ruby/object:Gem::Version
90
80
  version: '0'
91
- segments:
92
- - 0
93
- hash: 1081377169045474896
94
81
  requirements: []
95
82
  rubyforge_project:
96
- rubygems_version: 1.8.24
83
+ rubygems_version: 2.2.2
97
84
  signing_key:
98
- specification_version: 3
85
+ specification_version: 4
99
86
  summary: Raven.js - JavaScript client for Sentry
100
87
  test_files: []
@@ -1,5 +0,0 @@
1
- /*! Raven.js 1.0.7 | github.com/getsentry/raven-js */
2
- (function(n,e){function r(n,e){return Object.prototype.hasOwnProperty.call(n,e)}function t(n){return n===e}var i={},u=n.TraceKit,o=[].slice,c="?";i.noConflict=function(){return n.TraceKit=u,i},i.wrap=function(n){function e(){try{return n.apply(this,arguments)}catch(e){throw i.report(e),e}}return e},i.report=function(){function e(n){l.push(n)}function t(n){for(var e=l.length-1;e>=0;--e)l[e]===n&&l.splice(e,1)}function u(n,e){var t=null;if(!e||i.collectWindowErrors){for(var u in l)if(r(l,u))try{l[u].apply(null,[n].concat(o.call(arguments,2)))}catch(c){t=c}if(t)throw t}}function c(e){var r=o.call(arguments,1);if(s){if(a===e)return;var t=s;s=null,a=null,u.apply(null,[t,null].concat(r))}var c=i.computeStackTrace(e);throw s=c,a=e,n.setTimeout(function(){a===e&&(s=null,a=null,u.apply(null,[c,null].concat(r)))},c.incomplete?2e3:0),e}var l=[],a=null,s=null,f=n.onerror;return n.onerror=function(n,e,r){var t=null;if(s)i.computeStackTrace.augmentStackTraceWithInitialElement(s,e,r,n),t=s,s=null,a=null;else{var o={url:e,line:r};o.func=i.computeStackTrace.guessFunctionName(o.url,o.line),o.context=i.computeStackTrace.gatherContext(o.url,o.line),t={mode:"onerror",message:n,url:document.location.href,stack:[o],useragent:navigator.userAgent}}return u(t,"from window.onerror"),f?f.apply(this,arguments):!1},c.subscribe=e,c.unsubscribe=t,c}(),i.computeStackTrace=function(){function e(e){function r(){try{return new n.XMLHttpRequest}catch(e){return new n.ActiveXObject("Microsoft.XMLHTTP")}}if(!i.remoteFetching)return"";try{var t=r();return t.open("GET",e,!1),t.send(""),t.responseText}catch(u){return""}}function u(n){if(!r(E,n)){var t="";-1!==n.indexOf(document.domain)&&(t=e(n)),E[n]=t?t.split("\n"):[]}return E[n]}function o(n,e){var r,i=/function ([^(]*)\(([^)]*)\)/,o=/['"]?([0-9A-Za-z$_]+)['"]?\s*[:=]\s*(function|eval|new Function)/,l="",a=10,s=u(n);if(!s.length)return c;for(var f=0;a>f;++f)if(l=s[e-f]+l,!t(l)){if(r=o.exec(l))return r[1];if(r=i.exec(l))return r[1]}return c}function l(n,e){var r=u(n);if(!r.length)return null;var o=[],c=Math.floor(i.linesOfContext/2),l=c+i.linesOfContext%2,a=Math.max(0,e-c-1),s=Math.min(r.length,e+l-1);e-=1;for(var f=a;s>f;++f)t(r[f])||o.push(r[f]);return o.length>0?o:null}function a(n){return n.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g,"\\$&")}function s(n){return a(n).replace("<","(?:<|&lt;)").replace(">","(?:>|&gt;)").replace("&","(?:&|&amp;)").replace('"','(?:"|&quot;)').replace(/\s+/g,"\\s+")}function f(n,e){for(var r,t,i=0,o=e.length;o>i;++i)if((r=u(e[i])).length&&(r=r.join("\n"),t=n.exec(r)))return{url:e[i],line:r.substring(0,t.index).split("\n").length,column:t.index-r.lastIndexOf("\n",t.index)-1};return null}function p(n,e,r){var t,i=u(e),o=RegExp("\\b"+a(n)+"\\b");return r-=1,i&&i.length>r&&(t=o.exec(i[r]))?t.index:null}function g(e){for(var r,t,i,u,o=[n.location.href],c=document.getElementsByTagName("script"),l=""+e,p=/^function(?:\s+([\w$]+))?\s*\(([\w\s,]*)\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/,g=/^function on([\w$]+)\s*\(event\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/,h=0;c.length>h;++h){var m=c[h];m.src&&o.push(m.src)}if(i=p.exec(l)){var v=i[1]?"\\s+"+i[1]:"",d=i[2].split(",").join("\\s*,\\s*");r=a(i[3]).replace(/;$/,";?"),t=RegExp("function"+v+"\\s*\\(\\s*"+d+"\\s*\\)\\s*{\\s*"+r+"\\s*}")}else t=RegExp(a(l).replace(/\s+/g,"\\s+"));if(u=f(t,o))return u;if(i=g.exec(l)){var x=i[1];if(r=s(i[2]),t=RegExp("on"+x+"=[\\'\"]\\s*"+r+"\\s*[\\'\"]","i"),u=f(t,o[0]))return u;if(t=RegExp(r),u=f(t,o))return u}return null}function h(n){if(!n.stack)return null;for(var e,r,t=/^\s*at (?:((?:\[object object\])?\S+) )?\(?((?:file|http|https):.*?):(\d+)(?::(\d+))?\)?\s*$/i,i=/^\s*(\S*)(?:\((.*?)\))?@((?:file|http|https).*?):(\d+)(?::(\d+))?\s*$/i,u=n.stack.split("\n"),a=[],s=/^(.*) is undefined$/.exec(n.message),f=0,g=u.length;g>f;++f){if(e=i.exec(u[f]))r={url:e[3],func:e[1]||c,args:e[2]?e[2].split(","):"",line:+e[4],column:e[5]?+e[5]:null};else{if(!(e=t.exec(u[f])))continue;r={url:e[2],func:e[1]||c,line:+e[3],column:e[4]?+e[4]:null}}!r.func&&r.line&&(r.func=o(r.url,r.line)),r.line&&(r.context=l(r.url,r.line)),a.push(r)}return a[0]&&a[0].line&&!a[0].column&&s&&(a[0].column=p(s[1],a[0].url,a[0].line)),a.length?{mode:"stack",name:n.name,message:n.message,url:document.location.href,stack:a,useragent:navigator.userAgent}:null}function m(n){for(var e,r=n.stacktrace,t=/ line (\d+), column (\d+) in (?:<anonymous function: ([^>]+)>|([^\)]+))\((.*)\) in (.*):\s*$/i,i=r.split("\n"),u=[],c=0,a=i.length;a>c;c+=2)if(e=t.exec(i[c])){var s={line:+e[1],column:+e[2],func:e[3]||e[4],args:e[5]?e[5].split(","):[],url:e[6]};if(!s.func&&s.line&&(s.func=o(s.url,s.line)),s.line)try{s.context=l(s.url,s.line)}catch(f){}s.context||(s.context=[i[c+1]]),u.push(s)}return u.length?{mode:"stacktrace",name:n.name,message:n.message,url:document.location.href,stack:u,useragent:navigator.userAgent}:null}function v(e){var t=e.message.split("\n");if(4>t.length)return null;var i,c,a,p,g=/^\s*Line (\d+) of linked script ((?:file|http|https)\S+)(?:: in function (\S+))?\s*$/i,h=/^\s*Line (\d+) of inline#(\d+) script in ((?:file|http|https)\S+)(?:: in function (\S+))?\s*$/i,m=/^\s*Line (\d+) of function script\s*$/i,v=[],d=document.getElementsByTagName("script"),x=[];for(c in d)r(d,c)&&!d[c].src&&x.push(d[c]);for(c=2,a=t.length;a>c;c+=2){var y=null;if(i=g.exec(t[c]))y={url:i[2],func:i[3],line:+i[1]};else if(i=h.exec(t[c])){y={url:i[3],func:i[4]};var w=+i[1],k=x[i[2]-1];if(k&&(p=u(y.url))){p=p.join("\n");var E=p.indexOf(k.innerText);E>=0&&(y.line=w+p.substring(0,E).split("\n").length)}}else if(i=m.exec(t[c])){var b=n.location.href.replace(/#.*$/,""),S=i[1],T=RegExp(s(t[c+1]));p=f(T,[b]),y={url:b,line:p?p.line:S,func:""}}if(y){y.func||(y.func=o(y.url,y.line));var $=l(y.url,y.line),F=$?$[Math.floor($.length/2)]:null;y.context=$&&F.replace(/^\s*/,"")===t[c+1].replace(/^\s*/,"")?$:[t[c+1]],v.push(y)}}return v.length?{mode:"multiline",name:e.name,message:t[0],url:document.location.href,stack:v,useragent:navigator.userAgent}:null}function d(n,e,r,t){var i={url:e,line:r};if(i.url&&i.line){n.incomplete=!1,i.func||(i.func=o(i.url,i.line)),i.context||(i.context=l(i.url,i.line));var u=/ '([^']+)' /.exec(t);if(u&&(i.column=p(u[1],i.url,i.line)),n.stack.length>0&&n.stack[0].url===i.url){if(n.stack[0].line===i.line)return!1;if(!n.stack[0].line&&n.stack[0].func===i.func)return n.stack[0].line=i.line,n.stack[0].context=i.context,!1}return n.stack.unshift(i),n.partial=!0,!0}return n.incomplete=!0,!1}function x(n,e){for(var r,t,u,l=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,a=[],s={},f=!1,h=x.caller;h&&!f;h=h.caller)if(h!==y&&h!==i.report){if(t={url:null,func:c,line:null,column:null},h.name?t.func=h.name:(r=l.exec(""+h))&&(t.func=r[1]),u=g(h)){t.url=u.url,t.line=u.line,t.func===c&&(t.func=o(t.url,t.line));var m=/ '([^']+)' /.exec(n.message||n.description);m&&(t.column=p(m[1],u.url,u.line))}s[""+h]?f=!0:s[""+h]=!0,a.push(t)}e&&a.splice(0,e);var v={mode:"callers",name:n.name,message:n.message,url:document.location.href,stack:a,useragent:navigator.userAgent};return d(v,n.sourceURL||n.fileName,n.line||n.lineNumber,n.message||n.description),v}function y(n,e){var r=null;e=null==e?0:+e;try{if(r=m(n))return r}catch(t){if(k)throw t}try{if(r=h(n))return r}catch(t){if(k)throw t}try{if(r=v(n))return r}catch(t){if(k)throw t}try{if(r=x(n,e+1))return r}catch(t){if(k)throw t}return{mode:"failed"}}function w(n){n=(null==n?0:+n)+1;try{throw Error()}catch(e){return y(e,n+1)}return null}var k=!1,E={};return y.augmentStackTraceWithInitialElement=d,y.guessFunctionName=o,y.gatherContext=l,y.ofCaller=w,y}(),function(){var e=function e(e){var r=n[e];n[e]=function(){var n=o.call(arguments),e=n[0];return"function"==typeof e&&(n[0]=i.wrap(e)),r.apply?r.apply(this,n):r(n[0],n[1])}};e("setTimeout"),e("setInterval")}(),function(n){if(n){var r=n.event.add;n.event.add=function(e,t,u,o,c){var l;return u.handler?(l=u.handler,u.handler=i.wrap(u.handler)):(l=u,u=i.wrap(u)),u.guid=l.guid?l.guid:l.guid=n.guid++,r.call(this,e,t,u,o,c)};var t=n.fn.ready;n.fn.ready=function(n){return t.call(this,i.wrap(n))};var u=n.ajax;n.ajax=function(r,t){var o,c=["complete","error","success"];for("object"==typeof r&&(t=r,r=e),t=t||{};o=c.pop();)n.isFunction(t[o])&&(t[o]=i.wrap(t[o]));try{return u.call(this,r,t)}catch(l){throw i.report(l),l}}}}(n.jQuery),i.remoteFetching||(i.remoteFetching=!0),i.collectWindowErrors||(i.collectWindowErrors=!0),(!i.linesOfContext||1>i.linesOfContext)&&(i.linesOfContext=11),n.TraceKit=i})(window),function(n,e){"use strict";function r(n){for(var e=F.exec(n),r={},t=14;t--;)r[$[t]]=e[t]||"";return r}function t(n){return n===e}function i(n){return"function"==typeof n}function u(n,e){var r,i;if(t(n.length))for(r in n)n.hasOwnProperty(r)&&e.call(null,r,n[r]);else for(r=0,i=n.length;i>r;r++)e.call(null,r,n[r])}function o(){if(S)return S;var n=["sentry_version=2.0","sentry_client=raven-js/"+T.VERSION];return x&&n.push("sentry_key="+x),S="?"+n.join("&")}function c(n,e){var r,t,i=[],u=0;if(n.stack&&(r=n.stack.length))for(;r>u;u++)t=l(n.stack[u]),t&&i.push(t);s(n.name,n.message,n.url,n.lineno,i,e)}function l(n){if(n.url){var e={filename:n.url,lineno:n.line,colno:n.column,"function":n.func||"?"},r=a(n);if(r)for(var t=3,i=["pre_context","context_line","post_context"];t--;)e[i[t]]=r[t];return e.in_app=!/(Raven|TraceKit)\./.test(e["function"]),e}}function a(n){if(n.context&&E.fetchContext){for(var e=n.context,r=~~(e.length/2),i=e.length,u=!1;i--;)if(e[i].length>300){u=!0;break}if(u){if(t(n.column))return;return[[],e[r].substr(n.column,50),[]]}return[e.slice(0,r),e[r],e.slice(r+1)]}}function s(n,e,r,t,i,u){var o,c,l;for(l=E.ignoreErrors.length;l--;)if(e===E.ignoreErrors[l])return;for(i&&i.length?(o={frames:i},r=r||i[0].filename):r&&(o={frames:[{filename:r,lineno:t}]}),l=E.ignoreUrls.length;l--;)if(E.ignoreUrls[l].test(r))return;c=t?e+" at "+t:e,g(f({"sentry.interfaces.Exception":{type:n,value:e},"sentry.interfaces.Stacktrace":o,culprit:r,message:c},u))}function f(n,e){return e?(u(e,function(e,r){n[e]=r}),n):n}function p(){var e={url:n.location.href,headers:{"User-Agent":navigator.userAgent}};return n.document.referrer&&(e.headers.Referer=n.document.referrer),e}function g(n){m()&&(n=f({project:y,logger:E.logger,site:E.site,platform:"javascript","sentry.interfaces.Http":p()},n),d&&(n["sentry.interfaces.User"]=d),i(E.dataCallback)&&(n=E.dataCallback(n)),h(n))}function h(n){(new Image).src=v+o()+"&sentry_data="+encodeURIComponent(JSON.stringify(n))}function m(){return k?v?!0:(n.console&&console.error&&console.error("Error: Raven has not been configured."),!1):!1}var v,d,x,y,w=n.Raven,k=!t(n.JSON),E={logger:"javascript",ignoreErrors:[],ignoreUrls:[]},b=TraceKit.noConflict();b.remoteFetching=!1;var S,T={VERSION:"1.0.7",noConflict:function(){return n.Raven=w,T},config:function(e,t){var i=r(e),o=i.path.lastIndexOf("/"),c=i.path.substr(1,o);return t&&t.ignoreErrors&&n.console&&console.warn&&console.warn("DeprecationWarning: `ignoreErrors` is going to be removed soon."),t&&u(t,function(n,e){E[n]=e}),E.ignoreErrors.push("Script error."),x=i.user,y=~~i.path.substr(o+1),v="//"+i.host+(i.port?":"+i.port:"")+"/"+c+"api/"+y+"/store/",i.protocol&&(v=i.protocol+":"+v),E.fetchContext&&(b.remoteFetching=!0),T},install:function(){return m()?(b.report.subscribe(c),T):e},context:function(n,r,t){i(n)&&(t=r||[],r=n,n=e),T.wrap(n,r).apply(this,t)},wrap:function(n,r){return i(n)&&(r=n,n=e),function(){try{r.apply(this,arguments)}catch(e){throw T.captureException(e,n),e}}},uninstall:function(){return b.report.unsubscribe(c),T},captureException:function(n,e){if("string"==typeof n)return T.captureMessage(n,e);try{b.report(n,e)}catch(r){if(n!==r)throw r}return T},captureMessage:function(n,e){return g(f({message:n},e)),T},setUser:function(n){return d=n,T}},$="source protocol authority userInfo user password host port relative path directory file query anchor".split(" "),F=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/;n.Raven=T,"function"==typeof define&&define.amd&&define(function(){return T})}(window);
3
- /*
4
- //@ sourceMappingURL=raven.min.map
5
- */
@@ -1 +0,0 @@
1
- {"version":3,"file":"raven.min.js","sources":["raven.js"],"names":["window","undefined","_has","object","key","Object","prototype","hasOwnProperty","call","_isUndefined","what","TraceKit","_oldTraceKit","_slice","slice","UNKNOWN_FUNCTION","noConflict","wrap","func","wrapped","apply","this","arguments","e","report","subscribe","handler","handlers","push","unsubscribe","i","length","splice","notifyHandlers","stack","windowError","exception","collectWindowErrors","concat","inner","ex","args","lastExceptionStack","lastException","s","computeStackTrace","setTimeout","incomplete","_oldOnerrorHandler","onerror","message","url","lineNo","augmentStackTraceWithInitialElement","location","line","guessFunctionName","context","gatherContext","mode","document","href","useragent","navigator","userAgent","loadSource","getXHR","XMLHttpRequest","ActiveXObject","remoteFetching","request","open","send","responseText","getSource","sourceCache","source","indexOf","domain","split","m","reFunctionArgNames","reGuessFunction","maxLines","exec","linesBefore","Math","floor","linesOfContext","linesAfter","start","max","end","min","escapeRegExp","text","replace","escapeCodeAsRegExpForMatchingInsideHTML","body","findSourceInUrls","re","urls","j","join","substring","index","column","lastIndexOf","findSourceInLine","fragment","RegExp","findSourceByFunctionBody","parts","result","scripts","getElementsByTagName","code","codeRE","eventRE","script","src","name","event","computeStackTraceFromStackProp","element","chrome","gecko","lines","reference","computeStackTraceFromStacktraceProp","stacktrace","testRE","exc","computeStackTraceFromOperaMultiLineMessage","len","lineRE1","lineRE2","lineRE3","inlineScriptBlocks","item","relativeLine","pos","innerText","midline","stackInfo","initial","unshift","partial","computeStackTraceByWalkingCallerChain","depth","functionName","funcs","recursion","curr","caller","description","sourceURL","fileName","lineNumber","debug","computeStackTraceOfCaller","Error","ofCaller","_helper","fnName","originalFn","originalCallback","$","_oldEventAdd","add","elem","types","data","selector","_handler","guid","_oldReady","fn","ready","_oldAjax","ajax","options","keys","pop","isFunction","jQuery","parseUri","str","uriPattern","uri","uriKeys","isUndefined","each","obj","callback","getAuthQueryString","cachedAuth","qs","Raven","VERSION","globalKey","handleStackInfo","frame","frames","normalizeFrame","processException","lineno","normalized","filename","colno","function","extractContextFromFrame","in_app","test","globalOptions","fetchContext","pivot","isMinified","substr","type","fileurl","label","ignoreErrors","ignoreUrls","arrayMerge","sentry.interfaces.Exception","value","sentry.interfaces.Stacktrace","culprit","arr1","arr2","getHttpData","http","headers","User-Agent","referrer","Referer","isSetup","project","globalProject","logger","site","platform","sentry.interfaces.Http","globalUser","dataCallback","makeRequest","Image","globalServer","encodeURIComponent","JSON","stringify","hasJSON","console","error","_Raven","TK","config","dsn","lastSlash","path","warn","user","host","port","protocol","install","captureException","uninstall","captureMessage","ex1","msg","setUser","define","amd"],"mappings":";CAgBE,SAASA,EAAQC,GAkBnB,QAASC,GAAKC,EAAQC,GAClB,MAAOC,QAAOC,UAAUC,eAAeC,KAAKL,EAAQC,GAGxD,QAASK,GAAaC,GAClB,MAAcA,KAAAA,EApB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